CN108200192B - Method and device for controlling binding of terminal equipment - Google Patents

Method and device for controlling binding of terminal equipment Download PDF

Info

Publication number
CN108200192B
CN108200192B CN201810090295.4A CN201810090295A CN108200192B CN 108200192 B CN108200192 B CN 108200192B CN 201810090295 A CN201810090295 A CN 201810090295A CN 108200192 B CN108200192 B CN 108200192B
Authority
CN
China
Prior art keywords
binding
target terminal
account information
terminal equipment
information
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.)
Active
Application number
CN201810090295.4A
Other languages
Chinese (zh)
Other versions
CN108200192A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201810090295.4A priority Critical patent/CN108200192B/en
Publication of CN108200192A publication Critical patent/CN108200192A/en
Application granted granted Critical
Publication of CN108200192B publication Critical patent/CN108200192B/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/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • 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
    • 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/141Setup of application sessions

Abstract

The disclosure relates to a method and a device for controlling binding of terminal equipment. The method comprises the following steps: receiving binding request information sent by terminal equipment; the binding request information requests to verify whether the binding account information and the target terminal equipment can be bound or not; and when detecting that the preset database comprises the corresponding relation between the binding account information and the identification of the target terminal equipment, sending binding permission response information to the terminal equipment, wherein the binding permission response information indicates that the binding operation between the binding account and the target terminal equipment is permitted. Whether the target terminal equipment can be bound with the binding account information or not is verified through the server, so that the target terminal equipment can be prevented from being bound by illegal users, and the safety of the terminal equipment after being bound in the using process is effectively improved.

Description

Method and device for controlling binding of terminal equipment
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method and an apparatus for controlling binding of a terminal device.
Background
The intelligent device can support the protocol of internet communication to realize the remote communication between the device and the user, thereby supporting the remote operation and use function of the intelligent device by the user. In the using process, a binding mapping relationship is often required to be established between the unique identifier of the intelligent device and the account information of the user, so that the highest control authority and the attribution of the intelligent device are uniquely identified, and the highest control authority of the intelligent device is only possessed by the binding user of the device.
Disclosure of Invention
In order to overcome the problems in the related art, the embodiments of the present disclosure provide a method and an apparatus for controlling binding of a terminal device. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, a method for controlling binding of a terminal device is provided, including:
receiving binding request information sent by terminal equipment; the binding request information carries an identification of a target terminal device and binding account information to be bound with the target terminal device; the binding request information requests to verify whether the binding account information and the target terminal equipment can be bound or not;
when detecting that a preset database comprises the corresponding relation between the binding account information and the identification of the target terminal equipment, sending binding permission response information to the terminal equipment; the binding permission response information indicates that the binding operation between the binding account and the target terminal equipment is permitted; and the preset database prestores the corresponding relation between the binding account information and the identification of the target terminal equipment.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: receiving binding request information sent by terminal equipment; the binding verification request information carries the identification of the target terminal equipment and the binding account information to be bound with the target terminal equipment; the binding request information requests to verify whether the binding account information and the target terminal equipment can be bound or not; when detecting that the preset database comprises the corresponding relation between the binding account information and the identification of the target terminal equipment, sending binding permission response information to the terminal equipment, wherein the binding permission response information indicates that the binding operation between the binding account and the target terminal equipment is permitted; and pre-storing the corresponding relation between the binding account information and the identification of the target terminal equipment in a preset database. In the process of binding the target terminal equipment, the server verifies whether the target terminal equipment can be bound with the binding account information or not, so that the target terminal equipment can be prevented from being bound by an illegal user, and the safety of the terminal equipment after being bound in the using process is effectively improved.
In one embodiment, the method further comprises:
when detecting that the preset database does not include the corresponding relation between the binding account information and the identification of the target terminal equipment, detecting whether the authorization account information corresponding to the target terminal equipment includes the binding account information;
when detecting that the authorization account information corresponding to the target terminal equipment comprises the binding account information, sending the binding permission response information to the terminal equipment;
and when detecting that the authorization account information corresponding to the target terminal equipment does not comprise the binding account information, sending binding rejection response information to the terminal equipment, wherein the binding rejection response information indicates that the binding operation of the binding account and the target terminal equipment is rejected.
In one embodiment, the method further comprises:
acquiring purchasing account information used when the target terminal equipment is purchased;
acquiring the distributed identification of the target terminal equipment;
determining the preset database according to the purchasing account information and the identification of the target terminal device; and the purchasing account information is used as binding account information capable of being bound with the target terminal equipment.
In one embodiment, the method further comprises:
receiving authorization information; the authorization information carries the purchase account information and authorizes the authorization account information capable of being bound with the target terminal equipment;
storing the corresponding relation between the authorization information and the purchasing account information; or adding the authorization account information to the table entry in the preset database corresponding to the target device.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for controlling terminal device binding, including:
the first receiving module is used for receiving the binding request information sent by the terminal equipment; the binding request information carries an identification of a target terminal device and binding account information to be bound with the target terminal device; the binding request information requests to verify whether the binding account information and the target terminal equipment can be bound or not;
the first detection module is used for detecting whether a preset database comprises the corresponding relation between the binding account information received by the first receiving module and the identification of the target terminal equipment or not; the preset database prestores the corresponding relation between the binding account information and the identification of the target terminal equipment;
the first sending module is used for sending binding permission response information to the terminal equipment when the first detection module detects that the preset database comprises the corresponding relation between the binding account information and the identification of the target terminal equipment; and the binding permission response information indicates that the binding operation between the binding account and the target terminal equipment is permitted.
In one embodiment, the apparatus further comprises: the system comprises a second detection module, a second sending module and a third sending module;
the second detection module is configured to detect whether the authorization account information corresponding to the target terminal device includes the binding account information when the first detection module detects that the preset database does not include the correspondence between the binding account information and the identifier of the target terminal device;
the second sending module is configured to send the binding permission response information to the terminal device when the second detection module detects that the authorization account information corresponding to the target terminal device includes the binding account information;
the third sending module is configured to send binding rejection response information to the terminal device when the second detecting module detects that the authorization account information corresponding to the target terminal device does not include the binding account information, where the binding rejection response information indicates that the binding operation between the binding account and the target terminal device is rejected.
In one embodiment, the apparatus further comprises: the device comprises a first acquisition module, a second acquisition module and a determination module;
the first acquisition module is used for acquiring purchasing account information used when the target terminal equipment is purchased;
the second obtaining module is configured to obtain an identifier of the target terminal device to be distributed;
the determining module is configured to determine the preset database according to the purchasing account information acquired by the first acquiring module and the identifier of the target terminal device acquired by the second acquiring module; and the purchasing account information is used as binding account information capable of being bound with the target terminal equipment.
In one embodiment, the apparatus further comprises: the second receiving module and the processing module;
the second receiving module is used for receiving authorization information; the authorization information carries the purchase account information and authorizes the authorization account information capable of being bound with the target terminal equipment;
the processing module is used for storing the corresponding relation between the authorization information received by the receiving module and the purchasing account information; or adding the authorization account information received by the receiving module to the table entry corresponding to the target device in the preset database.
According to a third aspect of the embodiments of the present disclosure, an apparatus for controlling terminal device binding is provided, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of the method of any one of the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of the method of any one of the first aspects.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flow chart illustrating a method of controlling terminal device binding according to an example embodiment.
Fig. 2 is a flowchart illustrating a method of controlling terminal device binding according to an exemplary embodiment.
Fig. 3 is a block diagram illustrating an apparatus for controlling binding of terminal devices according to an example embodiment.
Fig. 4 is a block diagram illustrating an apparatus for controlling terminal device binding according to an exemplary embodiment.
Fig. 5 is a block diagram illustrating an apparatus for controlling terminal device binding according to a third exemplary embodiment.
Fig. 6 is a block diagram illustrating an apparatus for controlling binding of terminal devices according to a fourth exemplary embodiment.
Fig. 7 is a block diagram illustrating an apparatus 90 for controlling terminal device binding according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
However, in an actual using process, many users may reset the device through a hardware operation button on the smart device (for example, long pressing of a switch key for 5 seconds may implement resetting, and the like), where the resetting refers to clearing the network information and the bound account information connected to the smart device, so as to facilitate other users to connect the smart device to other networks and establish a binding relationship with other accounts. If the user can reset and re-bind with any other account in such a way, other unknown users may possibly bind the intelligent device, and a series of potential safety hazards are brought to the use authority of the intelligent device. Therefore, it is necessary to optimize the binding process of the smart device to some extent, so as to improve the safety of the smart device in use.
In order to solve the above technical problem, the present disclosure provides a method for controlling terminal device binding, and fig. 1 is a flowchart illustrating a method for controlling terminal device binding according to an exemplary embodiment, and as shown in fig. 1, the method includes the following steps S101-S102:
in step S101, receiving binding request information sent by a terminal device; the binding verification request information carries the identification of the target terminal equipment and the binding account information to be bound with the target terminal equipment; the binding request information requests to verify whether the binding account information and the target terminal device can be bound.
In step S102, when it is detected that the preset database includes a corresponding relationship between the binding account information and the identifier of the target terminal device, sending binding permission response information to the terminal device, where the binding permission response information indicates that the binding operation between the binding account and the target terminal device is permitted; and pre-storing the corresponding relation between the binding account information and the identification of the target terminal equipment in a preset database.
When a target terminal device needs to be bound, the terminal device sends binding request information to a server, wherein the binding request information carries an identification of the target terminal device and binding account information to be bound with the target terminal device, so that the server can verify whether the target terminal device and the binding account information can be bound, and when the server verifies that the target terminal device and the binding account information can be bound, the server sends binding permission response information to the terminal device, and the binding permission response information indicates that the binding account and the target terminal device are allowed to be bound; and after the terminal equipment receives the binding permission response information, the terminal equipment executes binding operation.
The terminal device may be, for example: the mobile phone and the target terminal device may be, for example, smart home devices.
The implementation mode that the server verifies whether the target terminal device and the binding account information can be bound is as follows:
the method comprises the steps that a database is prestored in a server, the database stores the identification of each terminal device and binding account information capable of being bound with the terminal device, after the binding request information sent by the terminal device is received, the database is searched, whether the database comprises a table item of the corresponding relation between the identification of the target terminal device carried in the binding request information and the binding account information is checked, and when the database comprises the table item of the corresponding relation between the identification of the target terminal device carried in the binding request information and the binding account information, the identification of the target terminal device carried in the binding request information and the binding account information can be bound; and when the database does not include the table entry of the corresponding relation between the identification of the target terminal device and the binding account information carried in the binding request information, determining that the identification of the target terminal device and the binding account information carried in the binding request information cannot be bound.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: receiving binding request information sent by terminal equipment; the binding verification request information carries the identification of the target terminal equipment and the binding account information to be bound with the target terminal equipment; the binding request information requests to verify whether the binding account information and the target terminal equipment can be bound or not; when detecting that the preset database comprises the corresponding relation between the binding account information and the identification of the target terminal equipment, sending binding permission response information to the terminal equipment, wherein the binding permission response information indicates that the binding operation between the binding account and the target terminal equipment is permitted; and pre-storing the corresponding relation between the binding account information and the identification of the target terminal equipment in a preset database. In the process of binding the target terminal equipment, the server verifies whether the target terminal equipment can be bound with the binding account information or not, so that the target terminal equipment can be prevented from being bound by an illegal user, and the safety of the terminal equipment after being bound in the using process is effectively improved.
The user having the highest authority of the target terminal device should be the purchaser of the target terminal device, because he pays a certain usage fee for the development cost of the target terminal device, and thus the purchaser has the highest authority of the purchased target terminal device. Therefore, the buyer has the binding right with the target terminal device, and at this time, the method further comprises the following steps a1-a 3:
in step a1, purchase account information used when purchasing the target terminal device is acquired.
In step a2, the identification of the target terminal device of the delivery is acquired.
In step a3, determining a preset database according to the purchase account information and the identifier of the target terminal device; and the purchasing account information is used as binding account information capable of being bound with the target terminal equipment.
After a purchaser purchases a target terminal device, purchasing account information corresponding to the purchaser is acquired, further, when the target terminal device is delivered to the user, an identifier of the target terminal device delivered to the user is acquired, and the preset database is determined based on the purchasing account information and the identifier of the target terminal device.
The identification of different target terminal devices is different.
The preset database may be an empty entry as shown in table 1 (of course, a storage manner in other format is also available), and after the purchase account information and the identifier of the corresponding target terminal device are obtained, the information is added to the corresponding position in table 1.
TABLE 1
Account information Identification of terminal equipment
Obtaining the information of a purchase account used when the target terminal equipment is purchased as AA; if the identifier of the target terminal device for delivery is 123, the information is added to table 1, and table 2 is obtained:
TABLE 2
Account information Identification of terminal equipment
AA 123
CC 124
The purchase account information may be: when a buyer purchases a target terminal device through an online shopping mall, logging in account information of the online shopping mall; or the purchase account information reserved for the buyer when the buyer purchases the target terminal device through the physical store.
For example, when a user purchases a certain target terminal device through an application program (e.g., mijia, millettia mall, etc.) on the terminal device, account information currently used in the user application program is recorded as the purchase account information (e.g., logged-in millet account information), and meanwhile, in an order delivery process for the target terminal device purchased by the user, an identifier of the target terminal device mailed by the user is acquired and recorded, and the purchase account information and the identifier of the target terminal device are stored in a preset database of the server.
Taking table 2 as an example, when a user wants to bind a purchased target terminal device through an application program (e.g., mijia app) on the terminal device, an identifier (e.g., 123) of the target terminal device that the user wants to bind and binding account information (e.g., AA) that the user wants to bind with the target terminal device are carried in binding request information through the terminal device and sent to a server, and after receiving the binding request information, the server retrieves an entry in table 2 that includes a correspondence between 123 and AA, and at this time, the server sends binding permission response information to the terminal device, so that the terminal device performs a binding operation.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the preset database is determined according to the purchase account information used when the target terminal device is purchased and the distributed identification of the target terminal device, so that the accuracy of the preset database is effectively improved.
Since the purchaser may be helped to buy by others, the real purchaser's account information may not be the purchase account information used when purchasing the target terminal device, in one embodiment, the method further includes the following steps b1-b 2:
in step b1, receiving authorization information; the authorization information carries purchase account information to authorize the authorization account information of the bindable target terminal device.
In step b2, storing the corresponding relationship between the authorization information and the purchasing account information; or adding the authorized account information into the corresponding table entry of the target device.
Continuing to take table 2 as an example, after the user a and the user B purchase the target terminal device, at this time, the relationship between the purchase account information (AA) of the user a and the identifier (123) of the target terminal device is stored in the preset database, but since the true purchaser is the user B, when the user B wants to bind the account information (for example, BB) of the user a to the target terminal device, the user B sends the account information (BB) of the user B and the identifier (123) of the target terminal device to the server through the terminal device, since the entry stored in the preset database is the relationship between AA and 123, and the relationship between BB and 123 is not stored, the server considers that the user B is an illegal user, and refuses to bind the account information (BB) to the terminal device.
Under the above circumstances, the user a may also send an authorization message to the server through the terminal device, where the authorization message carries purchase account information and authorizes an authorization account information of the bindable target terminal device, and adds the authorization account information to a table entry corresponding to the target device.
Continuing with the above example, after the user a helps the user B purchase the target terminal device, the user a sends authorization information to the server through the terminal device, where the authorization information carries authorization account information BB authorized by the user a and capable of binding the target terminal device, and after the server receives the authorization information, the authorization account information BB is added to table 2 to obtain table 3, and certainly, the authorization account information may also be separately stored:
TABLE 3
Account information Identification of terminal equipment Authorized account information
AA 123 BB
CC 124 DD
For example: the authorization information may be used to authorize other account information in an application program of a shopping mall when the target terminal device is purchased, or may be used to authorize the other account information through a corresponding application program after the target terminal device is bound for use.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the preset database is determined according to the authorization account information corresponding to the purchase account information used by the target terminal device and the distributed identification of the target terminal device, so that the accuracy of the preset database is effectively improved.
In one embodiment, the above method further comprises the following steps c1-c 3:
in step c1, when it is detected that the preset database does not include the corresponding relationship between the binding account information and the identifier of the target terminal device, it is detected whether the authorization account information corresponding to the target terminal device includes the binding account information.
In step c2, when it is detected that the authorization account information corresponding to the target terminal device includes the binding account information, the binding permission response information is sent to the terminal device.
In step c3, when it is detected that the authorization account information corresponding to the target terminal device does not include the binding account information, sending binding rejection response information to the terminal device, where the binding rejection response information indicates that the binding operation between the binding account and the target terminal device is rejected.
When the binding account information is not purchasing account information for purchasing the target terminal device, it cannot be determined that the binding account information is information of an unfamiliar user, and therefore, the binding account information may be authorized account information authorized by the purchasing account information and capable of being bound with the target terminal device, at this time, it is further required to determine whether the binding account information is included in the authorized account information, and when it is detected that the authorized account information includes the binding account information, binding permission response information is sent to the terminal device; and when detecting that the binding account information is not included in the authorization account information, sending binding refusing response information to the terminal equipment, and determining that the binding account information is the information of the strange user.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: whether the terminal equipment is a legal user or not is further inquired through the authorized account information, and the safety of the terminal equipment in the using process after the terminal equipment is bound is effectively improved.
The binding in the embodiment of the present disclosure refers to establishing a one-to-one mapping relationship between the target terminal device and the account of the user, so as to identify the dependency relationship between the target terminal device and the user. Only the target terminal device bound with the user account information can confirm that the target terminal device belongs to a certain user, and the purpose of this is to ensure the private property of the intelligent device. When the target terminal device is remotely operated through the application program, the target terminal device is bound with the account.
Fig. 2 is a flowchart illustrating a method for controlling terminal device binding according to an exemplary embodiment, and as shown in fig. 2, the method includes the following steps S201 to S2011:
in step S201, purchase account information used when purchasing the target terminal device is acquired.
In step S202, the identification of the target terminal device of the delivery is acquired.
In step S203, determining a preset database according to the purchase account information and the identifier of the target terminal device; and the purchasing account information is used as binding account information capable of being bound with the target terminal equipment.
In step S204, authorization information is received; the authorization information carries purchase account information to authorize the authorization account information of the bindable target terminal device.
In step S205, the authorization account information is added to the entry corresponding to the target device in the preset database.
In step S206, receiving binding request information sent by the terminal device; the binding request information carries the identification of the target terminal equipment and the binding account information to be bound with the target terminal equipment; the binding request information requests to verify whether the binding account information and the target terminal device can be bound.
In step S207, a corresponding relationship between the binding account information and the identifier of the target terminal device in the preset database is detected.
In step S208, when it is detected that the preset database includes a corresponding relationship between the binding account information and the identifier of the target terminal device, sending binding permission response information to the terminal device; and the permission binding response information indicates that the binding operation between the binding account and the target terminal equipment is permitted.
In step S209, when it is detected that the preset database does not include the corresponding relationship between the binding account information and the identifier of the target terminal device, it is detected whether the authorization account information corresponding to the target terminal device includes the binding account information.
In step S2010, when it is detected that the authorization account information corresponding to the target terminal device includes the binding account information, sending binding permission response information to the terminal device.
In step S2011, when it is detected that the authorization account information corresponding to the target terminal device does not include the binding account information, binding rejection response information is sent to the terminal device, where the binding rejection response information indicates that the binding operation between the binding account and the target terminal device is rejected.
The following are exemplified: the user can purchase a certain target terminal device in a rice or millet mall, only the account of the purchaser can be bound with the target terminal device by default at the moment, and certainly, account information of other users can be authorized to be bound for use while purchasing.
And in the process that the target terminal device performs binding request verification to the server, only the account of the purchaser of the target terminal device and the account authorized by the purchaser are allowed to be bound, and other accounts are considered to have no authority. Therefore, the binding use of other illegal and intrusion accounts on the device can be prevented, and the safety of the intelligent device is improved.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 3 is a block diagram illustrating an apparatus for controlling terminal device binding according to an exemplary embodiment, where the apparatus for controlling terminal device binding, as shown in fig. 3, includes:
a first receiving module 11, configured to receive binding request information sent by a terminal device; the binding request information carries an identification of a target terminal device and binding account information to be bound with the target terminal device; the binding request information requests to verify whether the binding account information and the target terminal equipment can be bound or not;
a first detecting module 12, configured to detect whether a preset database includes a correspondence between the binding account information received by the first receiving module 11 and the identifier of the target terminal device; the preset database prestores the corresponding relation between the binding account information and the identification of the target terminal equipment;
a first sending module 13, configured to send binding permission response information to the terminal device when the first detecting module 12 detects that the preset database includes a correspondence between the binding account information and the identifier of the target terminal device; and the binding permission response information indicates that the binding operation between the binding account and the target terminal equipment is permitted.
In one embodiment, as shown in fig. 4, the apparatus further comprises: a second detection module 14, a second sending module 15 and a third sending module 16;
the second detection module 14 is configured to detect whether the authorization account information corresponding to the target terminal device includes the binding account information when the first detection module 12 detects that the preset database does not include the correspondence between the binding account information and the identifier of the target terminal device;
the second sending module 15 is configured to send the binding permission response information to the terminal device when the second detecting module 14 detects that the authorization account information corresponding to the target terminal device includes the binding account information;
the third sending module 16 is configured to send binding rejection response information to the terminal device when the second detecting module 14 detects that the authorization account information corresponding to the target terminal device does not include the binding account information, where the binding rejection response information indicates that the binding operation between the binding account and the target terminal device is rejected.
In one embodiment, as shown in fig. 5, the apparatus further comprises: a first acquisition module 17, a second acquisition module 18 and a determination module 19;
the first obtaining module 17 is configured to obtain purchase account information used when the target terminal device is purchased;
the second obtaining module 18 is configured to obtain an identifier of the target terminal device to be distributed;
the determining module 19 is configured to determine the preset database according to the purchasing account information acquired by the first acquiring module 17 and the identifier of the target terminal device acquired by the second acquiring module 18; and the purchasing account information is used as binding account information capable of being bound with the target terminal equipment.
In one embodiment, as shown in fig. 6, the apparatus further comprises: a second receiving module 110 and a processing module 111;
the second receiving module 110 is configured to receive authorization information; the authorization information carries the purchase account information and authorizes the authorization account information capable of being bound with the target terminal equipment;
the processing module 111 is configured to store a corresponding relationship between the authorization information received by the second receiving module 110 and the purchase account information; or adding the authorization account information received by the receiving module to the table entry corresponding to the target device in the preset database.
According to a third aspect of the embodiments of the present disclosure, an apparatus for controlling terminal device binding is provided, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving binding request information sent by terminal equipment; the binding request information carries an identification of a target terminal device and binding account information to be bound with the target terminal device; the binding request information requests to verify whether the binding account information and the target terminal equipment can be bound or not;
when detecting that a preset database comprises the corresponding relation between the binding account information and the identification of the target terminal equipment, sending binding permission response information to the terminal equipment; the binding permission response information indicates that the binding operation between the binding account and the target terminal equipment is permitted; and the preset database prestores the corresponding relation between the binding account information and the identification of the target terminal equipment.
The processor may be further configured to:
the method further comprises the following steps:
when detecting that the preset database does not include the corresponding relation between the binding account information and the identification of the target terminal equipment, detecting whether the authorization account information corresponding to the target terminal equipment includes the binding account information;
when detecting that the authorization account information corresponding to the target terminal equipment comprises the binding account information, sending the binding permission response information to the terminal equipment;
and when detecting that the authorization account information corresponding to the target terminal equipment does not comprise the binding account information, sending binding rejection response information to the terminal equipment, wherein the binding rejection response information indicates that the binding operation of the binding account and the target terminal equipment is rejected.
The method further comprises the following steps:
acquiring purchasing account information used when the target terminal equipment is purchased;
acquiring the distributed identification of the target terminal equipment;
determining the preset database according to the purchasing account information and the identification of the target terminal device; and the purchasing account information is used as binding account information capable of being bound with the target terminal equipment.
The method further comprises the following steps:
receiving authorization information; the authorization information carries the purchase account information and authorizes the authorization account information capable of being bound with the target terminal equipment;
storing the corresponding relation between the authorization information and the purchasing account information; or adding the authorization account information to the table entry in the preset database corresponding to the target device.
Fig. 7 is a block diagram illustrating an apparatus 90 for controlling terminal device binding according to an example embodiment. For example, the apparatus 90 may be provided as a server. The apparatus 90 comprises a processing component 902 further comprising one or more processors, and memory resources, represented by memory 903, for storing instructions, e.g., applications, executable by the processing component 902. The application programs stored in memory 903 may include one or more modules that each correspond to a set of instructions. Further, the processing component 902 is configured to execute instructions to perform the above-described methods.
The apparatus 90 may also include a power component 906 configured to perform power management of the apparatus 90, a wired or wireless network interface 905 configured to connect the apparatus 90 to a network, and an input/output (I/O) interface 908. The apparatus 90 may operate based on an operating system stored in the memory 903, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
A non-transitory computer readable storage medium, wherein instructions of the storage medium, when executed by a processor of an apparatus 90, enable the apparatus 90 to perform the above method of controlling binding of terminal devices, the method comprising:
receiving binding request information sent by terminal equipment; the binding request information carries an identification of a target terminal device and binding account information to be bound with the target terminal device; the binding request information requests to verify whether the binding account information and the target terminal equipment can be bound or not;
when detecting that a preset database comprises the corresponding relation between the binding account information and the identification of the target terminal equipment, sending binding permission response information to the terminal equipment; the binding permission response information indicates that the binding operation between the binding account and the target terminal equipment is permitted; and the preset database prestores the corresponding relation between the binding account information and the identification of the target terminal equipment.
The method further comprises the following steps:
when detecting that the preset database does not include the corresponding relation between the binding account information and the identification of the target terminal equipment, detecting whether the authorization account information corresponding to the target terminal equipment includes the binding account information;
when detecting that the authorization account information corresponding to the target terminal equipment comprises the binding account information, sending the binding permission response information to the terminal equipment;
and when detecting that the authorization account information corresponding to the target terminal equipment does not comprise the binding account information, sending binding rejection response information to the terminal equipment, wherein the binding rejection response information indicates that the binding operation of the binding account and the target terminal equipment is rejected.
The method further comprises the following steps:
acquiring purchasing account information used when the target terminal equipment is purchased;
acquiring the distributed identification of the target terminal equipment;
determining the preset database according to the purchasing account information and the identification of the target terminal device; and the purchasing account information is used as binding account information capable of being bound with the target terminal equipment.
The method further comprises the following steps:
receiving authorization information; the authorization information carries the purchase account information and authorizes the authorization account information capable of being bound with the target terminal equipment;
storing the corresponding relation between the authorization information and the purchasing account information; or adding the authorization account information to the table entry in the preset database corresponding to the target device.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (6)

1. A method for controlling binding of terminal equipment is characterized by comprising the following steps:
receiving binding request information sent by terminal equipment; the binding request information carries an identification of a target terminal device and binding account information to be bound with the target terminal device; the binding request information requests to verify whether the binding account information and the target terminal equipment can be bound or not;
when detecting that a preset database comprises the corresponding relation between the binding account information and the identification of the target terminal equipment, sending binding permission response information to the terminal equipment; the binding permission response information indicates that the binding operation between the binding account and the target terminal equipment is permitted; the preset database prestores the corresponding relation between the binding account information and the identification of the target terminal equipment;
when detecting that the preset database does not include the corresponding relation between the binding account information and the identification of the target terminal equipment, detecting whether the authorization account information corresponding to the target terminal equipment includes the binding account information;
when detecting that the authorization account information corresponding to the target terminal equipment comprises the binding account information, sending the binding permission response information to the terminal equipment;
when detecting that the authorization account information corresponding to the target terminal device does not include the binding account information, sending binding rejection response information to the terminal device, wherein the binding rejection response information indicates that the binding operation between the binding account and the target terminal device is rejected,
the method further comprises the following steps:
receiving authorization information; the authorization information carries purchase account information used when the target terminal equipment is purchased, and authorization account information capable of binding the target terminal equipment is authorized; the authorization information is sent by a user who purchases the target terminal equipment, the authorization account information is account information of the user who uses the target terminal equipment, and the user who purchases the target terminal equipment is different from the user who uses the target terminal equipment;
storing the corresponding relation between the authorization information and the purchasing account information; or adding the authorization account information to the table entry in the preset database corresponding to the target device.
2. The method of claim 1, further comprising:
acquiring the purchasing account information;
acquiring the distributed identification of the target terminal equipment;
determining the preset database according to the purchasing account information and the identification of the target terminal device; and the purchasing account information is used as binding account information capable of being bound with the target terminal equipment.
3. An apparatus for controlling binding of terminal devices, comprising:
the first receiving module is used for receiving the binding request information sent by the terminal equipment; the binding request information carries an identification of a target terminal device and binding account information to be bound with the target terminal device; the binding request information requests to verify whether the binding account information and the target terminal equipment can be bound or not;
the first detection module is used for detecting whether a preset database comprises the corresponding relation between the binding account information received by the first receiving module and the identification of the target terminal equipment or not; the preset database prestores the corresponding relation between the binding account information and the identification of the target terminal equipment;
the first sending module is used for sending binding permission response information to the terminal equipment when the first detection module detects that the preset database comprises the corresponding relation between the binding account information and the identification of the target terminal equipment; the binding permission response information indicates that the binding operation between the binding account and the target terminal equipment is permitted;
the second detection module is used for detecting whether the authorization account information corresponding to the target terminal device comprises the binding account information or not when the first detection module detects that the preset database does not comprise the corresponding relation between the binding account information and the identifier of the target terminal device;
the second sending module is configured to send the binding permission response information to the terminal device when the second detection module detects that the authorization account information corresponding to the target terminal device includes the binding account information;
a third sending module, configured to send binding rejection response information to the terminal device when the second detecting module detects that the authorization account information corresponding to the target terminal device does not include the binding account information, where the binding rejection response information indicates that the binding operation between the binding account and the target terminal device is rejected,
the device further comprises: the second receiving module and the processing module;
the second receiving module is used for receiving authorization information; the authorization information carries purchase account information used when the target terminal equipment is purchased, and authorization account information capable of binding the target terminal equipment is authorized; the authorization information is sent by a user who purchases the target terminal equipment, the authorization account information is account information of the user who uses the target terminal equipment, and the user who purchases the target terminal equipment is different from the user who uses the target terminal equipment;
the processing module is used for storing the corresponding relation between the authorization information received by the receiving module and the purchasing account information; or adding the authorization account information received by the receiving module to the table entry corresponding to the target device in the preset database.
4. The apparatus of claim 3, further comprising: the device comprises a first acquisition module, a second acquisition module and a determination module;
the first acquisition module is used for acquiring the purchasing account information;
the second obtaining module is configured to obtain an identifier of the target terminal device to be distributed;
the determining module is configured to determine the preset database according to the purchasing account information acquired by the first acquiring module and the identifier of the target terminal device acquired by the second acquiring module; and the purchasing account information is used as binding account information capable of being bound with the target terminal equipment.
5. An apparatus for controlling binding of terminal devices, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of the method of claim 1 or 2.
6. A computer-readable storage medium having stored thereon computer instructions, which when executed by a processor, perform the steps of the method of claim 1 or 2.
CN201810090295.4A 2018-01-30 2018-01-30 Method and device for controlling binding of terminal equipment Active CN108200192B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810090295.4A CN108200192B (en) 2018-01-30 2018-01-30 Method and device for controlling binding of terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810090295.4A CN108200192B (en) 2018-01-30 2018-01-30 Method and device for controlling binding of terminal equipment

Publications (2)

Publication Number Publication Date
CN108200192A CN108200192A (en) 2018-06-22
CN108200192B true CN108200192B (en) 2022-02-22

Family

ID=62591908

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810090295.4A Active CN108200192B (en) 2018-01-30 2018-01-30 Method and device for controlling binding of terminal equipment

Country Status (1)

Country Link
CN (1) CN108200192B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108923948A (en) * 2018-08-01 2018-11-30 上海小蚁科技有限公司 Camera binding method, device and its medium
CN109274726B (en) * 2018-08-31 2020-07-07 阿里巴巴集团控股有限公司 Binding method, migration method, binding device, migration device, computing equipment and storage medium
CN113438264B (en) * 2020-03-23 2023-07-11 未来穿戴技术有限公司 Wearable massager connection method, device, computer equipment and storage medium
CN112202747A (en) * 2020-09-24 2021-01-08 青岛海尔科技有限公司 Target device binding method and device, storage medium and electronic device
CN112712340A (en) * 2020-12-31 2021-04-27 新奥数能科技有限公司 Method and system for managing energy equipment users
CN113285940B (en) * 2021-05-17 2023-09-19 深圳Tcl新技术有限公司 Equipment connection method and device
CN113778354A (en) * 2021-09-14 2021-12-10 广州众诺电子技术有限公司 Device management system and device management method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101894222A (en) * 2009-05-19 2010-11-24 上海易狄欧电子科技有限公司 Electronic book downloading method and purchasing system

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110065420A1 (en) * 2009-09-13 2011-03-17 Reyes Randy De Los Method and system for binding payment methods and payment information to mobile devices
CN102821093B (en) * 2012-06-29 2016-03-23 北京牡丹电子集团有限责任公司 A kind of support cross-terminal to apply content protecting authoring system and method
CN103729590A (en) * 2013-12-27 2014-04-16 四川长虹电器股份有限公司 Method, device and system for setting equipment access right
CN104780155B (en) * 2015-03-16 2018-03-06 小米科技有限责任公司 Apparatus bound method and device
CN106161385B (en) * 2015-04-15 2020-06-16 腾讯科技(上海)有限公司 Remote control method and device for equipment
CN105100190B (en) * 2015-05-21 2019-05-10 小米科技有限责任公司 The methods, devices and systems that the control planning of account and equipment is managed
CN106487767B (en) * 2015-08-31 2020-01-21 阿里巴巴集团控股有限公司 Method and device for updating verification information
CN105656948A (en) * 2016-03-30 2016-06-08 北京小米移动软件有限公司 Account login method and device
CN105897534A (en) * 2016-06-30 2016-08-24 广东美的制冷设备有限公司 Binding method, binding device, equipment, intelligent terminal and binding system
CN106790156B (en) * 2016-12-29 2020-12-22 海尔优家智能科技(北京)有限公司 Intelligent device binding method and device
CN107122630B (en) * 2017-04-26 2020-07-17 新华三技术有限公司 Equipment authorization management method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101894222A (en) * 2009-05-19 2010-11-24 上海易狄欧电子科技有限公司 Electronic book downloading method and purchasing system

Also Published As

Publication number Publication date
CN108200192A (en) 2018-06-22

Similar Documents

Publication Publication Date Title
CN108200192B (en) Method and device for controlling binding of terminal equipment
US10970377B2 (en) Systems and methods for authenticating a user based on a computing device
JP6135963B2 (en) Method, terminal, server, and system for sharing a virtual SIM card among a plurality of terminals
CN110351339B (en) Service processing method and device and server
CN108234505B (en) Account login method and system
US10045202B2 (en) Apparatus for network access setup and method therefor
CN104378343B (en) The password method for retrieving of network account, Apparatus and system
JP6388950B2 (en) Method for processing service data, user terminal, and service terminal
KR20160096202A (en) Network payment method, apparatus and system
US9591485B2 (en) Provisioning subscriptions to user devices
WO2015077993A1 (en) Installation package authorization method and device
JP7080640B2 (en) Resource access control method and equipment
CN114245403A (en) Equipment network distribution method and device, electronic equipment and storage medium
CN112819454B (en) Payment method, gateway device, server and storage medium
KR101412159B1 (en) An authentication system using mobile phone and the authentication method
KR20180135232A (en) Electronic apparatus, control method thereof, and system
CN111726268B (en) Data sharing method and device, equipment and storage medium
CN108848420B (en) VIP member opening method and device
CN107666393B (en) Method for controlling website access by portable router and portable router
KR20160046966A (en) Method for Processing Authentication Means Based on User
KR101636281B1 (en) personal data handling method by using mobile telecommunication terminal
CN104038485A (en) Method and system for borrowing content service and controlling right
CN106415568A (en) Method and system for setting smartphone account
CN115760314A (en) Order processing method and device, electronic equipment and storage medium
KR20160131399A (en) Server providing an event according to location of the device, the method thereof, a computer program stored on recording medium and computer-readable record medium recording a computer program thereon

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