Equipment replacement method, device, system, server and storage medium
Through the information interaction between the cloud server and the local server, the automatic configuration of the target replacement equipment is solved, and the cost and efficiency of the device replacement method is high, and the efficient and low-cost device replacement process is achieved.
Patent Information
- Application Number
- CN202110099157.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-25
- Publication Date
- 2024-12-13
- Estimated Expiration
- 2041-01-25
AI Technical Summary
The existing equipment replacement method is costly and inefficient, requiring dispatch of technicians to perform manual operations, resulting in complexity and time consumption.
The cloud server receives the identification information of the target replacement device reported by the terminal device, determines whether the device is an authorized device based on the mapping relationship in the device database, and sends the device replacement information to the local server to realize the automatic configuration of the target replacement device.
It reduces the complexity and cost of the equipment replacement process, improves efficiency, and reduces the dependence on technicians. It only requires sending lower-cost service providers to replace the equipment.
Smart Images

Figure CN112835635B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of communications, and in particular, to a device replacement method, device, system, server, and storage medium. Background Art
[0002] In a customer's private deployment environment, if the customer's equipment has an abnormality or failure, the abnormal or failed equipment needs to be replaced.
[0003] Due to the complexity of the equipment replacement plan, it is currently necessary for specialized technicians to go to the customer's site to perform equipment replacement, which involves the following steps: the technician deletes the equipment configuration information before replacement in the customer's private deployment environment, replaces the equipment hardware, installs the software in the replaced equipment, and configures the replaced equipment.
[0004] However, in the above scheme, on the one hand, it is necessary to dispatch technical personnel, and the cost of replacing equipment is high. On the other hand, the replacement process requires many manual steps, and the efficiency of replacing equipment is low. Summary of the invention
[0005] The present invention provides a device replacement method, device, system, server and storage medium to solve the technical problems of high cost and low efficiency of the current device replacement method.
[0006] In a first aspect, an embodiment of the present invention provides a device replacement method, which is applied to a cloud server, comprising:
[0007] Receiving identification information of the target replaced device reported by the terminal device;
[0008] Determine whether the target replaced device is an authorized device according to the identification information of the target replaced device and the device replacement mapping relationship in the pre-stored device database; wherein the device replacement mapping relationship is used to indicate the mapping relationship between the device before replacement and the authorized device for replacement;
[0009] When it is determined that the target device after replacement is an authorized device, device replacement information is sent to the local server of the target device after replacement, so that the local server sends the corresponding attribute information of the target device before replacement to the target device after replacement according to the device replacement information; wherein the device replacement information includes: identification information of the target device before replacement.
[0010] In a second aspect, an embodiment of the present invention further provides a device replacement method, which is applied to a local server of a target replaced device, comprising:
[0011] Receive device replacement information sent by a cloud server; wherein the device replacement information is sent by the cloud server after receiving identification information of a target device after replacement reported by a terminal device, and determining that the target device after replacement is an authorized device based on the identification information of the target device after replacement and a device replacement mapping relationship pre-stored in a device database, wherein the device replacement mapping relationship is used to indicate a mapping relationship between a device before replacement and an authorized device for replacement, and the device replacement information includes: identification information of a target device before replacement corresponding to the target device after replacement;
[0012] Determine attribute information of the target device before replacement according to the device replacement information;
[0013] The attribute information of the target device before replacement is sent to the target device after replacement.
[0014] In a third aspect, an embodiment of the present invention provides a device replacement system, including a cloud server and a local server;
[0015] Wherein, the cloud server is used to execute the device replacement method as described in the first aspect, and the local server is used to execute the device replacement method as described in the second aspect.
[0016] In a fourth aspect, an embodiment of the present invention provides a device replacement apparatus, which is arranged in a cloud server and includes:
[0017] The first receiving module is used to receive identification information of a target replaced device reported by a terminal device;
[0018] A first determination module is used to determine whether the target replaced device is an authorized device according to the identification information of the target replaced device and the device replacement mapping relationship pre-stored in the device database; wherein the device replacement mapping relationship is used to indicate the mapping relationship between the device before replacement and the authorized device for replacement;
[0019] The first sending module is used to send device replacement information to the local server of the target device after replacement when it is determined that the target device after replacement is an authorized device, so that the local server sends the corresponding attribute information of the target device before replacement to the target device after replacement according to the device replacement information; wherein the device replacement information includes: identification information of the target device before replacement.
[0020] In a fifth aspect, an embodiment of the present invention further provides a device replacement apparatus, which is arranged in a local server of a target replaced device, and includes:
[0021] The second receiving module is used to receive the device replacement information sent by the cloud server; wherein, the device replacement information is sent by the cloud server after receiving the identification information of the target replaced device reported by the terminal device, and determining that the target replaced device is an authorized device according to the identification information of the target replaced device and the device replacement mapping relationship pre-stored in the device database, the device replacement mapping relationship is used to indicate the mapping relationship between the device before replacement and the authorized device for replacement, and the device replacement information includes: the identification information of the target device before replacement corresponding to the target replaced device;
[0022] A fourth determination module, configured to determine attribute information of the target device before replacement according to the device replacement information;
[0023] The second sending module is used to send the attribute information of the target device before replacement to the target device after replacement.
[0024] In a sixth aspect, an embodiment of the present invention further provides a server, the server comprising:
[0025] one or more processors;
[0026] A memory for storing one or more programs;
[0027] When the one or more programs are executed by the one or more processors, the one or more processors implement the device replacement method provided in the first aspect or implement the device replacement method provided in the second aspect.
[0028] In a seventh aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the device replacement method provided in the first aspect or implements the device replacement method provided in the second aspect.
[0029] The present embodiment provides a device replacement method, apparatus, system, server and storage medium, the method comprising: receiving identification information of a target replaced device reported by a terminal device; determining whether the target replaced device is an authorized device according to the identification information of the target replaced device and the device replacement mapping relationship in a pre-stored device database, wherein the device replacement mapping relationship is used to indicate the mapping relationship between the device before replacement and the authorized device for replacement; when it is determined that the target replaced device is an authorized device, sending device replacement information to a local server of the target replaced device, so that the local server sends the corresponding attribute information of the target device before replacement to the target replaced device according to the device replacement information; wherein the device replacement information comprises: identification information of the target device before replacement. In the device replacement method, on the one hand, during the replacement process, the terminal device can report the identification information of the target replaced device to the cloud server, and the cloud server can determine whether the target replaced device is an authorized device according to the reported identification information of the target replaced device, so as to realize the monitoring and authorization management of the target replaced device by the cloud server, and improve the security of the device replacement process. On the other hand, after determining that the target replaced device is an authorized device, the cloud server can send device replacement information to the local server of the target replaced device, so that the local server sends the corresponding attribute information of the target pre-replacement device to the target replaced device, thereby realizing automatic configuration of the target replaced device and improving the efficiency of the device replacement process. On the other hand, the device replacement method provided in this embodiment can realize automatic configuration of the target replaced device, thereby reducing the complexity of the device replacement process. Manufacturers no longer need to dispatch technicians to the customer site to replace the device, but only need to dispatch service providers with relatively low labor costs to the customer site to replace the device, thereby reducing the cost of equipment replacement. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 A schematic diagram of an application scenario of an embodiment of a device replacement method provided by the present invention;
[0031] Figure 2 A schematic diagram of a flow chart of an embodiment of a device replacement method provided by the present invention;
[0032] Figure 3 A schematic diagram of a device database in an embodiment of the device replacement method provided by the present invention;
[0033] Figure 4 A schematic diagram of a flow chart of another device replacement method embodiment provided by the present invention;
[0034] Figure 5 A schematic diagram of another device database in an embodiment of the device replacement method provided by the present invention;
[0035] Figure 6 A schematic diagram of a flow chart of another embodiment of a device replacement method provided by the present invention;
[0036] Figure 7 A schematic diagram of the property information of the target device before replacement in the device replacement method embodiment provided by the present invention;
[0037] Figure 8 A schematic diagram of information interaction of an embodiment of a device replacement method provided by the present invention;
[0038] Fig. 9 A schematic diagram of the structure of an embodiment of a device replacement system provided by the present invention;
[0039] Fig.10 A schematic diagram of the structure of a device replacement device provided by the present invention;
[0040] Fig.11 A schematic diagram of the structure of another device replacement device provided by the present invention;
[0041] Fig.12 A schematic diagram of the structure of a computer device provided by the present invention. DETAILED DESCRIPTION
[0042] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0043] Figure 1 Schematic diagram of an application scenario of an embodiment of a device replacement method provided by the present invention. Figure 1As shown, the device replacement method provided in this embodiment can be executed by the cloud server 11 and the local server 13 of the target replaced device 12 respectively. On the one hand, during the replacement process, the terminal device 14 can report the identification information of the target replaced device to the cloud server 11, and the cloud server 11 can determine whether the target replaced device 12 is an authorized device based on the reported identification information of the target replaced device, so as to realize the monitoring and authorization management of the target replaced device 12 by the cloud server 11, thereby improving the security of the device replacement process. On the other hand, after determining that the target replaced device is an authorized device, the cloud server 11 can send the device replacement information to the local server 13 of the target replaced device, so that the local server 13 sends the corresponding attribute information of the target pre-replacement device to the target replaced device 12, thereby realizing the automatic configuration of the target replaced device 12 and improving the efficiency of the device replacement process. On the other hand, the device replacement method provided in this embodiment can realize the automatic configuration of the target replaced device 12, thereby reducing the complexity of the device replacement process, and no longer needs to send technicians to the customer site to replace the device, but only needs to send service providers with relatively low labor costs to the customer site to replace the device, thereby reducing the cost of equipment replacement.
[0044] The device replacement method provided in this embodiment is described in detail below from three perspectives: the process executed by the cloud server, the process executed by the local server of the target device after replacement, and the process of interaction between the cloud server and the local server.
[0045] Figure 2 This is a flow chart of an embodiment of a device replacement method provided by the present invention. This embodiment is applicable to the scenario of replacing a faulty device at a customer site. This embodiment can be executed by a device replacement device, which can be implemented by software and / or hardware, and the device replacement device can be integrated in a cloud server. Figure 2 As shown, the device replacement method provided in this embodiment includes the following steps:
[0046] Step 201: Receive identification information of a target replaced device reported by a terminal device.
[0047] Specifically, the cloud server in this embodiment may be a cloud server of a device manufacturer. The device in this embodiment may be an electronic device. Exemplarily, the device in this embodiment may be a display device, a video acquisition device, a calling device, etc. In this embodiment, for the convenience of description, in the ongoing device process, the device before replacement is referred to as the target device before replacement, and the device after replacement is referred to as the target device after replacement.
[0048] In one implementation, the identification information of the target replaced device is information obtained by the terminal device from the target replaced device after the hardware replacement of the target replaced device is completed.
[0049] The terminal device in this embodiment can be a terminal device of a service provider maintenance personnel dispatched by the manufacturer. When the cloud server in this embodiment determines that the current pre-replacement device corresponding to the target replacement device needs to be replaced, it dispatches the service provider maintenance personnel to the customer site to replace the device.
[0050] The service provider maintenance personnel, dispatched by the manufacturer, arrive at the customer site with the target replaced device, replace the target replaced device corresponding to the target replaced device, and install the target replaced device at the location of the current replaced device to achieve hardware replacement. Afterwards, the service provider maintenance personnel can obtain the identification information of the target replaced device from the target replaced device through the terminal device. Exemplarily, the identification information of the target replaced device in this embodiment can be the serial number, production number, and other information that can uniquely identify the target replaced device.
[0051] Optionally, the service provider maintenance personnel can read the identification information of the target replaced device from the label attached to the target replaced device, and input the read identification information into the terminal device. Alternatively, the service provider maintenance personnel can use the terminal device to scan the identification code (e.g., QR code or bar code) attached to the target replaced device to obtain the identification information of the target replaced device.
[0052] In this implementation, after completing the hardware replacement of the target device before replacement, the identification information of the target device after replacement is obtained, which can ensure that the target device after replacement has a network connection with the local server in the local network where it is located. Therefore, after the subsequent step 203, when the local server of the target device after replacement sends the attribute information of the target device before replacement to the target device after replacement, it can be sent successfully at one time, thereby improving the efficiency of device replacement.
[0053] In another implementation, the timing of the terminal device obtaining the identification information of the target replaced device is not limited. In this implementation, the terminal device can obtain the identification information of the target replaced device before the hardware of the target replaced device is replaced. After the subsequent step 203, when the local server of the target replaced device sends the attribute information of the target replaced device to the target replaced device, if it cannot be sent successfully at one time, the local server can repeatedly send the attribute information of the target replaced device at a preset time interval until the target replaced device has a network connection with the local server in the local network where it is located, and successfully receives the attribute information of the target replaced device.
[0054] In the device replacement method provided in this embodiment, the network where the target device before replacement is located can be the customer's private network. Therefore, the cloud server in this embodiment cannot directly connect to the local server in the customer's private network and the target device after replacement. Based on this, in step 201, the target device after replacement is connected to the cloud server with the help of a terminal device. The terminal device can establish a connection with the target device after replacement through wireless local area network technology. The terminal device can establish a connection with the cloud server through public network technology.
[0055] After acquiring the identification information of the target replaced device, the terminal device sends the identification information of the target replaced device to the cloud server. The cloud server executes step 201 to receive the identification information of the target replaced device reported by the terminal device.
[0056] Step 202: Determine whether the target replaced device is an authorized device according to the identification information of the target replaced device and the device replacement mapping relationship pre-stored in the device database.
[0057] The device replacement mapping relationship is used to indicate the mapping relationship between the device before replacement and the authorized device for replacement.
[0058] Specifically, in this embodiment, a device database is pre-stored. The device database in this embodiment includes a device replacement mapping relationship. The device database in this embodiment is a database established after the device is sold. Every time a device is sold, the relevant information of the device is written into the device database. The device here is the pre-replacement device in this embodiment. It can be understood that the pre-replacement device here includes the target pre-replacement device. The process of how to establish the device database will be described in detail in the next embodiment.
[0059] Optionally, before step 202, the device replacement method provided in this embodiment also includes: when it is determined that the target pre-replacement device needs to be replaced, receiving identification information of an authorized device corresponding to the target pre-replacement device input by the manufacturer; in the device replacement mapping relationship, writing the mapping relationship between the target pre-replacement device and the corresponding authorized device.
[0060] Figure 3 This is a schematic diagram of a device database in an embodiment of the device replacement method provided by the present invention. Figure 3 As shown, the device replacement mapping relationship in the device database includes the identification information of the device before replacement and the corresponding identification information of the authorized device used for replacement.
[0061] In one implementation, after receiving the identification information of the target replaced device, the cloud server searches the device replacement mapping relationship to see whether the identification information of the target replaced device exists. If so, it determines that the target replaced device is an authorized device.
[0062] In another implementation, step 201 may specifically include: receiving identification information of the target device after replacement and identification information of the target device before replacement reported by the terminal device. Correspondingly, step 202 may specifically include: determining whether the target device after replacement is an authorized device according to the identification information of the target device after replacement, the identification information of the target device before replacement, and the device replacement mapping relationship in the pre-stored device database.
[0063] In this implementation, after receiving the identification information of the target replaced device and the identification information of the target device before replacement, the cloud server searches the device replacement mapping relationship for the identification information of the target replaced device. If it exists, it is further determined whether the identification information of the device before replacement corresponding to the target replaced device in the device replacement mapping relationship is consistent with the received identification information of the target device before replacement. If they are consistent, it is determined that the target replaced device is an authorized device.
[0064] This implementation method performs a double comparison through the device replacement mapping relationship, which can further ensure the security of the target device after replacement and improve the security of the device replacement process.
[0065] Step 203: When it is determined that the target replaced device is an authorized device, device replacement information is sent to the local server of the target replaced device, so that the local server sends the corresponding attribute information of the target pre-replacement device to the target replaced device according to the device replacement information.
[0066] The device replacement information includes: identification information of the target device before replacement.
[0067] Specifically, the cloud server can send the device replacement information to the local server of the target replaced device through the terminal device and the target replaced device. The local server in this embodiment refers to the server in the private network where the target replaced device is located.
[0068] Optionally, the attribute information of the target device before replacement includes at least one of the following: configuration information of the target device before replacement and software information in the target device before replacement. The software information here may include at least one of the following: software installation package, software update log, software operation log, etc.
[0069] In one implementation, after receiving the identification information of the target replaced device, when determining that the target replaced device is an authorized device, the cloud server can determine the identification information of the target device before replacement corresponding to the target replaced device from the device replacement mapping relationship, and package the identification information of the target device before replacement into device replacement information and send it to the local server.
[0070] In another implementation, the cloud server can receive the identification information of the target device after replacement and the identification information of the target device before replacement reported by the terminal device. When it is determined that the target device after replacement is an authorized device, the identification information of the target device before replacement is packaged as device replacement information and sent to the local server.
[0071] It should be noted that if it is determined that the target device is not an authorized device after replacement, a warning reminder can be issued to the manufacturer's staff.
[0072] After receiving the attribute information of the target device before replacement sent by the local server, the target device after replacement is configured and operated according to the attribute information of the target device before replacement to realize the function of the target device before replacement.
[0073] Optionally, in this embodiment, after step 203, the following step may be further included: receiving replacement completion information sent by the target replaced device via the terminal device. The replacement completion message is sent by the target replaced device after receiving the attribute information of the target pre-replacement device.
[0074] After receiving the attribute information of the target device before replacement sent by the local server, the target device after replacement sends the replacement completion information to the cloud server, so that the cloud server can realize closed-loop supervision of the device replacement process and improve the controllability of the device replacement process.
[0075] Furthermore, after the cloud server sends the device replacement information to the local server of the target replaced device, if it determines that the replacement completion information sent by the target replaced device through the terminal device has not been received within a preset time period, it can send a message to the manufacturer's staff to prompt that the device replacement is not completed, so as to prompt the manufacturer's staff.
[0076] The device replacement method provided in this embodiment is described below with a specific example. In this embodiment, the cloud server determines that the device A1 (i.e., the current pre-replacement device) of client A needs to be replaced. The manufacturer can enter the identification information of the authorized device corresponding to device A1 in the cloud server. The cloud server receives the identification information of the authorized device corresponding to the target pre-replacement device input by the manufacturer, and writes the mapping relationship between device A and the corresponding authorized device in the device replacement mapping relationship in the device database. Afterwards, the manufacturer dispatches the service provider maintenance personnel to the site of client A to replace the device. Under the dispatch of the manufacturer, the service provider maintenance personnel arrive at the customer site with the target replaced device for replacement. Afterwards, the service provider maintenance personnel can obtain the identification information of the target replaced device from the target replaced device through the terminal device, and send the identification information of the target replaced device to the cloud server. The cloud server executes steps 201, 202, and 203. Assuming that the target replaced device is determined to be an authorized device, the cloud server sends the device replacement information to the local server in the private network of client A, so that the local server sends the corresponding attribute information of the target pre-replacement device to the target replaced device according to the device replacement information. After receiving the attribute information of the target device before replacement sent by the local server, the target device after replacement is configured and operated according to the attribute information of the target device before replacement to realize the function of the target device before replacement. The above process can realize the supervision and authorization management of the target device after replacement, and the device replacement process has high security. It can also realize the automatic configuration of the target device after replacement, and the efficiency of the device replacement process is high. In addition, the complexity of the device replacement process can be reduced. It is no longer necessary for the manufacturer to send technicians to the customer site to replace the equipment, but only needs to send a service provider with relatively low labor cost to the customer site to replace the equipment, which reduces the cost of equipment replacement.
[0077] This embodiment provides a device replacement method, including: receiving identification information of a target replaced device reported by a terminal device; determining whether the target replaced device is an authorized device according to the identification information of the target replaced device and a device replacement mapping relationship in a pre-stored device database, wherein the device replacement mapping relationship is used to indicate a mapping relationship between a pre-replacement device and an authorized device for replacement; when it is determined that the target replaced device is an authorized device, sending device replacement information to a local server of the target replaced device, so that the local server sends the corresponding attribute information of the target pre-replacement device to the target replaced device according to the device replacement information; wherein the device replacement information includes: identification information of the target pre-replacement device. In the device replacement method, on the one hand, during the replacement process, the terminal device can report the identification information of the target replaced device to the cloud server, and the cloud server can determine whether the target replaced device is an authorized device according to the reported identification information of the target replaced device, so as to realize the monitoring and authorization management of the target replaced device by the cloud server, thereby improving the security of the device replacement process. On the other hand, after determining that the target replaced device is an authorized device, the cloud server can send device replacement information to the local server of the target replaced device, so that the local server sends the corresponding attribute information of the target pre-replacement device to the target replaced device, thereby realizing automatic configuration of the target replaced device and improving the efficiency of the device replacement process. On the other hand, the device replacement method provided in this embodiment can realize automatic configuration of the target replaced device, thereby reducing the complexity of the device replacement process. Manufacturers no longer need to dispatch technicians to the customer site to replace the device, but only need to dispatch service providers with relatively low labor costs to the customer site to replace the device, thereby reducing the cost of equipment replacement.
[0078] Figure 4 This is a flow chart of another device replacement method embodiment provided by the present invention. The device replacement method provided in this embodiment is Figure 2 Based on the illustrated embodiment and various optional implementation schemes, other steps included in the device replacement method are described in detail. Figure 4 As shown, the device replacement method provided in this embodiment includes:
[0079] Step 401: According to the fault information reported by the user, the activation time of the target device before replacement and the contract information of the target device before replacement are searched from the device database.
[0080] The fault information includes identification information of the target device before replacement.
[0081] Specifically, the device database in this embodiment also includes: contract information of the target device before replacement and activation time of the target device before replacement. Optionally, before step 401, step 401' may be included: writing the contract information of the target device before replacement and activation time of the target device before replacement in the device database.
[0082] The contract information in this embodiment may include information such as the warranty period agreed with the customer.
[0083] Figure 5 This is a schematic diagram of another device database in the device replacement method embodiment provided by the present invention. Figure 5 As shown, the equipment database also includes the contract information of the equipment before replacement and the activation time of the equipment before replacement.
[0084] In step 401, the user may report the fault information via phone, email, text message, or application.
[0085] Step 402: Determine whether the target device before replacement is within the warranty period according to the activation time of the target device before replacement and the contract information of the target device before replacement.
[0086] Optionally, the fault information may further include the time when the fault occurred. When the cloud server determines that the time difference between the activation time of the target pre-replacement device and the time when the fault occurred is still within the warranty period of the contract information, it is determined that the target pre-replacement device is within the warranty period.
[0087] Step 403: When it is determined that the target pre-replacement device is within the warranty period, it is determined that the target pre-replacement device needs to be replaced.
[0088] It should be noted that when it is determined that the target equipment is out of warranty before replacement, the equipment replacement process can be terminated.
[0089] Step 404: When it is determined that the target pre-replacement device needs to be replaced, receiving identification information of an authorized device corresponding to the target pre-replacement device input by the manufacturer.
[0090] Step 405: Write the mapping relationship between the target device before replacement and the corresponding authorized device into the device replacement mapping relationship.
[0091] Step 406: Receive identification information of the target device after replacement reported by the terminal device.
[0092] Step 407: Determine whether the target replaced device is an authorized device according to the identification information of the target replaced device and the device replacement mapping relationship pre-stored in the device database.
[0093] The device replacement mapping relationship is used to indicate the mapping relationship between the device before replacement and the authorized device for replacement.
[0094] Step 408: When it is determined that the target replaced device is an authorized device, device replacement information is sent to the local server of the target replaced device, so that the local server sends the corresponding attribute information of the target pre-replacement device to the target replaced device according to the device replacement information.
[0095] The device replacement information includes: identification information of the target device before replacement.
[0096] The implementation process and technical principle of step 406 and step 201, step 407 and step 202, and step 408 and step 203 are similar, and will not be repeated here.
[0097] Step 409: receiving the replacement completion information sent by the target replaced device through the terminal device.
[0098] The replacement completion message is sent after the target device after replacement receives the attribute information of the target device before replacement.
[0099] The device replacement method provided in this embodiment can, on the one hand, realize closed-loop management of the contract information, activation time, and authorized devices of the target device before replacement, thereby further improving the efficiency of the device replacement process; on the other hand, it can automatically determine whether the target device before replacement is within the warranty period, thereby realizing automatic management of the replacement authority of the target device before replacement; on the other hand, it can realize high-security, high-efficiency and low-cost equipment replacement.
[0100] Figure 6 This is a flow chart of another embodiment of a device replacement method provided by the present invention. This embodiment can be executed by a device replacement device, which can be implemented by software and / or hardware, and can be integrated into a local server of the target device after replacement. Figure 6 As shown, the device replacement method provided in this embodiment includes the following steps:
[0101] Step 601: Receive device replacement information sent by the cloud server.
[0102] The device replacement information is sent by the cloud server after receiving the identification information of the target device after replacement reported by the terminal device, and determining that the target device after replacement is an authorized device based on the identification information of the target device after replacement and the device replacement mapping relationship pre-stored in the device database. The device replacement mapping relationship is used to indicate the mapping relationship between the device before replacement and the authorized device for replacement. The device replacement information includes: the identification information of the target device before replacement corresponding to the target device after replacement.
[0103] Specifically, the local server can receive the device replacement information sent by the cloud server through the terminal device and the target replaced device.
[0104] The process of generating equipment replacement information is Figure 2 The illustrated embodiment and various optional implementations have been described in detail and will not be repeated here.
[0105] Step 602: Determine the attribute information of the target device before replacement according to the device replacement information.
[0106] Specifically, after receiving the device replacement information, the local server determines the attribute information of the target device before replacement from the local storage or other devices in the private network.
[0107] Optionally, the attribute information of the target device before replacement includes at least one of the following: configuration information of the target device before replacement and software information in the target device before replacement. For example, in a scenario where the target device before replacement is a medical pager, the configuration information of the target device before replacement may include the telephone number of the nurse station associated with the medical pager.
[0108] Figure 7 This is a schematic diagram of the attribute information of the target device before the device is replaced in the device replacement method embodiment provided by the present invention. Figure 7 As shown, the attribute information of the target device before replacement may include: configuration file 71, configuration file 72, configuration file 73, software installation package 74, operation log of software installation package 74, software installation package 75 and operation log of software installation package 75 of the target device before replacement.
[0109] Step 603: Send the attribute information of the target device before replacement to the target device after replacement.
[0110] Specifically, the local server may send the attribute information of the target device before replacement to the target device after replacement through the private network.
[0111] After receiving the attribute information of the target device before replacement sent by the local server, the target device after replacement is configured and operated according to the attribute information of the target device before replacement to realize the function of the target device before replacement. The configuration here includes configuration according to the configuration information and software configuration according to the software information.
[0112] The device replacement method provided in this embodiment, on the one hand, during the replacement process, the terminal device can report the identification information of the target replaced device to the cloud server, and the cloud server can determine whether the target replaced device is an authorized device based on the reported identification information of the target replaced device, so as to realize the monitoring and authorization management of the target replaced device by the cloud server, thereby improving the security of the device replacement process. On the other hand, after determining that the target replaced device is an authorized device, the cloud server can send device replacement information to the local server of the target replaced device, so that the local server sends the corresponding attribute information of the target pre-replacement device to the target replaced device, thereby realizing the automatic configuration of the target replaced device and improving the efficiency of the device replacement process. On the other hand, the device replacement method provided in this embodiment can realize the automatic configuration of the target replaced device, thereby reducing the complexity of the device replacement process, and no longer needs to send technicians to the customer site to replace the device, but only needs to send service providers with relatively low labor costs to the customer site to replace the device, thereby reducing the cost of equipment replacement.
[0113] Figure 8 This is a schematic diagram of information interaction of an embodiment of the device replacement method provided by the present invention. This embodiment describes the device replacement method provided by this embodiment from the perspective of interaction between the terminal device, the target device after replacement, the cloud server, and the local server of the target device after replacement. Figure 8 As shown, the device replacement method provided in this embodiment includes the following steps:
[0114] Step 801: The terminal device sends identification information of the target replaced device to the cloud server.
[0115] Step 802: The cloud server receives identification information of the target replaced device reported by the terminal device.
[0116] The implementation process and technical principle of step 802 are similar to those of step 201 and will not be repeated here.
[0117] Step 803: The cloud server determines whether the target replaced device is an authorized device according to the identification information of the target replaced device and the device replacement mapping relationship pre-stored in the device database.
[0118] The device replacement mapping relationship is used to indicate the mapping relationship between the device before replacement and the authorized device for replacement.
[0119] The implementation process and technical principle of step 803 are similar to those of step 202, and will not be repeated here.
[0120] Step 804: When the cloud server determines that the target replaced device is an authorized device, it sends device replacement information to the local server of the target replaced device, so that the local server sends the corresponding attribute information of the target pre-replacement device to the target replaced device according to the device replacement information.
[0121] The device replacement information includes: identification information of the target device before replacement.
[0122] The implementation process and technical principle of step 804 are similar to those of step 203 and will not be repeated here.
[0123] In step 804, the cloud server may specifically send the device replacement information to the local server of the target replaced device through the terminal device and the target replaced device.
[0124] Step 805: The local server receives the device replacement information sent by the cloud server.
[0125] The implementation process and technical principle of step 805 are similar to those of step 601 and will not be repeated here.
[0126] Step 806: The local server determines the attribute information of the target device before replacement according to the device replacement information.
[0127] The implementation process and technical principle of step 806 are similar to those of step 602 and will not be repeated here.
[0128] Step 807: The local server sends the attribute information of the target device before replacement to the target device after replacement.
[0129] The implementation process and technical principle of step 807 are similar to those of step 603 and will not be repeated here.
[0130] Step 808: The target-replaced device receives the attribute information of the target-replaced device sent by the local server.
[0131] Step 809: The target device after replacement is configured according to the attribute information of the target device before replacement.
[0132] Step 810: After the target is replaced, the device sends a replacement completion message to the cloud server.
[0133] Optionally, after the target device is replaced, the device may send a replacement completion message to the cloud server via the terminal device.
[0134] Step 811: The cloud server receives the replacement completion information sent by the target device after replacement.
[0135] The device replacement method provided in this embodiment can achieve high controllability, high safety, high efficiency and low cost of device replacement.
[0136] Fig. 9 This is a schematic diagram of the structure of an embodiment of the equipment replacement system provided by the present invention. Fig. 9 As shown, the equipment replacement system provided in this embodiment includes: a cloud server 91 and a local server 92.
[0137] The cloud server 91 is used to execute the steps executed by the cloud server in the above-mentioned device replacement method embodiment and various optional implementations. The local server 92 is used to execute the steps executed by the local server in the above-mentioned device replacement method embodiment and various optional implementations.
[0138] The equipment replacement system provided in the embodiment of the present invention has functional modules and beneficial effects corresponding to the execution method, which will not be described in detail here.
[0139] Fig.10 The schematic diagram of the structure of a device replacement device provided by the present invention. The device can be set in a cloud server. Fig.10 As shown, the device replacement apparatus provided in this embodiment includes the following modules: a first receiving module 101 , a first determining module 102 and a first sending module 103 .
[0140] The first receiving module 101 is used to receive identification information of a target replaced device reported by a terminal device.
[0141] Optionally, the identification information of the target replaced device is information acquired by the terminal device from the target replaced device after the hardware replacement of the target pre-replacement device is completed.
[0142] The first determination module 102 is configured to determine whether the target replaced device is an authorized device according to identification information of the target replaced device and a device replacement mapping relationship pre-stored in a device database.
[0143] The device replacement mapping relationship is used to indicate the mapping relationship between the device before replacement and the authorized device for replacement.
[0144] In one implementation, the first receiving module 101 is specifically used to: receive identification information of the target device after replacement and identification information of the target device before replacement reported by the terminal device. Correspondingly, the first determining module 102 is specifically used to: determine whether the target device after replacement is an authorized device according to the identification information of the target device after replacement, the identification information of the target device before replacement, and the device replacement mapping relationship in the pre-stored device database.
[0145] The first sending module 103 is used to send device replacement information to the local server of the target replaced device when it is determined that the target replaced device is an authorized device, so that the local server sends the corresponding attribute information of the target pre-replacement device to the target replaced device according to the device replacement information.
[0146] The device replacement information includes: identification information of the target device before replacement.
[0147] Specifically, in terms of sending the device replacement information to the local server of the target replaced device, the first sending module 103 is specifically used to send the device replacement information to the local server of the target replaced device through the terminal device and the target replaced device.
[0148] Optionally, the device further includes a writing module. Correspondingly, the first receiving module 101 is also used to receive the identification information of the authorized device corresponding to the target pre-replacement device input by the manufacturer when it is determined that the target pre-replacement device needs to be replaced. The writing module is used to write the mapping relationship between the target pre-replacement device and the corresponding authorized device in the device replacement mapping relationship.
[0149] Optionally, the device database further includes: contract information of the target device before replacement and activation time of the target device before replacement. The device further includes: a search module, a second determination module and a third determination module.
[0150] The search module is used to search the activation time of the target device before replacement and the contract information of the target device before replacement from the device database according to the fault information reported by the user.
[0151] The fault information includes identification information of the target device before replacement.
[0152] The second determination module is used to determine whether the target pre-replacement device is within the warranty period according to the activation time of the target pre-replacement device and the contract information of the target pre-replacement device.
[0153] The third determination module is used to determine that the target pre-replacement device needs to be replaced when it is determined that the target pre-replacement device is within the warranty period.
[0154] Optionally, the first receiving module 101 is further configured to receive a replacement completion message sent by the target replaced device via the terminal device, wherein the replacement completion message is sent by the target replaced device after receiving the attribute information of the target replaced device.
[0155] The equipment replacement device provided in the embodiment of the present invention can execute the equipment replacement method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0156] Fig.11This is a schematic diagram of the structure of another device replacement device provided by the present invention. The device is set in the local server of the target device after replacement. Fig.11 As shown, the device replacement apparatus provided in this embodiment includes the following modules: a second receiving module 111 , a fourth determining module 112 and a second sending module 113 .
[0157] The second receiving module 111 is used to receive device replacement information sent by the cloud server.
[0158] The device replacement information is sent by the cloud server after receiving the identification information of the target device after replacement reported by the terminal device, and determining that the target device after replacement is an authorized device based on the identification information of the target device after replacement and the device replacement mapping relationship pre-stored in the device database. The device replacement mapping relationship is used to indicate the mapping relationship between the device before replacement and the authorized device for replacement. The device replacement information includes: the identification information of the target device before replacement corresponding to the target device after replacement.
[0159] Optionally, the second receiving module 111 is specifically configured to receive device replacement information sent by the cloud server via the terminal device and the target replaced device.
[0160] The fourth determining module 112 is used to determine the attribute information of the target device before replacement according to the device replacement information.
[0161] The second sending module 113 is used to send the attribute information of the target device before replacement to the target device after replacement.
[0162] Optionally, the attribute information of the target device before replacement includes at least one of the following: configuration information of the target device before replacement and software information in the target device before replacement.
[0163] The equipment replacement device provided in the embodiment of the present invention can execute the equipment replacement method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0164] Fig.12 The present invention provides a schematic diagram of the structure of a computer device. Fig.12 As shown, the computer device includes a processor 120 and a memory 121. The number of processors 120 in the computer device can be one or more. Fig.12 A processor 120 is taken as an example; the processor 120 and the memory 121 of the computer device can be connected via a bus or other means. Fig.12 The example of connecting through bus is taken in the following.
[0165] The memory 121, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions and modules corresponding to the device replacement method in the embodiment of the present invention (for example, the first receiving module 101, the first determining module 102 and the first sending module 103 in the device replacement device, or the second receiving module 111, the fourth determining module 112 and the second sending module 113 in the device replacement device). The processor 120 executes various functional applications and data processing of the computer device by running the software programs, instructions and modules stored in the memory 121, that is, implements the above-mentioned device replacement method.
[0166] The memory 121 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 121 may further include a memory remotely arranged relative to the processor 120, and these remote memories may be connected to the computer device via a network. Embodiments of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0167] The present invention also provides a storage medium containing computer executable instructions, wherein the computer executable instructions are used to perform a device replacement method when executed by a computer processor, the method comprising:
[0168] Receiving identification information of the target replaced device reported by the terminal device;
[0169] Determine whether the target replaced device is an authorized device according to the identification information of the target replaced device and the device replacement mapping relationship in the pre-stored device database; wherein the device replacement mapping relationship is used to indicate the mapping relationship between the device before replacement and the authorized device for replacement;
[0170] When it is determined that the target device after replacement is an authorized device, device replacement information is sent to the local server of the target device after replacement, so that the local server sends the corresponding attribute information of the target device before replacement to the target device after replacement according to the device replacement information; wherein the device replacement information includes: identification information of the target device before replacement.
[0171] The present invention also provides a storage medium containing computer executable instructions, wherein the computer executable instructions are used to perform a device replacement method when executed by a computer processor, the method comprising:
[0172] Receive device replacement information sent by a cloud server; wherein the device replacement information is sent by the cloud server after receiving identification information of a target device after replacement reported by a terminal device, and determining that the target device after replacement is an authorized device based on the identification information of the target device after replacement and a device replacement mapping relationship pre-stored in a device database, wherein the device replacement mapping relationship is used to indicate a mapping relationship between a device before replacement and an authorized device for replacement, and the device replacement information includes: identification information of a target device before replacement corresponding to the target device after replacement;
[0173] Determine attribute information of the target device before replacement according to the device replacement information;
[0174] The attribute information of the target device before replacement is sent to the target device after replacement.
[0175] Of course, the computer executable instructions of a storage medium containing computer executable instructions provided in an embodiment of the present invention are not limited to the operations of the method described above, but can also execute related operations in the device replacement method provided in any embodiment of the present invention.
[0176] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0177] It is worth noting that in the embodiment of the above-mentioned equipment replacement device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.
[0178] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A device replacement method, characterized in that: Applied to cloud servers, including: Receiving identification information of the target replaced device reported by the terminal device; Determine whether the target replaced device is an authorized device according to the identification information of the target replaced device and the device replacement mapping relationship in the pre-stored device database; wherein the device replacement mapping relationship is used to indicate the mapping relationship between the device before replacement and the authorized device for replacement; When it is determined that the target replaced device is an authorized device, sending device replacement information to the local server of the target replaced device, so that the local server sends the corresponding attribute information of the target device before replacement to the target replaced device according to the device replacement information; wherein the device replacement information includes: identification information of the target device before replacement; The attribute information is used to configure and run the target device after replacement; the attribute information includes at least one of the following: configuration information of the target device before replacement and software information in the target device before replacement.
2. The method according to claim 1, characterized in that Before determining whether the target replaced device is an authorized device according to the identification information of the target replaced device and the device replacement mapping relationship pre-stored in the device database, the method further includes: When it is determined that the target pre-replacement device needs to be replaced, receiving identification information of an authorized device corresponding to the target pre-replacement device input by a manufacturer; In the device replacement mapping relationship, the mapping relationship between the target device before replacement and the corresponding authorized device is written.
3. The method according to claim 2, characterized in that The equipment database also includes: contract information of the target equipment before replacement and activation time of the target equipment before replacement; Before determining that the target pre-replacement device needs to be replaced, the method further includes: According to the fault information reported by the user, searching the activation time of the target device before replacement and the contract information of the target device before replacement from the device database; wherein the fault information includes the identification information of the target device before replacement; Determine whether the target device before replacement is within the warranty period according to the activation time of the target device before replacement and the contract information of the target device before replacement; When it is determined that the target pre-replacement device is within the warranty period, it is determined that the target pre-replacement device needs to be replaced.
4. The method according to claim 1, characterized in that: After sending the device replacement information to the local server of the target replaced device, the method further includes: Receive replacement completion information sent by the target replaced device through the terminal device; wherein the replacement completion information is sent by the target replaced device after receiving the attribute information of the target pre-replacement device.
5. The method according to claim 1, characterized in that: The sending device replacement information to the local server of the target replaced device includes: The device replacement information is sent to a local server of the target replaced device through the terminal device and the target replaced device.
6. The method according to claim 1, characterized in that The receiving terminal device reports the identification information of the target replaced device, including: Receiving identification information of the target device after replacement and identification information of the target device before replacement reported by the terminal device; The determining, according to the identification information of the target replaced device and the device replacement mapping relationship in the pre-stored device database, whether the target replaced device is an authorized device includes: It is determined whether the target device after replacement is an authorized device according to the identification information of the target device after replacement, the identification information of the target device before replacement, and a device replacement mapping relationship pre-stored in a device database.
7. The method according to any one of claims 1 to 6, characterized in that: The identification information of the target replaced device is information acquired by the terminal device from the target replaced device after the hardware replacement of the target pre-replacement device is completed.
8. A method for replacing equipment, characterized in that: Applied to the local server of the target device after replacement, including: Receive device replacement information sent by a cloud server; wherein the device replacement information is sent by the cloud server after receiving identification information of a target device after replacement reported by a terminal device, and determining that the target device after replacement is an authorized device based on the identification information of the target device after replacement and a device replacement mapping relationship pre-stored in a device database, wherein the device replacement mapping relationship is used to indicate a mapping relationship between a device before replacement and an authorized device for replacement, and the device replacement information includes: identification information of a target device before replacement corresponding to the target device after replacement; Determine the attribute information of the target device before replacement according to the device replacement information; wherein the attribute information is used to configure and operate the target device after replacement; the attribute information of the target device before replacement includes at least one of the following: configuration information of the target device before replacement and software information in the target device before replacement; The attribute information of the target device before replacement is sent to the target device after replacement.
9. The method according to claim 8, characterized in that The receiving device replacement information sent by the cloud server includes: Receive device replacement information sent by the cloud server through the terminal device and the target replaced device.
10. A device replacement system, characterized in that: Including cloud servers and local servers; The cloud server is used to execute the device replacement method as described in any one of claims 1 to 7, and the local server is used to execute the device replacement method as described in any one of claims 8 to 9.
11. A device replacement device, characterized in that: Set up in the cloud server, including: The first receiving module is used to receive identification information of a target replaced device reported by a terminal device; A first determination module is used to determine whether the target replaced device is an authorized device according to the identification information of the target replaced device and the device replacement mapping relationship pre-stored in the device database; wherein the device replacement mapping relationship is used to indicate the mapping relationship between the device before replacement and the authorized device for replacement; A first sending module is used to send device replacement information to a local server of the target device after replacement when it is determined that the target device after replacement is an authorized device, so that the local server sends the corresponding attribute information of the target device before replacement to the target device after replacement according to the device replacement information; wherein the device replacement information includes: identification information of the target device before replacement; The attribute information is used to configure and run the target device after replacement; the attribute information includes at least one of the following: configuration information of the target device before replacement and software information in the target device before replacement.
12. A device replacement device, characterized in that: Set in the local server of the target device after replacement, including: The second receiving module is used to receive the device replacement information sent by the cloud server; wherein, the device replacement information is sent by the cloud server after receiving the identification information of the target replaced device reported by the terminal device, and determining that the target replaced device is an authorized device according to the identification information of the target replaced device and the device replacement mapping relationship pre-stored in the device database, the device replacement mapping relationship is used to indicate the mapping relationship between the device before replacement and the authorized device for replacement, and the device replacement information includes: the identification information of the target device before replacement corresponding to the target replaced device; A fourth determination module is used to determine the attribute information of the target device before replacement according to the device replacement information; wherein the attribute information is used to configure and operate the target device after replacement; the attribute information of the target device before replacement includes at least one of the following: configuration information of the target device before replacement and software information in the target device before replacement; The second sending module is used to send the attribute information of the target device before replacement to the target device after replacement.
13. A server, characterized in that: The server comprises: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the device replacement method as described in any one of claims 1 to 7, or implement the device replacement method as described in any one of claims 8 to 9.
14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the device replacement method according to any one of claims 1 to 7 is implemented, or the device replacement method according to any one of claims 8 to 9 is implemented.
