[go: up one dir, main page]

CN105704116B - A method of smart machine is bound by binding code - Google Patents

A method of smart machine is bound by binding code Download PDF

Info

Publication number
CN105704116B
CN105704116B CN201511013112.1A CN201511013112A CN105704116B CN 105704116 B CN105704116 B CN 105704116B CN 201511013112 A CN201511013112 A CN 201511013112A CN 105704116 B CN105704116 B CN 105704116B
Authority
CN
China
Prior art keywords
smart machine
binding
code
intelligent terminal
binding code
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
CN201511013112.1A
Other languages
Chinese (zh)
Other versions
CN105704116A (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.)
Shenzhen Aotong Automation Co ltd
Original Assignee
Shenzhen Meibeike Technology 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 Shenzhen Meibeike Technology Co Ltd filed Critical Shenzhen Meibeike Technology Co Ltd
Priority to CN201511013112.1A priority Critical patent/CN105704116B/en
Publication of CN105704116A publication Critical patent/CN105704116A/en
Application granted granted Critical
Publication of CN105704116B publication Critical patent/CN105704116B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint

Landscapes

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

Abstract

The present invention provides a kind of method for binding smart machine by binding code, includes the following steps: that smart machine generates the character string binding parameters such as code at random and is converted to two dimensional code and is shown to smart machine viewing area;Intelligent terminal two dimensional code connects after obtaining smart machine IP address port numbers and binding code;Intelligent terminal sends cloud server terminal log on request to smart machine socket server-side;Smart machine socket server-side judges whether the binding code in request is identical, is bound according to the session key information request cloud server terminal application that intelligent terminal account and set-top box device unique value and current account log in;After cloud server terminal receives bind request, the login state and Entered state of the account information of the smart machine are first judged, whether session key is identical, and the unique value of the account of current smart machine and smart machine is bound, and saves database.Technical solution of the present invention compared with prior art, improves intelligent terminal and interacting for domestic intelligent equipment is safe.

Description

A method of smart machine is bound by binding code
Technical field
The present invention relates to domestic intelligent apparatus field, especially a kind of method that smart machine is bound by binding code.
Background technique
With the development of wireless communication technique and smart home, user can be by terminals such as mobile phones to family
In intelligent terminal set-top box device interact.Due to safety concerns, the friendship of smart machine and STB terminal Mutually need to carry out interactive limitation.
In general, needing in mobile phone and smart machine interaction by downloading identical APP, and is binding or using for the first time When, register account number and input account on mobile phone are needed, since domestic intelligent equipment, especially set-top box need to show by TV Show, and it operates equipment and is only limitted to remote controler, with remote controler input account, encrypted message is more troublesome and does not have other Soluble means such as assist carrying out in such a way that mobile phone pushes, even if mobile phone pushes, above-mentioned feelings will also be faced for the first time by connecting Condition, therefore, pole influence the experience of user.
Summary of the invention
Primary and foremost purpose of the invention aims to solve the problem that the interaction restricted problem of smart machine and set-top box and provides a kind of intelligence Terminal is bound with domestic intelligent device end, the method for unbundlings.
Smart machine needs are bound with terminal, and smart machine could carry out the interaction of safety with STB terminal, are Reach a kind of method that smart machine is bound by binding code of the invention of this purpose, including following technical characteristic:
S1. smart machine generates character string binding code at random, obtains the clothes of the monitoring of smart machine socket server-side Binding code and IP address port numbers production character string are converted to two dimensional code and are shown to intelligence by the port numbers for the end IP address and monitoring of being engaged in It can equipment viewing area;
S2. after intelligent terminal logs in, smart machine two dimensional code is scanned, obtains smart machine socket server-side IP Address port number and binding code, connect server according to IP address port numbers;
S3. intelligent terminal sends cloud server terminal log on request to smart machine socket server-side;
S4. smart machine socket server-side obtains the parameter that smart machine sends request, judges the binding code in request It is whether identical with the binding code, it is identical then according to intelligent terminal account and set-top box device unique value and current account The session key information request cloud server terminal application binding that family logs in;
S5. after cloud server terminal receives bind request, first judge the login state of the account information of the smart machine and step on Whether land state, current sessions key are session key when current account information logs in, are then by the account of current smart machine It number is bound with the unique value of smart machine, saves database;
S6. intelligent terminal is shown to the display screen of intelligent terminal according to the information that smart machine returns.
As a further improvement of that present invention, in S1, described character string binding code is 4 ~ 6 random characters.
As a further improvement of that present invention, in S2, the intelligent terminal scans set-top box two dimensional code, parsing module The two dimensional code scanned is parsed, set-top box socket server-side IP address and port numbers and binding code are obtained.
As a further improvement of that present invention, in S3, intelligent terminal is connected intelligence with port numbers by the IP address and set Standby socket server-side, and account and binding code are sent to smart machine socket server-side.
As a further improvement of that present invention, in S4, judge whether the binding code in request is different with the binding code, then Binding code error message is returned, it is such as identical.
As a further improvement of that present invention, in S4, the parameter includes the account number cipher information obtained, and cloud server terminal is returned It returns the session key for including currently log in and logs in return information.
As a further improvement of that present invention, in S5, judge current sessions key not and be meeting when current account information logs in Key is talked about, then replys the corresponding return code of intelligent terminal.
As further technical solution of the present invention, other than binding method, the method includes intelligent terminal with Smart machine unbinds method, comprising:
S11. intelligent terminal transmission logs in agreement and carries out logon operation to cloud server terminal;
S12. intelligent terminal logs in and successfully sends unbundlings agreement afterwards, and unbundlings agreement includes account information, when logging in The session key of generation;
S13. cloud server terminal judge active user whether login state and Entered state, when whether session key with logging in The session key of generation is identical;
S14. as identical, the binding relationship of smart machine user and set-top box is unbinded, is saved in database, and return Successful information is unbinded to intelligent terminal.
The session key is different from the session key generated when logging in, then the information that cloud server terminal returns to unlock failure arrives Intelligent terminal.
Technical solution of the present invention compared with prior art, improves the interaction of intelligent terminal Yu domestic intelligent equipment Safety.
Detailed description of the invention
Fig. 1 is a kind of flow diagram schematic diagram for the method that smart machine is bound by binding code of the present invention.
Unbinding flow diagram schematic diagram after binding Fig. 2 of the invention.
Specific embodiment
The embodiment of the present invention is described in detail below in conjunction with attached drawing, but the present invention can be defined by the claims Implement with the multitude of different ways of covering.
As shown in Figure 1, Fig. 1 is that a kind of method for binding smart machine by binding code of the invention is in the method Be easy to understand, we are in intelligent terminal, using taking the mobile phone as an example, in household smart machine, the set-top box that uses for Example.To solve the problems, such as convenient binding, needs to accomplish the binding of intelligent terminal and set-top box device, unbinds two methods, For convenience and security consideration, smart machine and set-top box stick periodically, can only carry out bindings intelligence at the same WIFI When equipment and set-top box unbind, then woth no need to being operated at the same WIFI.
The specific method is as follows:
S1. smart machine generates character string binding code at random, obtains the clothes of the monitoring of smart machine socket server-side Binding code and IP address port numbers production character string are converted to two dimensional code and are shown to intelligence by the port numbers for the end IP address and monitoring of being engaged in It can equipment viewing area;
S2. after intelligent terminal logs in, smart machine two dimensional code is scanned, obtains smart machine socket server-side IP Address port number and binding code, connect server according to IP address port numbers;
S3. intelligent terminal sends cloud server terminal log on request to smart machine socket server-side;
S4. smart machine socket server-side obtains the parameter that smart machine sends request, judges the binding code in request It is whether identical with the binding code, it is identical then according to intelligent terminal account and set-top box device unique value and current account The session key information request cloud server terminal application binding that family logs in;
S5. after cloud server terminal receives bind request, first judge the login state of the account information of the smart machine and step on Whether land state, current sessions key are session key when current account information logs in, are then by the account of current smart machine It number is bound with the unique value of smart machine, saves database;
S6. intelligent terminal is shown to the display screen of intelligent terminal according to the information that smart machine returns.
In the above-mentioned methods, smart machine registers cloud server terminal first:
1. intelligent terminal sends log-in protocol, parameter includes account, password etc., is sent to cloud server terminal and is infused Volume request;
2. after cloud server terminal receives registration request, determining whether to register, and returns to intelligent terminal registration and return Return value.
After meeting above-mentioned condition, by taking the binding of mobile phone and set-top box as an example, method includes:
1. set-top box obtains the server-side IP address of the monitoring of set-top box socket server-side and the port numbers of monitoring;
2. set-top box generates 4 or 6 character string binding codes at random;
3. the parameter composition character string that set-top box will acquire is sent to two-dimensional code generation module;
4. set-top box two-dimensional code generation module receives character string, two-dimension code image is converted by character string, is shown to machine top Box viewing area;
5. mobile phone sends cloud server terminal log on request, the parameter of request includes the account number cipher obtained etc. information, cloud clothes Business end, which returns, logs in return information, and return information includes the session key (Sessionkey) currently logged in;
6. mobile phone scans set-top box two dimensional code, parsing module parses the two dimensional code scanned, obtains set-top box socket clothes End IP address of being engaged in and port numbers and binding code;
7. mobile phone connects set-top box server-side with port numbers by server-side IP address, account is sent, and binds code to machine Top box server-side;
8. set-top box server-side obtains the parameter that mobile phone is sent, judge whether binding code is identical as generated binding code , binding code error message is returned to if different, according to mobile phone account and set-top box device unique value and current account if identical The information requests cloud service application such as session key (Sessionkey) that family logs in binding;
After 9. cloud server terminal receives bind request, first determine whether the account information of the smart machine has been registered, Whether log in, whether current sessions key (Sessionkey) is session key when current account information logs in (Sessionkey);Such as the otherwise corresponding return code of answering mobile phone, in this way then by the account of current phone and set-top box device only The binding of one value, saves database, and return to mobile phone corresponding information.
10. mobile phone makes feedback according to the information of return, it is shown on mobile phone screen, such as binding success, Bind Failed etc. Etc. information.
As shown in Fig. 2, the unbinding flow diagram schematic diagram after above-mentioned completion binding is according to user's needs User experience is convenient, and it is not permanent for binding, and also can choose the unbundlings of smart machine and set-top box, is with mobile phone and set-top box Example, unbinding method are as follows:
S11. mobile phone transmission logs in agreement and carries out logon operation to cloud server terminal;
S12. mobile phone logs in successfully sends unbundlings agreement afterwards, and parameter includes account information, the meeting returned when including logging in It talks about key (Sessionkey);
S13. cloud server terminal judges whether active user registers, if log in, session key (Sessionkey) whether with The session key (Sessionkey) returned when logging in is identical, different then return to corresponding information;
S14. as identical, the binding relationship of the mobile phone user and set-top box is unbinded, database is saved in, and returns to unbundlings Successful information is to intelligent terminal.
These are only the preferred embodiment of the present invention, is not intended to restrict the invention, for those skilled in the art For member, the invention may be variously modified and varied.All within the spirits and principles of the present invention, it is made it is any modification, Equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (9)

1. a kind of method for binding smart machine by binding code, which comprises the steps of:
S1. smart machine generates character string binding code at random, obtains the server-side of the monitoring of smart machine socket server-side Binding code and IP address port numbers production character string are converted to two dimensional code and are shown to intelligent set by the port numbers of IP address and monitoring Standby viewing area;
S2. after intelligent terminal logs in, smart machine two dimensional code is scanned, obtains smart machine socket server-side IP address Port numbers and binding code, connect server according to IP address port numbers;
S3. intelligent terminal sends cloud server terminal log on request to smart machine socket server-side;
S4. smart machine socket server-side obtain smart machine send request parameter, judge request in binding code whether It is identical with the binding code, it is identical then to be stepped on according to intelligent terminal account and set-top box device unique value and current account The session key information request cloud server terminal application in land is bound;
S5. after cloud server terminal receives bind request, first judge the login state of the account information of the smart machine and log in shape Whether state, current sessions key are session key when current account information logs in, be then by the account of current smart machine with The unique value of smart machine is bound, and database is saved;
S6. intelligent terminal is shown to the display screen of intelligent terminal according to the information that smart machine returns.
2. a kind of method for binding smart machine by binding code according to claim 1, which is characterized in that in S1, Described character string binding code is 4 ~ 6 random characters.
3. a kind of method for binding smart machine by binding code according to claim 1, which is characterized in that in S2, The intelligent terminal scans set-top box two dimensional code, and parsing module parses the two dimensional code scanned, obtains set-top box socket Server-side IP address and port numbers and binding code.
4. a kind of method for binding smart machine by binding code according to claim 1, which is characterized in that in S3, Intelligent terminal connects smart machine socket server-side by the IP address with port numbers, and sends account and binding code to intelligence It can equipment socket server-side.
5. a kind of method for binding smart machine by binding code according to claim 1, which is characterized in that in S4, Judge whether the binding code in request is different with the binding code, then returns to binding code error message, it is such as identical.
6. a kind of method for binding smart machine by binding code according to claim 1, which is characterized in that in S4, The parameter includes the account number cipher information obtained, and it includes that logging in for the session key currently logged in replys letter that cloud server terminal, which returns, Breath.
7. a kind of method for binding smart machine by binding code according to claim 1, which is characterized in that in S5, Judge current sessions key not and be session key when current account information logs in, then replys intelligent terminal and accordingly return Code.
8. a kind of method for binding smart machine by binding code according to claim 1, which is characterized in that the method Method is unbinded including intelligent terminal and smart machine:
S11. intelligent terminal transmission logs in agreement and carries out logon operation to cloud server terminal;
S12. intelligent terminal logs in and successfully sends unbundlings agreement afterwards, and unbundlings agreement includes account information, generation when logging in Session key;
S13. cloud server terminal judge active user whether login state and Entered state, generation when whether session key with logging in Session key it is identical;
S14. the binding relationship of smart machine user and set-top box, are saved in database, and return to solution as described in unbinding if identical Successful information is tied up to intelligent terminal.
9. a kind of method for binding smart machine by binding code according to claim 8, which is characterized in that the session Key is different from the session key generated when logging in, then the information of cloud server terminal return unlock failure to intelligent terminal.
CN201511013112.1A 2015-12-31 2015-12-31 A method of smart machine is bound by binding code Active CN105704116B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511013112.1A CN105704116B (en) 2015-12-31 2015-12-31 A method of smart machine is bound by binding code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511013112.1A CN105704116B (en) 2015-12-31 2015-12-31 A method of smart machine is bound by binding code

Publications (2)

Publication Number Publication Date
CN105704116A CN105704116A (en) 2016-06-22
CN105704116B true CN105704116B (en) 2019-02-22

Family

ID=56225940

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511013112.1A Active CN105704116B (en) 2015-12-31 2015-12-31 A method of smart machine is bound by binding code

Country Status (1)

Country Link
CN (1) CN105704116B (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106228654B (en) * 2016-08-02 2018-05-15 成都荷码科技有限公司 A kind of method of user account binding smart lock
CN106658088A (en) * 2016-09-30 2017-05-10 山东浪潮商用系统有限公司 Method controlling unidirectional set top box through intelligent mobile terminal
CN106792201B (en) * 2016-12-27 2020-11-03 东华互联宜家数据服务有限公司 Method and device for establishing association between set top box and user
CN109309653A (en) * 2017-07-28 2019-02-05 阿里巴巴集团控股有限公司 Information binding method, equipment and system
CN107426232A (en) * 2017-08-04 2017-12-01 李剑林 A kind of remote bind and the method for controlling terminal device
CN108156488A (en) * 2017-12-22 2018-06-12 北京数码视讯软件技术发展有限公司 Interactive approach and electronic equipment based on gateway server
CN108259643B (en) * 2018-01-12 2021-01-26 美的智慧家居科技有限公司 Binding method and device of intelligent device and user operation terminal, and electronic device
CN108418905B (en) * 2018-02-09 2021-07-16 海尔优家智能科技(北京)有限公司 Method, terminal, cloud platform device and medium for safely binding devices
CN109246217A (en) * 2018-09-12 2019-01-18 厦门优胜卫厨科技有限公司 A kind of matching method of intelligent bathtub equipment, pair system and intelligent bathtub equipment
CN109743598A (en) * 2018-12-29 2019-05-10 深圳Tcl新技术有限公司 Third party is authorized to access method, system and the readable storage medium storing program for executing of TV
CN110070655B (en) * 2019-04-29 2021-03-16 北京摇光智能科技有限公司 Electronic lock and installation address binding method
CN110505629A (en) * 2019-08-12 2019-11-26 珠海格力电器股份有限公司 Household appliance networking method and system
CN113132185B (en) * 2019-12-30 2022-06-10 深圳Tcl新技术有限公司 Equipment distribution network binding method, system, mobile terminal and storage medium
CN111726396B (en) * 2020-06-01 2022-07-29 安徽华米信息科技有限公司 Device binding method and device, cloud and storage medium
CN112004226A (en) * 2020-07-17 2020-11-27 宁波奥克斯电气股份有限公司 Method and device for binding intelligent device and user terminal and electronic device
CN113595992B (en) * 2021-07-07 2023-03-28 青岛海尔科技有限公司 Secure binding method and system, storage medium and electronic device
CN113472587B (en) * 2021-07-12 2022-09-13 山东大学 Internet of things equipment and object model binding method based on network communication
CN114417032A (en) * 2022-01-07 2022-04-29 北京海克智动科技开发有限公司 Production information generation method, registration code configuration method and configuration system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103179460A (en) * 2013-03-05 2013-06-26 福建星网视易信息系统有限公司 Method for binding mobile terminal to digital audiovisual terminal, bind controlling method and bind controlling system
CN104410813A (en) * 2014-10-24 2015-03-11 浙江宇视科技有限公司 Method and device for binding user account with monitoring equipment in video monitoring system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103179460A (en) * 2013-03-05 2013-06-26 福建星网视易信息系统有限公司 Method for binding mobile terminal to digital audiovisual terminal, bind controlling method and bind controlling system
CN104410813A (en) * 2014-10-24 2015-03-11 浙江宇视科技有限公司 Method and device for binding user account with monitoring equipment in video monitoring system

Also Published As

Publication number Publication date
CN105704116A (en) 2016-06-22

Similar Documents

Publication Publication Date Title
CN105704116B (en) A method of smart machine is bound by binding code
US10531297B2 (en) Authentication method and server, and computer storage medium
EP2989848B1 (en) Electronic device and method of registering personal cloud apparatus in user portal server thereof
KR101439796B1 (en) Systems and methods for authorizing access to network services using information obtained from subscriber equipment
EP2392115B1 (en) Method and user equipment for facilitating service provision
CN101588368A (en) Service authentication method and system
CN105828329B (en) Mobile terminal authentication management method
CN105392136A (en) Method and device for access to router based on two-dimensional code
CN105827624A (en) Identity verifying system
WO2017088634A1 (en) Third-party application authentication method, authentication server, terminal and management server
CN103945380A (en) Method and system for network login authentication based on graphic code
CN103297445A (en) Web terminal communication method and system based on IP multimedia network
US9094701B2 (en) Method and telecommunications system for registering a user with an IPTV service
CN105704157A (en) Remote control method and system, intelligent terminal and service terminal application to remote control method and system
CN105722072A (en) Business authorization method, device, system and router
US20080244710A1 (en) Methods and systems for authentication using ip multimedia services identity modules
CN105227433A (en) Connection method between a kind of mobile terminal and smart machine
CN102685090B (en) System login method
CN109905490B (en) Virtual simulation experiment sharing platform architecture
CN107690140A (en) WAP authentication method, apparatus and system
CN101841528A (en) Service multi-terminal presentation method of uniform roaming authorization in IMS (Information Management System) environment as well as system thereof
CN108810658B (en) HLS video live broadcast anti-theft chain method and system
CN104796263A (en) User identity authentication method and device
KR101531198B1 (en) Call connecting process apparatus and method providing for authentication process using push message
CN105306233B (en) Terminal management method and system, server and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230726

Address after: 513A, 5th Floor, Building 1, Huasheng Garden, Enterprise Life Artificial Intelligence, No. 48 East Ring Second Road, Yousong Community, Longhua Street, Longhua District, Shenzhen City, Guangdong Province, 518000

Patentee after: Shenzhen Aotong Automation Co.,Ltd.

Address before: Room 309, Building A, Languang Science and Technology Park, No. 7 Xinxi Road, North District, Nanshan District, Shenzhen City, Guangdong Province, 518057

Patentee before: MEIBEIKE TECHNOLOGY Co.,Ltd.