CN105554146B - A kind of remote access method and device - Google Patents
A kind of remote access method and device Download PDFInfo
- Publication number
- CN105554146B CN105554146B CN201511003290.6A CN201511003290A CN105554146B CN 105554146 B CN105554146 B CN 105554146B CN 201511003290 A CN201511003290 A CN 201511003290A CN 105554146 B CN105554146 B CN 105554146B
- Authority
- CN
- China
- Prior art keywords
- smart machine
- union
- visited
- server
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/08—Protocols specially adapted for terminal emulation, e.g. Telnet
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L51/046—Interoperability with other network applications or services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention belongs to field of communication technology, a kind of remote access method and device are provided, which comprises obtain the union ID of wechat user;The union ID is sent to server, and obtains the binding information that the server returns, includes all smart machines with union ID code binding in the binding information;Smart machine and its identification information to be visited are obtained from acquired binding information, the identification information is sent to the server, and obtains the status information and IP address of the smart machine to be visited that the server is returned according to the identification information;When the status information is that the smart machine to be visited is online, http request message is sent to the smart machine according to the IP address, and the identifying code that the smart machine is returned according to the http request message is received, the smart machine is accessed using the identifying code.The present invention, which is realized, logs in using wechat authorization and remotely accesses smart machine.
Description
Technical field
The invention belongs to field of communication technology more particularly to a kind of remote access methods and device.
Background technique
The prior art mainly makes when carrying out the remote access of smart machine (such as smart television, intelligent washing machine etc.)
With user account sign-on access software.User needs in advance in access software register account number, then by input the account and
Its corresponding password carries out verifying login, cumbersome, and needs that individual server is arranged for each smart machine and come
Manage the access account and encrypted message of different user.
Summary of the invention
In consideration of it, the embodiment of the present invention provides a kind of remote access method, logged in realization using wechat authorization and long-range
Access smart machine.
In a first aspect, providing a kind of remote access method, the remote access method includes:
Obtain the union ID of wechat user;
The union ID is sent to server, and obtains the binding information that the server returns, the binding letter
It include all smart machines with union ID binding in breath;
Smart machine and its identification information to be visited are obtained from the binding information according to user's selection, by the mark
Know information and be sent to the server, receives the status information and IP of the smart machine to be visited that the server returns
Address;
When the status information is that the smart machine to be visited is online, according to the IP address to described to be visited
Smart machine send http request message, and receive the identifying code that the smart machine to be visited returns;And
The smart machine to be visited is accessed using the identifying code.
Second aspect, provides a kind of remote access apparatus, and the remote access apparatus includes:
First obtains module, for obtaining the union ID of wechat user;
Second obtains module, for the union ID to be sent to server, and obtains tying up for the server return
Determine information, includes all smart machines with union ID binding in the binding information;
Third obtains module, for according to user's selection obtain from the binding information smart machine to be visited and its
The identification information is sent to the server by identification information, receives the intelligence to be visited that the server returns
The status information and IP address of equipment;
Access request module, for when the status information be the smart machine to be visited it is online when, according to described
IP address sends http request message to the smart machine to be visited, and receives what the smart machine to be visited returned
Identifying code;And
Access modules, for accessing the smart machine to be visited using the identifying code.
Compared with prior art, the union ID that the embodiment of the present invention passes through acquisition wechat user;It is obtained from server
Binding information corresponding with the union ID;Smart machine and its mark to be visited are obtained from acquired binding information
Information, and the status information and IP address of the smart machine to be visited are obtained according to the identification information from server;
When the status information is that the smart machine to be visited is online, then sent according to the IP address to the smart machine
Http request message, and the identifying code that the smart machine to be visited is returned according to the http request message is received, it uses
The identifying code accesses the smart machine to be visited;Intelligent set is logged in and remotely accessed using wechat authorization to realize
It is standby, and a wechat user can bind multiple and different smart machines, it is not necessary that special access account is in addition arranged, solve
The prior art needs to be arranged for each smart machine individual server to manage the access account and message in cipher of different user
The problem of breath, has effectively saved resource.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
Other accompanying drawings can also be obtained according to these attached drawings.
Fig. 1 is the implementation flow chart of remote access method provided in an embodiment of the present invention;
Fig. 2 is the specific implementation flow chart of step S101 in remote access method provided in an embodiment of the present invention;
Fig. 3 is the composite structural diagram of remote access apparatus provided in an embodiment of the present invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
The union ID that the embodiment of the present invention passes through acquisition wechat user;It is obtained and the union ID couple from server
The binding information answered;Smart machine and its identification information to be visited are obtained from acquired binding information, and according to described
Identification information obtains the status information and IP address of the smart machine to be visited from server;When the status information is
When the smart machine to be visited is online, then http request is sent to the smart machine to be visited according to the IP address
Message, and the identifying code that the smart machine to be visited is returned according to the http request message is received, use the verifying
Code accesses the smart machine to be visited;Smart machine is logged in and remotely accessed using wechat authorization to realize, and one
A wechat user can bind multiple and different smart machines, it is not necessary that special access account is in addition arranged, solve existing skill
Art needs to be arranged for each smart machine individual server to manage the access account of different user and asking for encrypted message
Topic, has effectively saved resource.The embodiment of the present invention also provides corresponding devices, and which will be described in detail below.
Fig. 1 shows the implementation process of remote access method provided in an embodiment of the present invention.
In embodiments of the present invention, the remote access method be applied to intelligent terminal, including but not limited to smart phone,
Tablet computer etc..Smart machine to be visited includes but is not limited to intelligent TV set, intelligent washing machine, intelligent refrigerator etc..
Wherein, user is smart machine setting bound secret in advance, and the bound secret is that server carries out bindings
When validating documents.Smart machine receives the bound secret of user setting, and the bound secret is sent to server
It is stored.After wechat user starts wechat and pays close attention to wechat public's account, input under the wechat public account wait tie up
The identification information and bound secret of fixed smart machine.The intelligent terminal obtain smart machine to be bound identification information and
Bound secret;And the identification information of the smart machine to be bound and bound secret are sent to server together, with request
The server carries out bindings.Herein, server first verifies whether the bound secret is the intelligence to be bound
The preset bound secret of equipment, and establish after being proved to be successful the identification information of the smart machine to be bound with it is described micro-
Mapping relations between the union ID of credit household, to bind the wechat user and the smart machine to be bound.It is optional
The union ID on ground, a wechat user can be bound with the identification information of multiple and different smart machines, an intelligence
The identification information of equipment can also be bound with the union ID of multiple and different wechat users.When being remotely accessed,
The corresponding smart machine bound then is obtained according to the union ID of wechat user.
Refering to fig. 1, the remote access method includes:
In step s101, the union ID of wechat user is obtained.
Herein, it is the wechat user distribution same micro- that the union ID of the wechat user, which is wechat server,
Believe the identification information under open platform.As a preferable example of the invention, Fig. 2 shows provided in an embodiment of the present invention remote
The specific implementation flow of step S101 in journey access method.Referring to Fig.2, the step S101 includes:
In step s 201, judge in local authorization database whether the union ID of the existing wechat user.
In embodiments of the present invention, when each user remotely accesses, i.e., user opens access software, first determines whether to use
Whether the login at family is to first log into, and specially judges whether there is the wechat user's kept in local authorization database
union ID.If being stored with the union ID of wechat user in database, illustrates that this login does not first log into, execute step
Rapid S202.Otherwise, if there is no the union ID of wechat user in local authorization database, illustrate that this logs on as stepping on for the first time
Record executes step S203.
In step S202, the union ID is extracted from the local authorization database.
In step S203, wechat authorization interface is loaded, to prompt the wechat user to carry out wechat Authorized operation, and
The union ID that the wechat user is obtained after authorization stores the union ID into the local authorization database.
Herein, the embodiment of the present invention is integrated with the library file provided by wechat.When to first log into, then wechat is called
The library file of offer pops up the interface at wechat authorization interface, and jumps to wechat authorization interface, with prompt the wechat user into
Row wechat Authorized operation;And after the wechat user carries out Authorized operation, the union ID of the wechat user is obtained, is deposited
The union ID is stored up into database.When logging on, then the wechat can be directly obtained from local authorization database
The union ID of user.
In step s 102, the union ID is sent to server, and obtains the binding letter that the server returns
It ceases, includes all smart machines with union ID binding in the binding information.
Herein, the union ID of the wechat user is bound with the smart machine in advance.Specifically, detecing
After measuring the wechat user concern wechat public account, user is prompted to input the identification information of smart machine to be bound and tie up
Determine password;The identification information of the smart machine to be bound and bound secret are sent to server together, described in request
Whether bound secret described in server authentication is preset bound secret, and the intelligence to be bound is established after being proved to be successful
Mapping relations between the identification information of equipment and the union ID of the wechat user.
The embodiment of the present invention by the way that the union ID is sent to server, with inquire on the server it is all with it is described
The smart machine of union ID binding.Since developer can possess multiple mobile applications, net under same wechat open platform
It stands mobile application, website application or public account of the application perhaps under the same wechat open platform of public platform, user's
Union ID is unique.The union ID has unified different mobile applications under same wechat open platform, website
Using or public platform user identifier.Therefore, available open by same wechat to user according to the union ID
Smart machine bound in different wechat public's accounts under platform, and a wechat user can bind multiple and different intelligence
Energy equipment, greatly facilitates the management to access account.
In step s 103, according to user's selection obtained from the binding information of the acquisition smart machine to be visited and
The identification information is sent to the server by its identification information, receives the intelligence to be visited that the server returns
The status information and IP address of energy equipment.
Herein, after receiving at least one smart machine with union ID binding of server return, intelligence
Terminal shows the smart machine of binding in the form of a list, and user can select intelligence to be visited to set from the list
It is standby.Intelligent terminal detects user's operation, selects to obtain smart machine and its corresponding identification information to be visited according to user, and
According to the identification information to server inquiry and the status information and IP address of the smart machine to be visited.
In step S104, when the status information is that the smart machine to be visited is online, according to the IP
Location sends http request message to the smart machine to be visited, and receives the verifying that the smart machine to be visited returns
Code.
In step s105, the smart machine is accessed using the identifying code.
In embodiments of the present invention, smart machine can send one to server every specified time after connecting network
Data packet.Server determines that smart machine is online by receiving the data packet;When server is more than not receive specified time
To smart machine send data packet when, it is determined that the smart machine is offline.
If it is online to inquire the smart machine to be visited, intelligent terminal sends http request to the IP address and disappears
It ceases, includes the union ID of the wechat user in the http request message, to carry out purview certification.The smart machine
After embedded WebServer receives the union ID, the union ID is inquired on the server and whether is established with itself and is reflected
Penetrate relationship.If so, identifying code is returned to, to issue access authority.Herein, the identifying code is Token, i.e. access token.
Each token has certain timeliness.The token received is dealt into intelligence to be visited and set by access, intelligent terminal every time
Standby, whether smart machine to be visited verifies this token expired, if expired or mistake, cannot access, if access
Success, then can refresh the timeliness of token.Herein, when intelligent terminal receives the Token that the smart machine to be visited returns
Afterwards, then the smart machine to be visited is accessed using the Token, i.e., visits every time to smart machine to be visited
The Token is taken when asking operation to carry out permission identification.Smart machine to be visited by according to the timeliness of the Token come
Judge whether this access is effective.
In conclusion the embodiment of the present invention passes through the union ID of binding wechat account and the identification information of smart machine,
It realizes and remotely accesses different smart machines using wechat authorization, and a wechat user is supported to bind multiple smart machines,
Multiple wechat users bind same smart machine, facilitate more people's share media resources and manage smart machine jointly, are not necessarily to
Special access account is set, efficiently solves the prior art and need that individual server is arranged for each smart machine
The problem of managing the account and encrypted message of different user, has saved resource.
Optionally, the remote access method further include:
If the binding information that the server returns can not be got, show that bindings indicate information, to guide
It states wechat user and carries out bindings between the union ID and smart machine.
When the smart machine information with union ID binding that the server returns can not be received, show to work as
Preceding wechat user and unbound any smart machine, for example, paid close attention to specified wechat public account but do not carried out bindings, because
This, access software prompts user to carry out bindings, further, user can be prompted to enter the specified wechat public account
The page specifies the guidance of wechat public's account to carry out bindings by preset bound secret according to this.Implement in the present invention
In example, the bound secret is arranged on each smart machine by user, and the bound secret set is uploaded to server.When with
After the specified wechat public's account of family concern, the mark letter of smart machine to be bound is inputted under the wechat public account
Breath and bound secret, and it is sent to server.Whether bound secret described in server authentication is the bound secret pre-set,
If so, establishing the mapping relations of the union ID of wechat user and the identification information of the smart machine.Herein, same
The union ID of wechat user can establish mapping relations with the identification information of multiple and different smart machines, and different wechats is used
The union ID at family can also establish mapping relations with the identification information of the same smart machine.
Optionally, the status information and IP address for receiving the smart machine to be visited that the server returns it
Afterwards, the method also includes:
When the status information is that the smart machine to be visited is offline, the offline prompt letter of display smart machine
Breath.
Optionally, the remote access method further include:
When getting the request of wechat user cancellation and the binding of smart machine, by the identification information of the smart machine
And the union ID of wechat user is sent to server, with request the server release the identification information of the smart machine with
Mapping relations between the union ID of the wechat user.
Correspondingly, at smart machine end, cancellation request can also be initiated.Server is according to cancellation request releasing
Mapping relations between the identification information of smart machine and the union ID of the wechat user, with cancel the smart machine with
Binding between the wechat user.After the unmapped relationship of server, the wechat user for being cancelled binding be will be unable to remotely
Access the smart machine.
The union ID that the embodiment of the present invention passes through acquisition wechat user;It is obtained and the union ID couple from server
The binding information answered;Smart machine and its identification information to be visited are obtained from acquired binding information, and according to described
Identification information obtains the status information and IP address of the smart machine to be visited from server;When the status information is
When the smart machine to be visited is online, then http request is sent to the smart machine to be visited according to the IP address
Message, and the identifying code that the smart machine to be visited is returned according to the http request message is received, use the verifying
Code accesses the smart machine;Smart machine is logged in and remotely accessed using wechat authorization to realize, and a wechat is used
Family can bind multiple and different smart machines, and it is not necessary that special access account is in addition arranged, solving prior art needs is
The problem of individual server is arranged to manage the account and encrypted message of different user in each smart machine, effectively saves
Resource.
Fig. 3 shows the composed structure of remote access apparatus provided in an embodiment of the present invention, for ease of description, only shows
Part related to the embodiment of the present invention.
In embodiments of the present invention, the remote access apparatus is as described in the examples remote for realizing above-mentioned Fig. 1 or Fig. 2
Journey access method can be the unit of the software unit for being built in intelligent terminal, hardware cell or software and hardware combining.The intelligence
Energy terminal includes but is not limited to smart phone, tablet computer etc..
Refering to Fig. 3, the remote access apparatus includes:
First obtains module 31, for obtaining the union ID of wechat user;
Second obtains module 32, for the union ID to be sent to server, and obtains what the server returned
Binding information includes all smart machines with union ID binding in the binding information;
Third obtains module 33, for according to user's selection obtain from the binding information smart machine to be visited and
The identification information is sent to the server by its identification information, receives the intelligence to be visited that the server returns
The status information and IP address of energy equipment;
Access request module 34, for when the status information be the smart machine to be visited it is online when, according to institute
It states IP address and sends http request message to the smart machine to be visited, and receive the smart machine to be visited and return
Identifying code;
Access modules 35, for accessing the smart machine to be visited using the identifying code.
Further, the first acquisition module 31 includes:
Judging unit 311, for judge in local authorization database whether the union ID of the existing wechat user;
First acquisition unit 312 is when being, from the local authorization database for the judging result in judging unit
Extract the union ID;
Second acquisition unit 313, for the judging result in judging unit be it is no when, load wechat authorization interface, to mention
Show that the wechat user carries out wechat Authorized operation, and obtains the union ID of the wechat user after authorization, it will be described
Union ID is stored into the local authorization database.
Further, described device further include:
Binding module 36 prompts user defeated after detecting the specified wechat public's account of the wechat user concern
Enter the identification information and bound secret of smart machine to be bound;By the identification information of the smart machine to be bound and binding
Password is sent to server together, to request whether bound secret described in the server authentication is preset bound secret, and
The mapping relations between the identification information of the smart machine and the union ID of the wechat user are established after being proved to be successful;
Wherein, the union ID is the mark letter under same wechat open platform that wechat server is the wechat user distribution
Breath.
Further, described device further include:
First display module, if the binding information returned for that can not get the server, shows bindings
Information is indicated, to guide the wechat user to carry out the bindings between the union ID and smart machine.
Further, described device further include:
Second display module, for when the status information is that the smart machine is offline, display smart machine to be offline
Prompt information.
It should be noted that the device in the embodiment of the present invention can be used to implement whole skills in above method embodiment
The function of art scheme, each functional module can be implemented according to the method in above method embodiment, specific implementation
Process can refer to the associated description in examples detailed above, and details are not described herein again.
The union ID that the embodiment of the present invention passes through acquisition wechat user;It is obtained and the union ID couple from server
The binding information answered;Smart machine and its identification information to be visited are obtained from acquired binding information, and according to described
Identification information obtains the status information and IP address of the smart machine to be visited from server;When the status information is
When the smart machine to be visited is online, then http request is sent to the smart machine to be visited according to the IP address
Message, and the identifying code that the smart machine to be visited is returned according to the http request message is received, use the verifying
Code accesses the smart machine to be visited;Smart machine is logged in and remotely accessed using wechat authorization to realize, and one
A wechat user can bind multiple and different smart machines, it is not necessary that special access account is in addition arranged, solve existing skill
Art needs to be arranged for each smart machine individual server to manage the access account of different user and asking for encrypted message
Topic, has effectively saved resource.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description
It with the specific work process of unit, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed remote access method and device, it can
To realize by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the module,
The division of unit, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units
Or component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, institute
Display or the mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, device or unit
Indirect coupling or communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the present invention, module can integrate in one processing unit,
Can be each unit, module physically exists alone, can also be integrated in one unit with two or more units, module
In.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. a kind of remote access method, which is characterized in that the remote access method includes:
Obtain the union ID of wechat user;
The union ID is sent to server, and obtains the binding information that the server returns, in the binding information
Including all smart machines with union ID binding;
Smart machine and its identification information to be visited are obtained from the binding information according to user's selection, and the mark is believed
Breath is sent to the server, with receiving status information and the IP for the smart machine to be visited that the server returns
Location;
When the status information is that the smart machine to be visited is online, according to the IP address to the intelligence to be visited
Energy equipment sends http request message, and receives the identifying code that the smart machine to be visited returns;And
The smart machine to be visited is accessed using the identifying code, specifically: each identifying code time-effectiveness is visited every time
Ask that the identifying code received is dealt into smart machine to be visited by smart machine, smart machine to be visited verifies the identifying code
It is whether expired, if expired or mistake, it cannot access, if accessing the timeliness for successfully refreshing the identifying code.
2. remote access method as described in claim 1, which is characterized in that the union ID packet for obtaining wechat user
It includes:
Judge in local authorization database whether the union ID of the existing wechat user;
If so, extracting the union ID from the local authorization database;
If it is not, then loading wechat authorization interface, to prompt the wechat user to carry out wechat Authorized operation, and obtain after authorization
The union ID for taking the wechat user stores the union ID into the local authorization database.
3. remote access method as described in claim 1, which is characterized in that it is described obtain wechat user union ID it
Before, the method also includes:
After detecting the specified wechat public's account of the wechat user concern, user is prompted to input smart machine to be bound
Identification information and bound secret;Wherein, it is the wechat user distribution same micro- that the union ID, which is wechat server,
Believe the identification information under open platform;
The identification information of the smart machine to be bound and bound secret are sent to server together, to request the service
Device verifies whether the bound secret is preset bound secret, and the smart machine to be bound is established after being proved to be successful
Identification information and the wechat user union ID between mapping relations.
4. remote access method as described in claim 1, which is characterized in that the union ID is sent to service described
After device, the method also includes:
If the binding information that the server returns can not be got, show that bindings indicate information, it is described micro- to guide
Credit household carries out the bindings between the union ID and smart machine.
5. remote access method as described in claim 1, which is characterized in that received described in the server return described
After the status information and IP address of smart machine to be visited, the method also includes:
When the status information is that the smart machine to be visited is offline, the offline prompt information of display smart machine.
6. a kind of remote access apparatus, which is characterized in that the remote access apparatus includes:
First obtains module, for obtaining the union ID of wechat user;
Second obtains module, for the union ID to be sent to server, and obtains the binding letter that the server returns
It ceases, includes all smart machines with union ID binding in the binding information;
Third obtains module, for obtaining smart machine and its mark to be visited from the binding information according to user's selection
The identification information is sent to the server by information, receives the smart machine to be visited that the server returns
Status information and IP address;
Access request module, for when the status information be the smart machine to be visited it is online when, according to the IP
Location sends http request message to the smart machine to be visited, and receives the verifying that the smart machine to be visited returns
Code;
Access modules, for accessing the smart machine to be visited using the identifying code, specifically: each identifying code has
Timeliness accesses smart machine every time and the identifying code received is dealt into smart machine to be visited, smart machine to be visited
It whether expired verifies the identifying code, if expired or mistake, cannot access, if accessed successfully, tested described in refreshing
Demonstrate,prove the timeliness of code.
7. remote access apparatus as claimed in claim 6, which is characterized in that described first, which obtains module, includes:
Judging unit, for judge in local authorization database whether the union ID of the existing wechat user;
First acquisition unit is to extract institute from the local authorization database when being for the judging result in judging unit
State union ID;
Second acquisition unit, for the judging result in judging unit be it is no when, load wechat authorization interface, it is described micro- to prompt
Credit household carries out wechat Authorized operation, and obtains the union ID of the wechat user after authorization, by the union ID
It stores into the local authorization database.
8. remote access apparatus as claimed in claim 6, which is characterized in that described device further include:
Binding module prompts user to input wait tie up after detecting the specified wechat public's account of the wechat user concern
The identification information and bound secret of fixed smart machine;By the identification information and bound secret one of the smart machine to be bound
With server is sent to, to request whether bound secret described in the server authentication is preset bound secret, and verifying
The mapping established between the identification information of smart machine and the union ID of the wechat user to be bound after success is closed
System;Wherein, the union ID is the mark under same wechat open platform that wechat server is the wechat user distribution
Know information.
9. remote access apparatus as claimed in claim 6, which is characterized in that described device further include:
First display module shows that bindings indicate if the binding information returned for that can not get the server
Information, to guide the wechat user to carry out the bindings between the union ID and smart machine.
10. remote access apparatus as claimed in claim 6, which is characterized in that described device further include:
Second display module, for showing smart machine when the status information is that the smart machine to be visited is offline
Offline prompt information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511003290.6A CN105554146B (en) | 2015-12-25 | 2015-12-25 | A kind of remote access method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511003290.6A CN105554146B (en) | 2015-12-25 | 2015-12-25 | A kind of remote access method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105554146A CN105554146A (en) | 2016-05-04 |
CN105554146B true CN105554146B (en) | 2019-09-17 |
Family
ID=55833078
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201511003290.6A Active CN105554146B (en) | 2015-12-25 | 2015-12-25 | A kind of remote access method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105554146B (en) |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105898545B (en) * | 2016-06-17 | 2019-02-19 | 腾讯科技(深圳)有限公司 | A kind of video content updates method, equipment and the system of prompt |
CN106557934B (en) * | 2016-11-25 | 2020-12-08 | 中国南方电网有限责任公司 | Method for seamless migration of power account binding data of network service channel |
CN106789561B (en) * | 2016-12-02 | 2019-12-06 | 广东工业大学 | Terminal physical address binding method and system based on intranet service platform |
CN106685947B (en) * | 2016-12-23 | 2021-04-13 | 深圳市Tcl高新技术开发有限公司 | Access method and system for private cloud equipment of smart television |
CN108259311B (en) * | 2016-12-29 | 2021-02-23 | 杭州华为企业通信技术有限公司 | Method and device for realizing remote authorization |
CN107395602A (en) * | 2017-07-28 | 2017-11-24 | 济南中维世纪科技有限公司 | The method that monitoring device manages remote connection unit |
CN108052351A (en) * | 2017-11-09 | 2018-05-18 | 山东中创软件商用中间件股份有限公司 | A kind of method, apparatus and equipment of the remote access in turn-on data storehouse |
CN107944919B (en) * | 2017-11-24 | 2020-01-07 | 平安科技(深圳)有限公司 | Account query method, device, equipment and computer readable storage medium |
CN109388917B (en) * | 2018-10-12 | 2022-03-18 | 彩讯科技股份有限公司 | Hardware equipment authentication method, device, equipment and storage medium |
CN111464325B (en) * | 2019-01-22 | 2022-12-09 | 西安诺瓦星云科技股份有限公司 | Configuration method, configuration device and configuration system for embedded control card |
CN109802886B (en) * | 2019-01-28 | 2021-10-19 | 奥克斯空调股份有限公司 | Method and device for binding third party public number, air conditioner and storage medium |
CN113132185B (en) * | 2019-12-30 | 2022-06-10 | 深圳Tcl新技术有限公司 | Equipment distribution network binding method, system, mobile terminal and storage medium |
CN113765889B (en) * | 2021-08-06 | 2023-02-10 | 深圳市华磊迅拓科技有限公司 | Remote centralized control method, system, device and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103023917A (en) * | 2012-12-26 | 2013-04-03 | 百度在线网络技术(北京)有限公司 | Method, system and device for authorization aiming at intelligent household electrical appliance |
CN104270468A (en) * | 2014-10-23 | 2015-01-07 | 深圳市领耀东方科技股份有限公司 | System for controlling device for internet of things through Wechat |
CN104348777A (en) * | 2013-07-24 | 2015-02-11 | 腾讯科技(深圳)有限公司 | Method and system for controlling access of mobile terminal to third party server |
CN204721386U (en) * | 2015-06-12 | 2015-10-21 | 上海渐华科技发展有限公司 | The device of the micro-letter client of binding is realized based on Quick Response Code |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7058059B1 (en) * | 2001-02-20 | 2006-06-06 | At&T Corp. | Layer-2 IP networking method and apparatus for mobile hosts |
-
2015
- 2015-12-25 CN CN201511003290.6A patent/CN105554146B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103023917A (en) * | 2012-12-26 | 2013-04-03 | 百度在线网络技术(北京)有限公司 | Method, system and device for authorization aiming at intelligent household electrical appliance |
CN104348777A (en) * | 2013-07-24 | 2015-02-11 | 腾讯科技(深圳)有限公司 | Method and system for controlling access of mobile terminal to third party server |
CN104270468A (en) * | 2014-10-23 | 2015-01-07 | 深圳市领耀东方科技股份有限公司 | System for controlling device for internet of things through Wechat |
CN204721386U (en) * | 2015-06-12 | 2015-10-21 | 上海渐华科技发展有限公司 | The device of the micro-letter client of binding is realized based on Quick Response Code |
Also Published As
Publication number | Publication date |
---|---|
CN105554146A (en) | 2016-05-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105554146B (en) | A kind of remote access method and device | |
CN105450581B (en) | The method and apparatus of permission control | |
CN105100708B (en) | Request processing method and device | |
CN103023918B (en) | The mthods, systems and devices logged in are provided for multiple network services are unified | |
CN103249045B (en) | A kind of methods, devices and systems of identification | |
CN105229987B (en) | Actively united mobile authentication | |
CN105871838B (en) | A kind of log-in control method and customer center platform of third party's account | |
CN105164633B (en) | The configuration and verifying carried out by trusted provider | |
CN104917749B (en) | account registration method and device | |
CN104753894B (en) | A kind of data processing method, apparatus and system | |
CN102571336A (en) | Login authentication method, device and system | |
CN103489233A (en) | Electronic door control system with dynamic password | |
CN104378342A (en) | Multi-account verification method, device and system | |
CN102761549A (en) | Processing method and system of resource sharing and service platforms | |
CN111447133B (en) | Message transmission method and device, storage medium and electronic device | |
CN105306320B (en) | A kind of method and device for binding client for smart machine | |
CN106127888B (en) | Intelligent lock operation method and smart lock operating system | |
CN103314563A (en) | Systems and methods for distributed access to media content using placeshifting | |
CN109726545B (en) | Information display method, equipment, computer readable storage medium and device | |
CN112543169A (en) | Authentication method, device, terminal and computer readable storage medium | |
CN105429943A (en) | Information processing method and terminal thereof | |
KR101278926B1 (en) | Social verification login system being possible to verify user and providing method thereof | |
CN109543365A (en) | A kind of authorization method and device | |
CN107645474B (en) | Method and device for logging in open platform | |
CN110969474B (en) | Resource acquisition processing method, data processing system, storage medium and processor |
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 |