CN106685947B - Access method and system for private cloud equipment of smart television - Google Patents

Access method and system for private cloud equipment of smart television Download PDF

Info

Publication number
CN106685947B
CN106685947B CN201611207758.8A CN201611207758A CN106685947B CN 106685947 B CN106685947 B CN 106685947B CN 201611207758 A CN201611207758 A CN 201611207758A CN 106685947 B CN106685947 B CN 106685947B
Authority
CN
China
Prior art keywords
private cloud
equipment
wechat
user
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
Application number
CN201611207758.8A
Other languages
Chinese (zh)
Other versions
CN106685947A (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 TCL High-Tech Development Co Ltd
Original Assignee
Shenzhen TCL High-Tech Development 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 TCL High-Tech Development Co Ltd filed Critical Shenzhen TCL High-Tech Development Co Ltd
Priority to CN201611207758.8A priority Critical patent/CN106685947B/en
Publication of CN106685947A publication Critical patent/CN106685947A/en
Application granted granted Critical
Publication of CN106685947B publication Critical patent/CN106685947B/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
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4555Directories for electronic mail or instant messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Abstract

The invention discloses an access method and system of private cloud equipment of an intelligent television, wherein the method comprises the following steps: sending the corresponding WeChat user ID to a WeChat server through a private cloud public number in a WeChat client, and inquiring whether a binding relation exists according to the stored binding relation table of the equipment ID-the WeChat user ID; when the WeChat user ID has a binding relationship, returning the equipment ID, inquiring the equipment address and the port of the private cloud server according to the obtained equipment ID, and creating a connection request according to the equipment address and the port; and if the connection request passes the validity verification of the private cloud equipment, responding to the connection request of the WeChat client. The invention realizes the access of the corresponding private cloud equipment through the public number of the private cloud, browsing and managing the resources in the private cloud equipment, omits the complicated processes of downloading, installing and registering the user-defined client and is convenient for users.

Description

Access method and system for private cloud equipment of smart television
Technical Field
The invention relates to the technical field of private cloud access in an intelligent television, in particular to an access method and system of private cloud equipment of the intelligent television.
Background
With the development of cloud storage technology, people are gradually used to store resources such as various documents and photos in the cloud, and the resources can be managed and used through a client or a browser of a mobile phone or a computer at any time and any place, so that the cloud storage technology is very convenient and fast. At present, cloud storage systems of the internet companies are introduced by a plurality of famous internet companies, and consumers can use the cloud storage systems after registering for free or paying. With the increase of the number of cloud storage users, the operation cost of cloud storage also increases sharply. Meanwhile, the problems of the cloud storage in the aspect of protecting the personal privacy are questioned by all parties, and a plurality of internet companies gradually quit the field of public network-based cloud storage due to the fact that part of content supervision and privacy disclosure events are exposed by media in the recent years.
The development of the private cloud technology of the intelligent television brings a chance for solving the problem. The private cloud equipment not only meets the functional requirements of personal consumers on cloud storage, but also the storage hardware of the private cloud is deployed in a local area network which is relatively independent of own home or company, so that the stored content and data are not easy to be attacked and acquired by hackers on the network, the security is higher, and the stored content is not required to be freely examined. Based on the above advantages, the unique advantages of the private cloud of tv are gradually known and the related technologies are rapidly developed.
At present, a common method for accessing private cloud equipment is login access through a customized mobile phone client or a customized PC client. The user must download a client installation package first, and register and create a user after local installation to correctly access the private cloud, which brings inconvenience to people using the private cloud, and many users abandon the use of the private cloud even if the use is too troublesome.
Accordingly, the prior art is yet to be improved and developed.
Disclosure of Invention
In view of the defects of the prior art, the invention aims to provide an access method and system for private cloud equipment of an intelligent television, and aims to overcome the defects that in the prior art, the private cloud equipment is accessed by a user-defined mobile phone client or a user-defined PC client through login, and the operation is complicated.
The technical scheme of the invention is as follows:
an access method of a private cloud device of a smart television, wherein the method comprises the following steps:
A. sending the corresponding WeChat user ID to a WeChat server through a private cloud public number in a WeChat client, and inquiring whether a binding relation exists according to the stored binding relation table of the equipment ID-the WeChat user ID;
B. when the WeChat user ID has a binding relationship, returning the equipment ID, inquiring the equipment address and the port of the private cloud server according to the obtained equipment ID, and creating a connection request according to the equipment address and the port;
C. and if the connection request passes the validity verification of the private cloud equipment, responding to the connection request of the WeChat client.
The access method of the smart television private cloud equipment comprises the following steps before the step A:
s1, when the wechat client scans the two-dimensional code picture of the private cloud equipment, when receiving an equipment binding instruction of a user, sending the wechat user ID corresponding to the wechat client and the equipment ID corresponding to the two-dimensional code picture to the wechat server, and storing the binding relationship between the wechat user ID and the equipment ID into an equipment ID-wechat user ID binding relationship table.
The access method for the smart television private cloud device, wherein after the step S1 and before the step a, the method further includes:
and S2, when the private cloud equipment is connected with the private cloud server, reporting and writing the equipment ID, the equipment address and the port of the private cloud equipment into the private cloud server.
The access method of the smart television private cloud device, wherein the step B specifically includes:
b1, when the WeChat user ID has a binding relationship, acquiring the device ID corresponding to the WeChat user ID according to the device ID-WeChat user ID binding relationship table in the WeChat server, and sending the device ID corresponding to the WeChat user ID to the private cloud server;
b2, inquiring and acquiring the device address and the port corresponding to the device ID in the private cloud server according to the device ID;
b3, the WeChat client creates a connection request according to the device address and the port, and initiates the connection request to the private cloud device corresponding to the device ID.
The access method of the smart television private cloud device, wherein the step C further includes: the private cloud equipment issues data and sends the data to the WeChat client; and the WeChat client transmits the data fed back by the private cloud equipment to the upper-layer application.
The access method for the smart television private cloud device, wherein the step S1 specifically includes:
s11, the private cloud server generates a plurality of device IDs in advance and sends the device IDs to the WeChat server;
s12, the WeChat server generates two-dimensional code pictures corresponding to the equipment IDs one by one according to the received equipment IDs, and sends the two-dimensional code pictures corresponding to the equipment IDs one by one to the private cloud server; the name of the two-dimensional code picture is the equipment ID corresponding to the two-dimensional code picture;
s13, the private cloud equipment sends the MAC address information to a private cloud server;
and S14, binding a unique device ID in the private cloud server according to the MAC address information of the private cloud device, and sending the device ID bound by the MAC address information and the two-dimensional code picture corresponding to the device ID to the private cloud device.
The access method for the smart television private cloud device, wherein the step S1 specifically includes:
s101, when a WeChat client scans a two-dimensional code picture of private cloud equipment, acquiring an equipment ID corresponding to the two-dimensional code picture;
s102, when a user clicks a binding device button in an interface, sending a binding device instruction, and sending a device ID and a WeChat user ID corresponding to a WeChat client to a WeChat server according to the binding device instruction;
s103, binding the WeChat user ID with the equipment ID in the WeChat server, and storing the binding relation table of the equipment ID-the WeChat user ID; wherein, each device ID can bind a plurality of micro credit user IDs;
s104, the private cloud server receives a first notification message sent by the WeChat server and used for prompting that a binding relation table of the equipment ID and the WeChat user ID is established;
s105, the private cloud server inquires a binding relation table of the equipment ID and the WeChat user ID according to the WeChat user ID, and judges whether the binding relation table of the equipment ID and the WeChat user ID passes reliability verification or not;
s106, when the binding relation table of the equipment ID-WeChat user ID passes reliability verification, backing up and storing the binding relation table of the equipment ID-WeChat user ID in the WeChat server to a private cloud server;
s107, the private cloud server sends the second notification message to the private cloud equipment and the WeChat client respectively; wherein the second notification message is used for prompting that the device ID is successfully bound with the micro credit user ID.
An access system of a smart television private cloud device, comprising:
the sending and judging module is used for sending the corresponding WeChat user ID to the WeChat server through the private cloud public number in the WeChat client, and inquiring whether a binding relation exists according to the stored binding relation table of the equipment ID-the WeChat user ID;
the connection request initiating module is used for returning the equipment ID when the WeChat user ID has a binding relationship, inquiring the equipment address and the port of the private cloud server according to the obtained equipment ID, and establishing a connection request according to the equipment address and the port;
and the request response module is used for responding to the connection request of the WeChat client if the connection request passes the validity verification of the private cloud equipment.
The access system of the private cloud equipment of the smart television further comprises:
and the binding module is used for sending the ID of the WeChat user corresponding to the WeChat client and the equipment ID corresponding to the two-dimensional code picture to the WeChat server when the WeChat client scans the two-dimensional code picture of the private cloud equipment and receives an equipment binding instruction of a user, and storing the binding relationship between the ID of the WeChat user and the equipment ID into an equipment ID-WeChat user ID binding relationship table.
The access system of the private cloud equipment of the smart television further comprises:
and the reporting and writing module is used for reporting and writing the equipment ID of the private cloud equipment and the subordinate information comprising the IP and the port into the private cloud server when the private cloud equipment is connected with the private cloud server.
The invention provides an access method and system of private cloud equipment of an intelligent television, wherein the method comprises the following steps: sending the corresponding WeChat user ID to a WeChat server through a private cloud public number in a WeChat client, and inquiring whether a binding relation exists according to the stored binding relation table of the equipment ID-the WeChat user ID; when the WeChat user ID has a binding relationship, returning the equipment ID, inquiring the equipment address and the port of the private cloud server according to the obtained equipment ID, and creating a connection request according to the equipment address and the port; and if the connection request passes the validity verification of the private cloud equipment, responding to the connection request of the WeChat client. The invention realizes that the corresponding private cloud equipment can be accessed through the public number of the private cloud, and the resources in the private cloud are browsed and managed, thereby avoiding the complicated processes of downloading, installing and registering a user-defined client and facilitating the user.
Drawings
Fig. 1 is a flowchart of a preferred embodiment of an access method for a private cloud device of an intelligent television according to the present invention.
Fig. 2 is a flowchart of a specific embodiment of generating a device ID and a two-dimensional code picture.
Fig. 3 is a flowchart of a specific embodiment of binding a private cloud device by a wechat client.
Fig. 4 is a flowchart of a specific embodiment of a wechat client accessing a private cloud appliance.
Fig. 5 is a functional structure block diagram of a preferred embodiment of an access system of a private cloud device of an intelligent television according to the present invention.
Detailed Description
The invention provides an access method and system for private cloud equipment of an intelligent television, and the invention is further described in detail below in order to make the purpose, technical scheme and effect of the invention clearer and more clear and definite. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, which is a flowchart of a preferred embodiment of an access method for a private cloud device of an intelligent television according to the present invention, the method includes the following steps:
step S100, sending the corresponding WeChat user ID to a WeChat server through a private cloud public number in a WeChat client, and inquiring whether a binding relation exists according to the stored binding relation table of the equipment ID-the WeChat user ID;
step S200, when the WeChat user ID has a binding relationship, returning the equipment ID, inquiring the equipment address and the port from the private cloud server according to the obtained equipment ID, and creating a connection request according to the equipment address and the port;
and step S300, responding to the connection request of the WeChat client if the connection request passes the validity verification of the private cloud equipment.
In the embodiment of the invention, the topological structure according to the system can be divided into three parts: the system comprises a WeChat server and a private cloud server which are positioned at the cloud end of Internet, a private cloud device (such as a smart television private cloud device) which is positioned at the home or office of a user, and a WeChat client which is installed on a mobile intelligent terminal (such as a smart phone) of the user. The topology of the system comprises three parts which are in data communication connection with each other through a local area network and the Internet.
With the increasing functionality of the wechat APP in the mobile phone, many companies begin to publish information and provide product services to the outside through the wechat public number by means of the platform of wechat. In the invention, the private cloud is accessed through the WeChat public number, namely, the private cloud equipment is bound in the WeChat client, and a user can access own private cloud equipment and browse and manage resources in the private cloud only by opening the private cloud public number in the WeChat. The access mode avoids the complicated processes of downloading, installing and registering a user-defined client, is easy to master and use by a user, and is beneficial to popularization and promotion of private cloud products of televisions.
In the specific embodiment of the invention, the public number function of the wechat client is adopted to realize the access of the private cloud, but the specific implementation is not limited to the wechat public number, and the public number function proposed by other similar communication software can also be used for realizing the access of the private cloud equipment through the public number, such as the public number of Tencent QQ.
More specifically, as shown in fig. 4, it is a flowchart of a specific embodiment of the access of the wechat client to the private cloud device. The specific embodiment of the wechat client accessing the private cloud equipment comprises the following steps:
1) the private cloud equipment is connected with a private cloud server and reports own equipment ID (namely deviceiD) and corresponding subordinate information such as IP (Internet protocol), ports and the like;
2) the private cloud server processes the received information, finds out a corresponding private cloud equipment information item according to the deviceID, and writes information such as IP (Internet protocol) and ports of the private cloud equipment information item into the runtime system;
3) the wechat client sends a wechat user ID (namely openID) to the wechat server to inquire the binding relationship with the equipment, finds the deviceiD of the bound private cloud equipment, and inquires the IP and the port of the private cloud server for the subordinate information of the private cloud equipment through the deviceiD;
4) the WeChat client initiates a P2P connection request to the private cloud equipment according to the obtained IP, the port and the equipment binding relation;
5) the private cloud equipment confirms the connection validity through the binding relationship, responds to a connection request of the wechat client, sends corresponding data to the wechat client, and the wechat client transmits the data fed back by the private cloud equipment to the upper layer application to complete a data request task.
Preferably, in the access method for the private cloud device of the smart television, before the step S100, the method further includes:
step S1, when the wechat client scans the two-dimensional code picture of the private cloud equipment, when receiving an equipment binding instruction of a user, sending the wechat user ID corresponding to the wechat client and the equipment ID corresponding to the two-dimensional code picture to the wechat server, and storing the binding relationship between the wechat user ID and the equipment ID into an equipment ID-wechat user ID binding relationship table.
Each private cloud device can be bound by a plurality of wechat clients simultaneously so as to meet the use requirements of a plurality of members in a family on the private cloud devices, and each wechat client can only bind one private cloud device, namely, the private cloud device and the wechat client are in a one-to-many mapping relationship. Therefore, the binding process as described in step S2 must be completed before the wechat client accesses the private cloud device for the first time.
The binding relationship table of the device ID-WeChat user ID in the present invention is shown in table 1 in the specific implementation:
device ID WeChat user ID
Device1 WX1
Device2 WX2、WX3、WX4
…… ……
DeviceN WX(N+1)
TABLE 1
The binding relationship table of the device ID-wechat user ID in table 1 is only used for example, and the specific implementation is not limited to the above form, as long as the mapping relationship between the private cloud device and the wechat client is "one-to-many" can be reflected.
Preferably, in the access method for the private cloud device of the smart television, after the step S1 and before the step S100, the method further includes:
and step S2, when the private cloud equipment is connected with the private cloud server, reporting and writing the equipment ID, the equipment address and the port of the private cloud equipment into the private cloud server.
In step S2, once the private cloud device is connected to the private cloud server, it indicates that the private cloud device is in an online state, and at this time, when the private cloud device is in the online state, the device ID, the device address (i.e., the IP address of the device) and the port of the private cloud device need to be reported and written to the private cloud server, so that the wechat client having access right can query and obtain the online state of the private cloud device, thereby further implementing P2P data stream access from the wechat client to the private cloud device.
Further, in the access method for the private cloud device of the smart television, the step S200 specifically includes:
step S201, when the WeChat user ID has a binding relationship, acquiring the device ID corresponding to the WeChat user ID according to a device ID-WeChat user ID binding relationship table in the WeChat server, and sending the device ID corresponding to the WeChat user ID to a private cloud server;
step S202, inquiring and acquiring an equipment address and a port corresponding to the equipment ID in the private cloud server according to the equipment ID;
step S203, the WeChat client creates a connection request according to the equipment address and the port, and initiates the connection request to the private cloud equipment corresponding to the equipment ID.
Further, in the access method for the private cloud device of the smart television, the step S300 further includes: the private cloud equipment issues data and sends the data to the WeChat client; and the WeChat client transmits the data fed back by the private cloud equipment to the upper-layer application.
Further, in the access method for the private cloud device of the smart television, before the step S1, the method specifically includes:
step S11, the private cloud server generates a plurality of device IDs in advance and sends the device IDs to the WeChat server;
step S12, the WeChat server generates two-dimensional code pictures corresponding to the equipment IDs one by one according to the received equipment IDs, and sends the two-dimensional code pictures corresponding to the equipment IDs one by one to the private cloud server; the name of the two-dimensional code picture is the equipment ID corresponding to the two-dimensional code picture;
step S13, the private cloud equipment sends the MAC address information to a private cloud server;
step S14, according to the MAC address information of the private cloud equipment, binding a unique equipment ID in the private cloud server, and sending the equipment ID bound by the MAC address information and the two-dimensional code picture corresponding to the equipment ID to the private cloud equipment.
In order to ensure the uniqueness of the private cloud equipment and facilitate management and query, an equipment ID (namely deviceiD) is created for each private cloud equipment, and a two-dimensional code picture with a unique identifier is generated and issued to a private cloud equipment terminal. Moreover, the MAC address information of each private cloud device has uniqueness, so that the device ID of the corresponding private cloud device and the two-dimensional code picture corresponding to the device ID are obtained from the private cloud server according to the MAC address information of the private cloud device.
The device ID stored in the private cloud server is generated by the private cloud server, the two-dimensional code picture corresponding to the device ID is obtained by the private cloud server sending the device ID to the WeChat server, and the WeChat server generates the two-dimensional code pictures corresponding to the device ID one to one and feeds the two-dimensional code pictures back to the private cloud server.
Fig. 2 is a flowchart of a specific embodiment of generating a device ID and a two-dimensional code picture. The specific embodiment of generating the device ID and the two-dimensional code picture includes:
1) the private cloud server generates N device IDs in advance;
2) acquiring N corresponding two-dimensional code pictures from the WeChat server by using the N equipment IDs;
3) the WeChat server returns N two-dimensional code pictures named by the equipment ID to the private cloud server;
4) the private cloud equipment sends own MAC address information to the private cloud server, and requests the private cloud server to acquire own equipment ID and a two-dimensional code picture associated with the equipment ID through the MAC address information;
5) and the private cloud server returns the two-dimensional code picture and the equipment ID thereof to the private cloud equipment terminal.
Further, in the access method for the private cloud device of the smart television, the step S1 specifically includes:
step S101, when a WeChat client scans a two-dimensional code picture of private cloud equipment, acquiring an equipment ID corresponding to the two-dimensional code picture;
step S102, when detecting that a user clicks a binding device button in an interface, sending a binding device instruction, and sending a device ID and a WeChat user ID corresponding to a WeChat client to a WeChat server according to the binding device instruction;
step S103, binding the WeChat user ID and the equipment ID in the WeChat server, and storing the binding relation table of the equipment ID-the WeChat user ID; wherein, each device ID can bind a plurality of micro credit user IDs;
step S104, the private cloud server receives a first notification message sent by the WeChat server and used for prompting that a binding relation table of the equipment ID and the WeChat user ID is established;
step S105, the private cloud server inquires a binding relation table of the equipment ID and the WeChat user ID according to the WeChat user ID, and judges whether the binding relation table of the equipment ID and the WeChat user ID passes reliability verification or not;
step S106, when the binding relation table of the equipment ID-WeChat user ID passes reliability verification, backing up and storing the binding relation table of the equipment ID-WeChat user ID in the WeChat server to a private cloud server;
step S107, the private cloud server sends the second notification message to the private cloud equipment and the WeChat client respectively; wherein the second notification message is used for prompting that the device ID is successfully bound with the micro credit user ID.
More specifically, as shown in fig. 3, it is a flowchart of a specific embodiment of binding a private cloud device by a wechat client. The specific embodiment of binding the private cloud equipment by the WeChat client comprises the following steps:
1) the WeChat client scans a two-dimensional code picture of the private cloud equipment through a scanning function to obtain the deviceID of the private cloud equipment;
2) the user selects to click 'binding equipment' in the WeChat, and the WeChat client transmits information such as openID for identifying the WeChat user and deviceiD for identifying the private cloud equipment to the WeChat server through the network;
3) the WeChat server writes the corresponding relation between the deviceID and the openID into a runtime system, and establishes a one-to-many binding relation;
4) the WeChat server informs the private cloud server of establishing a binding relationship between the openID and the deviceID;
5) the private cloud server inquires the binding relationship from the WeChat server through the openID to verify whether the binding relationship is reliable or not;
6) if the binding relationship is reliable, keeping a copy of the binding relationship in the private cloud server;
7) and the private cloud server sends a message to respectively inform the private cloud equipment and the wechat client that the binding is successful.
Therefore, the method and the device solve the problem that the private cloud equipment can only be accessed through the user-defined client, realize the access to the private cloud equipment through the private cloud public number built in the WeChat, and bring convenience to users.
Based on the method embodiment, the invention further provides an access system of the smart television private cloud equipment. As shown in fig. 5, the access system of the smart television private cloud device includes:
the sending and judging module 100 is configured to send the corresponding wechat user ID to the wechat server through a private cloud public number in the wechat client, and query whether a binding relationship exists according to the stored device ID-wechat user ID binding relationship table; as particularly described above;
a connection request initiating module 200, configured to, when the WeChat user ID has a binding relationship, return the device ID, query the device address and the port from the private cloud server according to the obtained device ID, and create a connection request according to the device address and the port; as particularly described above;
the request response module 300 is configured to respond to the connection request of the wechat client if the connection request passes the validity verification of the private cloud device; as described above.
Preferably, in the access system for the smart television private cloud device, the access system further includes:
the binding module is used for sending a WeChat user ID corresponding to the WeChat client and a device ID corresponding to the two-dimensional code picture to the WeChat server when the WeChat client scans the two-dimensional code picture of the private cloud device and receives a device binding instruction of a user, and storing the binding relationship between the WeChat user ID and the device ID into a device ID-WeChat user ID binding relationship table; as described above.
Preferably, in the access system for the smart television private cloud device, the access system further includes:
the reporting and writing module is used for reporting and writing the equipment ID of the private cloud equipment and the subordinate information comprising the IP and the port into the private cloud server when the private cloud equipment is connected with the private cloud server; as described above.
In summary, the access method and system for the private cloud device of the smart television provided by the present invention include: sending the corresponding WeChat user ID to a WeChat server through a private cloud public number in a WeChat client, and inquiring whether a binding relation exists according to the stored binding relation table of the equipment ID-the WeChat user ID; when the WeChat user ID has a binding relationship, returning the equipment ID, inquiring the equipment address and the port of the private cloud server according to the obtained equipment ID, and creating a connection request according to the equipment address and the port; and if the connection request passes the validity verification of the private cloud equipment, responding to the connection request of the WeChat client. The invention realizes that the corresponding private cloud equipment can be accessed through the public number of the private cloud, and the resources in the private cloud are browsed and managed, thereby avoiding the complicated processes of downloading, installing and registering a user-defined client and facilitating the user.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a computer-readable storage medium, and when the computer program is executed, the processes of the embodiments of the methods described above can be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a Random Access Memory (RAM), or the like.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.

Claims (8)

1. An access method of a private cloud device of an intelligent television is characterized by comprising the following steps:
A. sending the corresponding WeChat user ID to a WeChat server through a private cloud public number in a WeChat client, and inquiring whether a binding relation exists according to the stored binding relation table of the equipment ID-the WeChat user ID;
B. when the WeChat user ID has a binding relationship, returning the equipment ID, inquiring the equipment address and the port of the private cloud server according to the obtained equipment ID, and creating a connection request according to the equipment address and the port;
C. if the connection request passes the validity verification of the private cloud equipment, responding to the connection request of the WeChat client;
the step A is also preceded by:
s1, when the WeChat client scans the two-dimensional code picture of the private cloud equipment, when receiving an equipment binding instruction of a user, sending a WeChat user ID corresponding to the WeChat client and an equipment ID corresponding to the two-dimensional code picture to a WeChat server, and storing the binding relationship between the WeChat user ID and the equipment ID into an equipment ID-WeChat user ID binding relationship table;
and each private cloud device is bound by a plurality of the micro-credit clients at the same time, and each micro-credit client can only be bound with one private cloud device.
2. The method for accessing the private cloud equipment of the smart television according to claim 1, wherein after the step S1 and before the step a, the method further comprises:
and S2, when the private cloud equipment is connected with the private cloud server, reporting and writing the equipment ID, the equipment address and the port of the private cloud equipment into the private cloud server.
3. The method for accessing the private cloud equipment of the smart television according to claim 1, wherein the step B specifically comprises:
b1, when the WeChat user ID has a binding relationship, acquiring the device ID corresponding to the WeChat user ID according to the device ID-WeChat user ID binding relationship table in the WeChat server, and sending the device ID corresponding to the WeChat user ID to the private cloud server;
b2, inquiring and acquiring the device address and the port corresponding to the device ID in the private cloud server according to the device ID;
b3, the WeChat client creates a connection request according to the device address and the port, and initiates the connection request to the private cloud device corresponding to the device ID.
4. The method for accessing the private cloud equipment of the smart television according to claim 1, wherein the step C further comprises: the private cloud equipment issues data and sends the data to the WeChat client; and the WeChat client transmits the data fed back by the private cloud equipment to the upper-layer application.
5. The method according to claim 1, wherein the step S1 is preceded by:
s11, the private cloud server generates a plurality of device IDs in advance and sends the device IDs to the WeChat server;
s12, the WeChat server generates two-dimensional code pictures corresponding to the equipment IDs one by one according to the received equipment IDs, and sends the two-dimensional code pictures corresponding to the equipment IDs one by one to the private cloud server; the name of the two-dimensional code picture is the equipment ID corresponding to the two-dimensional code picture;
s13, the private cloud equipment sends the MAC address information to a private cloud server;
and S14, binding a unique device ID in the private cloud server according to the MAC address information of the private cloud device, and sending the device ID bound by the MAC address information and the two-dimensional code picture corresponding to the device ID to the private cloud device.
6. The method according to claim 1, wherein the step S1 specifically includes:
s101, when a WeChat client scans a two-dimensional code picture of private cloud equipment, acquiring an equipment ID corresponding to the two-dimensional code picture;
s102, when a user clicks a binding device button in an interface, sending a binding device instruction, and sending a device ID and a WeChat user ID corresponding to a WeChat client to a WeChat server according to the binding device instruction;
s103, binding the WeChat user ID with the equipment ID in the WeChat server, and storing the binding relation table of the equipment ID-the WeChat user ID; wherein, each device ID can bind a plurality of micro credit user IDs;
s104, the private cloud server receives a first notification message sent by the WeChat server and used for prompting that a binding relation table of the equipment ID and the WeChat user ID is established;
s105, the private cloud server inquires a binding relation table of the equipment ID and the WeChat user ID according to the WeChat user ID, and judges whether the binding relation table of the equipment ID and the WeChat user ID passes reliability verification or not;
s106, when the binding relation table of the equipment ID-WeChat user ID passes reliability verification, backing up and storing the binding relation table of the equipment ID-WeChat user ID in the WeChat server to a private cloud server;
s107, the private cloud server sends the second notification message to the private cloud equipment and the WeChat client respectively; wherein the second notification message is used for prompting that the device ID is successfully bound with the micro credit user ID.
7. An access system of a smart television private cloud device, comprising:
the sending and judging module is used for sending the corresponding WeChat user ID to the WeChat server through the private cloud public number in the WeChat client, and inquiring whether a binding relation exists according to the stored binding relation table of the equipment ID-the WeChat user ID;
the connection request initiating module is used for returning the equipment ID when the WeChat user ID has a binding relationship, inquiring the equipment address and the port of the private cloud server according to the obtained equipment ID, and establishing a connection request according to the equipment address and the port;
the request response module is used for responding to the connection request of the WeChat client if the connection request passes the validity verification of the private cloud equipment;
the binding module is used for sending a WeChat user ID corresponding to the WeChat client and a device ID corresponding to the two-dimensional code picture to the WeChat server when the WeChat client scans the two-dimensional code picture of the private cloud device and receives a device binding instruction of a user, and storing the binding relationship between the WeChat user ID and the device ID into a device ID-WeChat user ID binding relationship table;
and each private cloud device is bound by a plurality of the micro-credit clients at the same time, and each micro-credit client can only be bound with one private cloud device.
8. The access system of the smart television private cloud device of claim 7, further comprising:
and the reporting and writing module is used for reporting and writing the equipment ID of the private cloud equipment and the subordinate information comprising the IP and the port into the private cloud server when the private cloud equipment is connected with the private cloud server.
CN201611207758.8A 2016-12-23 2016-12-23 Access method and system for private cloud equipment of smart television Active CN106685947B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611207758.8A CN106685947B (en) 2016-12-23 2016-12-23 Access method and system for private cloud equipment of smart television

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611207758.8A CN106685947B (en) 2016-12-23 2016-12-23 Access method and system for private cloud equipment of smart television

Publications (2)

Publication Number Publication Date
CN106685947A CN106685947A (en) 2017-05-17
CN106685947B true CN106685947B (en) 2021-04-13

Family

ID=58871502

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611207758.8A Active CN106685947B (en) 2016-12-23 2016-12-23 Access method and system for private cloud equipment of smart television

Country Status (1)

Country Link
CN (1) CN106685947B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107678882A (en) * 2017-09-14 2018-02-09 北京春鸿科技有限公司 A kind of method and system of data backup
CN108667950B (en) * 2018-03-23 2021-12-21 海信集团有限公司 Method and device for obtaining device identification
CN110021084B (en) * 2018-10-29 2021-09-28 深圳市微开互联科技有限公司 Code scanning door opening system and method of distributed authorization architecture
CN109635970A (en) * 2018-11-12 2019-04-16 浙江想能云软件股份有限公司 Hotel reservation method and system based on intelligent mattress
CN109802886B (en) * 2019-01-28 2021-10-19 奥克斯空调股份有限公司 Method and device for binding third party public number, air conditioner and storage medium
CN110505569B (en) * 2019-08-23 2021-07-06 河南天洛网络科技有限公司 Electronic tour guide method, device and system
CN112752353B (en) * 2019-10-31 2022-06-10 中移物联网有限公司 Connection method and terminal equipment
CN111030919A (en) * 2019-12-06 2020-04-17 漳州市金龙锋信息科技有限公司 Equipment binding method based on WeChat public number with parameter two-dimensional code
CN113163250B (en) * 2021-05-25 2022-10-11 四川虹魔方网络科技有限公司 Safe communication method based on smart television
CN114884982B (en) * 2022-03-28 2023-11-07 江苏徐工工程机械研究院有限公司 Multi-mine user online management method and system based on cloud service

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103618706A (en) * 2013-11-19 2014-03-05 深圳Tcl新技术有限公司 Control system and method for mutual access of intelligent devices
CN104506425A (en) * 2014-12-26 2015-04-08 陈为人 Instant messaging system based on family cloud host and method thereof
CN104660702A (en) * 2015-03-04 2015-05-27 深圳市新联锋科技有限公司 Butt-joint method and system of third-party cloud server and private Internet of things cloud server
CN105554146A (en) * 2015-12-25 2016-05-04 Tcl集团股份有限公司 Remote access method and device
CN105553836A (en) * 2016-02-02 2016-05-04 四川长虹电器股份有限公司 Household appliance control method and system based on Wechat
CN105991414A (en) * 2015-02-15 2016-10-05 深圳市棱镜锐视科技有限公司 Method and system for video surveillance live broadcasting through intelligent terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103618706A (en) * 2013-11-19 2014-03-05 深圳Tcl新技术有限公司 Control system and method for mutual access of intelligent devices
CN104506425A (en) * 2014-12-26 2015-04-08 陈为人 Instant messaging system based on family cloud host and method thereof
CN105991414A (en) * 2015-02-15 2016-10-05 深圳市棱镜锐视科技有限公司 Method and system for video surveillance live broadcasting through intelligent terminal
CN104660702A (en) * 2015-03-04 2015-05-27 深圳市新联锋科技有限公司 Butt-joint method and system of third-party cloud server and private Internet of things cloud server
CN105554146A (en) * 2015-12-25 2016-05-04 Tcl集团股份有限公司 Remote access method and device
CN105553836A (en) * 2016-02-02 2016-05-04 四川长虹电器股份有限公司 Household appliance control method and system based on Wechat

Also Published As

Publication number Publication date
CN106685947A (en) 2017-05-17

Similar Documents

Publication Publication Date Title
CN106685947B (en) Access method and system for private cloud equipment of smart television
US11533190B2 (en) System and method for providing network support services and premises gateway support infrastructure
US10291956B2 (en) Methods and systems for enabling communications between devices
CN102077546B (en) Remote access between UPnP devices
EP3228069B1 (en) Stack fusion architecture including distributed software clusters to enable software communication services
TWI608743B (en) Method, server and system for managing wireless network login password sharing function
CN105991796B (en) A kind of method and system of the configuration service of the user terminal in on-premise network
US8396220B2 (en) System and method of mobile content sharing and delivery in an integrated network environment
US20120317254A1 (en) Network platform in a network device ecosystem
US9052861B1 (en) Secure connections between a proxy server and a base station device
EP3163798B1 (en) Method for processing request messages in wireless communication system, and device for same
CN103327100A (en) Resource processing method and site server
EP3491805B1 (en) System and method for configuration of a connected device connection
JP4161791B2 (en) Inter-device authentication system, inter-device authentication method, communication device, and computer program
WO2018014683A1 (en) Visual communication management method and device
CN111108736B (en) Method and system for automatic address failover of a computing device
WO2020178823A1 (en) A system and method for switching between publish/subscribe services
CN113067803A (en) Resource isolation system, request processing method and request processing device
WO2014015525A1 (en) Method and device for querying for user online state
US20160099928A1 (en) Systems and methods for managing connections for universal plug-and-play devices
CN112565182A (en) Data processing method and system, electronic equipment and gateway equipment
US20190044956A1 (en) Restricting Communications Between Subscriber Machines
CN113285920B (en) Service access method, device, equipment and storage medium
WO2009062396A1 (en) Resource access method and resource access system
KR20120069037A (en) Method and apparatus for providing service of external network to home network device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
TA01 Transfer of patent application right

Effective date of registration: 20171218

Address after: 518000 Guangdong city of Shenzhen province Nanshan District Xili liuxiandong Zhongshan Road No. 1001 TCL Science Park Research Building D4 Building 8 layer B1 unit 802-1.

Applicant after: SHENZHEN TCL HIGH-TECH DEVELOPMENT CO., LTD.

Address before: 516006 Guangdong province Huizhou Zhongkai hi tech Development Zone No. nineteen District

Applicant before: TCL Group Co., Ltd.

TA01 Transfer of patent application right
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant