WO2024093795A1 - 一种设备替换的配置方法及装置 - Google Patents

一种设备替换的配置方法及装置 Download PDF

Info

Publication number
WO2024093795A1
WO2024093795A1 PCT/CN2023/126867 CN2023126867W WO2024093795A1 WO 2024093795 A1 WO2024093795 A1 WO 2024093795A1 CN 2023126867 W CN2023126867 W CN 2023126867W WO 2024093795 A1 WO2024093795 A1 WO 2024093795A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
replacement
management server
information
request
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.)
Ceased
Application number
PCT/CN2023/126867
Other languages
English (en)
French (fr)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to EP23884727.1A priority Critical patent/EP4564749A4/en
Publication of WO2024093795A1 publication Critical patent/WO2024093795A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • 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/0659Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities
    • H04L41/0661Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities by reconfiguring faulty entities
    • 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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • H04L41/0846Configuration by using pre-existing information, e.g. using templates or copying from other elements based on copy from other elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities

Definitions

  • the present application relates to the field of terminal technology, and in particular to a configuration method and apparatus for device replacement.
  • the device replacement needs to be implemented after the new terminal device completes the network binding, and the new terminal device needs to perform specific processes such as device replacement or device replacement.
  • the current system of some terminal devices does not support the device replacement/device replacement process, resulting in the inability to implement device replacement, or the need to upgrade the system of the replaced new device, and the device replacement process is complicated.
  • the network will configure new device registration information for the new device, which is different from the device registration information of the original device, and may cause the configuration of the original device to be unable to inherit. For example, some functions or services based on the device registration information cannot be executed and need to be reconfigured for the new device. Therefore, business continuity is difficult to guarantee and the user experience is poor.
  • the present application provides a configuration method and apparatus for equipment replacement, which are used to simplify the complexity of equipment replacement process and improve the efficiency of equipment replacement.
  • a method for configuring device replacement comprising: a second terminal sends a request message to a management server, the request message being used to indicate obtaining device registration information allocated by the management server to a first terminal, wherein the second terminal is used to replace the first terminal; and the management server sends the device registration information of the first terminal to the second terminal according to the request message.
  • the management server can send the device registration information previously allocated to the first terminal as the device registration information of the second terminal to the second terminal, so that before and after the device is replaced, the device registration information of the second terminal is the same as that of the first terminal, that is, after the new and old devices are replaced, the same device registration information is still maintained, so that business continuity can be guaranteed after the device replacement is implemented, and the efficiency of device replacement can be effectively improved.
  • the request information includes the identifier of the second terminal.
  • the request information sent by the second terminal to the management server may include the identifier of the second terminal, so that the management server can obtain the device registration information of the corresponding old device, i.e., the first terminal, according to the identifier of the second terminal, and thus match the device registration information of the corresponding old device for the new device, so that the new and old devices maintain the same device registration information, thereby improving the efficiency of device replacement.
  • the method before the second terminal sends a request message to the management server, the method also includes: in response to a user's device replacement operation, the control device sends a replacement request to the management server, the replacement request includes an identifier of the first terminal, which is used to indicate that a device replacement is implemented for the first terminal; the control device receives verification information from the management server, and the verification information is generated by the management server according to the replacement request for identity authentication.
  • a replacement request can be triggered by controlling the device.
  • a smart phone first sends a replacement request to the management server, which is used to send the identification of the old device to be replaced, namely the first terminal, to the management server, thereby instructing the management server to implement the device replacement operation for the first terminal, so that after the subsequent management server receives the request information, it allocates the device registration information corresponding to the first terminal to the new device, thereby simplifying the device replacement process and improving the efficiency of device replacement.
  • the method further includes: the control device sends replacement information to the management server, the replacement information includes the identification of the second terminal and the verification information, and is used to indicate that the second terminal is used to replace the first terminal.
  • the management server can authenticate the replacement information of the control device, which can further ensure that the device Safety of the replace operation.
  • the management server sends the device registration information of the first terminal to the second terminal based on the request information, specifically including: the management server obtains the device registration information of the first terminal based on the identifier of the second terminal included in the request information, and sends the device registration information of the first terminal to the second terminal, wherein the management server stores the replacement relationship between the second terminal and the first terminal.
  • the management server can determine the replacement relationship between the first terminal and the second terminal based on the information previously sent by the control device, and thus can query and obtain the device registration information of the corresponding first terminal based on the identifier of the second terminal carried in the received request information, and allocate the device registration information to the second terminal, so as to achieve consistent device registration information after the replacement of the old and new devices, thereby maintaining business continuity and improving the efficiency of equipment replacement.
  • the request information is device registration request information. That is to say, the embodiment of the present application can realize the device replacement of the old device in the device registration process of the new device, thereby simplifying the device replacement process, making the new device unaware of the device replacement process, and not needing to perform operations such as new device system update, thereby improving the efficiency of device replacement.
  • the request information includes the identifier of the first terminal.
  • the request information sent by the second terminal to the management server may include the identifier of the first terminal, so that the management server can obtain the device registration information previously allocated to the first terminal according to the identifier of the first terminal, and allocate the device registration information corresponding to the first terminal to the new device, i.e., the second terminal, so that the new and old devices maintain the same device registration information, thereby improving the efficiency of device replacement.
  • the method before the second terminal sends the request information to the management server, the method further includes: in response to the user's device replacement operation, controlling the device to send a replacement request to the second device, wherein the replacement request includes an identifier of the first terminal for requesting to replace the first terminal.
  • the request information is device registration request information, or device replacement request information.
  • the request information may be a device registration request, that is, in the embodiment of the present application, an indication for requesting device replacement of the old device may be added to the device registration process of the new device, and a field may be specifically extended to indicate the identifier of the first terminal, thereby simplifying the device replacement process, making the new device unaware of the device replacement process, and not requiring operations such as new device system updates, thereby improving the efficiency of device replacement.
  • a device replacement request message can be used to indicate the identifier of the first terminal requesting replacement, and then a device registration request message is sent to the management server through the second terminal to implement the device replacement and device registration process, thereby improving the efficiency of device replacement.
  • the management server sends the device registration information of the first terminal to the second terminal according to the request information, specifically including: the management server obtains the device registration information of the first terminal according to the identifier of the first terminal, and sends the device registration information of the first terminal to the second terminal.
  • the management server can determine the replacement relationship between the first terminal and the second terminal based on the information sent by the second terminal, and thus can query and obtain the device registration information previously allocated to the first terminal based on the identifier of the first terminal carried in the received request information, and allocate the device registration information to the second terminal, thereby achieving consistent device registration information after the replacement of the old and new devices, thereby maintaining business continuity and improving the efficiency of equipment replacement.
  • the terminal identifier includes a device serial number SN and/or physical media access control address MAC information.
  • the first terminal and the second terminal are the same type of terminal devices, or are terminal devices with the same functions; or are terminal devices of the same device model; or, the first terminal and the second terminal refer to the same terminal device, wherein the second terminal refers to the state of the first terminal after a fault is repaired. That is to say, the implementation provided by the present application can be applied to the replacement scenario of new and old devices of the same type, and can also be applied to the device registration scenario after the same device is repaired, and the implementation method is flexible and the process is simple.
  • the method further includes: the management server sending a response message indicating successful device replacement to the second terminal and/or the control device.
  • the management server is a local management server or a remote cloud server.
  • a method for configuring device replacement comprising: a second terminal sends a request message to a management server, the request message is used to indicate obtaining device registration information allocated by the management server to a first terminal, wherein the second terminal is used to replace the first terminal; the second terminal obtains the device registration information of the first terminal from the management server.
  • the request information includes an identifier of the second terminal, or the request information includes an identifier of the first terminal.
  • the terminal identifier includes a device serial number SN and/or physical media access control address MAC information.
  • the method also includes: receiving a replacement request from a control device, the replacement request including the identifier of the first terminal, indicating a request to replace the first terminal.
  • the request information is device registration request information, or device replacement request information.
  • the first terminal and the second terminal are terminal devices of the same type, or terminal devices with the same functions; or terminal devices of the same device model; or the first terminal and the second terminal refer to the same terminal device, wherein the second terminal refers to the state of the first terminal after a fault is repaired.
  • the method further includes: receiving a response message indicating successful device replacement from the management server.
  • the management server is a local management server or a remote cloud server.
  • a method for configuring device replacement comprising: a management server receiving request information from a second terminal, the request information being used to indicate obtaining device registration information allocated by the management server to a first terminal, wherein the second terminal is used to replace the first terminal; and the management server sending the device registration information of the first terminal to the second terminal according to the request information.
  • the request information includes an identifier of the second terminal.
  • the method before receiving the request information from the second terminal, the method also includes: receiving a replacement request from the control device, the replacement request including the identifier of the first terminal, used to indicate the device replacement of the first terminal; the management server generates corresponding verification information according to the replacement request, and sends the verification information to the control device.
  • the method also includes: receiving replacement information from the control device, the replacement information including the identifier of the second terminal and the verification information, used to indicate that the second terminal is used to replace the first terminal; the management server performs identity authentication based on the verification information, and if the authentication is successful, saves the replacement relationship between the first terminal and the second terminal.
  • the management server sends the device registration information of the first terminal to the second terminal based on the request information, specifically including: the management server obtains the device registration information of the first terminal based on the identifier of the second terminal included in the request information and the replacement relationship between the second terminal and the first terminal, and sends the device registration information of the first terminal to the second terminal.
  • the request information is device registration request information.
  • the request information includes an identifier of the first terminal.
  • the method before the management server receives the request information from the second terminal, the method further includes: the management server receiving an identifier of the second terminal; the management server performing identity authentication on the second terminal, and saving the identifier of the second terminal if the authentication is successful.
  • the management server sends the device registration information of the first terminal to the second terminal based on the request information, specifically including: the management server obtains the device registration information of the first terminal based on the identifier of the first terminal included in the request information, and sends the device registration information of the first terminal to the second terminal.
  • the request information is device registration request information, or device replacement request information.
  • the terminal identifier includes a device serial number SN and/or physical media access control address MAC information.
  • the first terminal and the second terminal are terminal devices of the same type, or terminal devices with the same functions; or terminal devices of the same device model; or the first terminal and the second terminal refer to the same terminal device, wherein the second terminal refers to the state of the first terminal after a fault is repaired.
  • the method further includes: the management server sending a response message indicating successful device replacement to the second terminal and/or the control device.
  • the management server is a local management server or a remote cloud server.
  • a configuration method for device replacement comprising: in response to a user's device replacement operation, controlling the device to send a replacement request to a management server, wherein the replacement request includes an identifier of a first terminal, which is used to indicate that the first terminal Implementing device replacement; the control device determines a second terminal, wherein the second terminal is used to replace the first terminal.
  • the method further includes: the control device receiving verification information from the management server; the control device sending replacement information to the management server, the replacement information including the identifier of the second terminal and the verification information, used to indicate that the second terminal is used to replace the first terminal.
  • the terminal identifier includes a device serial number SN and/or physical media access control address MAC information.
  • the first terminal and the second terminal are terminal devices of the same type, or terminal devices with the same functions; or terminal devices of the same device model; or the first terminal and the second terminal refer to the same terminal device, wherein the second terminal refers to the state of the first terminal after a fault is repaired.
  • the method further includes: receiving a response message indicating successful device replacement sent from the management server.
  • the management server is a local management server or a remote cloud server.
  • a communication device which can implement the method performed by the second terminal in the second aspect or any possible implementation of the second aspect.
  • the device includes corresponding units or components for performing the above method.
  • the units included in the device can be implemented by software and/or hardware.
  • a communication device which can implement the method executed by the management server in the third aspect or any possible implementation of the third aspect.
  • the device includes corresponding units or components for executing the above method.
  • the units included in the device can be implemented by software and/or hardware.
  • a communication device which can implement the method for controlling the execution of a device in any possible implementation of the fourth aspect or the second aspect.
  • the device includes corresponding units or components for executing the above method.
  • the units included in the device can be implemented by software and/or hardware.
  • a communication system comprising a first terminal, a second terminal and a management server, wherein the second terminal is used to send a request message to the management server, the request message is used to indicate obtaining device registration information allocated by the management server to the first terminal, wherein the second terminal is used to replace the first terminal; and the management server is used to send the device registration information of the first terminal to the second terminal according to the request information.
  • the communication system further includes a control device, which is used to send a replacement request to the management server in response to a device replacement operation of a user, wherein the replacement request includes an identifier of the first terminal, which is used to indicate that a device replacement is to be implemented on the first terminal.
  • control device is further used to send replacement information to the management server, where the replacement information includes an identifier of the second terminal and the verification information, and is used to indicate that the second terminal is used to replace the first terminal.
  • the request information includes an identifier of the first terminal or an identifier of the second terminal.
  • the communication system may include the communication device described in the fifth aspect, the communication device described in the sixth aspect, and the communication device described in the seventh aspect; the communication system can be used to implement the method of the first aspect, or any possible implementation of the first aspect.
  • an electronic device comprising a memory and one or more processors; the memory and the processor are coupled; the memory is used to store computer program code, the computer program code comprises computer instructions, and when the processor executes the computer instructions, the electronic device is used to execute a method as described in any one of the above second aspects.
  • an electronic device comprising a memory and one or more processors; the memory and the processor are coupled; the memory is used to store computer program code, the computer program code comprises computer instructions, and when the processor executes the computer instructions, the electronic device is used to execute a method as described in any one of the above third aspects.
  • an electronic device comprising a memory and one or more processors; the memory and the processor are coupled; the memory is used to store computer program code, the computer program code comprises computer instructions, and when the processor executes the computer instructions, the electronic device is used to execute a method as described in any one of the above-mentioned fourth aspects.
  • an embodiment of the present application provides a computer-readable medium having a computer program or instruction stored thereon, When the computer program or instruction is executed, the computer executes the method described in the above-mentioned second aspect or any possible implementation manner of the second aspect.
  • an embodiment of the present application provides a computer-readable medium having a computer program or instructions stored thereon, which, when executed, enables the computer to execute the method described in the third aspect above, or any possible implementation of the third aspect.
  • an embodiment of the present application provides a computer-readable medium having a computer program or instructions stored thereon, which, when executed, enables a computer to execute the method described in the fourth aspect or any possible implementation of the fourth aspect.
  • an embodiment of the present application provides a computer program product, which includes a computer program code.
  • the computer program code When the computer program code is run on a computer, it enables the computer to execute the method described in the above-mentioned second aspect or any possible implementation manner of the second aspect.
  • an embodiment of the present application provides a computer program product, which includes a computer program code.
  • the computer program code When the computer program code is run on a computer, it enables the computer to execute the method described in the above third aspect or any possible implementation of the third aspect.
  • an embodiment of the present application provides a computer program product, which includes a computer program code.
  • the computer program code When the computer program code is run on a computer, it enables the computer to execute the method described in the above-mentioned fourth aspect or any possible implementation method of the fourth aspect.
  • an embodiment of the present application provides a chip system, which is applied to an electronic device; the chip system includes one or more interface circuits and one or more processors; the interface circuit and the processor are interconnected through lines; the interface circuit is used to receive a signal from a memory of the electronic device and send the signal to the processor, the signal including computer instructions stored in the memory; when the processor executes the computer instructions, the chip implements the method described in the above second aspect or any possible implementation of the second aspect.
  • an embodiment of the present application provides a chip system, which is applied to an electronic device; the chip system includes one or more interface circuits and one or more processors; the interface circuit and the processor are interconnected through lines; the interface circuit is used to receive a signal from a memory of the electronic device and send the signal to the processor, the signal including computer instructions stored in the memory; when the processor executes the computer instructions, the chip implements the method described in the third aspect above, or any possible implementation of the third aspect.
  • an embodiment of the present application provides a chip system, which is applied to an electronic device; the chip system includes one or more interface circuits and one or more processors; the interface circuit and the processor are interconnected through lines; the interface circuit is used to receive a signal from a memory of the electronic device and send the signal to the processor, the signal including computer instructions stored in the memory; when the processor executes the computer instructions, the chip implements the method described in the fourth aspect or any possible implementation of the fourth aspect.
  • any of the communication devices, electronic devices, chip systems, computer-readable media, computer program products or communication systems provided above are used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods and will not be repeated here.
  • FIG. 1a is an architecture diagram of a communication system provided in an embodiment of the present application.
  • FIG1b is a schematic diagram of the hardware structure of a terminal device provided in an embodiment of the present application.
  • FIG2 is a schematic diagram of a software structure of a terminal device provided in an embodiment of the present application.
  • FIG3 is a schematic diagram of a flow chart of a configuration method for device replacement provided in an embodiment of the present application.
  • FIG4 is a schematic diagram of a display effect of a device replacement provided in an embodiment of the present application.
  • FIG5 is a schematic diagram of a display effect of another device replacement provided in an embodiment of the present application.
  • FIG6 is a flow chart of another method for configuring device replacement provided in an embodiment of the present application.
  • FIG7 is a flow chart of another method for configuring device replacement provided in an embodiment of the present application.
  • FIG8 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
  • first and second are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features.
  • a feature defined as “first” or “second” may explicitly or implicitly include one or more of the features.
  • plural means two or more.
  • the embodiment of the present application can be applied to the communication system shown in Figure 1a, which mainly includes a control device, at least one terminal device and a management server.
  • the at least one terminal device can include a first terminal and a second terminal.
  • the control device refers to a device that controls the network registration, usage management or device deregistration of the terminal device.
  • the control device may be a terminal device or a remote controller, such as a smart phone or a smart home controller.
  • the user can control the terminal device connected to the network through the application (Application, APP) installed on the control device.
  • the application Application, APP
  • the smart home or smart appliances connected to the home gateway can be controlled through the application on the smart phone, such as controlling the opening or closing of curtains, controlling the water heater to start and set the heating temperature, etc.
  • Terminal equipment refers to a device, an apparatus or a machine with computing and processing capabilities. In the embodiments of the present application, it may be a device or an intelligent terminal with data processing capabilities or functional peripherals, as well as various sensors and IoT terminal devices. Terminal equipment may also be referred to as user equipment (UE), mobile station, mobile terminal or terminal, etc. Terminal equipment can be widely used in various scenarios, for example, device-to-device (D2D), vehicle-to-everything (V2X) communication, machine-type communication (MTC), Internet of Things (IOT), virtual reality, augmented reality, industrial control, automatic driving, telemedicine, smart grid, smart home, smart office, smart wear, smart transportation, smart city, etc.
  • D2D device-to-device
  • V2X vehicle-to-everything
  • MTC machine-type communication
  • IOT Internet of Things
  • virtual reality augmented reality
  • industrial control automatic driving
  • telemedicine smart grid
  • smart home smart home
  • smart office smart wear
  • smart transportation smart city, etc.
  • the terminal may be a mobile phone, a tablet computer, a computer with wireless transceiver function, a wearable device, a vehicle-mounted terminal, a robot, a mechanical arm, a smart home device, etc.
  • the embodiments of the present application do not limit the specific technology and specific device form adopted by the terminal.
  • the management server is used to store the configuration information of each terminal device, and can also be used to store the configuration information of the application and multimedia resources, etc.
  • the terminal device can obtain the data packet loaded with the application, the configuration information of the application or multimedia information, etc. by exchanging information with the management server.
  • management server can be a physical server, or a virtual server or a cloud server, such as an edge cloud or a remote cloud, etc.
  • the terminal device and the cloud server can form a terminal-cloud communication network architecture.
  • management server can be configured on one server or implemented through multiple servers, and the embodiments of the present application do not impose specific restrictions on this.
  • the communication system may also include a hub device for implementing the management function of the local device.
  • a hub device for implementing the management function of the local device.
  • it may also be used to implement edge computing functions, such as edge cloud, which can form an end-edge-cloud communication network architecture with terminal devices and cloud servers.
  • the user when a terminal device in the above communication system fails or due to other reasons, the user needs to replace a new terminal device, the user can replace the old terminal device with a terminal device of the same type or with the same function, and reconnect the new terminal device to the communication system.
  • the device is repaired after failure, and after the repair, it can be reconnected to the communication system as a new terminal device.
  • the present application provides a configuration method for device replacement, which completes the device replacement process during the process of network configuration and access of the new device, so that the authentication information of the device will not change before and after the device replacement. That is to say, after the new device replaces the old device, the device registration information corresponding to the new device is still the same as the device registration information of the old device.
  • the device replacement process is a common network configuration binding process, and the new device inherits the device registration information of the old device. Therefore, most services in the communication system The device replacement process is not perceived. This method can improve the efficiency of device replacement, simplify the process of device replacement, and well ensure business continuity.
  • FIG. 1b shows a schematic diagram of the structure of the terminal device 100.
  • the structure of the control device or the management server may also refer to the structure shown in FIG. 1b. It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the terminal device, the control device or the management server.
  • the terminal device 100 may include more or fewer components than those shown in FIG. 1b, or combine certain components, or split certain components, or arrange the components differently.
  • the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
  • the terminal device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
  • SIM subscriber identification module
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
  • the processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and/or a neural-network processing unit (NPU), etc.
  • AP application processor
  • GPU graphics processor
  • ISP image signal processor
  • controller a memory
  • video codec a digital signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • Different processing units may be independent devices or integrated in one or more processors.
  • the controller may be the nerve center and command center of the terminal device 100.
  • the controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
  • the processor 110 may also be provided with a memory for storing instructions and data.
  • the memory in the processor 110 is a cache memory.
  • the memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
  • the processor 110 may include one or more interfaces.
  • the interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (SIM) interface, and/or a universal serial bus (USB) interface, etc.
  • I2C inter-integrated circuit
  • I2S inter-integrated circuit sound
  • PCM pulse code modulation
  • UART universal asynchronous receiver/transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB universal serial bus
  • the I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL).
  • the processor 110 may include multiple groups of I2C buses.
  • the processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces.
  • the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 communicates with the touch sensor 180K through the I2C bus interface, thereby realizing the touch function of the terminal device 100.
  • the I2S interface can be used for audio communication.
  • the processor 110 can include multiple I2S buses.
  • the processor 110 can be coupled to the audio module 170 via the I2S bus to achieve communication between the processor 110 and the audio module 170.
  • the audio module 170 can transmit an audio signal to the wireless communication module 160 via the I2S interface to achieve the function of answering a call through a Bluetooth headset.
  • the PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals.
  • the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface.
  • the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface to realize the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
  • the UART interface is a universal serial data bus for asynchronous communication.
  • the bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication.
  • the UART interface is usually used to connect to the processing The processor 110 and the wireless communication module 160.
  • the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function.
  • the audio module 170 can transmit audio signals to the wireless communication module 160 through the UART interface to implement the function of playing music through the Bluetooth headset.
  • the MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193.
  • the MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc.
  • the processor 110 and the camera 193 communicate via the CSI interface to implement the shooting function of the terminal device 100.
  • the processor 110 and the display screen 194 communicate via the DSI interface to implement the display function of the terminal device 100.
  • the GPIO interface can be configured by software.
  • the GPIO interface can be configured as a control signal or as a data signal.
  • the GPIO interface can be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc.
  • the GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.
  • the USB interface 130 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc.
  • the USB interface 130 can be used to connect a charger to charge the terminal device 100, and can also be used to transmit data between the terminal device 100 and a peripheral device. It can also be used to connect headphones to play audio through the headphones.
  • the interface can also be used to connect other electronic devices, such as AR devices, etc.
  • the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic illustration and does not constitute a structural limitation on the terminal device 100.
  • the terminal device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
  • the charging management module 140 is used to receive charging input from a charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 140 may receive charging input from a wired charger through the USB interface 130.
  • the charging management module 140 may receive wireless charging input through a wireless charging coil of the terminal device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device through the power management module 141.
  • the power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
  • the power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160.
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc.
  • the power management module 141 can also be set in the processor 110.
  • the power management module 141 and the charging management module 140 can also be set in the same device.
  • the wireless communication function of the terminal device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
  • Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in terminal device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas.
  • antenna 1 can be reused as a diversity antenna for a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 150 can provide solutions for wireless communications including 2G/3G/4G/5G applied to the terminal device 100.
  • the mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc.
  • the mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1.
  • at least some of the functional modules of the mobile communication module 150 can be set in the processor 110.
  • at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal.
  • the demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194.
  • the modem processor may be an independent device.
  • the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) and the like applied to the terminal device 100.
  • WLAN wireless local area networks
  • BT wireless fidelity
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication
  • IR infrared
  • the wireless communication module 160 can be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110.
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of the signal, amplify the signal, and convert it into electromagnetic waves for radiation through the antenna 2.
  • the antenna 1 of the terminal device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the terminal device 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and/or IR technology.
  • the GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and/or a satellite based augmentation system (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite based augmentation system
  • the terminal device 100 implements the display function through a GPU, a display screen 194, and an application processor.
  • the GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • the processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos, etc.
  • the display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diodes (QLED), etc.
  • the terminal device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
  • the terminal device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.
  • the ISP is used to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye.
  • the ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. The ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP can be set in the camera 193.
  • the camera 193 is used to capture still images or videos.
  • the object generates an optical image through the lens and projects it onto the photosensitive element.
  • the photosensitive element can be a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS) phototransistor.
  • CMOS complementary metal oxide semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • the DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format.
  • the terminal device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
  • the digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the terminal device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
  • Video codecs are used to compress or decompress digital videos.
  • the terminal device 100 may support one or more video codecs. In this way, the terminal device 100 can play or record videos in multiple coding formats, such as moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
  • MPEG moving picture experts group
  • NPU is a neural network (NN) computing processor.
  • NN neural network
  • applications such as intelligent cognition of the terminal device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.
  • the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the terminal device 100.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos can be stored in the external memory card.
  • the internal memory 121 can be used to store computer executable program codes, which include instructions.
  • the processor 110 executes various functional applications and data processing of the terminal device 100 by running the instructions stored in the internal memory 121.
  • the internal memory 121 may include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.
  • the data storage area may store data created during the use of the terminal device 100 (such as audio data, a phone book, etc.), etc.
  • the internal 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, a universal flash storage (UFS), etc.
  • UFS universal flash storage
  • the terminal device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor.
  • the audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals.
  • the audio module 170 can also be used to encode and decode audio signals.
  • the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.
  • the speaker 170A also called a "speaker" is used to convert an audio electrical signal into a sound signal.
  • the terminal device 100 can listen to music or listen to a hands-free call through the speaker 170A.
  • the receiver 170B also called a "handset" is used to convert audio electrical signals into sound signals.
  • the voice can be received by placing the receiver 170B close to the ear.
  • Microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to the microphone 170C to input the sound signal into the microphone 170C.
  • the terminal device 100 can be provided with at least one microphone 170C. In other embodiments, the terminal device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the terminal device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the source of sound, realize directional recording function, etc.
  • the earphone interface 170D is used to connect a wired earphone.
  • the earphone interface 170D may be the USB interface 130, or may be a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA
  • the pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal.
  • the pressure sensor 180A can be set on the display screen 194.
  • the capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes.
  • the terminal device 100 determines the intensity of the pressure according to the change in capacitance.
  • the terminal device 100 detects the touch operation intensity according to the pressure sensor 180A.
  • the terminal device 100 can also calculate the touch position according to the detection signal of the pressure sensor 180A.
  • touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
  • the gyroscope sensor 180B can be used to determine the motion posture of the terminal device 100.
  • the angular velocity of the terminal device 100 around three axes i.e., x, y, and z axes
  • the gyroscope sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyroscope sensor 180B detects the angle of the terminal device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the terminal device 100 through reverse movement to achieve anti-shake.
  • the gyroscope sensor 180B can also be used for navigation and somatosensory game scenes.
  • the air pressure sensor 180C is used to measure air pressure.
  • the terminal device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
  • the magnetic sensor 180D includes a Hall sensor.
  • the terminal device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip leather case.
  • the terminal device 100 when the terminal device 100 is a flip phone, the terminal device 100 can detect the opening and closing of the flip cover according to the magnetic sensor 180D. Then, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, the flip cover automatic unlocking and other features are set.
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the terminal device 100 in various directions (generally three axes). When the terminal device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device and is applied to applications such as horizontal and vertical screen switching and pedometers.
  • the distance sensor 180F is used to measure the distance.
  • the terminal device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the terminal device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.
  • the proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode.
  • the light emitting diode may be an infrared light emitting diode.
  • the terminal device 100 emits infrared light outward through the light emitting diode.
  • the terminal device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the terminal device 100. When insufficient reflected light is detected, the terminal device 100 can determine that there is no object near the terminal device 100.
  • the terminal device 100 can use the proximity light sensor 180G to detect that the user holds the terminal device 100 close to the ear to talk, so as to automatically turn off the screen to save power.
  • the proximity light sensor 180G can also be used in leather case mode, and pocket mode automatically unlocks and locks the screen.
  • the ambient light sensor 180L is used to sense the ambient light brightness.
  • the terminal device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the terminal device 100 is in a pocket to prevent accidental touch.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the terminal device 100 can use the collected fingerprint characteristics to achieve fingerprint unlocking, access application locks, fingerprint photography, fingerprint answering calls, etc.
  • the temperature sensor 180J is used to detect temperature.
  • the terminal device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the terminal device 100 reduces the performance of the processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the terminal device 100 heats the battery 142 to avoid abnormal shutdown of the terminal device 100 due to low temperature. In other embodiments, when the temperature is lower than another threshold, the terminal device 100 performs a boost on the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • the touch sensor 180K is also called a "touch panel”.
  • the touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen”.
  • the touch sensor 180K is used to detect touch operations acting on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • Visual output related to the touch operation can be provided through the display screen 194.
  • the touch sensor 180K can also be set on the surface of the terminal device 100, which is different from the position of the display screen 194.
  • the bone conduction sensor 180M can obtain a vibration signal. In some embodiments, the bone conduction sensor 180M can obtain a vibration signal of a vibrating bone block of the vocal part of the human body. The bone conduction sensor 180M can also contact the human pulse to receive a blood pressure beat signal. In some embodiments, the bone conduction sensor 180M can also be set in an earphone and combined into a bone conduction earphone.
  • the audio module 170 can parse out a voice signal based on the vibration signal of the vibrating bone block of the vocal part obtained by the bone conduction sensor 180M to realize a voice function.
  • the application processor can parse the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M to realize a heart rate detection function.
  • the key 190 includes a power key, a volume key, etc.
  • the key 190 may be a mechanical key or a touch key.
  • the terminal device 100 may receive key input and generate key signal input related to user settings and function control of the terminal device 100.
  • Motor 191 can generate vibration prompts.
  • Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback.
  • touch operations acting on different applications can correspond to different vibration feedback effects.
  • touch operations acting on different areas of the display screen 194 can also correspond to different vibration feedback effects.
  • Different application scenarios for example: time reminders, receiving messages, alarm clocks, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 may be an indicator light, which may be used to indicate the charging status, power changes, messages, missed calls, notifications, etc.
  • the SIM card interface 195 is used to connect a SIM card.
  • the SIM card can be connected to or disconnected from the terminal device 100 by inserting it into the SIM card interface 195 or removing it from the SIM card interface 195.
  • the terminal device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
  • the SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different.
  • the SIM card interface 195 can also be compatible with different types of SIM cards.
  • the SIM card interface 195 can also be compatible with external memory cards.
  • the terminal device 100 connects to the SIM card interface 195 through the SIM
  • the card interacts with the network to realize functions such as calls and data communications.
  • the terminal device 100 uses an eSIM, that is, an embedded SIM card.
  • the eSIM card can be embedded in the terminal device 100 and cannot be separated from the terminal device 100.
  • FIG. 2 shows a software structure block diagram of the terminal device 100 in an embodiment of the present application.
  • the software system of the terminal device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture.
  • the embodiment of the present application takes the Android system of the layered architecture as an example to exemplify the software structure of the terminal device 100.
  • the layered architecture divides the software into several layers, each with clear roles and division of labor.
  • the layers communicate with each other through software interfaces.
  • the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.
  • the application layer can include a series of application packages.
  • the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
  • the application package may include data backup, data recovery or "mobile phone cloning" applications for implementing backup and recovery of user data. This will be described later in conjunction with specific embodiments and will not be repeated here.
  • the operating system of the terminal device 100 may further include a backup system for implementing data backup and data recovery. This will be described later in conjunction with specific embodiments and will not be described in detail here.
  • the application framework layer provides application programming interface (API) and programming framework for the applications in the application layer.
  • API application programming interface
  • the application framework layer includes some predefined functions.
  • the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.
  • the window manager is used to manage window programs.
  • the window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.
  • Content providers are used to store and retrieve data and make it accessible to applications.
  • the data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
  • the view system includes visual controls, such as controls for displaying text, controls for displaying images, etc.
  • the view system can be used to build applications.
  • a display interface can be composed of one or more views.
  • a display interface including a text notification icon can include a view for displaying text and a view for displaying images.
  • the phone manager is used to provide communication functions of the terminal device 100, such as management of call status (including connection, disconnection, etc.).
  • the resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
  • the notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc.
  • the notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.
  • Android Runtime includes core libraries and virtual machines. Android Runtime is responsible for the scheduling and management of the Android system.
  • the core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.
  • the application layer and the application framework layer run in a virtual machine.
  • the virtual machine executes the Java files of the application layer and the application framework layer as binary files.
  • the virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
  • the system library can include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
  • functional modules such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
  • the surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
  • a 2D graphics engine is a drawing engine for 2D drawings.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer contains at least display driver, camera driver, audio driver, sensor drive.
  • the present application provides a configuration method for device replacement, which is applied to a communication system including a first terminal, a second terminal, a control device, and a management server.
  • the first terminal may be a terminal device to be replaced, that is, an old device;
  • the second terminal may be a terminal device to be replaced, that is, a new device.
  • the method may include the following steps.
  • the second terminal sends request information to the management server.
  • the request information may be used to instruct the acquisition of device registration information assigned by the management server to the first terminal, wherein the second terminal is used to replace the first terminal.
  • the second terminal may request the management server to assign the device registration information of the old device, i.e., the first terminal, so as to achieve device replacement and keep the device registration information of the new and old devices consistent.
  • the request information may specifically be device registration information, that is, the new device to be replaced may trigger a device registration process to implement the registration process of the new device and the replacement process of the old device by the new device in the interaction process with the server.
  • the request information may also be device replacement information, that is, new request information such as device replacement information may be extended to instruct the management server to perform a device replacement process.
  • the new device to be replaced may trigger the device replacement process to replace the old device in the interaction process with the management server.
  • the process of device replacement can be triggered by the user through the control device, or by the user through the first terminal or the second terminal.
  • the present application does not limit the specific implementation process of triggering device replacement. The following will exemplify the user triggering device replacement through the control device as an example. The specific interaction process will be introduced below and will not be repeated here.
  • the management server sends the device registration information of the first terminal to the second terminal according to the request information.
  • the request information sent by the second terminal to the management server may include the identifier of the second terminal, so that the management server can determine that the old device that the second terminal needs to replace is the first terminal based on the identifier of the second terminal and the identifier of the first terminal previously saved, thereby obtaining the device registration information assigned by the management server to the first terminal through query, and sending the device registration information of the first terminal to the second terminal.
  • the request information sent by the second terminal to the management server may include the identifier of the first terminal, so that the management server can determine that the new device to be replaced by the first terminal is the second terminal based on the identifier of the first terminal and the saved identifier of the second terminal, thereby obtaining the device registration information assigned by the management server to the first terminal through query, and sending the device registration information of the first terminal to the second terminal.
  • the device registration information refers to the device registration information assigned by the management server to the terminal device requesting registration, and is used to manage and control the corresponding terminal device according to the device registration information. Therefore, the device registration information of the second terminal refers to the device registration information assigned by the management server to the second terminal, and the device registration information corresponding to the first terminal refers to the device registration information assigned by the management server to the first terminal during the registration process of the first terminal.
  • the management server can send the previously stored device registration information of the first terminal as the device registration information of the second terminal to the second terminal, so that the device registration information of the second terminal is the same as that of the first terminal, that is, after the new and old devices are replaced, the same device registration information is still maintained.
  • the device replacement method provided in this application will be described in combination with a specific implementation method, taking the control device as a smart phone as an example, and an application with a terminal device management function such as the first application installed on the control device as an example.
  • the method may further include the following steps.
  • Step 1 The control device receives a first operation from a user.
  • the first operation may be an operation in which a user instructs a device to replace the device by controlling the device.
  • the user can view and manage each terminal device connected to the network through the control device. For example, by controlling an application APP installed on the device, such as the first application, the user can be presented with information such as the identification, device status, and device configuration of multiple terminal devices connected to the network.
  • the user can also manage each terminal device through the APP installed on the control device, such as binding, setting, replacing, or deregistering the terminal device.
  • the control device is a smart phone, which is installed with a first application for managing and controlling the terminal device.
  • the user can open the first application on the smart phone, click on the operation icon of device replacement or device replacement, and request to execute the replacement process of the terminal device. For example, you can select to replace the device of the first terminal from the device list, thereby determining to execute the device replacement process for the first terminal.
  • the above operation sequence can be collectively referred to as the first operation.
  • the control device is a smart phone, and the user can open the first
  • the application selects the first terminal from multiple management devices, and then selects "Device Replacement" in the management interface of the first terminal to start the device replacement process of the first terminal.
  • the above operation sequence can be collectively referred to as the first operation.
  • This application does not limit the specific implementation process of the user triggering the terminal device replacement process on the control device.
  • Step 2 The control device triggers a replacement request of the first terminal.
  • the control device responds to a first operation of the user. If the first operation is used to request device replacement of the first terminal, the control device triggers a replacement request for the first terminal.
  • the control device triggers a replacement request of the first terminal, which may specifically include: the control device sends a replacement request to a management server, where the replacement request may carry an identifier of the first terminal, such as device information.
  • the management server receives the replacement request from the control device and determines that a device replacement process needs to be executed on the first terminal.
  • the terminal device identification may specifically include a device serial number (SN) of the terminal device, which is used to uniquely identify a terminal device.
  • the terminal device identification may also include physical media access control address (MAC) information configured by the terminal device at the factory.
  • SN device serial number
  • MAC physical media access control address
  • control device may be a smart phone, which is used to manage and control one or more terminal devices connected to the network.
  • the management server may be a hub device as shown in FIG. 1a , or may be a cloud server.
  • Step 3 The control device determines that the second terminal device is the device to be replaced.
  • the control device may select and determine the device to be replaced as the second terminal, that is, determine the new device used to replace the old device as the second terminal.
  • the new device (also referred to as the device to be replaced) and the old device (also referred to as the replaced device) in the device replacement process may be terminal devices with the same functions.
  • the new device and the old device may be terminal devices of the same type, or, optionally, the new device and the old device may be terminal devices of the same device model, so that the new device may be used to implement the same function or service as the old device.
  • the first terminal and the second terminal have the same function, for example, they are terminal devices of the same type, or they are terminal devices of the same device model.
  • first terminal and the second terminal may refer to the same terminal device, wherein the second terminal refers to the state of the first terminal after a fault is repaired.
  • present application is not only applicable to the implementation scenario of replacing old and new equipment, but also to the scenario of reconnecting to the network after repairing a device fault.
  • control device may obtain the identification of the second terminal used to replace the old device, such as device information.
  • the user can scan the second terminal to be replaced through the APP on the control device to obtain the identification of the second terminal to be replaced.
  • the control device can scan a random QR code generated by the second terminal, and the random QR code carries the identification of the second terminal.
  • the identifier of the second terminal may include an SN and/or a MAC address, etc.
  • control device After the control device determines that the second terminal device is the device to be replaced, the control device can execute the device registration process and the device replacement process of the second terminal through interaction with the management server, thereby obtaining the device registration information of the second terminal.
  • Step 4 The control device sends replacement information to the managed server.
  • the replacement information includes an identifier of the second terminal, which is used to indicate that the second terminal is used to replace the first terminal.
  • the management server may authenticate the control device to ensure the security of the replacement information.
  • Step 5 The management server saves the replacement relationship between the first terminal and the second terminal.
  • the management server can determine that the second terminal and the first terminal have a replacement relationship through the identifier of the second terminal carried in the request message, thereby obtaining the device registration information of the first terminal and sending the device registration information of the first terminal to the second terminal.
  • the device replacement process is relatively simple.
  • the device registration information of the new and old devices is the same, so that the new device can inherit the user's settings for the old device and the continuity of the service, and the user does not need to reconfigure the new device. Therefore, the device replacement efficiency of the present application is higher than that of the prior art, which improves the user experience.
  • the method may include the following steps.
  • a control device In response to a first operation of a user, a control device sends a replacement request to a management server.
  • the replacement request includes an identifier of the first terminal, which is used to indicate a request to implement device replacement for the first terminal.
  • the management server generates verification information and sends the verification information to the control device.
  • the management server saves the identification of the first terminal of the replaced device according to the received replacement request of the control device, and generates corresponding verification information for identity verification of the requested device replacement operation in the device replacement process.
  • the control device receives the verification information from the management server.
  • the terminal device to be replaced also referred to as a new device
  • the second terminal identifier and the verification information can be sent to the management server based on the obtained second terminal identifier, and the management server is requested to replace the first terminal.
  • the management server may store the verification information or the information of the replaced device for a certain period of time. If the period of time is reached or exceeded, the management server may delete the stored verification information or the information of the replaced device.
  • the management server can manage through a timer. If the management server determines that the timer has timed out, the saved replacement verification code or information of the replaced device can be cleared.
  • the management server can notify the control device that the device replacement process has timed out, and the corresponding APP on the control device can display a timeout to indicate that the device replacement operation has timed out.
  • the user can initiate the device replacement process again as needed to replace the device of the first terminal.
  • the control device obtains the identifier of the second terminal and determines that the second terminal device is the device to be replaced.
  • control device After the control device obtains the authentication information from the management server, it can select and determine that the device to be replaced is the second terminal, that is, determine a new device to replace the old device.
  • the second terminal can establish a communication connection with the control device through a hotspot.
  • the second terminal generates a hotspot and broadcasts hotspot information, and the control device can communicate with the second terminal by accessing the hotspot.
  • the second terminal can also send a binding entry of the device, as well as information such as the device type, to the control device.
  • the control device determines that the second terminal device is the device to be replaced
  • the user can select the second terminal as the device to be replaced for replacing the first terminal on the APP of the control device.
  • the APP on the control device can display at least one replaced device that can realize device replacement on the selection interface of the APP according to the identification of the acquired second terminal and the screening conditions for device replacement. That is to say, the APP of the control device can screen out at least one old device that can be used for device replacement according to the acquired new device information, so as to select or determine which old device the new device is used to replace.
  • the device type of the second terminal is an air conditioner. If the screening condition for device replacement preconfigured by the APP of the control device is the same device type, the APP of the control device can determine that the communication network includes three terminals whose device type is also an air conditioner (i.e., meets the screening condition for device replacement) based on the device type of the second terminal. Then the user needs to determine which air conditioner is the device that needs to be replaced, and the device is the terminal device to be replaced, i.e., the first terminal.
  • the control device sends replacement information to the management server, including the identifier of the second terminal and verification information.
  • control device After the control device determines that the second terminal device is the device to be replaced, it can request the management server to execute the device registration process and the device replacement process of the second terminal.
  • control device can send the identifier of the second terminal and the verification information to the management server within a preset time period, that is, within the validity period of the verification information, to request device registration of the second terminal and replace the first terminal with the second terminal.
  • the management server performs identity authentication and saves the information of the new and old devices after successful authentication.
  • the management server can perform identity authentication based on the verification information to determine whether the requested operation is a safe and legal device replacement operation. For example, the management server can determine whether the verification information carried in the request is the verification information previously generated and saved by the management server. If so, it is determined that the device replacement authentication is successful; if not, it is determined that the device replacement authentication has failed, and the device replacement process can be interrupted or exited.
  • the management server After the management server successfully authenticates the identity based on the verification information, it can match the information of the corresponding old device based on the verification information, that is, determine that the second terminal is used to replace the first terminal. Thus, the management server can save the information of the new and old devices And the replacement relationship, that is, save the identifiers of the first terminal and the second terminal and the replacement relationship between the first terminal and the second terminal.
  • the replacement relationship can be expressed as the second terminal is used to replace the first terminal, or the first terminal is used to be replaced by the second terminal.
  • the second terminal executes the network access and registration process.
  • the second terminal may interact with the management server and the control device to execute the network configuration process of the second terminal and complete the registration process of the device.
  • control device may send network configuration related information to the second terminal, so that the second terminal can access the local area network according to the network configuration information. For example, the control device sends the hotspot information of the local area network to the second terminal for the second terminal to access the same network.
  • the second terminal interacts with the management server to complete the device registration process, which may specifically include: the second terminal sends a registration request message to the management server, and the registration request message may include at least one of the second terminal's identification, software and hardware version information, device type information, or device identification ID information.
  • the management server sends the device registration information of the first terminal to the second terminal.
  • the management server can determine, based on the received identifier of the second terminal and the saved replacement relationship between the first terminal and the second terminal, that the replaced device corresponding to the second terminal is the first terminal, that is, the second terminal needs to replace the first terminal. Therefore, the management server can send the device registration information of the first terminal to the second terminal.
  • the management server can determine the corresponding device registration information based on the first terminal, and send the device registration information corresponding to the first terminal to the second terminal as the device registration information corresponding to the second terminal, so that the management server side realizes the device replacement of the first terminal by the second terminal; and before and after the device replacement, the device registration information of the terminal device remains unchanged, that is, the device registration information of the new device is the same as the old device.
  • the method further includes: after the second terminal receives the device registration information, indicating that the network access and registration process of the second terminal is successfully completed, the second terminal can send a response message of successful device replacement to the control device to indicate that the second terminal is successfully replaced.
  • the control device and the management device side integrate the device replacement process into the network registration process of the new device.
  • the device registration information of the corresponding old device is matched to the new device, thereby realizing the replacement of the old device with the new device.
  • the device registration information of the new and old devices is the same, so there is no need to save two copies of the device registration information of the new and old devices before and after the device replacement.
  • the device replacement process is simple and can maintain the continuity of device business. The efficiency of device replacement is high, which improves the user experience.
  • the present application also provides an implementation mode, and as shown in FIG. 7 , the method may include the following steps.
  • control device 701 In response to a device replacement operation by a user, the control device sends a replacement request to a second terminal.
  • the replacement request includes an identifier of the first terminal, which is used to indicate a request to implement device replacement for the first terminal.
  • the second terminal receives the replacement request from the control device, obtains the first terminal identifier and saves it.
  • control device may send a replacement request to the management server, where the replacement request includes an identifier of the first terminal; the management server then forwards the replacement request to the second terminal, carrying the identifier of the first terminal, to indicate that a device replacement operation needs to be performed on the first terminal.
  • the control device in order to further verify the security of the device replacement process, can generate verification information in response to the user's device replacement operation, and send the verification information to the management server to instruct the management server to authenticate the device replacement operation of the first terminal.
  • the management server can determine the security based on the verification information, and execute the device replacement process after the identity authentication is successful.
  • the second terminal sends request information to the management server, including the identifier of the first terminal.
  • the request information may specifically be a device registration request, which is used to instruct the second terminal to request the management server to complete device registration and request the management server to allocate device registration information to the second terminal.
  • the device registration request includes an identifier of the second terminal, and the device registration request may include an identifier of the first terminal, which is used to request device registration for the second terminal and implement a device replacement process for the first terminal.
  • the embodiment of the present application improves the existing device registration process, and in the request information of the new device requesting device registration, an extended field is used to carry the identification information of the replaced old device, so that the management server can, in the device registration process of the information,
  • the request information may specifically be a device replacement request, which is used to indicate that the current request is for the first terminal
  • the second terminal after the second terminal sends a device replacement request to the management server, it can send a device registration request to the management server, including the identifier of the second terminal, to instruct the management server to implement the device registration process for the second terminal and allocate corresponding device registration information to the second terminal.
  • the present application can also carry the identifier of the first terminal through another request information, so that the second terminal notifies the management server that the replaced device is the first terminal, thereby allowing the management server to know the identifiers of the new and old devices and determine the replacement relationship.
  • the management server sends the device registration information of the first terminal to the second terminal.
  • the management server may save the identifier of the first terminal and the identifier of the second terminal, as well as the replacement relationship between the first terminal and the second terminal.
  • the management server may determine the saved device registration information corresponding to the first terminal according to the identifier of the first terminal carried in the request information, and send the device registration information of the first terminal to the second terminal.
  • the device registration process or device replacement process can be triggered by the second terminal, and the device registration request or device replacement request sent by the second terminal to the management server carries the identifier of the first terminal, so that the management server can know the identifiers of the current device to be replaced and the replaced device, and save the replacement relationship between the new and old devices, so that the management server can send the device registration information allocated to the first terminal to the second terminal, and complete the device registration and device replacement process of the second terminal.
  • the device registration information before and after the replacement of the old and new devices is consistent, and the process is simplified, which can effectively improve the efficiency of device replacement.
  • the present application also provides an electronic device, which includes: a memory and one or more processors; the memory and the processor are coupled; the memory is used to store computer program codes, and the computer program codes include computer instructions.
  • the electronic device can perform the operation performed by the second terminal in the above-mentioned embodiment of the present application, or the electronic device can perform the operation performed by the management server in the above-mentioned embodiment of the present application, or the electronic device can perform the operation performed by the control device in the above-mentioned embodiment of the present application.
  • the electronic device 800 may include at least one processor 801 , a communication line 802 , and a memory 803 .
  • Processor 801 can be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the disclosed solution.
  • CPU central processing unit
  • ASIC application-specific integrated circuit
  • the communication link 802 may include a path to transmit information between the above components, such as a bus.
  • the memory 803 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.
  • the memory may be independent and connected to the processor via the communication line 802.
  • the memory may also be integrated with the processor.
  • the memory provided in the embodiments of the present disclosure may generally be non-volatile.
  • the memory 803 is used to store computer-executable instructions involved in executing the solution of the present disclosure, and the execution is controlled by the processor 801.
  • the processor 801 is used to execute the computer-executable instructions stored in the memory 803, thereby implementing the method provided by the embodiment of the present disclosure.
  • the computer-executable instructions in the embodiments of the present disclosure may also be referred to as application program codes, which is not specifically limited in the embodiments of the present disclosure.
  • the processor 801 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 8 .
  • the electronic device 800 may include multiple processors, such as the processor 801 and the processor 807 in FIG8 .
  • processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor.
  • the processor here may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
  • the electronic device 800 may further include a communication interface 804.
  • the communication interface 804 uses any transceiver-like device for communicating with other devices or communication networks, such as an Ethernet interface, a radio access network interface (RAN), a wireless local area network interface (WLAN), etc.
  • RAN radio access network interface
  • WLAN wireless local area network interface
  • the electronic device 800 may also include an output device 805 and an input device 806.
  • the output device 805 communicates with the processor 801 and can display information in a variety of ways.
  • the output device 805 may be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector.
  • the input device 806 communicates with the processor 801 and can receive user input in a variety of ways.
  • the input device 806 may be a mouse, a keyboard, a touch screen device, or a sensor device.
  • the electronic device 800 may be a desktop computer, a portable computer, a network server, a personal digital assistant (PDA), a mobile phone, a tablet computer, a vehicle-mounted computer, a wireless terminal device, an embedded device, a wearable device, a home smart terminal, or a device with a similar structure as shown in FIG8 .
  • PDA personal digital assistant
  • the disclosed embodiment does not limit the type of the electronic device 800 .
  • each step in Figure 3, Figure 6 or Figure 7 can be performed by the processor 801 of the electronic device 800 by calling the computer execution instructions stored in the memory 803, so that the electronic device 800 executes the method in the above method embodiment.
  • a storage medium including instructions is also provided, such as a memory 803 including instructions.
  • the instructions can be executed by the processor 801 of the electronic device 800 to complete the above method.
  • the above embodiments it can be implemented in whole or in part by software, hardware, firmware or any combination thereof.
  • a software program it can be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions.
  • the computer program instructions When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present application is generated in whole or in part.
  • the computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

一种设备替换的配置方法及装置,涉及终端技术领域,用于简化设备替换流程,提高设备替换的效率。该方法包括:第二终端向管理服务器发送请求信息,该请求信息用于指示获取管理服务器为第一终端分配的设备注册信息,其中,第二终端用于替换第一终端;管理服务器根据该请求信息,向第二终端发送第一终端的设备注册信息。

Description

一种设备替换的配置方法及装置
本申请要求于2022年11月04日提交国家知识产权局、申请号为202211378727.4、申请名称为“一种设备替换的配置方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及终端技术领域,尤其涉及一种设备替换的配置方法及装置。
背景技术
随着智能终端的普及,网络中会接入大量的智能终端,如其中某个终端发生故障需要维修,或者,用户需要更换新的终端,那么如何高效地实现设备替换,是目前需要解决的问题。
目前关于设备替换的实现方式中,需要在新的终端设备完成入网绑定后再实现设备替换,需要新终端设备执行设备更换或设备替换等特定流程,而某些终端设备的当前系统并不支持该设备更换/设备替换的流程,导致无法实现设备替换,或者需要对替换的新设备进行系统升级,设备替换流程复杂。另外,执行设备更换或设备替换的流程之后,网络会为新的设备配置新的设备注册信息,这与原设备的设备注册信息不同,可能导致原设备的配置无法继承,例如,某些基于设备注册信息的功能或业务无法执行,需要重新为新的设备进行配置,因此业务连续性难以保证,用户体验较差。
发明内容
本申请提供一种设备替换的配置方法及装置,用于简化设备替换流程复杂,提高设备替换的效率。
为达到上述目的,本申请采用如下技术方案:
第一方面,提供一种设备替换的配置方法,该方法包括:第二终端向管理服务器发送请求信息,所述请求信息用于指示获取所述管理服务器为第一终端分配的设备注册信息,其中,所述第二终端用于替换所述第一终端;所述管理服务器根据所述请求信息,向所述第二终端发送所述第一终端的设备注册信息。
上述实施方式中,管理服务器可以通过将之前为第一终端分配的设备注册信息作为第二终端的设备注册信息下发给第二终端,从而实现设备替换前后,第二终端与第一终端的设备注册信息相同,即新旧设备替换之后,仍保持相同的设备注册信息,从而设备替换实现之后可以保证业务连续性,并能有效提高设备替换的效率。
在一种实施方式中,请求信息包括所述第二终端的标识。也就说,第二终端向管理服务器发送的请求信息中可以包括第二终端的标识,从而管理服务器可以根据第二终端的标识获取对应的旧设备即第一终端的设备注册信息,从而为新设备匹配对应的旧设备的设备注册信息,从而使得新旧设备保持一致的设备注册信息,提高设备替换的实现效率。
在一种实施方式中,第二终端向管理服务器发送请求信息之前,该方法还包括:响应于用户的设备替换操作,控制设备向所述管理服务器发送替换请求,所述替换请求包括所述第一终端的标识,用于指示对所述第一终端实现设备替换;所述控制设备接收来自所述管理服务器的验证信息,所述验证信息是所述管理服务器根据所述替换请求生成的用于进行身份验证。
上述实施方式中,可以通过控制设备触发替换请求,例如智能手机先向管理服务器发送替换请求,用于向管理服务器发送被替换的旧设备即第一终端的标识,从而用于指示管理服务器实现对第一终端的设备替换操作,以实现后续管理服务器接收到请求信息之后,为新设备分配第一终端对应的设备注册信息,从而实现设备替换流程的简化,提高设备替换效率。
在一种实施方式中,该方法还包括:所述控制设备向所述管理服务器发送替换信息,所述替换信息包括所述第二终端的标识与所述验证信息,用于指示所述第二终端用于替换所述第一终端。通过上述实施方式,管理服务器可以对控制设备的替换信息进行身份验证,可以进一步保证设备 替换操作的安全性。
在一种实施方式中,管理服务器根据所述请求信息,向所述第二终端发送所述第一终端的设备注册信息,具体包括:所述管理服务器根据所述请求信息中包括的所述第二终端的标识,得到所述第一终端的设备注册信息,并向所述第二终端发送所述第一终端的设备注册信息,其中,所述管理服务器存储有所述第二终端与所述第一终端的替换关系。
通过上述实施方式,管理服务器可以根据之前控制设备发送的信息确定第一终端与第二终端之间的替换关系,从而可以根据接收的请求信息中携带的第二终端的标识,查询得到对应的第一终端的设备注册信息,为第二终端分配该设备注册信息,实现新旧设备替换之后一致的设备注册信息,从而可以保持业务连续性,提高设备替换的效率。
在一种实施方式中,请求信息为设备注册请求信息。也就说,本申请的实施方式,可以通过在新设备的设备注册流程中实现对旧设备的设备替换,从而能够简化设备替换的流程,使得新设备对设备替换过程无感知,无需进行新设备系统更新等操作,提高设备替换的实现效率。
在一种实施方式中,请求信息包括所述第一终端的标识。也就说,第二终端向管理服务器发送的请求信息中可以包括第一终端的标识,从而管理服务器可以根据第一终端的标识获取之前为该第一终端所分配的设备注册信息,从而为新设备即第二终端分配该第一终端对应的设备注册信息,使得新旧设备保持一致的设备注册信息,提高设备替换的实现效率。
在一种实施方式中,第二终端向管理服务器发送请求信息之前,该方法还包括:响应于用户的设备替换操作,控制设备向所述第二设备发送替换请求,所述替换请求包括所述第一终端的标识,用于请求替换所述第一终端。
在一种实施方式中,请求信息为设备注册请求信息,或者,设备替换请求信息。其中,请求信息可以为设备注册请求,也就是说,本申请的实施方式中,可以通过在新设备的设备注册流程中增加用于请求对旧设备进行设备替换的指示,具体的可以扩展字段用于指示第一终端的标识,从而能够简化设备替换的流程,使得新设备对设备替换过程无感知,无需进行新设备系统更新等操作,提高设备替换的实现效率。
或者,在本申请的另一种实施方式中,可以通过设备替换请求信息,用于指示请求替换的第一终端的标识,然后再通过第二终端向管理服务器发送设备注册请求信息,实现设备替换与设备注册流程的实现,提高设备替换效率。
在一种实施方式中,管理服务器根据所述请求信息,向所述第二终端发送所述第一终端的设备注册信息,具体包括:所述管理服务器根据所述第一终端的标识,得到所述第一终端的设备注册信息,并向所述第二终端发送所述第一终端的设备注册信息。
通过上述实施方式,管理服务器可以根据第二终端发送的信息确定第一终端与第二终端之间的替换关系,从而可以根据接收的请求信息中携带的第一终端的标识,查询得到之前为第一终端分配的设备注册信息,为第二终端分配该设备注册信息,实现新旧设备替换之后一致的设备注册信息,从而可以保持业务连续性,提高设备替换的效率。
在一种实施方式中,终端的标识包括设备序列号SN,和/或物理媒体存取控制位址MAC信息。
在一种实施方式中,第一终端与所述第二终端是相同类型的终端设备,或者,是具备相同功能的终端设备;或者,是相同设备型号的终端设备;或者,所述第一终端与所述第二终端是指同一个终端设备,其中,所述第二终端是指所述第一终端发生故障维修后的状态。也就是说,本申请提供的实施方式,可以适用于相同类型的新旧设备的替换场景,还可以适用于同一设备故障维修之后的设备入网注册场景,实施方式灵活且流程简便。
在一种实施方式中,该方法还包括:所述管理服务器向所述第二终端和/或控制设备发送设备替换成功的响应消息。
在一种实施方式中,管理服务器为本地管理服务器或远端云服务器。
第二方面,提供一种设备替换的配置方法,该方法包括:第二终端向管理服务器发送请求信息,所述请求信息用于指示获取所述管理服务器为第一终端分配的设备注册信息,其中,所述第二终端用于替换所述第一终端;所述第二终端从所述管理服务器获取所述第一终端的设备注册信息。
在一种实施方式中,请求信息包括所述第二终端的标识,或者,所述请求信息包括所述第一终端的标识。
在一种实施方式中,终端的标识包括设备序列号SN,和/或物理媒体存取控制位址MAC信息。
在一种实施方式中,若所述请求信息包括所述第一终端的标识,则所述第二终端向管理服务器发送请求信息之前,该方法还包括:接收来自控制设备的替换请求,所述替换请求包括所述第一终端的标识,用于指示请求替换所述第一终端。
在一种实施方式中,请求信息为设备注册请求信息,或者,设备替换请求信息。
在一种实施方式中,第一终端与所述第二终端是相同类型的终端设备,或者,是具备相同功能的终端设备;或者,是相同设备型号的终端设备;或者,所述第一终端与所述第二终端是指同一个终端设备,其中,所述第二终端是指所述第一终端发生故障维修后的状态。
在一种实施方式中,该方法还包括:接收来自所述管理服务器的设备替换成功的响应消息。
在一种实施方式中,管理服务器为本地管理服务器或远端云服务器。
第三方面,提供一种设备替换的配置方法,该方法包括:管理服务器接收来自第二终端的请求信息,所述请求信息用于指示获取所述管理服务器为第一终端分配的设备注册信息,其中,所述第二终端用于替换所述第一终端;所述管理服务器根据所述请求信息,向所述第二终端发送所述第一终端的设备注册信息。
在一种实施方式中,请求信息包括所述第二终端的标识。
在一种实施方式中,接收来自第二终端的请求信息之前,该方法还包括:接收来自控制设备的替换请求,所述替换请求包括所述第一终端的标识,用于指示对所述第一终端实现设备替换;所述管理服务器根据所述替换请求生成对应的验证信息,并向所述控制设备发送所述验证信息。
在一种实施方式中,该方法还包括:接收来自所述控制设备的替换信息,所述替换信息包括所述第二终端的标识与所述验证信息,用于指示所述第二终端用于替换所述第一终端;所述管理服务器根据所述验证信息进行身份认证,若认证成功则保存所述第一终端与所述第二终端的替换关系。
在一种实施方式中,管理服务器根据所述请求信息,向所述第二终端发送所述第一终端的设备注册信息,具体包括:所述管理服务器根据所述请求信息中包括的所述第二终端的标识,以及所述第二终端与所述第一终端的替换关系,得到所述第一终端的设备注册信息,并向所述第二终端发送所述第一终端的设备注册信息。
在一种实施方式中,请求信息为设备注册请求信息。
在一种实施方式中,请求信息包括所述第一终端的标识。
在一种实施方式中,管理服务器接收来自第二终端的请求信息之前,该方法还包括:管理服务器接收所述第二终端的标识;所述管理服务器对所述第二终端进行身份认证,若认证成功则保存所述第二终端的标识。
在一种实施方式中,管理服务器根据所述请求信息,向所述第二终端发送所述第一终端的设备注册信息,具体包括:所述管理服务器根据所述请求信息中包括的所述第一终端的标识,得到所述第一终端的设备注册信息,并向所述第二终端发送所述第一终端的设备注册信息。
在一种实施方式中,所述请求信息为设备注册请求信息,或者,设备替换请求信息。
在一种实施方式中,所述终端的标识包括设备序列号SN,和/或物理媒体存取控制位址MAC信息。
在一种实施方式中,第一终端与所述第二终端是相同类型的终端设备,或者,是具备相同功能的终端设备;或者,是相同设备型号的终端设备;或者,所述第一终端与所述第二终端是指同一个终端设备,其中,所述第二终端是指所述第一终端发生故障维修后的状态。
在一种实施方式中,该方法还包括:所述管理服务器向所述第二终端和/或控制设备发送设备替换成功的响应消息。
在一种实施方式中,管理服务器为本地管理服务器或远端云服务器。
第四方面,提供一种设备替换的配置方法,该方法包括:响应于用户的设备替换操作,控制设备向管理服务器发送替换请求,所述替换请求包括第一终端的标识,用于指示对所述第一终端 实现设备替换;所述控制设备确定第二终端,其中,所述第二终端用于替换所述第一终端。
在一种实施方式中,该方法还包括:所述控制设备接收来自所述管理服务器的验证信息;所述控制设备向所述管理服务器发送替换信息,所述替换信息包括所述第二终端的标识与所述验证信息,用于指示所述第二终端用于替换所述第一终端。
在一种实施方式中,所述终端的标识包括设备序列号SN,和/或物理媒体存取控制位址MAC信息。
在一种实施方式中,第一终端与所述第二终端是相同类型的终端设备,或者,是具备相同功能的终端设备;或者,是相同设备型号的终端设备;或者,所述第一终端与所述第二终端是指同一个终端设备,其中,所述第二终端是指所述第一终端发生故障维修后的状态。
在一种实施方式中,该方法还包括:接收来自所述管理服务器发送的设备替换成功的响应消息。
在一种实施方式中,管理服务器为本地管理服务器或远端云服务器。
第五方面,提供一种通信装置,可以实现上述第二方面、或第二方面任一种可能的实施方式中第二终端执行的方法。该装置包括用于执行上述方法的相应的单元或部件。该装置包括的单元可以通过软件和/或硬件方式实现。
第六方面,提供一种通信装置,可以实现上述第三方面、或第三方面任一种可能的实施方式中管理服务器执行的方法。该装置包括用于执行上述方法的相应的单元或部件。该装置包括的单元可以通过软件和/或硬件方式实现。
第七方面,提供一种通信装置,可以实现上述第四方面、或第二方面任一种可能的实施方式中控制设备执行的方法。该装置包括用于执行上述方法的相应的单元或部件。该装置包括的单元可以通过软件和/或硬件方式实现。
第八方面,提供一种通信系统,所述通信系统包括第一终端、第二终端与管理服务器,其中,所述第二终端用于向管理服务器发送请求信息,所述请求信息用于指示获取所述管理服务器为所述第一终端分配的设备注册信息,其中,所述第二终端用于替换所述第一终端;管理服务器用于根据所述请求信息,向所述第二终端发送所述第一终端的设备注册信息。
在一种实施方式中,所述通信系统还包括控制设备,控制设备用于,响应于用户的设备替换操作,向所述管理服务器发送替换请求,所述替换请求包括所述第一终端的标识,用于指示对所述第一终端实现设备替换。
在一种实施方式中,控制设备还用于,向所述管理服务器发送替换信息,所述替换信息包括所述第二终端的标识与所述验证信息,用于指示所述第二终端用于替换所述第一终端。
在一种实施方式中,请求信息包括所述第一终端的标识,或者所述第二终端的标识。
在一种实施方式中,所述通信系统可以包括上述第五方面所述的通信装置、上述第六方面所述的通信装置和上述第七方面所述的通信装置;所述通信系统可以用于实现上述第一方面、或第一方面任一种可能的实施方式的方法。
第九方面,提供一种电子设备,所述电子设备包括存储器和一个或多个处理器;所述存储器和所述处理器耦合;所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令,当所述处理器执行所述计算机指令时,所述电子设备用于执行如上述第二方面中任一项所述的方法。
第十方面,提供一种电子设备,所述电子设备包括存储器和一个或多个处理器;所述存储器和所述处理器耦合;所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令,当所述处理器执行所述计算机指令时,所述电子设备用于执行如上述第三方面中任一项所述的方法。
第十一方面,提供一种电子设备,所述电子设备包括存储器和一个或多个处理器;所述存储器和所述处理器耦合;所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令,当所述处理器执行所述计算机指令时,所述电子设备用于执行如上述第四方面中任一项所述的方法。
第十二方面,本申请实施例提供一种计算机可读介质,其上存储有计算机程序或指令,所述 计算机程序或指令被执行时使得计算机执行上述第二方面、或第二方面任一种可能的实施方式中所述的方法。
第十三方面,本申请实施例提供一种计算机可读介质,其上存储有计算机程序或指令,所述计算机程序或指令被执行时使得计算机执行上述第三方面、或第三方面任一种可能的实施方式中所述的方法。
第十四方面,本申请实施例提供一种计算机可读介质,其上存储有计算机程序或指令,所述计算机程序或指令被执行时使得计算机执行上述第四方面、或第四方面任一种可能的实施方式中所述的方法。
第十五方面,本申请实施例提供一种计算机程序产品,其包括计算机程序代码,所述计算机程序代码在计算机上运行时,使得计算机执行上述第二方面、或第二方面任一种可能的实施方式中所述的方法。
第十六方面,本申请实施例提供一种计算机程序产品,其包括计算机程序代码,所述计算机程序代码在计算机上运行时,使得计算机执行上述第三方面、或第三方面任一种可能的实施方式中所述的方法。
第十七方面,本申请实施例提供一种计算机程序产品,其包括计算机程序代码,所述计算机程序代码在计算机上运行时,使得计算机执行上述第四方面、或第四方面任一种可能的实施方式中所述的方法。
第十八方面,本申请实施例提供一种芯片系统,所述芯片系统应用于电子设备;所述芯片系统包括一个或多个接口电路和一个或多个处理器;所述接口电路和所述处理器通过线路互联;所述接口电路用于从所述电子设备的存储器接收信号,并向所述处理器发送所述信号,所述信号包括所述存储器中存储的计算机指令;当所述处理器执行所述计算机指令时,该芯片实现上述第二方面、或第二方面任一种可能的实施方式中所述的方法。
第十九方面,本申请实施例提供一种芯片系统,所述芯片系统应用于电子设备;所述芯片系统包括一个或多个接口电路和一个或多个处理器;所述接口电路和所述处理器通过线路互联;所述接口电路用于从所述电子设备的存储器接收信号,并向所述处理器发送所述信号,所述信号包括所述存储器中存储的计算机指令;当所述处理器执行所述计算机指令时,该芯片实现上述第三方面、或第三方面任一种可能的实施方式中所述的方法。
第二十方面,本申请实施例提供一种芯片系统,所述芯片系统应用于电子设备;所述芯片系统包括一个或多个接口电路和一个或多个处理器;所述接口电路和所述处理器通过线路互联;所述接口电路用于从所述电子设备的存储器接收信号,并向所述处理器发送所述信号,所述信号包括所述存储器中存储的计算机指令;当所述处理器执行所述计算机指令时,该芯片实现上述第四方面、或第四方面任一种可能的实施方式中所述的方法。
可以理解的,上述提供的任一种通信装置、电子设备、芯片系统、计算机可读介质、计算机程序产品或通信系统等均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考对应的方法中的有益效果,此处不再赘述。
附图说明
图1a为本申请实施例提供的一种通信系统的架构图;
图1b为本申请实施例提供的一种终端设备的硬件结构示意图;
图2为本申请实施例提供的一种终端设备的软件结构示意图;
图3为本申请实施例提供的一种设备替换的配置方法的流程示意图;
图4为本申请实施例提供的一种设备替换的显示效果示意图;
图5为本申请实施例提供的另一种设备替换的显示效果示意图;
图6为本申请实施例提供的另一种设备替换的配置方法的流程示意图;
图7为本申请实施例提供的另一种设备替换的配置方法的流程示意图;
图8为本申请实施例提供的一种电子设备的结构示意图。
具体实施方式
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。
需要说明的是,本申请中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
首先,对本申请实施例的实施环境和应用场景进行简单介绍。
本申请实施例可以应用于如图1a所示的通信系统,主要包括控制设备,至少一个终端设备和管理服务器。示例性的,至少一个终端设备可以包括第一终端和第二终端。
其中,控制设备是指对终端设备的入网注册、使用管理或设备注销等实现控制的设备。在一种实施方式中,控制设备具体可以为终端设备或者遥控器,例如智能手机或者智能家居控制器等。
在一种实施方式中,用户可以通过控制设备上安装的应用程序(Application,APP)对接入网络的终端设备实现控制。例如,在智能家居领域,可以通过智能手机上的应用程序对接入家庭网关的智能家居或智能电器进行控制,如控制窗帘开启或关闭,控制热水器开启以及设置加热温度等。
终端设备是指一种具有计算处理能力的设备、器械或者机器,在本申请实施例中可以为具有数据处理能力,或者具有功能外设的设备或智能终端,以及各类传感器和物联网终端设备等。终端设备也可以称为用户设备(user equipment,UE)、移动台、移动终端或终端等。终端设备可以广泛应用于各种场景,例如,设备到设备(device-to-device,D2D)、车物(vehicle to everything,V2X)通信、机器类通信(machine-type communication,MTC)、物联网(internet of things,IOT)、虚拟现实、增强现实、工业控制、自动驾驶、远程医疗、智能电网、智能家居、智能办公、智能穿戴、智能交通、智慧城市等。终端可以是手机、平板电脑、带无线收发功能的电脑、可穿戴设备、车载终端、机器人、机械臂、智能家居设备等。本申请的实施例对终端所采用的具体技术和具体设备形态不做限定。
管理服务器用于存储各个终端设备的配置信息,还可以用于存储应用程序的配置信息以及多媒体资源等。终端设备可以通过与管理服务器进行信息交互,获取加载应用程序的数据包,以及应用程序的配置信息或多媒体信息等。
需要说明的是,上述的管理服务器可以是物理服务器,也可以是虚拟服务器或者云服务器,例如边缘云或远端云等。终端设备与云服务器可以组成端-云的通信网络架构。
上述管理服务器的功能可以配置于一台服务器上,也可以通过多台服务器来实现,本申请实施例对此并不做具体限制。
在一种实施方式中,该通信系统中还可以包括中枢设备,用于实现本地设备的管理功能。可选的,还可以用于实现边缘计算功能,例如边缘云,可以通过与终端设备、云服务器组成端-边-云的通信网络架构。
本申请的实施场景中,当上述通信系统中的某个终端设备发生故障或由于其他原因,用户需要更换新的终端设备时,用户可以使用相同类型或者功能相同的终端设备替换旧的终端设备,并将新的终端设备重新接入该通信系统。或者,在另一个实施场景中,设备发生故障后进行维修,维修之后,可以作为新的终端设备重新接入该通信系统。
本申请提供一种设备替换的配置方法,通过在新设备配网接入的过程中完成设备的替换流程,从而使得设备替换前后,设备的认证信息不会发生改变,也就是说,新设备替换旧设备之后,新设备对应的设备注册信息仍与旧设备的设备注册信息相同。对于新设备来说,设备替换的过程是普通的配网绑定过程,且新设备继承了旧设备的设备注册信息,因此,通信系统中的大多数业务 对该设备替换过程无感知。该方法可以提高设备替换的效率,简化设备替换的流程,并能够很好地保障业务连续性。
图1b示出了终端设备100的结构示意图。在一种实施方式中,控制设备或管理服务器的结构也可以参照如图1b所示的结构。可以理解的是,本发明实施例示意的结构并不构成对终端设备、控制设备或管理服务器的具体限定。在本申请另一些实施例中,终端设备100可以包括比图1b所示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
终端设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
其中,控制器可以是终端设备100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多组I2C总线。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器180K,充电器,闪光灯,摄像头193等。例如:处理器110可以通过I2C接口耦合触摸传感器180K,使处理器110与触摸传感器180K通过I2C总线接口通信,实现终端设备100的触摸功能。
I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。在一些实施例中,音频模块170可以通过I2S接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与无线通信模块160可以通过PCM总线接口耦合。在一些实施例中,音频模块170也可以通过PCM接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。所述I2S接口和所述PCM接口都可以用于音频通信。
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理 器110与无线通信模块160。例如:处理器110通过UART接口与无线通信模块160中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块170可以通过UART接口向无线通信模块160传递音频信号,实现通过蓝牙耳机播放音乐的功能。
MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现终端设备100的拍摄功能。处理器110和显示屏194通过DSI接口通信,实现终端设备100的显示功能。
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与摄像头193,显示屏194,无线通信模块160,音频模块170,传感器模块180等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为终端设备100充电,也可以用于终端设备100与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。
可以理解的是,本发明实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对终端设备100的结构限定。在本申请另一些实施例中,终端设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过终端设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。
终端设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。终端设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在终端设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。
无线通信模块160可以提供应用在终端设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
在一些实施例中,终端设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得终端设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。
终端设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,终端设备100可以包括1个或N个显示屏194,N为大于1的正整数。
终端设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,终端设备100可以包括1个或N个摄像头193,N为大于1的正整数。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当终端设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。终端设备100可以支持一种或多种视频编解码器。这样,终端设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现终端设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展终端设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行终端设备100的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储终端设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。
终端设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。终端设备100可以通过扬声器170A收听音乐,或收听免提通话。
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当终端设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。终端设备100可以设置至少一个麦克风170C。在另一些实施例中,终端设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,终端设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。终端设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,终端设备100根据压力传感器180A检测所述触摸操作强度。终端设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。
陀螺仪传感器180B可以用于确定终端设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定终端设备100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测终端设备100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消终端设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。
气压传感器180C用于测量气压。在一些实施例中,终端设备100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。
磁传感器180D包括霍尔传感器。终端设备100可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当终端设备100是翻盖机时,终端设备100可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。
加速度传感器180E可检测终端设备100在各个方向上(一般为三轴)加速度的大小。当终端设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。
距离传感器180F,用于测量距离。终端设备100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,终端设备100可以利用距离传感器180F测距以实现快速对焦。
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。终端设备100通过发光二极管向外发射红外光。终端设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定终端设备100附近有物体。当检测到不充分的反射光时,终端设备100可以确定终端设备100附近没有物体。终端设备100可以利用接近光传感器180G检测用户手持终端设备100贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。
环境光传感器180L用于感知环境光亮度。终端设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测终端设备100是否在口袋里,以防误触。
指纹传感器180H用于采集指纹。终端设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。
温度传感器180J用于检测温度。在一些实施例中,终端设备100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,终端设备100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,终端设备100对电池142加热,以避免低温导致终端设备100异常关机。在其他一些实施例中,当温度低于又一阈值时,终端设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。
触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于终端设备100的表面,与显示屏194所处的位置不同。
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于所述骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。终端设备100可以接收按键输入,产生与终端设备100的用户设置以及功能控制有关的键信号输入。
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和终端设备100的接触和分离。终端设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。终端设备100通过SIM 卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,终端设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在终端设备100中,不能和终端设备100分离。
图2示出了本申请实施例中终端设备100的软件结构框图。
终端设备100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例以分层架构的Android系统为例,示例性说明终端设备100的软件结构。
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。
应用程序层可以包括一系列应用程序包。
如图2所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。
在一种实施方式中,应用程序包可以包括数据备份、数据恢复或者“手机克隆”等应用程序,用于实现用户数据的备份和恢复。后续将结合具体的实施例对此进行说明,此处不再赘述。
在另一种实施方式中,终端设备100的操作系统还可以包括备份系统,用于实现数据备份和数据恢复。后续将结合具体的实施例对此进行说明,此处不再赘述。
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。
如图2所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。
电话管理器用于提供终端设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。
Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。
2D图形引擎是2D绘图的绘图引擎。
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器 驱动。
结合上述内容,本申请提供一种设备替换的配置方法,应用于包括第一终端、第二终端、控制设备与管理服务器等的通信系统。其中,第一终端可以为被替换的终端设备,即旧设备;第二终端可以为待替换的终端设备,即新设备。如图3所示,该方法可以包括如下步骤。
301:第二终端向管理服务器发送请求信息。
其中,该请求信息可以用于指示获取管理服务器为第一终端分配的设备注册信息,其中,第二终端用于替换第一终端。也就说,第二终端可以通过向管理服务器请求分配旧设备即第一终端的设备注册信息,从而实现设备替换,并保持新旧设备的设备注册信息一致。
在一种实施方式中,请求信息具体可以是设备注册信息,也即待替换的新设备可以通过触发设备注册流程,在与服务器的交互流程中,实现新设备的注册流程,以及新设备对旧设备的替换过程。
在另一种实施方式中,请求信息还可以是设备替换信息,也即可以通过扩展新的请求信息如设备替换信息,用于指示管理服务器进行设备替换的流程,待替换的新设备可以通过触发设备替换流程,在与管理服务器的交互流程中,实现对旧设备的替换。
需要说明的是,设备替换的流程可以是用户通过控制设备触发的,或者,用户通过第一终端或者第二终端触发的,本申请对触发设备替换的具体实现过程不做限定,下文将示例性以用户通过控制设备触发设备替换为例进行说明。具体的交互过程将在下文介绍,此处不再赘述。
302:管理服务器根据请求信息,向第二终端发送第一终端的设备注册信息。
在一种实施方式中,第二终端向管理服务器发送的请求信息中可以包括第二终端的标识,从而管理服务器可以根据第二终端的标识,以及之前保存的第一终端的标识,确定第二终端需要替换的旧设备为第一终端,从而通过查询得到管理服务器为第一终端分配的设备注册信息,并向第二终端发送第一终端的设备注册信息。详细的实施过程将在下文结合图6进行说明,此处不再赘述。
在另一种实施方式中,第二终端向管理服务器发送的请求信息中可以包括第一终端的标识,从而管理服务器可以根据第一终端的标识,以及保存的第二终端的标识,确定第一终端的待替换新设备为第二终端,从而通过查询得到管理服务器为第一终端分配的设备注册信息,并向第二终端发送第一终端的设备注册信息。详细的实施过程将在下文结合图7进行说明,此处不再赘述。
其中,设备注册信息是指管理服务器为请求注册的终端设备分配的,用于根据该设备注册信息对对应的终端设备进行管理和控制。因此,第二终端的设备注册信息是指管理服务器为第二终端分配的设备注册信息,而第一终端对应的设备注册信息是指管理服务器在执行第一终端的注册过程中为第一终端分配的。也就是说,管理服务器可以将之前存储的第一终端的设备注册信息作为第二终端的设备注册信息下发给第二终端,从而实现第二终端与第一终端的设备注册信息相同,即新旧设备替换之后,仍保持相同的设备注册信息。
下面,将结合具体的实施方式,以控制设备为智能手机为例,且控制设备上安装有终端设备管理功能的应用程序如第一应用为例,对本申请提供的设备替换的方法进行说明。
结合图3所示,步骤301之前,该方法还可以包括如下步骤。
步骤1:控制设备接收用户的第一操作。
其中,第一操作可以为用户通过控制设备指示进行设备替换的操作。
在一种实施方式中,用户可以通过控制设备查看和管理网络中接入的各个终端设备,例如,通过控制设备上安装的应用程序APP如第一应用,可以向用户展示接入网络的多个终端设备的标识,设备状态,以及设备配置等信息。另外,用户还可以通过控制设备上安装的APP,对各个终端设备进行管理,如对终端设备进行绑定、设置、替换或注销等操作。
示例性的,如图4所示,控制设备为智能手机,安装有管理和控制终端设备的第一应用,用户可以打开智能手机上的第一应用,点击设备更换或设备替换的操作图标,请求执行终端设备的替换流程。例如,可以从设备列表中选择对第一终端进行设备替换,从而确定对第一终端执行设备替换流程。上述操作序列可以统称为第一操作。
在另一种实施方式中,如图5所示,控制设备为智能手机,用户可以打开智能手机上的第一 应用,从多个管理设备中选择第一终端,然后在第一终端的管理界面,选择“设备替换”,从而启动第一终端的设备替换的流程。上述操作序列可以统称为第一操作。本申请对用户对控制设备触发终端设备替换流程的具体实现过程不作限定。
步骤2:控制设备触发第一终端的替换请求。
其中,控制设备响应于用户的第一操作,若所述第一操作用于请求对第一终端进行设备替换,则控制设备触发第一终端的替换请求。
在一种实施方式中,控制设备触发第一终端的替换请求,具体可以包括:控制设备向管理服务器发送替换请求,所述替换请求可以携带第一终端的标识,例如设备信息。相对应的,管理服务器接收到来自控制设备的替换请求,确定需要对第一终端执行设备替换流程。
在一种实施方式中,终端设备标识具体可以包括终端设备的设备序列号(serial number,SN),用于唯一地标识一个终端设备。或者,终端设备标识还可以包括终端设备出厂配置的物理媒体存取控制位址(Media Access Control Address,MAC)信息。
在一种实施方式中,控制设备可以是智能手机,用于实现对接入网络的一个或多个终端设备进行管理和控制。管理服务器可以是如图1a所示的中枢设备,或者,可以是云服务器。
步骤3:控制设备确定第二终端设备为待替换的设备。
控制设备可以选择并确定待替换的设备为第二终端,即确定用于替换旧设备的新设备为第二终端。
在一种实施方式中,执行设备替换流程中的新设备(也称待替换设备)与旧设备(也称被替换设备)可以是具备相同功能的终端设备。具体的,新设备与旧设备可以是相同类型的终端设备,或者,可选的,新设备与旧设备可以是相同设备型号的终端设备,从而新设备可以用于实现与旧设备相同的功能或业务。也就是说,第一终端与第二终端具备相同功能,例如,是相同类型的终端设备,或者,是相同设备型号的终端设备。
另外,第一终端与第二终端可以是指同一个终端设备,其中,第二终端是指第一终端发生故障维修后的状态。也就是说,本申请不仅适用于新旧设备替换的实施场景,还可以应用于设备故障进行维修之后,重新接入网络的场景。
然后,控制设备可以获取该用于替换旧设备的第二终端的标识,例如设备信息。
在一种实施方式中,用户可以通过控制设备上的APP扫描待替换的第二终端,从而获取该待替换的第二终端的标识。例如,控制设备可以扫描第二终端生成的随机二维码,所述随机二维码携带第二终端的标识。
如前述内容可知,可选的,第二终端的标识可以包括SN和/或MAC地址等。
控制设备确定第二终端设备为待替换的设备之后,可以通过与管理服务器的交互执行第二终端的设备注册流程以及设备替换流程,从而获取第二终端的设备注册信息。
步骤4:控制设备向所管理服务器发送替换信息。
其中,所述替换信息包括第二终端的标识,用于指示第二终端用于替换第一终端。
在一种实施方式中,管理服务器可以对控制设备进行身份验证,已确保替换信息的安全性。下文将结合实施例介绍身份验证的可能实现方式,此处不再赘述。
步骤5:管理服务器保存第一终端与第二终端的替换关系。
从而,后续当第二终端执行步骤301,向管理服务器发送请求信息的时候,管理服务器可以通过请求信息中携带的第二终端的标识,确定第二终端与第一终端存在替换关系,从而可以获取第一终端的设备注册信息,并向第二终端发送该第一终端的设备注册信息。
通过上述本申请提供的实施方式进行设备替换,对于新设备来说,在设备入网注册的流程中,实现了设备替换,新设备并不感知替换过程,且新设备无需进行系统升级以匹配替换流程,设备替换流程比较简单。另外,上述本申请的实施方式中,新旧设备的设备注册信息相同,从而新设备可以继承用户对旧设备进行的设置以及业务的连续性,用户无需对新设备重新进行配置,因此,本申请的设备替换效率较现有技术更高,提升了用户体验。
此外,对于云服务器或者中枢设备等数据处理中心来说,无需保存设备替换前后的新设备和旧设备的两份设备注册信息。新旧设备的设备注册信息相同,因此,对基于设备注册信息所做的 数据分析、数据统计等运算不受设备替换流程的影响,大多数功能和业务对于替换过程是无感知的,因此可以保障业务的连续性,降低设备替换造成的业务复杂度。
下面将结合控制设备与第二终端、管理服务器的交互流程,介绍设备替换的具体实现过程。如图6所示,该方法可以包括如下步骤。
601:响应于用户的第一操作,控制设备向管理服务器发送替换请求。
其中,所述替换请求包括第一终端的标识,用于指示请求对第一终端实现设备替换。
602:管理服务器生成验证信息,向控制设备发送验证信息。
管理服务器根据接收到的控制设备的替换请求,保存被替换设备的第一终端的标识,并生成对应的验证信息,用于在设备替换流程中对请求的设备替换操作进行身份验证。
相对应的,控制设备接收来自管理服务器的验证信息。当用户选择并确定待替换的终端设备(也可以称为新设备)为第二终端之后,可以根据获取的第二终端的标识,将第二终端的标识以及所述验证信息发送至管理服务器,向管理服务器请求对第一终端进行设备替换。
在一种实现方式中,管理服务器上保存所述验证信息或被替换设备的信息可以有一定的时长限制,达到或超过该时长,则管理服务器可以将保存的所述验证信息或被替换设备的信息删除。
例如,管理服务器可以通过定时器进行管理,若管理服务器确定该定时器超时,则可以将保存的替换验证码或被替换设备的信息进行清除。可选的,在这种实施场景下,管理服务器可以通知控制设备该设备替换流程超时,控制设备上对应的APP可以显示超时,用于指示本次设备替换的操作已超时。从而,用户可以根据需要再次发起设备替换流程,用于对第一终端进行设备替换。
603:控制设备获取第二终端的标识,确定第二终端设备为待替换的设备。
控制设备获取到管理服务器的验证信息之后,可以选择并确定待替换的设备为第二终端,即确定用于替换旧设备的新设备。
在一种实施方式中,第二终端可以通过热点与控制设备建立通信连接。例如,第二终端生成热点,并广播热点信息,控制设备通过接入该热点,可以与第二终端进行通信。可选的,第二终端还可以向控制设备发送设备的绑定入口,以及设备类型等信息。
示例性的,控制设备确定第二终端设备为待替换的设备之后,用户可以在控制设备的APP上选择将该第二终端作为用于替换第一终端的待替换设备。
在一种实施方式中,控制设备上的APP可以根据获取的第二终端的标识,按照设备更换的筛选条件,在APP的选择界面上显示出可以实现设备替换的至少一个被替换设备。也就是说,控制设备的APP可以根据获取的新设备信息,筛选出可以进行设备替换的至少一个旧设备,从而用于可以选择或确定该新设备用于替换哪一个旧设备。例如,第二终端的设备类型是空调,若控制设备的APP预配置的设备替换的筛选条件为设备类型相同,则控制设备的APP根据该第二终端的设备类型可以确定该通信网络中设备类型也是空调(即满足设备替换的筛选条件)的包括三个终端,那么需要用户从中确定哪一个空调是需要进行更换的设备,该设备即为用于被替换的终端设备即第一终端。
604:控制设备向管理服务器发送替换信息,包括第二终端的标识以及验证信息。
控制设备确定第二终端设备为待替换的设备之后,可以通过向管理服务器请求执行第二终端的设备注册流程以及设备替换流程。
在一种实施方式中,控制设备可以在预设的时长之内,也即控制设备可以在验证信息的有效期内,向管理服务器发送第二终端的标识以及该验证信息,用于请求对第二终端进行设备注册,并实现将第一终端替换为第二终端。
605:管理服务器进行身份认证,认证成功后保存新旧设备的信息。
相对应的,管理服务器接收到第二终端的标识以及验证信息之后,可以根据验证信息进行身份认证,确定请求的操作是否是安全合法的设备替换操作。例如,管理服务器可以确定该请求中携带的验证信息是否是之前管理服务器生成并保存的验证信息,如是,则确定此次设备替换认证成功;如否,则确定此次设备替换认证失败,可以中断或退出该设备替换流程。
然后,管理服务器根据验证信息的身份认证成功后,可以根据该验证信息,匹配对应的旧设备的信息,即确定该第二终端是用于替换第一终端的。从而管理服务器可以保存新旧设备的信息 以及替换关系,即保存第一终端与第二终端的标识以及第一终端与第二终端的替换关系。具体的,替换关系可以表示为第二终端用于替换掉第一终端,或者,第一终端用于被第二终端进行替换。
606:第二终端执行入网与注册流程。
具体的,第二终端可以通过与管理服务器以及控制设备进行交互,执行第二终端的配网流程,并完成设备的注册流程。
在一种实施方式中,控制设备可以向第二终端发送配网相关的信息,从而第二终端可以根据配网信息接入该局域网。例如,控制设备将局域网的热点信息发送给第二终端,用于第二终端接入同一网络。
在一种实施方式中,第二终端与管理服务器进行交互,完成设备注册流程,具体可以包括:第二终端向管理服务器发送注册请求信息,该注册请求信息可以包括第二终端的标识,软硬件版本信息,设备类型信息,或者设备的标识ID信息等中的至少一个。
607:管理服务器向第二终端发送第一终端的设备注册信息。
管理服务器可以根据接收到的第二终端的标识,以及保存的第一终端与第二终端的替换关系,确定第二终端对应的被替换设备为第一终端,也即第二终端需要替换第一终端,因此,管理服务器可以向第二终端下发所述第一终端的设备注册信息。
具体的,管理服务器可以根据第一终端确定对应的设备注册信息,并向第二终端发送该第一终端对应的设备注册信息,作为第二终端对应的设备注册信息,从而管理服务器侧实现第二终端对第一终端的设备替换;且设备替换前后,终端设备的设备注册信息保持不变,即新设备与旧设备的设备注册信息是相同的。
在一种实施方式中,所述方法还包括:第二终端接收到设备注册信息之后,表示第二终端的入网与注册流程成功完成,第二终端可以向控制设备发送设备替换成功的响应消息,用于指示所述第二终端替换成功。
上述实施方式中,控制设备与管理设备侧在执行新设备的入网注册流程中融入设备替换流程,通过记录新设备与旧设备的替换关系,为新设备匹配对应的旧设备的设备注册信息,实现新设备对旧设备的替换,新旧设备的设备注册信息相同,从而无需保存设备替换前后新设备和旧设备的两份设备注册信息,设备替换的流程简单,且能够保持设备业务连续性,设备替换的效率较高,提升用户的使用体验。
另外,本申请还提供一种实施方式,结合图7所示,该方法可以包括如下步骤。
701:响应于用户的设备替换操作,控制设备向第二终端发送替换请求。
其中,所述替换请求包括第一终端的标识,用于指示请求对第一终端实现设备替换。
相对应的,第二终端接收到来自控制设备的替换请求,获取第一终端标识并保存。
可选的,在一种实施方式中,控制设备可以向管理服务器发送替换请求,替换请求包括第一终端的标识;然后管理服务器再向第二终端转发该替换请求,携带第一终端的标识,用于指示需要对第一终端进行设备替换的操作。
在一种实施方式中,为了进一步对设备替换流程进行安全验证,控制设备可以响应于用户的设备替换操作,生成验证信息,并将该验证信息发送至管理服务器,用于指示管理服务器对第一终端的设备替换操作进行身份验证。从而后续,第二终端向管理服务器请求进行设备注册时,管理服务器可以根据该验证信息确定安全性,身份验证成功后再执行设备的替换流程。
702:第二终端向管理服务器发送请求信息,包括第一终端的标识。
在一种实施方式中,该请求信息具体可以为设备注册请求,用于指示第二终端向管理服务器请求完成设备注册,请求管理服务器为第二终端分配设备注册信息。其中,该设备注册请求中包括第二终端的标识,另外,该设备注册请求中可以包括第一终端的标识,用于请求对该第二终端执行设备注册并实现对该第一终端的设备替换流程。
也就是说,本申请实施例通过对现有的设备注册流程改进,在新设备请求设备注册的请求信息中,通过扩展字段用于携带被替换的旧设备的标识信息,从而使得管理服务器可以在该信息的设备注册流程中,
在另一种实施方式中,该请求信息具体可以为设备替换请求,用于指示当前请求对第一终端 进行设备替换。在这种方式下,第二终端向管理服务器发送设备替换请求之后,可以再向管理服务器发送设备注册请求,包括第二终端的标识,用于指示管理服务器对第二终端实现设备注册流程,为第二终端分配对应的设备注册信息。
也就说,可以不对现有的设备注册请求做改进,本申请还可以通过另一条请求信息,携带第一终端的标识,使得第二终端向管理服务器通知进行设备替换的被替换设备为第一终端,从而使得管理服务器获知新旧设备的标识并确定替换关系。
703:管理服务器向第二终端发送第一终端的设备注册信息。
可选的,管理服务器接收到来自第二设备的请求信息之后,可以保存第一终端的标识与第二终端的标识,以及第一终端与第二终端的替换关系。
然后,管理服务器可以根据请求信息中携带的第一终端的标识,确定保存的第一终端对应的设备注册信息,并向第二终端发送该第一终端的设备注册信息。
上述的实施方式,可以通过第二终端触发设备注册流程或者设备替换流程,通过第二终端向管理服务器发送的设备注册请求或设备替换请求中携带第一终端的标识,从而使得管理服务器可以获知当前待替换的设备与被替换设备的标识,并保存新旧设备的替换关系,从而管理服务器可以将为第一终端分配的设备注册信息发送至第二终端,完成第二终端的设备注册以及设备替换流程。该实施方式中,新旧设备替换前后设备注册信息保持一致,并简化了流程,能够有效提高设备替换的实现效率。
另外,本申请还提供一种电子设备,该电子设备包括:存储器和一个或多个处理器;存储器和处理器耦合;存储器用于存储计算机程序代码,计算机程序代码包括计算机指令。具体可以参照图8所示。当上述处理器执行计算机指令时,电子设备可以执行上述本申请的实施例中第二终端执行的操作,或者,电子设备可以执行上述本申请的实施例中管理服务器执行的操作,或者,电子设备可以执行上述本申请的实施例中控制设备执行的操作。
本申请实施例还提供一种电子设备,如图8所示,该电子设备800可以包括至少一个处理器801,通信线路802以及存储器803。
处理器801可以是一个通用中央处理器(central processing unit,CPU),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制本公开方案程序执行的集成电路。
通信线路802可包括一通路,在上述组件之间传送信息,例如总线。
存储器803可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器可以是独立存在,通过通信线路802与处理器相连接。存储器也可以和处理器集成在一起。本公开实施例提供的存储器通常可以具有非易失性。其中,存储器803用于存储执行本公开方案所涉及的计算机执行指令,并由处理器801来控制执行。处理器801用于执行存储器803中存储的计算机执行指令,从而实现本公开实施例提供的方法。
可选的,本公开实施例中的计算机执行指令也可以称之为应用程序代码,本公开实施例对此不作具体限定。
在具体实现中,作为一种实施例,处理器801可以包括一个或多个CPU,例如图8中的CPU0和CPU1。
在具体实现中,作为一种实施例,该电子设备800可以包括多个处理器,例如图8中的处理器801和处理器807。这些处理器中的每一个可以是一个单核(single-CPU)处理器,也可以是一个多核(multi-CPU)处理器。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。
在具体实现中,作为一种实施例,该电子设备800还可以包括通信接口804。通信接口804,使用任何收发器一类的装置,用于与其他设备或通信网络通信,如以太网接口,无线接入网接口(radio access network,RAN),无线局域网接口(wireless local area networks,WLAN)等。
在具体实现中,作为一种实施例,该电子设备800还可以包括输出设备805和输入设备806。输出设备805和处理器801通信,可以以多种方式来显示信息。例如,输出设备805可以是液晶显示屏(liquid crystal display,LCD),发光二级管(light emitting diode,LED)显示设备,阴极射线管(cathode ray tube,CRT)显示设备,或投影仪(projector)等。输入设备806和处理器801通信,可以以多种方式接收用户的输入。例如,输入设备806可以是鼠标、键盘、触摸屏设备或传感设备等。
在具体实现中,该电子设备800可以是台式机、便携式电脑、网络服务器、掌上电脑(personal digital assistant,PDA)、移动手机、平板电脑、车载电脑、无线终端设备、嵌入式设备、可穿戴设备、家庭智能终端或有图8中类似结构的设备等。本公开实施例不限定该电子设备800的类型。
在一些实施例中,图3、图6或图7中各个步骤的执行,可以通过电子设备800的处理器801通过调用存储器803中存储的计算机执行指令,使得电子设备800执行上述方法实施例中的方法。
在示例性实施例中,还提供了一种包括指令的存储介质,例如包括指令的存储器803,上述指令可由该电子设备800的处理器801执行以完成上述方法。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件程序实现时,可以全部或部分地以计算机程序产品的形式来实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。
最后应说明的是:以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (32)

  1. 一种设备替换的配置方法,其特征在于,所述方法包括:
    第二终端向管理服务器发送请求信息,所述请求信息用于指示获取所述管理服务器为第一终端分配的设备注册信息,其中,所述第二终端用于替换所述第一终端;
    所述管理服务器根据所述请求信息,向所述第二终端发送所述第一终端的设备注册信息。
  2. 根据权利要求1所述的方法,其特征在于,所述请求信息包括所述第二终端的标识。
  3. 根据权利要求2所述的方法,其特征在于,所述第二终端向管理服务器发送请求信息之前,所述方法还包括:
    响应于用户的设备替换操作,控制设备向所述管理服务器发送替换请求,所述替换请求包括所述第一终端的标识,用于指示对所述第一终端实现设备替换;
    所述控制设备接收来自所述管理服务器的验证信息,所述验证信息是所述管理服务器根据所述替换请求生成的用于进行身份验证。
  4. 根据权利要求3所述的方法,其特征在于,所述方法还包括:
    所述控制设备向所述管理服务器发送替换信息,所述替换信息包括所述第二终端的标识与所述验证信息,用于指示所述第二终端用于替换所述第一终端。
  5. 根据权利要求4所述的方法,其特征在于,所述管理服务器根据所述请求信息,向所述第二终端发送所述第一终端的设备注册信息,具体包括:
    所述管理服务器根据所述请求信息中包括的所述第二终端的标识,得到所述第一终端的设备注册信息,并向所述第二终端发送所述第一终端的设备注册信息,其中,所述管理服务器存储有所述第二终端与所述第一终端的替换关系。
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述请求信息为设备注册请求信息。
  7. 根据权利要求1所述的方法,其特征在于,所述请求信息包括所述第一终端的标识。
  8. 根据权利要求7所述的方法,其特征在于,所述第二终端向管理服务器发送请求信息之前,所述方法还包括:
    响应于用户的设备替换操作,控制设备向所述第二设备发送替换请求,所述替换请求包括所述第一终端的标识,用于请求替换所述第一终端。
  9. 根据权利要求7或8所述的方法,其特征在于,所述请求信息为设备注册请求信息,或者,设备替换请求信息。
  10. 根据权利要求7-9任一项所述的方法,其特征在于,所述管理服务器根据所述请求信息,向所述第二终端发送所述第一终端的设备注册信息,具体包括:
    所述管理服务器根据所述第一终端的标识,得到所述第一终端的设备注册信息,并向所述第二终端发送所述第一终端的设备注册信息。
  11. 根据权利要求2或7所述的方法,其特征在于,所述终端的标识包括设备序列号SN,和/或物理媒体存取控制位址MAC信息。
  12. 根据权利要求1-11任一项所述的方法,其特征在于,所述第一终端与所述第二终端是相同类型的终端设备,或者,是具备相同功能的终端设备;或者,是相同设备型号的终端设备;
    或者,所述第一终端与所述第二终端是指同一个终端设备,其中,所述第二终端是指所述第一终端发生故障维修后的状态。
  13. 根据权利要求1-12任一项所述的方法,其特征在于,所述方法还包括:
    所述管理服务器向所述第二终端和/或控制设备发送设备替换成功的响应消息。
  14. 根据权利要求1-13任一项所述的方法,其特征在于,所述管理服务器为本地管理服务器或远端云服务器。
  15. 一种设备替换的配置方法,其特征在于,所述方法包括:
    第二终端向管理服务器发送请求信息,所述请求信息用于指示获取所述管理服务器为第一终端分配的设备注册信息,其中,所述第二终端用于替换所述第一终端;
    所述第二终端从所述管理服务器获取所述第一终端的设备注册信息。
  16. 根据权利要求15所述的方法,其特征在于,所述请求信息包括所述第二终端的标识,或 者,所述请求信息包括所述第一终端的标识。
  17. 根据权利要求15或16所述的方法,其特征在于,若所述请求信息包括所述第一终端的标识,则所述第二终端向管理服务器发送请求信息之前,所述方法还包括:
    接收来自控制设备的替换请求,所述替换请求包括所述第一终端的标识,用于指示请求替换所述第一终端。
  18. 根据权利要求15-17任一项所述的方法,其特征在于,所述请求信息为设备注册请求信息,或者,设备替换请求信息。
  19. 根据权利要求15-18任一项所述的方法,其特征在于,所述第一终端与所述第二终端是相同类型的终端设备,或者,是具备相同功能的终端设备;或者,是相同设备型号的终端设备;
    或者,所述第一终端与所述第二终端是指同一个终端设备,其中,所述第二终端是指所述第一终端发生故障维修后的状态。
  20. 根据权利要求15-19任一项所述的方法,其特征在于,所述方法还包括:
    接收来自所述管理服务器的设备替换成功的响应消息。
  21. 根据权利要求15-20任一项所述的方法,其特征在于,所述管理服务器为本地管理服务器或远端云服务器。
  22. 一种设备替换的配置方法,其特征在于,所述方法包括:
    管理服务器接收来自第二终端的请求信息,所述请求信息用于指示获取所述管理服务器为第一终端分配的设备注册信息,其中,所述第二终端用于替换所述第一终端;
    所述管理服务器根据所述请求信息,向所述第二终端发送所述第一终端的设备注册信息。
  23. 一种设备替换的配置方法,其特征在于,所述方法包括:
    响应于用户的设备替换操作,控制设备向管理服务器发送替换请求,所述替换请求包括第一终端的标识,用于指示对所述第一终端实现设备替换;
    所述控制设备确定第二终端,其中,所述第二终端用于替换所述第一终端。
  24. 根据权利要求23所述的方法,其特征在于,所述方法还包括
    所述控制设备接收来自所述管理服务器的验证信息;
    所述控制设备向所述管理服务器发送替换信息,所述替换信息包括所述第二终端的标识与所述验证信息,用于指示所述第二终端用于替换所述第一终端。
  25. 一种通信系统,其特征在于,所述通信系统包括第一终端、第二终端和管理服务器,
    其中,所述第二终端用于向管理服务器发送请求信息,所述请求信息用于指示获取所述管理服务器为所述第一终端分配的设备注册信息,其中,所述第二终端用于替换所述第一终端;
    所述管理服务器用于根据所述请求信息,向所述第二终端发送所述第一终端的设备注册信息。
  26. 根据权利要求25所述的通信系统,其特征在于,所述通信系统还包括控制设备,
    所述控制设备用于,响应于用户的设备替换操作,向所述管理服务器发送替换请求,所述替换请求包括所述第一终端的标识,用于指示对所述第一终端实现设备替换。
  27. 根据权利要求26所述的通信系统,其特征在于,所述控制设备还用于,向所述管理服务器发送替换信息,所述替换信息包括所述第二终端的标识与所述验证信息,用于指示所述第二终端用于替换所述第一终端。
  28. 根据权利要求25-27任一项所述的通信系统,其特征在于,所述请求信息包括所述第一终端的标识,或者所述第二终端的标识。
  29. 一种电子设备,其特征在于,所述电子设备包括:存储器和一个或多个处理器;所述存储器和所述处理器耦合;所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令,当所述处理器执行所述计算机指令时,所述电子设备用于执行如权利要求1-24中任一项所述的设备替换的配置方法。
  30. 一种芯片系统,其特征在于,所述芯片系统应用于电子设备;所述芯片系统包括一个或多个接口电路和一个或多个处理器;所述接口电路和所述处理器通过线路互联;所述接口电路用于从所述电子设备的存储器接收信号,并向所述处理器发送所述信号,所述信号包括所述存储器中存储的计算机指令;当所述处理器执行所述计算机指令时,所述电子设备执行如权利要求1-24 中任一项所述的设备替换的配置方法。
  31. 一种计算机可读存储介质,其特征在于,所述可读存储介质中存储有指令,当所述可读存储介质在电子设备上运行时,使得所述电子设备执行如权利要求1-24中任一项所述的设备替换的配置方法。
  32. 一种计算机程序产品,其特征在于,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如权利要求1-24中任一项所述的设备替换的配置方法。
PCT/CN2023/126867 2022-11-04 2023-10-26 一种设备替换的配置方法及装置 Ceased WO2024093795A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP23884727.1A EP4564749A4 (en) 2022-11-04 2023-10-26 METHOD AND APPARATUS FOR CONFIGURING DEVICE REPLACEMENT

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211378727.4A CN118041777A (zh) 2022-11-04 2022-11-04 一种设备替换的配置方法及装置
CN202211378727.4 2022-11-04

Publications (1)

Publication Number Publication Date
WO2024093795A1 true WO2024093795A1 (zh) 2024-05-10

Family

ID=90929694

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/126867 Ceased WO2024093795A1 (zh) 2022-11-04 2023-10-26 一种设备替换的配置方法及装置

Country Status (3)

Country Link
EP (1) EP4564749A4 (zh)
CN (1) CN118041777A (zh)
WO (1) WO2024093795A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118468601A (zh) * 2024-06-21 2024-08-09 国网江苏省电力有限公司扬州供电分公司 一种基于gim的变电站设备模型自动替换系统及替换方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160073927A (ko) * 2014-12-17 2016-06-27 주식회사 케이티 M2m 시스템에서 장치의 교체를 제어하는 방법 및 그 장치
CN108923969A (zh) * 2018-06-29 2018-11-30 海尔优家智能科技(北京)有限公司 一种设备联动的方法、装置、设备及计算机可读存储介质
CN109587018A (zh) * 2018-12-06 2019-04-05 深圳绿米联创科技有限公司 设备配置的方法、装置、网络系统以及移动终端
CN110401583A (zh) * 2019-06-21 2019-11-01 深圳绿米联创科技有限公司 设备替换的方法、装置、系统、移动终端以及存储介质

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105187478A (zh) * 2015-06-11 2015-12-23 小米科技有限责任公司 对终端设备进行快速设置的方法及装置
CN107294793B (zh) * 2017-07-26 2021-04-02 北京小米移动软件有限公司 智能家居设备的替换方法、装置、设备及存储介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160073927A (ko) * 2014-12-17 2016-06-27 주식회사 케이티 M2m 시스템에서 장치의 교체를 제어하는 방법 및 그 장치
CN108923969A (zh) * 2018-06-29 2018-11-30 海尔优家智能科技(北京)有限公司 一种设备联动的方法、装置、设备及计算机可读存储介质
CN109587018A (zh) * 2018-12-06 2019-04-05 深圳绿米联创科技有限公司 设备配置的方法、装置、网络系统以及移动终端
CN110401583A (zh) * 2019-06-21 2019-11-01 深圳绿米联创科技有限公司 设备替换的方法、装置、系统、移动终端以及存储介质

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4564749A4

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118468601A (zh) * 2024-06-21 2024-08-09 国网江苏省电力有限公司扬州供电分公司 一种基于gim的变电站设备模型自动替换系统及替换方法

Also Published As

Publication number Publication date
EP4564749A1 (en) 2025-06-04
EP4564749A4 (en) 2025-11-12
CN118041777A (zh) 2024-05-14

Similar Documents

Publication Publication Date Title
EP4084486B1 (en) Cross-device content projection method, and electronic device
CN113923230B (zh) 数据同步方法、电子设备和计算机可读存储介质
US12387009B2 (en) Application permission management method and apparatus, and electronic device
WO2021052204A1 (zh) 基于通讯录的设备发现方法、音视频通信方法及电子设备
US12032938B2 (en) Plug-in installation method, apparatus, and storage medium
WO2020134868A1 (zh) 一种连接建立方法及终端设备
CN114546820B (zh) 一种应用程序的调试方法及电子设备
US20230171330A1 (en) Application server access method and terminal
CN114915996B (zh) 通信异常处理方法及相关装置
CN115017227B (zh) 数据同步方法及相关设备
WO2024093795A1 (zh) 一种设备替换的配置方法及装置
CN117707562B (zh) 参数更新方法和终端设备
CN114125805B (zh) 蓝牙回连方法及终端设备
WO2024139947A1 (zh) 一种终端设备的管理方法、装置及通信系统
CN113950045B (zh) 签约数据的下载方法和电子设备
CN118613782A (zh) 应用组件管理方法及相关设备
CN117348894A (zh) 一种软件升级方法、终端设备及系统
CN118524109A (zh) 一种数据同步方法、电子设备及介质
CN115079981A (zh) 设备控制方法及相关装置
EP4538886A1 (en) Application control method, electronic device and system
CN114490006B (zh) 任务确定方法、装置、设备及存储介质
CN116560769A (zh) 应用组件分享方法及相关设备
WO2023142940A1 (zh) 应用组件分享方法及相关设备
HK40078045B (zh) 一种跨设备的内容投射方法及电子设备
CN117917632A (zh) 一种显示方法、电子设备和系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23884727

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2023884727

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2023884727

Country of ref document: EP

Effective date: 20250228

WWP Wipo information: published in national office

Ref document number: 2023884727

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE