CN115134218A - Device replacement method, device, storage medium and server - Google Patents

Device replacement method, device, storage medium and server Download PDF

Info

Publication number
CN115134218A
CN115134218A CN202210513432.7A CN202210513432A CN115134218A CN 115134218 A CN115134218 A CN 115134218A CN 202210513432 A CN202210513432 A CN 202210513432A CN 115134218 A CN115134218 A CN 115134218A
Authority
CN
China
Prior art keywords
abnormal
equipment
replacement
information
link
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.)
Granted
Application number
CN202210513432.7A
Other languages
Chinese (zh)
Other versions
CN115134218B (en
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.)
Wuhu Midea Kitchen and Bath Appliances Manufacturing Co Ltd
Original Assignee
Wuhu Midea Kitchen and Bath Appliances Manufacturing 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 Wuhu Midea Kitchen and Bath Appliances Manufacturing Co Ltd filed Critical Wuhu Midea Kitchen and Bath Appliances Manufacturing Co Ltd
Priority to CN202210513432.7A priority Critical patent/CN115134218B/en
Publication of CN115134218A publication Critical patent/CN115134218A/en
Application granted granted Critical
Publication of CN115134218B publication Critical patent/CN115134218B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application discloses a device replacement method, a device, a storage medium and a server, wherein abnormal devices are determined according to operation data of each device, corresponding replacement devices in all devices of a target user account are determined, and abnormal device links are determined; and replacing the abnormal equipment information and the abnormal function state information in the abnormal equipment link according to the attribute information of the replacement equipment. Because the current abnormal equipment is determined directly according to the operation data of the equipment and the available replacement equipment is determined in all the equipment of the current user, the abnormal equipment of the original abnormal equipment in the link can be directly replaced according to the information of the replacement equipment. Therefore, the abnormal condition of the equipment can be sensed quickly and accurately, the abnormal condition can be processed in time, the automatic replacement of the abnormal equipment is realized without manual replacement operation of a user in the equipment replacement process, and the availability maintenance and optimization of an equipment scene and an equipment link can be performed at high efficiency.

Description

Device replacement method, device, storage medium and server
Technical Field
The application relates to the technical field of internet of things control, in particular to a device replacement method, a device, a storage medium and a server.
Background
With the development of the internet of things technology, various common machine devices can receive and respond to instructions through the internet of things access network, so that a user can conveniently carry out remote unified control on the devices through the network. In the control process, each device may be abnormal or failed, so that the abnormal device cannot make normal response and feedback to the control instruction, and the server usually does not process the abnormal condition of the device in the process, so that the user cannot know the abnormal condition, and the user cannot replace the abnormal device.
Disclosure of Invention
The application provides a backup replacement method, a backup replacement device, a storage medium and a server, which can solve the technical problem that the device abnormity in the related technology cannot be sensed and processed.
In a first aspect, an embodiment of the present application provides an apparatus replacement method, where the method includes:
determining abnormal equipment according to the operation data of each equipment in the link network diagram, and acquiring a target user account corresponding to the link network diagram;
determining a corresponding replacement device in the related devices of the abnormal device under the target user account, and determining an abnormal device link of the abnormal device in the link network diagram;
and replacing the device information of the abnormal device in all device links according to the attribute information of the replaced device, and replacing the function state information of the abnormal device in the abnormal device link.
In a second aspect, an embodiment of the present application provides an apparatus replacement device, including:
the abnormal equipment determining module is used for determining abnormal equipment according to the operation data of each equipment in the link network diagram and acquiring a target user account corresponding to the link network diagram;
a replacement device determining module, configured to determine a corresponding replacement device in the associated device of the abnormal device under the target user account, and determine an abnormal device link of the abnormal device in the link network diagram;
and the device link replacing module is used for replacing the device information of the abnormal device in all the device links according to the attribute information of the replaced device and replacing the function state information of the abnormal device in the abnormal device link.
In a third aspect, embodiments of the present application provide a computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the steps of the above-mentioned method.
In a fourth aspect, embodiments of the present application provide a server, including a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program being adapted to be loaded by the processor and to perform the steps of the above-mentioned method.
The beneficial effects brought by the technical scheme provided by some embodiments of the application at least comprise:
the application provides a device replacement method, which comprises the steps of determining abnormal devices according to operation data of each device; determining corresponding replacement equipment of the abnormal equipment in the related equipment under the target user account, and determining related abnormal equipment links of the abnormal equipment in all equipment of the current user account; and replacing the equipment information of the abnormal equipment and the functional state information of the abnormal equipment in the abnormal equipment link according to the attribute information of the replacing equipment. Because the current abnormal equipment is determined directly according to the operation data of the equipment and the available replacement equipment is determined in all the equipment of the current user, the abnormal equipment of the original abnormal equipment in the link can be directly replaced according to the information of the replacement equipment. Therefore, the abnormal condition of the equipment can be sensed quickly and accurately, the abnormal condition can be processed in time, the automatic replacement of the abnormal equipment is realized without manual replacement operation of a user in the equipment replacement process, and the availability maintenance and optimization of an equipment scene and an equipment link can be performed at high efficiency.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic diagram of an intelligent scene provided in an embodiment of the present application;
FIG. 2 is an exemplary system architecture diagram of an apparatus replacement method provided by an embodiment of the present application;
fig. 3 is a schematic flowchart of an apparatus replacement method according to an embodiment of the present application;
fig. 4 is a schematic diagram of an alternative result of the apparatus provided in the embodiment of the present application;
fig. 5 is a schematic flowchart of an apparatus replacement method according to an embodiment of the present application;
fig. 6 is a schematic flowchart of an apparatus replacement method according to an embodiment of the present application;
fig. 7 is a schematic flowchart of an apparatus replacement method according to an embodiment of the present application;
fig. 8 is a system interaction diagram of a device replacement method according to an embodiment of the present application;
fig. 9 is a block diagram of a device replacement apparatus according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
In order to make the features and advantages of the present application more obvious and understandable, 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 apparent that the described embodiments are only a part of the embodiments of the present application, and not all 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 application.
When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application, as detailed in the appended claims.
In recent years, with the development of the internet of things, the equipment connected to the internet can be controlled in a unified manner through the network, and an equipment control system based on the internet of things has the characteristics of accurate control and efficient control, so that the internet of things system can be widely applied to scenes such as industry and manufacturing industry, and can also be gradually applied to daily life scenes of people, and a home scene is one of application scenes which are most closely related to the life of people. Various devices in a user's home, such as audio and video devices, lighting devices, curtain devices, air conditioning devices, security devices, digital cinema devices, network devices and the like, are connected together through the internet of things technology in a home intelligent scene, so that various functions and means such as household appliance control, lighting control, terminal remote control, indoor and outdoor remote control, anti-theft alarm, environment monitoring, heating and ventilation control and the like are provided, and the types of intelligent devices are more and more along with the development of science and technology.
In an intelligent control scene of a device, the device generally includes a user terminal, a server and intelligent devices, where the server and the intelligent devices are connected to a wide area network, the intelligent devices are all distributed in the network and bound under a user account, in order to improve the experience of the user when using the intelligent devices, generally, each intelligent device can form a device link, the device link uses, but not limited to, manual, time, device state, technical rules, etc. as an initial trigger signal, triggers the start or end of a single intelligent device to enter or exit a certain state, and the generated new state may become a new trigger signal to form a chain reaction, and is a directed single branch link in shape, with and only one different start node and end node, and without a node or with multiple nodes in the middle. The minimum group becomes a starting node and an end node which are connected by a directed line. The equipment link is connected with each intelligent equipment and enables the functional states of the intelligent equipment to be mutually triggered to form a chain reaction, and unified control over the equipment in the link is achieved.
Meanwhile, a plurality of different device links may exist in the same spatial scene, and device connection and crossing may occur between the device links, so that a user may also construct a link network graph in the spatial scene based on the device links, the link network graph uses, but not limited to, manual, time, device state, technical rules and the like as initial trigger signals to trigger the start or end of more than one intelligent device to enter or exit a certain state, and the generated new state may become a new trigger signal to form a chain reaction, and the directional multi-branch link is in a form allowing more than 1 different start nodes and end nodes, and no node or a plurality of nodes in the middle. The home scene of the user may have a plurality of different spatial scenes, so that the user can set the device links of the intelligent devices and the link network diagrams to which the device links belong for the intelligent devices bound to the distribution network, and set up a set of intelligent scenes in the user terminal based on at least one link network diagram, and at this time, the server can issue the control instruction and receive the device feedback data based on the intelligent scenes.
In order to facilitate description of the connection state between the devices in the device link in the intelligent scene, the device nodes are described only by using device names, and the corresponding function states of the devices in the device link are not described. Referring to fig. 1, fig. 1 is a schematic diagram of an intelligent scene according to an embodiment of the present disclosure. As shown in fig. 1, in an intelligent scene 100, the intelligent devices include a door lock, a corridor lamp, a sound box, a television, a curtain, a hall lamp, a projector, an air conditioner, a water heater, a washing machine, and a floor-sweeping robot, wherein there is a link network diagram 110, in the link network diagram 110, a device link 1101 is "door lock-corridor lamp-television-curtain", and a device link 1102 is "hall lamp-sound box-projector"; the link network diagram 120, and the device link 1201 in the link network diagram 120 is "air conditioner-water heater-washing machine-sweeping robot".
Taking the link network diagram 110 in fig. 1 as an example, considering that the device usage requirement of the user in the application scenario of entering the door may be "door open-light open-television open-curtain open", in order to intelligentize the interaction flow between the user and the device, the device link 1101 may be set to "door lock (open) -cove light (open) -television (open) -curtain (open)", the trigger node of the device link 1101 is "door lock (open)", after the door open succeeds, the execution of the "cove light (open)" node is triggered, then the execution of the "television (open)" node is directly triggered, and after the television is successfully opened, the execution of the end node "curtain (open)" is executed. The device link 1101 enables a complete set of implementations, namely: after the door lock is manually opened, the corridor lamp and the television are sequentially opened, and finally the curtain is opened.
However, due to uncontrollable factors such as usage time and technical progress, the functions of the devices and the devices may have an aging phenomenon, and the aged devices and the functions of the devices may have an abnormality or a failure when executing a control instruction of a user, and at the same time, the devices having a trigger chain reaction with the aged devices and the functions or states of the devices cannot be triggered, so that the user cannot obtain an expected response effect of the devices in an intelligent scene, and the user is not facilitated to control and use the devices through a network. For example, taking the device link 1101 as an example, when a corridor lamp fails to open normally, the "corridor lamp (open)" node fails to execute, and further, both the "television (open)" node and the "curtain (open)" cannot be triggered normally, so that both the television and the curtain cannot open normally.
Generally, the server does not actively request the device to return the current running state data, and the device does not actively send the running state data to the server, so that when the device fails or is abnormally executed, the server cannot sense the failure and abnormal conditions, and cannot directly push the related information to the control terminal of the user to help the user to know and process the conditions. For a user performing remote control, even if the user successfully sends a control instruction to the device, the user cannot know the response condition and the execution condition of the device to the instruction, and the execution effect of the device link on which the instruction response depends is not transparent, which results in low efficiency of troubleshooting and exception processing performed on the device by the user, and when the exception and the failure are processed, the user needs to manually find and obtain the available device to replace the failed device, and perform subsequent one-by-one manual replacement of the device function nodes and overall replacement of the control scene.
Because the server does not sense the equipment failure or abnormality when the equipment fails, the user can only obtain the equipment failure information or abnormal information according to the execution effect of the equipment on the control command, at the moment, the user can not obtain the detailed condition of the equipment failure abnormality, the troubleshooting of the failure condition is not in place, the quick response processing of the equipment failure or abnormality can not be carried out, and when the user needs to replace the equipment with failure or abnormality, the operation such as purchasing and configuring the replacement equipment is needed by himself, the time span of the whole equipment replacement process is large, so that the processing efficiency of the internal part of the whole equipment control system on the equipment failure abnormality is low, the cost is high, and the interference is caused on the use and interaction of all the equipment in the current scene, greatly affecting the user experience.
Therefore, an embodiment of the present application provides an apparatus replacement method, which includes collecting operation data of each apparatus to directly, quickly and accurately determine an abnormal apparatus, finding an existing apparatus capable of replacing the abnormal apparatus from all associated apparatuses under a target user account corresponding to the abnormal apparatus, determining abnormal information related to the abnormal apparatus and needing to be replaced, and directly replacing the related abnormal information according to attribute information of the replaced apparatus, so as to solve technical problems that the abnormality of the apparatus cannot be sensed and the processing efficiency of the abnormal condition is low.
Referring to fig. 2, fig. 2 is a diagram illustrating an exemplary system architecture of an apparatus replacement method according to an embodiment of the present disclosure.
As shown in fig. 2, the system architecture may include a terminal 201, a network 202, a server 203, and a device 204. The network 202 serves as a medium for providing communication links between the terminal 201 and the server 203, and between the device 204 and the server 203. Network 202 may include various types of wired or wireless communication links, such as: the wired communication link includes an optical fiber, a twisted pair wire or a coaxial cable, and the Wireless communication link includes a bluetooth communication link, a Wireless-Fidelity (Wi-Fi) communication link, a microwave communication link, or the like.
The terminal 201 may interact with the server 203 via the network 202 to receive messages from the server 203 or to send messages to the server 203, or the terminal 201 may interact with the server 203 via the network 202 to receive messages or data sent by other users to the server 203. The terminal 201 may be hardware or software. When the terminal 201 is hardware, it may be a variety of electronic devices including, but not limited to, a smart watch, a smart phone, a tablet computer, a laptop portable computer, a desktop computer, and the like. When the terminal 201 is software, it may be installed in the electronic device listed above, and it may be implemented as a plurality of software or software modules (for example, for providing distributed services), or may be implemented as a single software or software module, and is not limited in this respect.
The server 203 may be a business server providing various services. The server 203 may be hardware or software. When the server 203 is hardware, it may be implemented as a distributed server cluster composed of a plurality of servers, or may be implemented as a single server. When the server 203 is software, it may be implemented as a plurality of software or software modules (for example, to provide distributed services), or may be implemented as a single software or software module, and is not limited in particular herein.
The device 204 may interact with the server 203 via the network 202 to receive messages from the server 203 or to send messages to the server 203, or the device 204 may interact with the server 203 via the network 202 to receive messages or data sent by other terminals or devices to the server 203. The device 204 may be any hardware capable of connecting to and communicating over a network, including but not limited to audio and video devices, lighting devices, window covering devices, air conditioning devices, etc.
It should be understood that the number of terminals, networks, servers, and devices in fig. 2 is merely illustrative, and that any number of terminals, networks, servers, and devices may be used, as desired for an implementation.
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating an apparatus replacement method according to an embodiment of the present disclosure. The execution subject of the embodiment of the present application may be a server that executes the device replacement method, a processor in the server that executes the device replacement method, or a device replacement service in the server that executes the device replacement method. For convenience of description, a specific implementation procedure of the device replacement method is described below by taking an example in which the implementation subject is a processor in a server.
As shown in fig. 3, the device replacement method is applied to the server, and the device replacement method may include at least:
s301, determining abnormal equipment according to the operation data of each equipment in the link network diagram, and acquiring a target user account corresponding to the link network diagram.
Optionally, when a plurality of devices in one scene are controlled in batch and uniformly based on the internet of things, usually a user may send a control instruction to a server on a terminal, and the server issues the control instruction to a corresponding device link, so that the devices finally receive the instruction and respond to the instruction to complete a device control process. However, when the device is abnormal or failed, the failed device and the device triggered by the failed device cannot respond normally, which causes the abnormal execution of the device link as a whole, and since the server does not troubleshoot and sense the abnormal and failure conditions of the device, the server does not acquire and analyze the abnormal and failure data of the device and send the relevant data to the user terminal, which makes the user terminal unable to know the failure condition of the device, and is not convenient to handle the failure and abnormality of the device according to the specific conditions, and the device link need to be maintained and replaced manually during the handling, the flow of abnormal handling is slow, the time consumption is long, the cost is high, and the use of the device and the device link by the user is also influenced.
Optionally, in order to meet the requirement of a user for intelligent control of devices, each piece of intelligent device capable of receiving a control instruction based on a network is added to a corresponding intelligent device link according to the control link, and finally, when each intelligent device link and the intelligent device are bound under a user account in a use scene of the user, a device link network in an intelligent scene is formed. In the process, in consideration of the pivot capacity of data acquisition and data transmission of the server in the device control system, the server can acquire the running data of the device and perform targeted analysis and processing on abnormal data in the running data of the device, specifically, when the server sends an instruction to the device, the server can simultaneously request the device to return the running data when the instruction is executed, so that the server can evaluate the execution condition of the device according to the running data returned by the device, meanwhile, the device can also have the capacity of actively sending fault or abnormal data to the server, and when the server does not send the instruction to the device, the device can also actively report the corresponding abnormal data to the server if the fault occurs. The server is used for collecting the operation data of the equipment, so that the troubleshooting of all equipment in the link network diagram and the faults of the equipment links is facilitated, the equipment with faults can be quickly positioned, and a user can conveniently know and process the faults.
Optionally, the server is used for collecting the operation data of each device in the link network diagram, so that the server can quickly and accurately check the failed device or device link in the link network diagram, that is, the server can determine the failed or abnormal device according to the operation data of each device in the link network diagram, and meanwhile, based on the user account id corresponding to the abnormal device, the user account associated and bound with the current abnormal device can be determined, so that the information of the related device can be obtained subsequently based on the user account. The operation data of each device comprises the execution condition, the execution result and the feedback of the instruction, and when the device fails, abnormal data can be embodied in the operation data of the device, so that the server can simultaneously acquire the data related to the abnormal execution condition when acquiring the operation data of each device in the link network diagram, and the information of the abnormal specific condition, abnormal devices and the like can be positioned through the analysis of the abnormal data, so that the subsequent abnormal can be timely and comprehensively processed.
S302, determining a corresponding replacement device in the related device of the abnormal device under the target user account, and determining an abnormal device link of the abnormal device in the link network diagram.
Optionally, each device in the link network diagram is connected to other devices and the network through a device link, and the operation condition of each device in the link network diagram may be related to a series of device links and the operation conditions of other devices in each device link, and when an abnormal device is checked, the device link and other devices may be affected.
Optionally, when the abnormal device in the link network diagram is processed, the abnormal device itself may be repaired, but a professional technician is usually required to repair each device, and the manual repair service provided by the technician is limited by the time coordination and the location of the user and the technician, so that the repair efficiency cannot be guaranteed; the abnormal device can be replaced by other devices with the same function or attribute of the abnormal device, the function or state provided by the abnormal device in the device link is replaced, and the related abnormal information of the abnormal device is replaced directly by the replacing device, so that the abnormal processing is more convenient.
Further, when replacing the abnormal device in the link network diagram with the replacement device, firstly, the replacement device capable of meeting the replacement condition of the abnormal device needs to be determined, and when the replacement device is determined, a new device can be directly purchased for replacement, but the purchase process is long, and the requirement of a user for the original function of the abnormal device cannot be met in time.
Optionally, since the device is connected and controlled by the device link in the link network diagram, the device link is generally used to trigger a related function or state of the device, and when the device is abnormal, the connected device link is also abnormal in execution, and the original connection and control function cannot be realized, so that when the abnormal device is replaced, the abnormal device link related to the abnormal device also needs to be replaced, and then after the abnormal device is determined to be the corresponding replacement device in the link network diagram, the abnormal device link connected with the function or state of the abnormal device needs to be determined in the link network diagram, so that when the abnormal device is replaced, the normal information of the replacement device is replaced to all the abnormal information of the abnormal device, and therefore, the comprehensive and efficient replacement coverage from the device to the device link and the link network diagram is realized.
S303, replacing the device information of the abnormal device in all device links according to the attribute information of the replaced device, and replacing the function state information of the abnormal device in the abnormal device link.
Optionally, after the abnormal device, the replacement device, and the abnormal device link are determined, the replacement between the replacement device and the abnormal device may be continued, in the replacement process, in consideration of that the device may involve multiple device information nodes and functional state nodes in the device link in the whole link network diagram, if a user performs manual replacement, it is necessary to perform corresponding replacement on each abnormal information node involved in the abnormal device, and in this process, omission or an error is likely to occur, resulting in a poor final replacement effect. Therefore, the server can automatically traverse the information of each device and the function state information of each device in the link network diagram, and directly replace the abnormal information related to the abnormal device with the normal information of the replacement device, that is, replace the device information of the abnormal device in all device links according to the device information in the attribute information of the replacement device, and replace the function state information of the abnormal device in the abnormal device link according to the function state information in the attribute information of the replacement device, so that the replacement device replaces the abnormal device to work in the device link and the link network, the original function or state provided by the abnormal device is continuously realized, and the normal operation of the device link and the device scene is ensured.
Furthermore, after replacement is completed, the replacement result can be updated and stored in the original link network diagram, and a user can subsequently use the replacement equipment directly based on the replaced link network diagram, so that automatic replacement of abnormal equipment is realized, the user requirements are met in time, and the user experience is improved. On the basis, in order to further carry out adaptive replacement according to the user requirements, the replacement part can be sent to the user terminal after replacement, so that the user can modify or confirm the replacement result conveniently, and the user can know the final replacement condition conveniently.
Referring to fig. 4, fig. 4 is a schematic diagram illustrating an apparatus replacement result according to an embodiment of the present disclosure. As shown in fig. 4, continuing to refer to link network diagram 110 of fig. 1 as link network diagram 410 of fig. 4, device link 1101 is device link 4101 and device link 1101 is device link 4102; when the corridor lamp is abnormally and cannot be turned on in the equipment link 4101, so that the 'corridor lamp (turning on)' node and subsequent nodes are failed to be sequentially executed, and at the moment, the server finds that the hall lamp of the lighting equipment of the same type as the corridor lamp under the user account meets the replacement condition of the corridor lamp, selects the device link 4102, uses the hall lamp in the 'corridor lamp-loudspeaker box-projector' as replacement equipment of the corridor lamp, replaces the 'corridor lamp (turning on)' node in the device link 4101 with a node corresponding to the corridor lamp, namely the 'corridor lamp (turning on)' node, can continue to normally trigger the 'corridor lamp (turning on)' node, enables the 'television (turning on) -curtain (turning on)' to be normally triggered, and quickly and accurately realizes equipment replacement.
In the embodiment of the application, an equipment replacement method is provided, which includes collecting operation data of each equipment to directly, quickly and accurately determine abnormal equipment, searching existing equipment capable of replacing the abnormal equipment from all equipment under a target user account, determining abnormal information related to the abnormal equipment and needing to be replaced, and directly replacing the related abnormal information according to attribute information of the replaced equipment. Because the current abnormal equipment is determined directly according to the operation data of the equipment and the available replacement equipment is determined under the link network of the current user, the abnormal information of the original abnormal equipment in the link can be directly replaced according to the information of the replacement equipment. Therefore, the abnormal condition of the equipment can be sensed quickly and accurately, the abnormal condition can be processed in time, the user does not need to manually replace the equipment in the equipment replacing process, the automatic replacement of the abnormal equipment is realized, and the availability maintenance and optimization of the equipment scene and the equipment link can be carried out at high efficiency.
Referring to fig. 5, fig. 5 is a schematic flowchart illustrating an apparatus replacement method according to an embodiment of the present disclosure.
As shown in fig. 5, the device replacement method may include at least:
s501, determining abnormal equipment according to the operation data of each equipment in the link network diagram, and acquiring a target user account corresponding to the link network diagram.
For step S501, please refer to the detailed description in step S301, which is not repeated here.
S502, determining corresponding replaceable equipment in the related equipment of the abnormal equipment under the target user account, and taking the target replaceable equipment in the replaceable equipment as the corresponding replaceable equipment of the abnormal equipment.
Optionally, it can be known from the description of the above embodiment that, when a device in a link network diagram of a user fails or is abnormal, the device needs to be replaced in order to meet the use requirement of the user in time, and when a replacement device is selected, in order to reduce the time delay for replacing the replacement device into the link network diagram, the replacement process is completed quickly and accurately, and the replacement efficiency is improved. In all the associated devices, after the screening of the replacement conditions, there may exist a plurality of devices that are replaceable devices of the abnormal device, and then a target replaceable device may be determined from all the replaceable devices according to a specific abnormal condition as a replacement device corresponding to the abnormal device, and information related to the abnormal device in the link network diagram is replaced in a subsequent replacement process.
Optionally, when determining the replaceable device from the associated devices under the target user account, the replaceable device needs to have the same basic information as the abnormal device and has the basic function state of the abnormal device, and then the replaceable device may be selected from the devices of the same type as the abnormal device, that is, the device of the same type as the abnormal device in all the associated devices is determined to be the replaceable device corresponding to the abnormal device, so that the selected replaceable device after replacement can meet the original requirement of the user when using the abnormal device, and the accuracy of device replacement is improved.
Further, since the replaceable device is determined in the related device under the target user account, the replaceable device may be a device in use, or a device which is located far away from the abnormal device and is inconvenient to replace, when the replaceable device is screened, the device space where the replaceable device is located and the original device link involved by the replaceable device need to be considered. If the equipment and the abnormal equipment are in the same equipment space, the equipment replaces the abnormal equipment more easily without influencing an original equipment link of the equipment in the space, so that the equipment of the same type in the equipment space as the abnormal equipment in the associated equipment under the target user account can be determined as replaceable equipment corresponding to the abnormal equipment; if the device and the abnormal device are not in the same device space, but the number of device links originally related to the device is small, and the execution of the original device link is not affected after the replacement, it can also be determined that the devices of the same type having device links smaller than the preset number in the associated device under the target user account and in different device spaces with the abnormal device are replaceable devices corresponding to the abnormal device. After the device space of the replaceable device and the number of original device links are limited, the accuracy rate of selecting the replaceable device can be further improved.
It should be noted that, for the replaceable device that is not located in the same device space as the abnormal device, the preset number of device links that need to be met may be set according to an actual requirement, which is not specifically limited in the embodiment of the present application.
Optionally, after determining the replaceable device in the associated device under the target user account, it is further required to determine a replacement device from the multiple replaceable devices to implement the replacement. When the abnormal phenomenon occurs in the equipment, the abnormal equipment may correspond to multiple possible abnormal reasons at the same time, so that when the abnormal equipment is replaced by the replacement equipment, not only the equipment information of the abnormal equipment and the function state information of the abnormal equipment in the abnormal equipment link need to be considered, but also the specific conditions when the abnormal equipment occurs, including but not limited to abnormal times, abnormal types, abnormal frequency, abnormal trends, execution abnormal probability of related equipment scene links and the like, need to be considered, and the optimal replacement equipment meeting the current actual conditions can be accurately determined by specifically analyzing various abnormal conditions.
Further, in order to determine a replacement device according to an actual abnormal condition of the abnormal device, first, the operation data of the device needs to be analyzed, and the abnormal data in the operation data is analyzed and calculated to obtain device abnormal information corresponding to the abnormal device, where the process of analyzing the operation data may be to analyze each abnormal data after the operation data is obtained, or may be to analyze abnormal data in past operation data of the device after the abnormal device is determined. After the equipment abnormality information is obtained, all the replaceable equipment and the corresponding equipment abnormality information can be sent to a terminal of a user as a recommended replacement scheme, at the moment, the user can visually see the abnormality of the current equipment, one of the replaceable equipment is selected as the replacement equipment based on the equipment abnormality information as a reference, after the user selects the equipment, the terminal returns the selection information to the server, and the server can directly replace the replacement equipment to a node corresponding to the abnormal equipment. The method and the device assist the user to select the applicable replacement device based on the current abnormal actual condition through the device abnormal information, and can replace the replacement device which best meets the requirements of the user to the abnormal node in the link network, thereby realizing accurate device replacement.
Optionally, when determining the replacement device, after analyzing and acquiring the device abnormality information, directly performing situation estimation by the server based on the device abnormality information, and taking the estimated replacement device as the replacement device, which may be directly selected instead of the user, to reduce the analysis pressure of the user on the abnormal situation.
S503, determining the abnormal device link of the abnormal device in the link network diagram.
Alternatively, as can be appreciated from the above description of embodiments, devices are connected and controlled in a link network diagram by device links, which are typically used to trigger the relevant functions or states of the devices, when the device is abnormal, the connected device link is also abnormal in execution, and the original connection and control functions cannot be realized, therefore, when the abnormal device is replaced, the abnormal device link related to the abnormal device also needs to be replaced, after the corresponding replacement device in the related device under the target user account is determined, there is also a need for determining an abnormal device link in a link network diagram, where the function or status of the abnormal device is connected, so that when performing replacement, and replacing the normal information of the replacement equipment to all the abnormal information of the abnormal equipment, thereby realizing comprehensive and efficient replacement coverage of the equipment-to-equipment link and the link network diagram.
S504, replacing the device information of the abnormal device in all the device links according to the attribute information of the replaced device, and replacing the function state information of the abnormal device in the abnormal device link.
For step S504, please refer to the detailed description in step S303, which is not repeated herein.
In the embodiment of the application, an equipment replacement method is provided, wherein when a replacement equipment is selected from related equipment under a target user account, a plurality of replaceable equipment can be selected first, and finally, a replacement equipment which best meets the actual condition of abnormal equipment is selected; when a plurality of replaceable devices are selected, the devices of the same type as the abnormal devices can be selected, and the devices of the same type in the same device space with the abnormal devices or the devices of the same type which are not in the same device space with the abnormal devices but have fewer device links can be further selected as the replaceable devices, so that the original requirements of users when the abnormal devices are used can be met after the selected replaceable devices are replaced, and the accuracy of device replacement is improved; meanwhile, when the final replacement equipment is determined, the specific abnormal condition of the abnormal equipment is considered, and the appropriate replacement equipment is automatically determined or selected and determined by a user according to the abnormal information of the equipment, so that the replacement equipment can be accurately screened according to the actual abnormal condition and the user requirement, and the replacement success rate of the replacement equipment is improved.
Referring to fig. 6, fig. 6 is a schematic flowchart illustrating an apparatus replacement method according to an embodiment of the present disclosure.
As shown in fig. 6, the device replacement method may include at least:
s601, determining abnormal equipment according to the operation data of each equipment in the link network diagram, and acquiring a target user account corresponding to the link network diagram.
For step S601, please refer to the detailed description in step S301, which is not repeated herein.
S602, determining a corresponding replacement device in the related device of the abnormal device under the target user account, and determining an abnormal device link of the abnormal device in the link network diagram.
For step S602, please refer to the detailed description in step S302, which is not repeated herein.
S603, replacing the device information of the abnormal device in all device links according to the attribute information of the replaced device to obtain a device information replacement result.
Optionally, in the replacement process, in consideration that the device may involve multiple device information nodes and function state nodes in the device link in the whole link network diagram, it is necessary to correspondingly replace each abnormal information node involved by the abnormal device, so that the replacement device replaces the abnormal device to implement the original function or state, and it is ensured that the device link and the device scenario both operate normally. Therefore, after the replacement device is determined, the device information of the abnormal device in all device links can be replaced according to the device information of the replacement device included in the attribute information of the replacement device, and a corresponding device information replacement result is obtained.
Further, the information replacement operation may also be completed in the terminal, that is, the server may send the attribute information of the replacement device and the device information of the abnormal device in all device links to the terminal, and at this time, the terminal may replace the device information of the abnormal device in all device links according to the device information in the attribute information of the replacement device, so as to obtain a corresponding device information replacement result.
S604, replacing the function state information of the abnormal equipment in the abnormal equipment link according to the attribute information of the replaced equipment to obtain an equipment link replacement result.
Optionally, after the device information of the abnormal device is replaced with the device information of the replacement device, both the function and the state in the device link related to the abnormal device need to be replaced correspondingly, and then the function state information of the abnormal device in the abnormal device link needs to be replaced according to the function state information in the attribute information of the device, so as to obtain a device link replacement result. Similarly, the process can be independently implemented in the terminal, that is, the server can send the attribute information of the replacement device and the function state information of the abnormal device in the abnormal device link to the terminal, and at this time, the terminal can replace the function state information of the abnormal device in the abnormal device link according to the function state information in the attribute information of the replacement device to obtain a device link replacement result.
And S605, sending the equipment information replacement result and the equipment link replacement result to the terminal.
Optionally, in order to enable the user to know the replacement result and ensure that the replacement device can meet the user requirement after replacing the relevant information in the device link, after the replacement, the device information replacement result and the device link replacement result may be sent to the terminal in various forms such as pushing, popup and the like, the terminal may display part of the device information and part of the device link information that are replaced in the link network, and then the user may confirm the replacement result in the terminal to ensure that the replacement meets the self requirement. The terminal may display the replacement result in various ways, such as a chart, a list, and the like, which is not limited in this embodiment.
S606, the receiving terminal replaces the link network graph based on the replacement result confirmation information returned by the device information replacement result and the device link replacement result.
Optionally, after the device information replacement result and the device link replacement result are sent to the terminal, when the user views the content of the current replacement on the terminal and meets the requirement of the user, the current replacement result may be confirmed on the terminal based on the device information replacement result and the device link replacement result, the terminal returns the replacement result confirmation information to the server after receiving the confirmation information of the user, at this time, the server may replace the original link network diagram according to the device information replacement result and the device link replacement result based on the replacement result confirmation information, update and store the replacement content in the link network diagram, and subsequently control each device based on the replaced link network diagram, thereby completing an efficient and accurate device replacement process.
Further, since the replacing device is a device having a function state that can be commonly used with the abnormal device, and the replacing device is not necessarily completely the same as the abnormal device, and may have slight differences in the specific effects of the use and the partial function state of a part of devices, in the replacing process, in order to timely meet the use requirements of the user, the function state information of the abnormal device in the abnormal device link may be directly and automatically replaced with the function state information similar to the replacing device, and then when the terminal displays the replacement result, the user may need to make an adaptive modification on the replacement result, so that the replacement result more conforms to the actual requirements of the user. At this time, the user can directly modify the part needing to be adjusted on the terminal and confirm the modified replacement result, the terminal returns the result modification information to the server, and the server replaces the link network diagram based on the result modification information. Therefore, the user can better meet the user requirements in the network diagram from the replacement to the link through the replacement information which is customized, adjusted and confirmed by the user, and the user experience is improved.
In an embodiment of the present application, a device replacement method is provided. Providing a plurality of specific device replacement processes, directly replacing abnormal information related to abnormal devices in a link network diagram by a server, and directly storing and starting a replaced link network; or after the server replaces the link network, the replacement result is sent to the terminal, the result information returned by the terminal after the user confirms the result is received, and the replacement result is updated to the original link network; the information required by the replacement can be sent to the terminal, the terminal replaces the information, the confirmation information of the user is returned to the server, and the server updates the replacement result to the original link network to finish the efficient and accurate equipment replacement process; before the user confirms, the replacement result can be modified according to the actual requirement of the user, the modification result confirmed by the user is used as a final replacement result to be replaced into the original link network, the user requirement can be better met in the graph from replacement to the link network, and the user use experience is improved.
Referring to fig. 7, fig. 7 is a schematic flowchart illustrating an apparatus replacement method according to an embodiment of the present disclosure.
As shown in fig. 7, the device replacement method may include at least:
s701, obtaining abnormal data in the operation data uploaded by each device in the link network diagram, and determining the abnormal times of the devices according to the abnormal data.
Optionally, as can be known from the description of the above embodiment, when an abnormal device occurs in the link network, the abnormal device may be replaced by using a replacement device, and when the device runs or executes a control instruction, the device sends running data to the server, so when the device runs abnormally, the abnormal information may also be included in the running data and uploaded to the server, and based on this, the abnormal device may be determined by obtaining abnormal data in the running data uploaded by each device in the link network diagram.
Optionally, the condition that the abnormal data occurs in the operation data may be multiple, and the abnormal data may include not only the failure of the device itself, but also uncontrollable contingency factors such as network delay, unstable network signal, and the like.
S702, determining the equipment with the abnormal times reaching the preset times as abnormal equipment.
Optionally, in order to avoid misjudgment of normal equipment with occasional abnormality, a preset abnormal frequency may be set, and when it is recorded that the abnormal frequency of the equipment is more, that is, the preset abnormal frequency is reached, the equipment is determined to be abnormal equipment.
S703, determining a corresponding replacement device in the related devices of the abnormal device under the target user account, and determining an abnormal device link of the abnormal device in the link network diagram.
For step S703, please refer to the detailed description in step S302, which is not repeated herein.
S704, replacing the device information of the abnormal device in all device links according to the attribute information of the replaced device, and replacing the function state information of the abnormal device in the abnormal device link.
For step S704, please refer to the detailed description in step S303, which is not repeated herein.
S705, resetting the operation data of each device in the link network diagram, and recording the operation data of each device in the link network diagram again.
Optionally, after the replacement of the replacement device is completed, the link network diagram is updated to the link network including the replacement device, a subsequent user may control each device based on the replaced link network diagram, the operation data of each device acquired based on the original link network diagram may be related to the operation data of the abnormal device, and in the subsequent control process, this part of data may affect data analysis, so that the server may reset and re-record the operation data of each device in the link network diagram for the operation data of each device stored before the replacement, avoid interference of the operation data before the replacement on the analysis of the operation data of each device acquired after the replacement, and enhance maintainability of the replaced link network and the replacement device.
In the embodiment of the application, an equipment replacement method is provided, when the abnormal times of each equipment reach the preset times, the corresponding equipment is determined to be abnormal equipment, so that misjudgment of normal equipment which is accidentally abnormal due to accidental reasons such as network delay, signal strength and the like is reduced; and the operation data of each device in the link network diagram is reset and recorded again after the replacement is finished, so that the interference of a large amount of existing operation data before the replacement on the operation data after the device is replaced can be avoided, the link network after the replacement is easy to analyze and observe, and the maintainability of the link network and the replacement device is enhanced.
Referring to fig. 8, fig. 8 is a system interaction diagram of a device replacement method according to an embodiment of the present disclosure. Fig. 8 illustrates an interaction process of a device replacement method, as shown in fig. 8, in the interaction process of the device replacement method, a server receives operation data of each device in each link network; the server determines abnormal equipment according to abnormal data in the operating data of the equipment and acquires a target user account corresponding to the link network diagram; the server determines a plurality of corresponding replaceable devices in the related devices of the abnormal device under the target user account, and determines an abnormal device link of the abnormal device in a link network diagram; the server sends the equipment abnormality information of the abnormal equipment and the recommended replacement schemes corresponding to the replaceable equipment to the terminal; the terminal receives replacement information of a replacement device selected by a user among the plurality of replaceable devices based on the device abnormality information of the abnormal device; the terminal returns the replacement information corresponding to the replacement equipment to the server; the server determines a replacement device based on the replacement information, replaces the device information of the abnormal device in all device links according to the attribute information of the replacement device, and replaces the function state information of the abnormal device in the abnormal device link.
Referring to fig. 9, fig. 9 is a block diagram of a device replacement apparatus according to an embodiment of the present disclosure.
As shown in fig. 9, the device replacement apparatus 900 includes:
an abnormal device determining module 910, configured to determine an abnormal device according to operation data of each device in the link network diagram, and obtain a target user account corresponding to the link network diagram;
a replacement device determining module 920, configured to determine a corresponding replacement device in the associated device of the abnormal device under the target user account, and determine an abnormal device link of the abnormal device in the link network diagram;
a device link replacing module 930, configured to replace, according to the attribute information of the replaced device, the device information of the abnormal device in all device links, and replace the function state information of the abnormal device in the abnormal device link.
Optionally, the replacement device determining module 920 is further configured to determine a corresponding replaceable device in the related devices of the abnormal device under the target user account, and use a target replaceable device in the replaceable device as a replacement device corresponding to the abnormal device.
Optionally, the replacement device determining module 920 is further configured to determine that a device of the same type as the abnormal device in the associated device under the target user account is a replaceable device corresponding to the abnormal device.
Optionally, the replacement device determining module 920 is further configured to determine that a device of the same type in the same device space as the abnormal device in the associated device under the target user account is a replaceable device corresponding to the abnormal device; or determining that the same type of equipment with less than a preset number of equipment links in the related equipment under the target user account and the abnormal equipment are in different equipment spaces, and is replaceable equipment corresponding to the abnormal equipment.
Optionally, the replaced device determining module 920 is further configured to obtain device exception information corresponding to the exception device, and send all replaceable devices and the device exception information to the terminal; and the receiving terminal determines that the target replaceable equipment corresponding to the replacement information is the replacement equipment corresponding to the abnormal equipment based on the replacement information aiming at the target replaceable equipment returned by the equipment abnormal information.
Optionally, the replacement device determining module 920 is further configured to obtain device abnormality information corresponding to the abnormal device, and determine a target replaceable device in the replaceable devices as a replacement device corresponding to the abnormal device based on the device abnormality information.
Optionally, the device link replacing module 930 is further configured to replace, according to the attribute information of the replaced device, device information of the abnormal device in all device links in the link network diagram; and replacing the function state information of the abnormal equipment in the abnormal equipment link in the link network diagram according to the attribute information of the replacement equipment.
Optionally, the device link replacing module 930 is further configured to replace the device information of the abnormal device in all device links according to the attribute information of the replaced device, so as to obtain a device information replacement result; replacing the functional state information of the abnormal equipment in the abnormal equipment link according to the attribute information of the replaced equipment to obtain an equipment link replacement result; sending the equipment information replacement result and the equipment link replacement result to the terminal; and the receiving terminal replaces the link network diagram based on the replacement result confirmation information returned by the device information replacement result and the device link replacement result.
Optionally, the device link replacing module 930 is further configured to send the attribute information of the replacement device, the device information of the abnormal device in all device links, and the function state information of the abnormal device in the abnormal device link to the terminal, so that the terminal replaces the device information of the abnormal device in all device links according to the attribute information of the replacement device to obtain a device information replacement result, and replaces the function state information of the abnormal device in the abnormal device link according to the attribute information of the replacement device to obtain a device link replacement result; and the receiving terminal replaces the link network diagram based on the replacement result confirmation information returned by the device information replacement result and the device link replacement result.
Optionally, the device link replacing module 930 is further configured to replace the link network map based on the result modification information if the replacement result confirmation information includes the result modification information of the terminal for the device information replacement result and the device link replacement result.
Optionally, the abnormal device determining module 910 is further configured to obtain abnormal data in the running data uploaded by each device in the link network diagram, and determine the device abnormal times of each device according to the abnormal data; and determining the equipment with the abnormal times reaching the preset times as abnormal equipment.
Optionally, the device replacement apparatus 900 further includes: and the resetting module is used for resetting the operation data of each device in the link network diagram and re-recording the operation data of each device in the link network diagram.
In an embodiment of the present application, an apparatus replacement device is provided, where an abnormal apparatus determining module is configured to collect operation data of each apparatus to directly, quickly and accurately determine an abnormal apparatus; the replacing equipment determining module is used for searching the existing equipment capable of replacing the abnormal equipment from all the associated equipment under the target user account and determining the abnormal information related to the abnormal equipment and needing replacing; and the equipment link replacing module is used for directly replacing the related abnormal information according to the attribute information of the replaced equipment. Because the current abnormal equipment is determined directly according to the operation data of the equipment and the available replacement equipment is determined under the link network of the current user, the abnormal information of the original abnormal equipment in the link can be directly replaced according to the information of the replacement equipment. Therefore, the abnormal condition of the equipment can be sensed quickly and accurately, the abnormal condition can be processed in time, the user does not need to manually replace the equipment in the equipment replacing process, the automatic replacement of the abnormal equipment is realized, and the availability maintenance and optimization of the equipment scene and the equipment link can be carried out at high efficiency.
Embodiments of the present application also provide a computer storage medium, which may store a plurality of instructions adapted to be loaded by a processor and to perform the steps of the method according to any of the above embodiments.
Referring to fig. 10, fig. 10 is a schematic structural diagram of a server according to an embodiment of the present disclosure. As shown in fig. 10, the server 1000 may include: at least one server processor 1001, at least one network interface 1004, a user interface 1003, memory 1005, at least one communication bus 1002.
Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display) and a Camera (Camera), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others.
The server processor 1001 may include one or more processing cores, among other things. The server processor 1001, which is connected to various parts throughout the server 1000 using various interfaces and lines, performs various functions of the server 1000 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 1005 and calling data stored in the memory 1005. Alternatively, the server processor 1001 may be implemented in at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The server processor 1001 may integrate one or a combination of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the server processor 1001, but may be implemented by a single chip.
The Memory 1005 may include a Random Access Memory (RAM) or a Read-Only Memory (ROM). Optionally, the memory 1005 includes a non-transitory computer-readable medium. The memory 1005 may be used to store an instruction, a program, code, a set of codes, or a set of instructions. The memory 1005 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, and the like; the storage data area may store data and the like referred to in the above respective method embodiments. The memory 1005 may optionally be at least one storage device located remotely from the aforementioned server processor 1001. As shown in fig. 10, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a device replacement program.
In the server 1000 shown in fig. 10, the user interface 1003 is mainly used as an interface for providing input for a user, and acquiring data input by the user; and the server processor 1001 may be configured to call the device replacement program stored in the memory 1005, and specifically perform the following operations:
determining abnormal equipment according to the operation data of each equipment in the link network diagram, and acquiring a target user account corresponding to the link network diagram;
determining corresponding replacement equipment in the related equipment of the abnormal equipment under the target user account, and determining an abnormal equipment link of the abnormal equipment in a link network diagram;
and replacing the device information of the abnormal device in all device links according to the attribute information of the replacement device, and replacing the function state information of the abnormal device in the abnormal device link.
In some embodiments, when the server processor 1001 determines that the abnormal device is a corresponding replacement device in the associated devices under the target user account, the following steps are specifically performed: and determining the replaceable equipment corresponding to the abnormal equipment in the related equipment under the target user account, and taking the target replaceable equipment in the replaceable equipment as the corresponding replaceable equipment of the abnormal equipment.
In some embodiments, when the server processor 1001 determines that the abnormal device is associated with a corresponding replaceable device in the devices under the target user account, the following steps are specifically performed: and determining that equipment of the same type as the abnormal equipment in the associated equipment under the target user account is replaceable equipment corresponding to the abnormal equipment.
In some embodiments, when determining that a device of the same type as the abnormal device in the associated devices under the target user account is a replaceable device corresponding to the abnormal device, the server processor 1001 specifically performs the following steps: determining the devices of the same type in the same device space as the abnormal devices in the associated devices under the target user account as the replaceable devices corresponding to the abnormal devices; or determining that the same type of equipment with less than a preset number of equipment links in the related equipment under the target user account and the abnormal equipment are in different equipment spaces, and is replaceable equipment corresponding to the abnormal equipment.
In some embodiments, when executing the replacement device corresponding to the abnormal device, the server processor 1001 specifically executes the following steps: acquiring equipment abnormal information corresponding to abnormal equipment, and sending all replaceable equipment and the equipment abnormal information to a terminal; and the receiving terminal determines the target replaceable equipment corresponding to the replacement information as the replacement equipment corresponding to the abnormal equipment based on the replacement information which is returned by the equipment abnormal information and aims at the target replaceable equipment.
In some embodiments, when the server processor 1001 executes the replacement device corresponding to the abnormal device as the target replaceable device in the replaceable devices, the following steps are specifically executed: and acquiring equipment abnormality information corresponding to the abnormal equipment, and determining the target replaceable equipment in the replaceable equipment as the replacement equipment corresponding to the abnormal equipment based on the equipment abnormality information.
In some embodiments, when the server processor 1001 performs replacement of the device information of the abnormal device in all device links according to the attribute information of the replacement device, and performs replacement of the function state information of the abnormal device in the abnormal device link, specifically perform the following steps: replacing the equipment information of the abnormal equipment in all equipment links in the link network diagram according to the attribute information of the replaced equipment; and replacing the function state information of the abnormal equipment in the abnormal equipment link in the link network diagram according to the attribute information of the replacement equipment.
In some embodiments, when the server processor 1001 performs replacement of the device information of the abnormal device in all device links according to the attribute information of the replacement device and replacement of the function state information of the abnormal device in the abnormal device link, specifically perform the following steps: replacing the equipment information of the abnormal equipment in all equipment links according to the attribute information of the replaced equipment to obtain an equipment information replacement result; replacing the functional state information of the abnormal equipment in the abnormal equipment link according to the attribute information of the replaced equipment to obtain an equipment link replacement result; sending the device information replacement result and the device link replacement result to the terminal; and the receiving terminal replaces the link network graph based on the replacement result confirmation information returned by the device information replacement result and the device link replacement result.
In some embodiments, when the server processor 1001 performs replacement of the device information of the abnormal device in all device links according to the attribute information of the replacement device and replacement of the function state information of the abnormal device in the abnormal device link, specifically perform the following steps: sending the attribute information of the replacement equipment, the equipment information of the abnormal equipment in all equipment links and the functional state information of the abnormal equipment in the abnormal equipment link to the terminal, so that the terminal replaces the equipment information of the abnormal equipment in all equipment links according to the attribute information of the replacement equipment to obtain an equipment information replacement result, and replaces the functional state information of the abnormal equipment in the abnormal equipment link according to the attribute information of the replacement equipment to obtain an equipment link replacement result; and the receiving terminal replaces the link network diagram based on the replacement result confirmation information returned by the device information replacement result and the device link replacement result.
In some embodiments, when the server processor 1001 performs replacement of the link network map based on the replacement result confirmation information, the following steps are specifically performed: and if the replacement result confirmation information comprises result modification information of the terminal aiming at the device information replacement result and the device link replacement result, replacing the link network diagram based on the result modification information.
In some embodiments, when the server processor 1001 determines an abnormal device according to the operation data of each device in the link network diagram, it specifically performs the following steps: acquiring abnormal data in the operation data uploaded by each device in the link network diagram, and determining the abnormal times of the devices according to the abnormal data; and determining the equipment with the abnormal times reaching the preset times as abnormal equipment.
In some embodiments, after the server processor 1001 performs replacement of the device information of the abnormal device in all device links according to the attribute information of the replacement device and replacement of the function state information of the abnormal device in the abnormal device link, the following steps are further specifically performed: and resetting the operation data of each device in the link network diagram, and re-recording the operation data of each device in the link network diagram.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of modules is merely a division of logical functions, and an actual implementation may have another division, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. 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 modules, and may be in an electrical, mechanical or other form.
Modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes 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 of 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.
It should be noted that for simplicity and convenience of description, the above-described method embodiments are described as a series of combinations of acts, but those skilled in the art will appreciate that the present application is not limited by the order of acts, as some steps may, in accordance with the present application, occur in other orders and/or concurrently. Further, those skilled in the art will appreciate that the embodiments described in this specification are presently considered to be preferred embodiments and that acts and modules are not required in the present application.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the above description of the device replacement method, apparatus, storage medium, and server provided by the present application, for those skilled in the art, according to the idea of the embodiment of the present application, the specific implementation manner and the application scope may be changed, and in conclusion, the content of the present specification should not be construed as limiting the present application.

Claims (15)

1. A device replacement method is applied to a server, and comprises the following steps:
determining abnormal equipment according to the operation data of each equipment in the link network diagram, and acquiring a target user account corresponding to the link network diagram;
determining a corresponding replacement device in the related devices of the abnormal device under the target user account, and determining an abnormal device link of the abnormal device in the link network diagram;
and replacing the device information of the abnormal device in all device links according to the attribute information of the replaced device, and replacing the function state information of the abnormal device in the abnormal device link.
2. The method of claim 1, wherein the determining that the abnormal device is a corresponding replacement device in the devices associated with the target user account comprises:
and determining corresponding replaceable equipment in the related equipment of the abnormal equipment under the target user account, and taking the target replaceable equipment in the replaceable equipment as the corresponding replaceable equipment of the abnormal equipment.
3. The method of claim 2, wherein the determining that the abnormal device is a corresponding replaceable device in the devices associated with the target user account comprises:
and determining that the equipment of the same type as the abnormal equipment in the associated equipment under the target user account is the replaceable equipment corresponding to the abnormal equipment.
4. The method according to claim 3, wherein the determining that the device of the same type as the abnormal device in the associated devices under the target user account is a replaceable device corresponding to the abnormal device comprises:
determining the devices of the same type in the same device space as the abnormal devices in the associated devices under the target user account as replaceable devices corresponding to the abnormal devices; or
And determining that the devices of the same type in the associated devices under the target user account, which are in different device spaces from the abnormal devices and have device links smaller than the preset number, are replaceable devices corresponding to the abnormal devices.
5. The method of claim 2, wherein the regarding a target one of the replaceable devices as a corresponding replaceable device to the abnormal device comprises:
acquiring equipment abnormal information corresponding to the abnormal equipment, and sending all replaceable equipment and the equipment abnormal information to a terminal;
and receiving replacement information, which is returned by the terminal based on the equipment abnormal information and aims at the target replaceable equipment, and determining that the target replaceable equipment corresponding to the replacement information is the replacement equipment corresponding to the abnormal equipment.
6. The method of claim 2, wherein the regarding a target one of the replaceable devices as a corresponding replaceable device to the abnormal device comprises:
and acquiring equipment abnormality information corresponding to the abnormal equipment, and determining the target replaceable equipment in the replaceable equipment as the replacement equipment corresponding to the abnormal equipment based on the equipment abnormality information.
7. The method according to claim 1, wherein the replacing device information of the abnormal device in all device links and replacing function status information of the abnormal device in the abnormal device link according to the attribute information of the replacement device comprises:
replacing the device information of the abnormal device in all device links in the link network diagram according to the attribute information of the replacement device;
and replacing the function state information of the abnormal equipment in the abnormal equipment link in the link network diagram according to the attribute information of the replaced equipment.
8. The method according to claim 1, wherein the replacing device information of the abnormal device in all device links and replacing function status information of the abnormal device in the abnormal device link according to the attribute information of the replacement device comprises:
replacing the device information of the abnormal device in all device links according to the attribute information of the replacement device to obtain a device information replacement result;
replacing the functional state information of the abnormal equipment in the abnormal equipment link according to the attribute information of the replaced equipment to obtain an equipment link replacement result;
sending the device information replacement result and the device link replacement result to the terminal;
and receiving replacement result confirmation information returned by the terminal based on the device information replacement result and the device link replacement result, and replacing the link network diagram based on the replacement result confirmation information.
9. The method according to claim 1, wherein the replacing device information of the abnormal device in all device links and replacing function status information of the abnormal device in the abnormal device link according to the attribute information of the replacement device comprises:
sending the attribute information of the replacement equipment, the equipment information of the abnormal equipment in all equipment links and the function state information of the abnormal equipment in the abnormal equipment link to the terminal, so that the terminal replaces the equipment information of the abnormal equipment in all equipment links according to the attribute information of the replacement equipment to obtain an equipment information replacement result, and replaces the function state information of the abnormal equipment in the abnormal equipment link according to the attribute information of the replacement equipment to obtain an equipment link replacement result;
and receiving replacement result confirmation information returned by the terminal based on the device information replacement result and the device link replacement result, and replacing the link network diagram based on the replacement result confirmation information.
10. The method according to claim 8 or 9, wherein the replacing the link network map based on the replacement result confirmation information comprises:
and if the replacement result confirmation information comprises result modification information of the terminal aiming at the equipment information replacement result and the equipment link replacement result, replacing the link network diagram based on the result modification information.
11. The method of claim 1, wherein determining abnormal devices from operational data of each device in the link network map comprises:
acquiring abnormal data in the operation data uploaded by each device in the link network diagram, and determining the abnormal times of the devices of each device according to the abnormal data;
and determining the equipment with the abnormal times reaching the preset times as abnormal equipment.
12. The method according to claim 1, wherein after replacing the device information of the abnormal device in all device links according to the attribute information of the replacement device and replacing the function status information of the abnormal device in the abnormal device link, the method further comprises:
and resetting the operation data of each device in the link network diagram, and re-recording the operation data of each device in the link network diagram.
13. A device replacement apparatus, applied to a processor, the apparatus comprising:
the abnormal equipment determining module is used for determining abnormal equipment according to the operation data of each equipment in the link network diagram and acquiring a target user account corresponding to the link network diagram;
a replacement device determining module, configured to determine a corresponding replacement device in the associated device of the abnormal device under the target user account, and determine an abnormal device link of the abnormal device in the link network diagram;
and the device link replacing module is used for replacing the device information of the abnormal device in all the device links according to the attribute information of the replaced device and replacing the function state information of the abnormal device in the abnormal device link.
14. A computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the steps of the method according to any of claims 1 to 12.
15. A server comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor when executing the program implementing the steps of the method according to any of claims 1 to 12.
CN202210513432.7A 2022-05-12 2022-05-12 Device replacement method, device, storage medium and server Active CN115134218B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210513432.7A CN115134218B (en) 2022-05-12 2022-05-12 Device replacement method, device, storage medium and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210513432.7A CN115134218B (en) 2022-05-12 2022-05-12 Device replacement method, device, storage medium and server

Publications (2)

Publication Number Publication Date
CN115134218A true CN115134218A (en) 2022-09-30
CN115134218B CN115134218B (en) 2023-11-10

Family

ID=83376218

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210513432.7A Active CN115134218B (en) 2022-05-12 2022-05-12 Device replacement method, device, storage medium and server

Country Status (1)

Country Link
CN (1) CN115134218B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115776438A (en) * 2023-01-29 2023-03-10 北京珞安科技有限责任公司 Industrial control data transmission method and system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108964994A (en) * 2018-07-02 2018-12-07 厦门立林科技有限公司 A kind of replacement method of smart home device
CN109587018A (en) * 2018-12-06 2019-04-05 深圳绿米联创科技有限公司 Method, apparatus, network system and the mobile terminal of device configuration
CN110837635A (en) * 2019-11-07 2020-02-25 深圳乐信软件技术有限公司 Method, device, equipment and storage medium for equipment verification
CN111556517A (en) * 2020-04-28 2020-08-18 锐迪科微电子科技(上海)有限公司 Method and device for processing abnormal link
CN112199253A (en) * 2020-10-10 2021-01-08 深圳市欧瑞博科技股份有限公司 Monitoring maintenance method and device for intelligent equipment, server and storage medium
CN112559831A (en) * 2020-12-24 2021-03-26 平安普惠企业管理有限公司 Link monitoring method and device, computer equipment and medium
CN113498594A (en) * 2019-05-16 2021-10-12 深圳市欢太科技有限公司 Control method and device of intelligent household system, electronic equipment and storage medium
CN113505028A (en) * 2021-07-14 2021-10-15 珠海格力电器股份有限公司 Device switching method and device, electronic device and computer readable storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108964994A (en) * 2018-07-02 2018-12-07 厦门立林科技有限公司 A kind of replacement method of smart home device
CN109587018A (en) * 2018-12-06 2019-04-05 深圳绿米联创科技有限公司 Method, apparatus, network system and the mobile terminal of device configuration
CN113498594A (en) * 2019-05-16 2021-10-12 深圳市欢太科技有限公司 Control method and device of intelligent household system, electronic equipment and storage medium
US20220052866A1 (en) * 2019-05-16 2022-02-17 Shenzhen Heytap Technology Corp., Ltd. Smart home system control method and apparatus, electronic device
CN110837635A (en) * 2019-11-07 2020-02-25 深圳乐信软件技术有限公司 Method, device, equipment and storage medium for equipment verification
CN111556517A (en) * 2020-04-28 2020-08-18 锐迪科微电子科技(上海)有限公司 Method and device for processing abnormal link
CN112199253A (en) * 2020-10-10 2021-01-08 深圳市欧瑞博科技股份有限公司 Monitoring maintenance method and device for intelligent equipment, server and storage medium
CN112559831A (en) * 2020-12-24 2021-03-26 平安普惠企业管理有限公司 Link monitoring method and device, computer equipment and medium
CN113505028A (en) * 2021-07-14 2021-10-15 珠海格力电器股份有限公司 Device switching method and device, electronic device and computer readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115776438A (en) * 2023-01-29 2023-03-10 北京珞安科技有限责任公司 Industrial control data transmission method and system
CN115776438B (en) * 2023-01-29 2023-05-23 北京珞安科技有限责任公司 Industrial control data transmission method and system

Also Published As

Publication number Publication date
CN115134218B (en) 2023-11-10

Similar Documents

Publication Publication Date Title
CN110687805A (en) Intelligent household equipment linkage control method and device, storage medium and equipment
US20220052866A1 (en) Smart home system control method and apparatus, electronic device
CN112653577A (en) Network element management method, device and storage medium
JP6679808B2 (en) Smart driver
CN115134218B (en) Device replacement method, device, storage medium and server
US20140250331A1 (en) Remotely testing electronic devices using messaging and presence protocol
CN111475413A (en) Test method and device
CN110687809A (en) Method and device for selecting master control equipment and equipment linkage system
CN113448947B (en) Method and device for distributed deployment operation and maintenance of mongo database
JP4820073B2 (en) Information processing system, electronic device, information processing method, computer-processable program, and recording medium
US20090315998A1 (en) Self diagnostics of TV
CN112888007A (en) Method and device for diagnosing off-line reason of device and storage medium
CN102387137B (en) Implementation method and system of intelligent operation logic of a plurality of network devices
US11075775B2 (en) Home automation system including cloud server based maintenance operation communication and related methods
CN102521003A (en) Software updating method and software updating equipment
CN110413353B (en) Data processing method, device and storage medium
CN112630555A (en) Test system, data processing method, relay and electronic device
CN115469638A (en) Interface test method and device, storage medium and electronic device
US20220198405A1 (en) Apparatus, system and method for building system diagnostics
CN115134234A (en) Device updating method, device, storage medium and electronic device
CN106789211A (en) A kind of NMS and management method
US20220245041A1 (en) Device control system and method for controlling device
EP4376247A1 (en) System and method for reducing energy consumption of one or more appliances using smart sockets
CN115314505A (en) Execution method and device of equipment scene, storage medium and electronic device
CN115913929A (en) Kafka cluster deployment method and device, storage medium and electronic equipment

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
GR01 Patent grant
GR01 Patent grant