CN112187937A - Method and device for removing pairing, terminal equipment and storage medium - Google Patents

Method and device for removing pairing, terminal equipment and storage medium Download PDF

Info

Publication number
CN112187937A
CN112187937A CN202011057013.4A CN202011057013A CN112187937A CN 112187937 A CN112187937 A CN 112187937A CN 202011057013 A CN202011057013 A CN 202011057013A CN 112187937 A CN112187937 A CN 112187937A
Authority
CN
China
Prior art keywords
pairing
equipment
unpairing
release command
paired
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011057013.4A
Other languages
Chinese (zh)
Other versions
CN112187937B (en
Inventor
陈柳运
廖昌海
刘延飞
潘阳
李志晨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wocao Technology Shenzhen Co ltd
Original Assignee
Wocao Technology Shenzhen 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 Wocao Technology Shenzhen Co ltd filed Critical Wocao Technology Shenzhen Co ltd
Priority to CN202011057013.4A priority Critical patent/CN112187937B/en
Publication of CN112187937A publication Critical patent/CN112187937A/en
Application granted granted Critical
Publication of CN112187937B publication Critical patent/CN112187937B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/143Termination or inactivation of sessions, e.g. event-controlled end of session
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application is applicable to the technical field of intelligent device management, and provides a method and device for removing pairing, a terminal device and a storage medium. In the embodiment of the application, a pairing release command is obtained, and the connection state of the current pairing equipment is detected; and when the connected pairing equipment exists, performing pairing release operation according to the pairing release command, and sending the pairing release command to the pairing equipment so that the pairing equipment performs pairing release operation according to the pairing release command. Thereby reducing the time spent when smart devices are unmated from each other.

Description

Method and device for removing pairing, terminal equipment and storage medium
Technical Field
The application belongs to the technical field of intelligent device management, and particularly relates to a method and device for removing pairing, a terminal device and a storage medium.
Background
With the development of society, the intelligent devices in the device group sometimes need to cooperate with each other through pairing to fulfill the expected requirements of users, but there may be situations where a certain intelligent device between the intelligent devices appears or the user correspondingly controls a single device according to certain requirements, and in the case of the situations, technicians need to manually perform the operation of releasing the pairing for the paired intelligent devices one by one, which results in a long overall time.
Disclosure of Invention
The embodiment of the application provides a method and a device for unpairing, a terminal device and a storage medium, which can solve the problem that time is consumed for unpairing intelligent devices.
In a first aspect, an embodiment of the present application provides a method for unpairing, including:
acquiring a pairing release command, and detecting the connection state of the current pairing equipment;
and when the connected pairing equipment exists, performing pairing release operation according to the pairing release command, and sending the pairing release command to the pairing equipment so that the pairing equipment performs pairing release operation according to the pairing release command.
Optionally, after detecting the connection status of the current paired device, the method includes:
when the pairing equipment which is not connected exists, reconnection operation is carried out;
and when the reconnection times exceed a preset time threshold, sending the current state information to a control end so that the control end carries out prompt operation according to the state information.
Optionally, when there is a pairing device that is not connected, performing a reconnection operation includes:
when the pairing equipment which is not connected is the next-level equipment, detecting the broadcast information of the next-level equipment;
and when the broadcast information of the next-level equipment is detected, sending a request to the next-level equipment so that the next-level equipment carries out response operation according to the request.
Optionally, when there is a pairing device that is not connected, performing a reconnection operation includes:
and when the pairing equipment which is not connected is the upper-level equipment, polling the connection state between the pairing equipment and the upper-level equipment at a preset time interval.
Optionally, the performing of the unpairing operation according to the unpairing command includes:
clearing pairing equipment information according to the pairing release command, and acquiring original configuration information;
and replacing the current configuration information with the original configuration information.
Optionally, after acquiring the unpairing command, the method includes:
and when the current pairing state is detected to be an unpaired state, clearing the information of the upper-level equipment according to the pairing release command.
Optionally, when an abnormal condition meeting a preset condition is detected, a pairing release command is sent to the paired device corresponding to the abnormal condition.
In a second aspect, an embodiment of the present application provides an unpairing device, including:
the detection module is used for acquiring a pairing release command and detecting the connection state of the current pairing equipment;
and the operation module is used for performing pairing release operation according to the pairing release command and sending the pairing release command to the paired equipment when the connected paired equipment exists, so that the paired equipment performs pairing release operation according to the pairing release command.
In a third aspect, an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements, when executing the computer program, any of the steps of the unpairing method.
In a fourth aspect, the present application provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps of any one of the above-mentioned unpairing methods.
In a fifth aspect, embodiments of the present application provide a computer program product, which, when run on a terminal device, causes the terminal device to execute any one of the unpairing methods of the first aspect.
In the embodiment of the application, a pairing release command is obtained, and the connection state of the current pairing equipment is detected; and when the connected pairing equipment exists, performing pairing release operation according to the pairing release command, and sending the pairing release command to the pairing equipment so that the pairing equipment performs pairing release operation according to the pairing release command. After a certain device acquires the pairing instruction, the connection state of the paired device is detected to judge whether the paired device connected exists, so that the pairing release command can be sent to the paired device, the current device and the paired device can automatically perform pairing release operation without manual control of technicians, and the time spent in mutual pairing release of the intelligent devices is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a first flowchart of a method for unpairing provided in an embodiment of the present application;
fig. 2 is a second flowchart of a method for unpairing provided in an embodiment of the present application;
FIG. 3 is a third flowchart of a method for unpairing provided by an embodiment of the present application;
FIG. 4 is a schematic structural diagram of a unpairing device provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Fig. 1 is a schematic flowchart illustrating a method for unpairing in an embodiment of the present application, where an execution subject of the method may be a terminal device, and as shown in fig. 1, the method for unpairing may include the following steps:
and S101, acquiring a pairing release command, and detecting the connection state of the current pairing equipment.
In this embodiment, since a terminal device may have a device at a previous level paired with the terminal device or a device at a next level paired with the terminal device, but a terminal device at an adjacent level paired with the terminal device may not be able to connect due to some emergency, when the terminal device obtains a unpairing command sent by a user through a control terminal or a physical button corresponding to a user operation, the terminal device needs to detect a connection status of a paired device paired with the terminal device according to related information of the paired device inside the terminal device, so as to prevent related operations related to unpairing from being performed even when the paired device is disconnected. The control command sent by the previous-stage equipment can be obtained from the terminal to be sent, or the corresponding control command can be automatically sent to the current-stage equipment after the current operating environment meets the preset triggering condition; the next-stage equipment can perform corresponding operation through the instruction sent by the current-stage equipment and can also feed current state information of the next-stage equipment back to the current-stage equipment, so that the current-stage equipment judges whether the current equipment can reach the trigger condition preset in the current equipment according to the obtained information sent by each next-stage equipment, and if the current equipment reaches the trigger condition, the corresponding operation is executed; the current stage device is the terminal device, and if the current terminal device has two devices of adjacent levels, the terminal device may be a previous stage device or a next stage device.
Optionally, the detecting of the connection status of the paired devices may be obtained from a server associated with the entire device group.
Optionally, because the current device group may divide each device into multiple levels according to a preset rule, the unpairing command received by the terminal device may be sent to the previous device by obtaining the unpairing command sent by the control end.
It can be understood that, if the terminal device is a first-level device, that is, a device directly connected to the control end, there is no previous-level device in the paired devices currently paired with the terminal device; if the terminal device is the last-stage device, that is, the terminal device that last obtained the unpairing command, then there is no next-stage device in the paired devices.
Optionally, after acquiring the unpairing command, the method includes: and when the current pairing state is detected to be an unpaired state, clearing the information of the upper-level equipment according to the pairing release command.
In this embodiment, when some devices in the entire device group may not receive the unpairing command sent by the previous device, the user directly performs the unpairing operation through the unpairing command sent by the physical key of the device itself, and the previous device is disconnected and does not send the unpairing command to the previous device, but is in a state of polling the connection condition of the previous device, so after obtaining the unpairing command, the current pairing state of the user is detected first, and if the unpairing state is obtained, it is indicated that the terminal device has been unpaired personally, and since the terminal device has received the command, it is indicated that the current terminal device is successfully connected with the previous device, the previous device information can be directly cleared without continuing polling. The upper level device information includes, but is not limited to, a device power state, a motion mode, an address, and the like.
Optionally, if it is detected that the device in the unpaired state is the first-level device, that is, the device directly connected to the control end, an error message may be generated and sent to the control end, so that the user may find the current status.
Optionally, if the terminal device detects that the paired device is in the unpaired state after successfully connecting with the paired device, the pairing-release operation is performed according to the pairing-release command without sending the pairing-release command to the paired device in the unpaired state.
Optionally, as shown in fig. 2, after step S101, the method includes:
step S201, when there is a pairing device that is not connected, a reconnection operation is performed.
Step S202, when the reconnection times exceed a preset time threshold, sending the current state information to a control end so that the control end carries out prompt operation according to the state information.
In this embodiment, since the paired device may be disconnected from the terminal device due to some emergency situations, when the terminal device obtains the pairing instruction and needs to send the pairing instruction to the upper-level device or the lower-level device, it is found that the paired device connected to the terminal device before is disconnected from the terminal device, the terminal device may perform the reconnection operation with the paired device, and request or poll the current state for many times, and if the reconnection operation initiated by the terminal device exceeds the internal preset threshold of times, the terminal device will not perform the reconnection operation with the paired device, but send the current actual state information to the control end, so that the control end performs the related prompt operation on the paired device which is not released due to the unsuccessful connection according to the current state information, so as to facilitate the technical staff to find the problem in time, and the pairing releasing command can be sent by using the physical key of the pairing device which is not subjected to pairing releasing, so that the pairing device which is not subjected to pairing releasing operation is subjected to pairing releasing operation. The reconnection operation comprises two modes of requesting reconnection and polling whether to connect or not; the prompt operation may be set according to a user requirement, for example, the corresponding display positions of some devices that are not unpaired are marked with red, or a voice alarm is prompted.
Optionally, as shown in fig. 3, step S201 includes:
step S301, when the pairing device which is not connected is a next-level device, detecting broadcast information of the next-level device.
Step S302, when the broadcast information of the next-level device is detected, a request is sent to the next-level device, so that the next-level device can perform response operation according to the request.
In this embodiment, since reconnection operation is required when there is a non-connected paired device, when the non-connected paired device is a next-level device, the terminal device may detect broadcast information of the next-level device in real time, and when the broadcast information of the next-level device is detected, the terminal device may send a request to the next-level device, so that the next-level device performs response operation according to the request to complete reconnection, and then sends a unpairing command to the next-level device; and if the number of times requested by the terminal equipment exceeds the preset number threshold, the terminal equipment does not reconnect with the paired equipment, but sends the current actual state information to the control end, so that the control end carries out prompt operation according to the current state information. And the response operation is to reply the request information of the terminal equipment and establish connection with the terminal equipment.
Optionally, step S201 includes:
and when the pairing equipment which is not connected is the upper-level equipment, polling the connection state between the pairing equipment and the upper-level equipment at a preset time interval.
In this embodiment, since reconnection operation is required when there is a pairing device that is not connected, when the pairing device that is not connected is a previous device, the terminal device may poll a connection state with the previous device at a preset time interval by using a timer, and if the information that connection is successful is polled, send a unpairing command to the previous device, so that the previous device performs unpairing operation according to the unpairing command; if the polling frequency of the terminal equipment exceeds the maximum polling frequency, namely the preset frequency threshold, the terminal equipment does not reconnect with the paired equipment, but sends the current actual state information to the control end, so that the control end carries out prompt operation according to the current state information, and closes the timer.
And step S102, when the connected paired equipment exists, performing pairing release operation according to the pairing release command, and sending the pairing release command to the paired equipment, so that the paired equipment performs pairing release operation according to the pairing release command.
In this embodiment, when the terminal device detects, through the server, that there is a connected paired device, the terminal device performs a pairing release operation according to the pairing release command, and sends the pairing release command to the paired device, so that the paired device performs the pairing release operation according to the pairing release command, and the paired device is further transferred to the entire device group through transfer between the levels, so that the entire device group is released from pairing.
Optionally, the performing the unpairing operation according to the unpairing command includes: clearing pairing equipment information according to the pairing release command, and acquiring original configuration information; and replacing the current configuration information with the original configuration information.
In this embodiment, the terminal device may clear the paired device information of the paired device according to the unpairing command, so as to eliminate the association with the paired device. Because the terminal devices in the device group are paired with each other, when a certain work is completed cooperatively, the configuration information inside the terminal device is designed according to the whole device chain, for example, after the first device completes a certain operation, a trigger signal is generated to the second device, and the second device performs a corresponding operation according to the configuration information and the trigger signal inside the second device. After the pairing is released, the user independently controls the independent terminal device, so that the configuration information of the terminal device changes, the configuration information corresponding to the device chain changes into the configuration information of the original independent device, when the pairing operation is released, the original configuration information which is not paired needs to be obtained, namely when the terminal device is independently controlled, each item of configuration information of the terminal device is replaced by the obtained original configuration information, and the subsequent user independently controls the terminal device.
Optionally, when an abnormal condition meeting a preset condition is detected, a pairing release command is sent to the paired device corresponding to the abnormal condition.
In this embodiment, when some devices in the device group are abnormal, if each device in the device group is in a state of performing overall pairing operation, a serious accident may occur in the entire device group due to the abnormal device, so that when the terminal device detects that an abnormal condition meeting a preset condition exists in the terminal device, a command for releasing pairing is sent to the paired device corresponding to the abnormal condition, so as to enhance processing on the abnormal condition and improve success rate of releasing pairing.
By way of specific example and not limitation, if the current terminal device detects that the internal electric quantity of the current terminal device reaches a preset electric quantity threshold value, the current terminal device can be powered off quickly, and a command for releasing pairing can be sent to the pairing device which is paired with the current terminal device and needs to provide a trigger signal by the current abnormal terminal device, so that the phenomenon that the device group works and breaks due to the fact that the current terminal device stops working due to power off is avoided, and serious conditions occur.
As a specific example, but not by way of limitation, if the current terminal device detects that an abnormal condition occurs in the previous device or the next device connected to the current terminal device, for example, the power reaches a preset power threshold, a unpairing command is sent to the paired device, so as to prevent a problem occurring in the entire device group due to the power of the paired device.
In the embodiment of the application, a pairing release command is obtained, and the connection state of the current pairing equipment is detected; and when the connected pairing equipment exists, performing pairing release operation according to the pairing release command, and sending the pairing release command to the pairing equipment so that the pairing equipment performs pairing release operation according to the pairing release command. After a certain device acquires the pairing instruction, the connection state of the paired device is detected to judge whether the paired device connected exists, so that the pairing release command can be sent to the paired device, the current device and the paired device can automatically perform pairing release operation without manual control of technicians, and time spent in pairing release of products produced in batches is reduced.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Corresponding to the above-mentioned unpairing method, fig. 4 is a schematic structural diagram of an unpairing apparatus in an embodiment of the present application, and as shown in fig. 4, the unpairing apparatus may include:
the detecting module 401 is configured to obtain a pairing release command, and detect a connection status of a current paired device.
An operation module 402, configured to, when there is a connected paired device, perform a pairing release operation according to the pairing release command, and send the pairing release command to the paired device, so that the paired device performs a pairing release operation according to the pairing release command.
Optionally, the unpairing device may further include:
and the reconnection module is used for performing reconnection operation when the pairing equipment which is not connected exists.
And the prompting module is used for sending the current state information to the control end when the reconnection times exceed a preset time threshold so as to enable the control end to perform prompting operation according to the state information.
Optionally, the reconnecting module may include:
and the detection unit is used for detecting the broadcast information of the next-level equipment when the unconnected paired equipment is the next-level equipment.
And the response unit is used for sending a request to the next-level equipment when the broadcast information of the next-level equipment is detected so as to enable the next-level equipment to perform response operation according to the request.
Optionally, the reconnecting module may further include:
and the polling unit is used for polling the connection state between the pairing equipment which is not connected and the upper-level equipment at a preset time interval when the pairing equipment is the upper-level equipment.
Optionally, the operation module 402 may include:
and the acquisition unit is used for clearing the paired equipment information according to the pairing release command and acquiring the original configuration information.
And the replacing unit is used for replacing the current configuration information with the original configuration information.
Optionally, the unpairing device may further include:
and the clearing module is used for clearing the information of the previous-level equipment according to the pairing release command when the current pairing state is detected to be the unpaired state.
Optionally, the unpairing device may further include:
and the sending module is used for sending a pairing removal command to the pairing equipment corresponding to the abnormal condition when the abnormal condition meeting the preset condition is detected.
In the embodiment of the application, a pairing release command is obtained, and the connection state of the current pairing equipment is detected; and when the connected pairing equipment exists, performing pairing release operation according to the pairing release command, and sending the pairing release command to the pairing equipment so that the pairing equipment performs pairing release operation according to the pairing release command. After a certain device acquires the pairing instruction, the connection state of the paired device is detected to judge whether the paired device connected exists, so that the pairing release command can be sent to the paired device, the current device and the paired device can automatically perform pairing release operation without manual control of technicians, and time spent in pairing release of products produced in batches is reduced.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the apparatus and the module described above may refer to corresponding processes in the foregoing system embodiments and method embodiments, and are not described herein again.
Fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present application. For convenience of explanation, only portions related to the embodiments of the present application are shown.
As shown in fig. 5, the terminal device 5 of this embodiment includes: at least one processor 500 (only one shown in fig. 5), a memory 501 connected to the processor 500, and a computer program 502 stored in the memory 501 and executable on the at least one processor 500, such as a unpairing program. The processor 500 executes the computer program 502 to implement the steps in the above-mentioned embodiments of the unpairing method, such as the steps S101 to S102 shown in fig. 1. Alternatively, the processor 500 executes the computer program 502 to implement the functions of the modules in the device embodiments, such as the modules 401 to 402 shown in fig. 4.
Illustratively, the computer program 502 may be partitioned into one or more modules that are stored in the memory 501 and executed by the processor 500 to accomplish the present application. The one or more modules may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 502 in the terminal device 5. For example, the computer program 502 may be divided into the detection module 401 and the operation module 402, and the specific functions of the modules are as follows:
a detection module 401, configured to obtain a pairing release command, and detect a connection status of a current pairing device;
an operation module 402, configured to, when there is a connected paired device, perform a pairing release operation according to the pairing release command, and send the pairing release command to the paired device, so that the paired device performs a pairing release operation according to the pairing release command.
The terminal device 5 may include, but is not limited to, a processor 500 and a memory 501. It will be understood by those skilled in the art that fig. 5 is only an example of the terminal device 5, and does not constitute a limitation to the terminal device 5, and may include more or less components than those shown, or combine some components, or different components, such as an input-output device, a network access device, a bus, etc.
The Processor 500 may be a Central Processing Unit (CPU), and the Processor 500 may be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, a discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 501 may in some embodiments be an internal storage unit of the terminal device 5, such as a hard disk or a memory of the terminal device 5. In other embodiments, the memory 501 may also be an external storage device of the terminal device 5, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 5. Further, the memory 501 may also include both an internal storage unit and an external storage device of the terminal device 5. The memory 501 is used for storing an operating system, an application program, a BootLoader (BootLoader), data, and other programs, such as program codes of the computer program. The memory 501 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing apparatus/terminal apparatus, a recording medium, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), an electrical carrier signal, a telecommunications signal, and a software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A method of unpairing, comprising:
acquiring a pairing release command, and detecting the connection state of the current pairing equipment;
and when the connected pairing equipment exists, performing pairing release operation according to the pairing release command, and sending the pairing release command to the pairing equipment so that the pairing equipment performs pairing release operation according to the pairing release command.
2. The unpairing method of claim 1, wherein after detecting the connection status of the current paired device, comprising:
when the pairing equipment which is not connected exists, reconnection operation is carried out;
and when the reconnection times exceed a preset time threshold, sending the current state information to a control end so that the control end carries out prompt operation according to the state information.
3. The unpairing method of claim 2, wherein performing a reconnect operation when there is a paired device that is not connected comprises:
when the pairing equipment which is not connected is the next-level equipment, detecting the broadcast information of the next-level equipment;
and when the broadcast information of the next-level equipment is detected, sending a request to the next-level equipment so that the next-level equipment carries out response operation according to the request.
4. The unpairing method of claim 2, wherein performing a reconnect operation when there is a paired device that is not connected comprises:
and when the pairing equipment which is not connected is the upper-level equipment, polling the connection state between the pairing equipment and the upper-level equipment at a preset time interval.
5. The unpairing method of claim 1, wherein the unpairing operation according to the unpairing command comprises:
clearing pairing equipment information according to the pairing release command, and acquiring original configuration information;
and replacing the current configuration information with the original configuration information.
6. The unpairing method of claim 1, wherein after obtaining the unpairing command, comprising:
and when the current pairing state is detected to be an unpaired state, clearing the information of the upper-level equipment according to the pairing release command.
7. The unpairing method according to any one of claims 1 to 6, comprising:
and when the abnormal condition meeting the preset condition is detected, sending a pairing removal command to the pairing equipment corresponding to the abnormal condition.
8. An unpairing device, comprising:
the detection module is used for acquiring a pairing release command and detecting the connection state of the current pairing equipment;
and the operation module is used for performing pairing release operation according to the pairing release command and sending the pairing release command to the paired equipment when the connected paired equipment exists, so that the paired equipment performs pairing release operation according to the pairing release command.
9. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of a method of unpairing as claimed in any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of a method of unpairing as claimed in any one of claims 1 to 7.
CN202011057013.4A 2020-09-29 2020-09-29 Unpairing method and device, terminal equipment and storage medium Active CN112187937B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011057013.4A CN112187937B (en) 2020-09-29 2020-09-29 Unpairing method and device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011057013.4A CN112187937B (en) 2020-09-29 2020-09-29 Unpairing method and device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112187937A true CN112187937A (en) 2021-01-05
CN112187937B CN112187937B (en) 2023-05-02

Family

ID=73947312

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011057013.4A Active CN112187937B (en) 2020-09-29 2020-09-29 Unpairing method and device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112187937B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113542852A (en) * 2021-07-13 2021-10-22 海信视像科技股份有限公司 Display device and control method for fast pairing with external device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105864976A (en) * 2016-04-18 2016-08-17 广东美的环境电器制造有限公司 Linkage control method and system for household appliances and server
CN106998496A (en) * 2017-04-06 2017-08-01 深圳创维数字技术有限公司 The method and system that a kind of set top box bluetooth is de-coordinated automatically
CN108829076A (en) * 2018-09-12 2018-11-16 泛联(北京)科技有限公司 A kind of smart machine grouping inter-linked controlling method and system
CN109906561A (en) * 2017-08-31 2019-06-18 华为技术有限公司 A kind of matching method cancels matching method, terminal device and external equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105864976A (en) * 2016-04-18 2016-08-17 广东美的环境电器制造有限公司 Linkage control method and system for household appliances and server
CN106998496A (en) * 2017-04-06 2017-08-01 深圳创维数字技术有限公司 The method and system that a kind of set top box bluetooth is de-coordinated automatically
CN109906561A (en) * 2017-08-31 2019-06-18 华为技术有限公司 A kind of matching method cancels matching method, terminal device and external equipment
CN108829076A (en) * 2018-09-12 2018-11-16 泛联(北京)科技有限公司 A kind of smart machine grouping inter-linked controlling method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113542852A (en) * 2021-07-13 2021-10-22 海信视像科技股份有限公司 Display device and control method for fast pairing with external device
CN113542852B (en) * 2021-07-13 2023-03-24 海信视像科技股份有限公司 Display device and control method for fast pairing with external device

Also Published As

Publication number Publication date
CN112187937B (en) 2023-05-02

Similar Documents

Publication Publication Date Title
CN105262792A (en) Vehicle abnormality processing method and vehicle-mounted terminal
CN112579356B (en) Fault processing method and server
CN104579774A (en) Switching method and device for main control equipment
CN112187937A (en) Method and device for removing pairing, terminal equipment and storage medium
CN111556125A (en) Access request distribution method, load balancing equipment and electronic equipment
CN111181837A (en) Method and device for sending alarm information
US20140068048A1 (en) Managing remote devices
CN105373393A (en) Method for realizing hot plug of equipment in OS in non-event driven mode
CN107333252B (en) Communication exception handling method and device and smart card terminal
CN110505609B (en) Bluetooth interaction method, bluetooth interaction device and terminal equipment
CN114006911B (en) Data processing method and device, terminal equipment and storage medium
CN111147542A (en) Secret-free access setting method, device, equipment and medium
CN110752972A (en) Network card state monitoring method, device, equipment and medium
CN112510644B (en) Short circuit protection method and device for UPS parallel operation system and UPS
CN114328080A (en) Firmware state detection method and device and electronic equipment
CN113849135A (en) Log access method and device and server
CN111464357A (en) Resource allocation method and device
CN112769889B (en) Service data pushing method and device, storage medium and electronic device
CN113806069B (en) Nuclear power station system interaction method and device, peripheral system and storage medium
CN114465963B (en) Switch abnormity detection method and device, electronic equipment and computer readable medium
CN112866933B (en) Method, device and terminal for controlling sending of alarm short message
CN113655737B (en) Vehicle-mounted electronic controller rapid upgrading system and method transmitted through CAN
CN114691016A (en) Equipment capacity configuration method and device, terminal equipment and storage medium
CN110944063B (en) Programmable logic control device connection method, control system and readable medium
CN111130919B (en) Interface monitoring method, device and system and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant