CN116668402A - Intelligent cloud box access method, device, equipment and storage medium - Google Patents

Intelligent cloud box access method, device, equipment and storage medium Download PDF

Info

Publication number
CN116668402A
CN116668402A CN202310791564.0A CN202310791564A CN116668402A CN 116668402 A CN116668402 A CN 116668402A CN 202310791564 A CN202310791564 A CN 202310791564A CN 116668402 A CN116668402 A CN 116668402A
Authority
CN
China
Prior art keywords
intelligent cloud
cloud box
access
address
box
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.)
Pending
Application number
CN202310791564.0A
Other languages
Chinese (zh)
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.)
China United Network Communications Group Co Ltd
Unicom Digital Technology Co Ltd
Unicom Cloud Data Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Unicom Digital Technology Co Ltd
Unicom Cloud Data 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 China United Network Communications Group Co Ltd, Unicom Digital Technology Co Ltd, Unicom Cloud Data Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202310791564.0A priority Critical patent/CN116668402A/en
Publication of CN116668402A publication Critical patent/CN116668402A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/457Network directories; Name-to-address mapping containing identifiers of data entities on a computer, e.g. file names
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The application provides an intelligent cloud box access method, a device, equipment and a storage medium, wherein an internet server responds to access operation of a user terminal, and inquires an intranet access address and an extranet access address corresponding to equipment identification in the access operation according to the mapping relation between the equipment identification of the intelligent cloud box and an intranet internet protocol address and the mapping relation between the equipment identification of the intelligent cloud box and a source internet protocol address, wherein the access operation is initiated by the user terminal through scanning a two-dimensional code on the intelligent cloud box, and the two-dimensional code comprises the equipment identification of the intelligent cloud box and website information of the internet server; and sending the intranet access address and the extranet access address to the user terminal, so that the user terminal accesses the intelligent cloud box according to the intranet access address and the extranet access address, and establishes connection with the intelligent cloud box.

Description

Intelligent cloud box access method, device, equipment and storage medium
Technical Field
The present application relates to the field of intelligent terminals, and in particular, to an intelligent cloud box access method, apparatus, device, and storage medium.
Background
The intelligent cloud box is called an intelligent box or a multifunctional gateway box, belongs to intermediate equipment of a sensing network layer and a transmission network layer, is also key equipment of the application of the Internet of things, can collect and process various external perception data only through conversion and collection of the intelligent cloud box, and then transmits the external perception data to an Internet cloud service platform in various network interface modes, and adopts corresponding management measures according to required management and control actions. If there is no presence, the sensed data will not be sent to the designated location and the networking of "things" will no longer exist. The application of the intelligent cloud box can be divided into two large industries, namely the Internet of things industry, and the public intelligent home industry, wherein the intelligent cloud box comprises a civil intelligent home gateway cloud box and a commercial Internet of things intelligent cloud box.
In the related art, the intelligent cloud box is used as a family cloud box, and the experience is important, so that the complexity of configuration and use is required to be reduced, and a general novice can be used by being on hand. The existing equipment is complex in configuration, and a certain experience of product management and maintenance of internet technology is required. In order to solve the problem, a near field communication (Near Field Communication, NFC) module is built in the smart cloud box, and automatic connection is completed by the mobile phone supporting NFC approaching the box.
However, in the prior art, for a mobile phone without an NFC function, access of an intelligent cloud box cannot be achieved, complexity of access of the intelligent cloud box is high, and user experience is poor.
Disclosure of Invention
The application provides an intelligent cloud box access method, device, equipment and storage medium, which are used for solving the technical problems that in the prior art, for a mobile phone without NFC function, the intelligent cloud box access cannot be realized, the complexity of the intelligent cloud box access is high, and the user experience is poor.
In a first aspect, the present application provides an intelligent cloud box access method, applied to an internet server, the method comprising:
responding to an access operation of a user terminal, and inquiring an intranet access address and an extranet access address corresponding to the equipment identification in the access operation according to a mapping relation between the equipment identification of an intelligent cloud box and an intranet internet protocol address and a mapping relation between the equipment identification of the intelligent cloud box and a source internet protocol address, wherein the access operation is initiated by the user terminal through scanning a two-dimensional code on the intelligent cloud box, and the two-dimensional code comprises the equipment identification of the intelligent cloud box and website information of an internet server;
And sending the intranet access address and the extranet access address to the user terminal, so that the user terminal accesses the intelligent cloud box according to the intranet access address and the extranet access address, and establishes connection with the intelligent cloud box.
The application provides a simple and convenient intelligent cloud box access method, a user terminal does not need to configure an NFC module, the user terminal can access an Internet server only by scanning a two-dimensional code on the intelligent cloud box, the Internet server can inquire in a mapping relation between a pre-stored device identifier and an address according to the device identifier of the intelligent cloud box carried in a user terminal access request, an intranet access address and an extranet access address corresponding to the device identifier are provided for a user, the user terminal can access the intelligent cloud box through the intranet access address and the extranet access address corresponding to the device identifier, the NFC module does not need to be specially configured at the user terminal, the cost is low, the intelligent cloud box access mode is simple, and the user experience is improved.
Optionally, before the responding to the access operation of the user terminal, according to the mapping relationship between the device identifier of the intelligent cloud box and the intranet internet protocol address and the mapping relationship between the device identifier of the intelligent cloud box and the source internet protocol address, the method further includes:
Responding to the connection operation of the intelligent cloud box after the intelligent cloud box is connected with a home cloud gateway, and acquiring the mapping relation between the equipment identifier of the intelligent cloud box and the intranet internet protocol address; and extracting a source internet protocol address and a source port number according to the message of the home cloud gateway, carrying out mapping processing on the source internet protocol address and the equipment identifier, and determining an external network access address of the intelligent cloud box according to a mapping result.
After the intelligent cloud box is connected with the home cloud gateway and electrified, the device identification and the intranet internet protocol address can be automatically sent to the internet server, the internet server automatically obtains the mapping relation between the device identification of the intelligent cloud box and the intranet internet protocol address, the mapping relation between the device identification of the intelligent cloud box and the source internet protocol address is determined according to the message of the home cloud gateway, the internet server can directly establish the connection between the device identification of the intelligent cloud box and the access address after the mapping relation is determined, and when the user terminal accesses the internet server with the device identification of the intelligent cloud box, the access address is automatically inquired and sent for the user terminal, so that the simple and convenient access of the intelligent cloud box is realized, and the user experience is improved.
Optionally, after the sending the intranet access address and the extranet access address to the user terminal, the method further includes:
receiving a heartbeat message sent by the intelligent cloud box; and determining the online state of the intelligent cloud box according to the heartbeat message.
Optionally, the determining the online state of the intelligent cloud box according to the heartbeat message includes:
and if the heartbeat message sent by the intelligent cloud box is not received within the preset updating time, determining that the intelligent cloud box is in an offline state.
Optionally, after determining that the intelligent cloud box is in the offline state if the heartbeat message sent by the intelligent cloud box is not received within the preset update time, the method further includes:
and deleting the mapping relation between the device identification of the intelligent cloud box and the intranet internet protocol address, and deleting the mapping relation between the device identification of the intelligent cloud box and the source internet protocol address.
The internet server can also receive the heartbeat message sent by the intelligent cloud box and judge the online state of the intelligent cloud box, so that whether the mapping relation between the equipment identification and the access address of the intelligent cloud box is reserved or not is determined according to the state, the storage space is saved, the access efficiency is improved, and the user experience is further improved.
In a second aspect, the present application provides an intelligent cloud box access method, applied to an intelligent cloud box, the method comprising:
and receiving access of the user terminal according to the intranet access address and the extranet access address, and establishing connection with the user terminal, wherein the intranet access address and the extranet access address are obtained by inquiring the intranet access address and the extranet access address corresponding to the equipment identification in the access operation according to the mapping relation between the equipment identification of the intelligent cloud box and the intranet internet interconnection protocol address and the mapping relation between the equipment identification of the intelligent cloud box and the source internet interconnection protocol address after the Internet server responds to the access operation of the user terminal, and the access operation is initiated by the user terminal by scanning a two-dimensional code on the intelligent cloud box, wherein the two-dimensional code comprises the equipment identification of the intelligent cloud box and the website information of the Internet server.
The intelligent cloud box access method provided by the application only needs to set the two-dimensional code on the intelligent cloud box, the user terminal can access the intelligent cloud box through the two-dimensional code, no additional hardware equipment is needed, the cost is saved, the access mode is simple and quick, and the user experience is improved.
In a third aspect, the present application provides an intelligent cloud box access device, applied to an internet server, the device comprising:
the query module is used for responding to the access operation of the user terminal, and querying an intranet access address and an extranet access address corresponding to the equipment identifier in the access operation according to the mapping relation between the equipment identifier of the intelligent cloud box and the intranet internet interconnection protocol address and the mapping relation between the equipment identifier of the intelligent cloud box and the source internet interconnection protocol address, wherein the access operation is initiated by the user terminal through scanning a two-dimensional code on the intelligent cloud box, and the two-dimensional code comprises the equipment identifier of the intelligent cloud box and the website information of the internet server;
and the sending module is used for sending the intranet access address and the extranet access address to the user terminal so that the user terminal accesses the intelligent cloud box according to the intranet access address and the extranet access address and establishes connection with the intelligent cloud box.
Optionally, before the query module responds to the access operation of the user terminal, the device further includes a mapping relationship determining module, configured to:
Responding to the connection operation of the intelligent cloud box after the intelligent cloud box is connected with a home cloud gateway, and acquiring the mapping relation between the equipment identifier of the intelligent cloud box and the intranet internet protocol address;
and extracting a source internet protocol address and a source port number according to the message of the home cloud gateway, carrying out mapping processing on the source internet protocol address and the equipment identifier, and determining an external network access address of the intelligent cloud box according to a mapping result.
Optionally, after the sending module sends the intranet access address and the extranet access address to the user terminal, the apparatus further includes an online status determining module, configured to:
receiving a heartbeat message sent by the intelligent cloud box;
and determining the online state of the intelligent cloud box according to the heartbeat message.
Optionally, the online status determining module is specifically configured to:
and if the heartbeat message sent by the intelligent cloud box is not received within the preset updating time, determining that the intelligent cloud box is in an offline state.
Optionally, after the online state determining module is configured to determine that the intelligent cloud box is in an offline state if the heartbeat message sent by the intelligent cloud box is not received within a preset update time, the apparatus further includes a deleting module configured to:
And deleting the mapping relation between the device identification of the intelligent cloud box and the intranet internet protocol address, and deleting the mapping relation between the device identification of the intelligent cloud box and the source internet protocol address.
In a fourth aspect, the present application provides an intelligent cloud box access device, applied to an intelligent cloud box, the device comprising:
the connection module is used for receiving the access of the user terminal according to the intranet access address and the extranet access address, and establishing connection with the user terminal, wherein the intranet access address and the extranet access address are obtained by inquiring the intranet access address and the extranet access address corresponding to the equipment identifier in the access operation according to the mapping relationship between the equipment identifier of the intelligent cloud box and the intranet internet protocol address and the mapping relationship between the equipment identifier of the intelligent cloud box and the source internet protocol address after the Internet server responds to the access operation of the user terminal, and the access operation is initiated by the user terminal by scanning the two-dimensional code on the intelligent cloud box, wherein the two-dimensional code comprises the equipment identifier of the intelligent cloud box and the website information of the Internet server.
In a fifth aspect, the present application provides an intelligent cloud box access device, including: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executes the computer-executable instructions stored by the memory, such that the at least one processor performs the smart cloud box access method as described above in the first aspect and the various possible designs of the first aspect.
In a sixth aspect, the present application provides an intelligent cloud box access device, including: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executes the computer-executable instructions stored by the memory, causing the at least one processor to perform the smart cloud box access method of the second aspect and the various possible designs of the second aspect.
In a seventh aspect, the present application provides a computer readable storage medium, where computer executable instructions are stored, when executed by a processor, to implement the smart cloud box access method according to the first aspect and the various possible designs of the first aspect.
In an eighth aspect, the present application provides a computer readable storage medium, where computer executable instructions are stored, when executed by a processor, to implement the smart cloud box access method according to the second aspect and the various possible designs of the second aspect.
In a ninth aspect, the present application provides a computer program product comprising a computer program which, when executed by a processor, implements the smart cloud box access method according to the first aspect and the various possible designs of the first aspect.
In a tenth aspect, the present application provides a computer program product, comprising a computer program, which when executed by a processor, implements the smart cloud box access method according to the above second aspect and the various possible designs of the second aspect.
According to the intelligent cloud box access method, the device, the equipment and the storage medium, the user terminal can access the internet server only by scanning the two-dimensional code on the intelligent cloud box, the internet server can inquire in the mapping relation between the pre-stored equipment identification and the pre-stored address according to the equipment identification of the intelligent cloud box carried in the user terminal access request, the intranet access address and the extranet access address corresponding to the equipment identification are provided for the user, the user terminal can access the intelligent cloud box through the intranet access address and the extranet access address corresponding to the equipment identification, the NFC module is not required to be specially configured at the user terminal, the cost is low, the intelligent cloud box access mode is simple, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the description below are only some embodiments of the application, and that other drawings can be obtained according to these drawings without inventive faculty for a person skilled in the art.
Fig. 1 is a schematic diagram of an intelligent cloud box access system architecture according to an embodiment of the present application;
fig. 2 is a schematic flow chart of an intelligent cloud box access method according to an embodiment of the present application;
fig. 3 is a flow chart of another intelligent cloud box access method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an intelligent cloud box access device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an intelligent cloud box access device according to an embodiment of the present application.
Specific embodiments of the present disclosure have been shown by way of the above drawings and will be described in more detail below. These drawings and the written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the disclosed concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
The terms "first," "second," "third," and "fourth" and the like in the description and in the claims and in the above drawings, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that, the user information (including but not limited to user equipment information, user personal information, etc.) and the data (including but not limited to data for analysis, stored data, presented data, etc.) related to the present application are information and data authorized by the user or fully authorized by each party, and the collection, use and processing of the related data need to comply with related laws and regulations and standards, and provide corresponding operation entries for the user to select authorization or rejection.
The cloud computing is based on open collaboration among cloud service providers, through deep fusion of multi-party cloud resources, developers can customize cloud services in a software definition mode conveniently, cloud value is created, and a new generation cloud computing mode of 'no service boundary, collaboration among clouds, easy sharing of resources and convertible value' is achieved. The intelligent cloud box is a cloud computing product, and particularly provides convenience for life in the application of the public intelligent home industry. As the intelligent cloud box, the intelligent cloud box is important to experience, and complexity of configuration and use needs to be reduced, so that a general novice can go up for use. The existing equipment is complex in configuration, and a certain experience of product management and maintenance of internet technology is required. In order to solve the problem, a Near Field Communication (NFC) module is arranged in the intelligent cloud box, and the NFC-supporting mobile phone approaches the box to complete automatic connection. In the prior art, for a mobile phone without an NFC function, the access of the intelligent cloud box cannot be realized, the complexity of the access of the intelligent cloud box is high, and the user experience is poor.
In order to solve the technical problems, the embodiment of the application provides an intelligent cloud box access method, device, equipment and storage medium, wherein an NFC module is not required to be configured in a user terminal, the user terminal can access an internet server only by scanning a two-dimensional code on the intelligent cloud box, the internet server can inquire in a mapping relation between a pre-stored equipment identifier and an address according to the equipment identifier of the intelligent cloud box carried in a user terminal access request, an intranet access address and an extranet access address corresponding to the equipment identifier are provided for a user, and the user terminal can access the intelligent cloud box through the intranet access address and the extranet access address corresponding to the equipment identifier.
Optionally, fig. 1 is a schematic diagram of an intelligent cloud box access system architecture according to an embodiment of the present application. As shown in fig. 1, the above architecture includes: an internet server 101, a smart cloud box 102, a user terminal 103 and a home cloud gateway 104.
Wherein, the internet server 101 and the intelligent cloud box 102 can establish a connection through the home cloud gateway 104.
The user terminal may access the internet server through an Application (APP) or a web page.
Optionally, the outer box of the smart cloud box 102 is configured with a two-dimensional code, which may be movably or fixedly disposed on the smart cloud box.
It will be appreciated that the number and specific structure of the internet server 101, the intelligent cloud box 102, the user terminal 103, and the home cloud gateway 104 may be determined according to practical situations, and fig. 1 is only schematic, and the number of the nodes is not specifically limited in the embodiment of the present application.
It can be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the architecture of the smart cloud box access system. In other possible embodiments of the present application, the architecture may include more or less components than those illustrated, or some components may be combined, some components may be split, or different component arrangements may be specifically determined according to the actual application scenario, and the present application is not limited herein. The components shown in fig. 1 may be implemented in hardware, software, or a combination of software and hardware.
In addition, the network architecture and the service scenario described in the embodiments of the present application are for more clearly describing the technical solution of the embodiments of the present application, and do not constitute a limitation on the technical solution provided by the embodiments of the present application, and as a person of ordinary skill in the art can know, with evolution of the network architecture and occurrence of a new service scenario, the technical solution provided by the embodiments of the present application is also applicable to similar technical problems.
The following description of the present application is given by taking several embodiments as examples, and the same or similar concepts or processes may not be described in detail in some embodiments.
Fig. 2 is a flow chart of an intelligent cloud box access method provided by an embodiment of the present application, where an execution subject of the embodiment of the present application is an internet server, and the specific execution subject may be determined according to an actual application scenario. As shown in fig. 2, the method comprises the steps of:
s201: responding to the access operation of the user terminal, and inquiring the intranet access address and the extranet access address corresponding to the equipment identifier in the access operation according to the mapping relation between the equipment identifier of the intelligent cloud box and the intranet internet protocol address and the mapping relation between the equipment identifier of the intelligent cloud box and the source internet protocol address.
The access operation is initiated by the user terminal through scanning a two-dimensional code on the intelligent cloud box, wherein the two-dimensional code comprises a device identifier of the intelligent cloud box and website information of an Internet server.
Optionally, each smart cloud box corresponds to a device identifier, and the device identifier may be randomly produced when shipped from a factory.
Optionally, the two-dimensional code may be generated according to the device identifier and the website of the internet server when shipped from the factory.
Optionally, the two-dimensional code may be pasted or printed on the smart cloud box.
Optionally, the two-dimensional code can be movably arranged on the intelligent cloud box so as to be replaced, and flexibility is improved.
Optionally, before responding to the access operation of the user terminal, according to the mapping relationship between the device identifier of the intelligent cloud box and the intranet internet protocol address and the mapping relationship between the device identifier of the intelligent cloud box and the source internet protocol address, the method further comprises:
responding to the connection operation of the intelligent cloud box after the intelligent cloud box is connected with the home cloud gateway, and acquiring the mapping relation between the equipment identifier of the intelligent cloud box and the intranet internet protocol address; and extracting the source internet protocol address and the source port number according to the message of the home cloud gateway, carrying out mapping processing on the source internet protocol address and the equipment identifier, and determining the external network access address of the intelligent cloud box according to the mapping result.
After the intelligent cloud box is connected with the home cloud gateway, the device identification and the intranet internet protocol address can be automatically sent to the internet server, the internet server automatically obtains the mapping relation between the device identification of the intelligent cloud box and the intranet internet protocol address, the mapping relation between the device identification of the intelligent cloud box and the source internet protocol address is determined according to the message of the home cloud gateway, the internet server can directly establish the connection between the device identification of the intelligent cloud box and the access address after the mapping relation is determined, and when the user terminal accesses the internet server with the device identification of the intelligent cloud box, the access address is automatically queried and sent for the user terminal, so that the intelligent cloud box is simply and conveniently accessed, and the user experience is improved.
S202: and sending the intranet access address and the extranet access address to the user terminal, so that the user terminal accesses the intelligent cloud box according to the intranet access address and the extranet access address, and establishes connection with the intelligent cloud box.
Optionally, after sending the intranet access address and the extranet access address to the user terminal, the method further includes: receiving a heartbeat message sent by an intelligent cloud box; and determining the online state of the intelligent cloud box according to the heartbeat message.
Optionally, determining the online state of the intelligent cloud box according to the heartbeat message includes:
and if the heartbeat message sent by the intelligent cloud box is not received within the preset updating time, determining that the intelligent cloud box is in an offline state.
Optionally, after determining that the intelligent cloud box is in the offline state if the heartbeat message sent by the intelligent cloud box is not received within the preset update time, the method further includes:
and deleting the mapping relation between the device identification of the intelligent cloud box and the intranet internet protocol address and the mapping relation between the device identification of the intelligent cloud box and the source internet protocol address.
The internet server of the embodiment of the application can also receive the heartbeat message sent by the intelligent cloud box and judge the on-line state of the intelligent cloud box, so that whether the mapping relation between the equipment identification and the access address of the intelligent cloud box is reserved or not is determined according to the state, the storage space is saved, the access efficiency is improved, and the user experience is further improved.
Optionally, if the intelligent cloud box is determined to be in an offline state, a prompt message is sent to the user terminal to prompt the user equipment to be offline, so that user experience is further improved.
The embodiment of the application provides a simple and convenient intelligent cloud box access method, a user terminal does not need to configure an NFC module, the user terminal can access an Internet server only by scanning a two-dimensional code on the intelligent cloud box, the Internet server can inquire in a mapping relation between a pre-stored device identifier and an address according to the device identifier of the intelligent cloud box carried in a user terminal access request, an intranet access address and an extranet access address corresponding to the device identifier are provided for a user, the user terminal can access the intelligent cloud box through the intranet access address and the extranet access address corresponding to the device identifier, the NFC module does not need to be specially configured on the user terminal, the cost is low, the intelligent cloud box access mode is simple, and the user experience is improved.
Fig. 3 is a flow chart of another method for accessing an intelligent cloud box according to an embodiment of the present application, where an execution subject of the embodiment of the present application is an intelligent cloud box, and a specific execution subject may be determined according to an actual application scenario. As shown in fig. 3, the method comprises the steps of:
S301: and receiving the access of the user terminal according to the intranet access address and the extranet access address, and establishing connection with the user terminal.
The method comprises the steps that an intranet access address and an extranet access address are sent to a user terminal after the Internet server responds to access operation of the user terminal, according to the mapping relation between equipment identification of an intelligent cloud box and intranet Internet interconnection protocol address and the mapping relation between equipment identification of the intelligent cloud box and source Internet interconnection protocol address, the intranet access address and the extranet access address corresponding to the equipment identification in the access operation are inquired, the access operation is initiated by the user terminal through scanning a two-dimensional code on the intelligent cloud box, and the two-dimensional code comprises the equipment identification of the intelligent cloud box and website information of the Internet server.
Optionally, the intelligent cloud box may further automatically obtain an intranet internet protocol (Internet Protocol, IP) address after powering on by connecting the home cloud gateway in the home after powering on. And automatically connects to an internet server.
Optionally, the intelligent cloud box can also keep regular communication with the internet server, for example, a heartbeat message is used regularly to ensure the online state of the intelligent cloud box, so that the mapping relation between the home cloud gateway and the internet address can be stored for a long time.
In one possible implementation, the smart cloud box access specific steps are as follows:
step one: and setting a unique equipment identifier before the intelligent cloud box leaves the factory, and pasting a two-dimensional code on the shell of the intelligent cloud box, wherein the two-dimensional code contains an extranet address and the equipment identifier. Additional description can be made on the intelligent cloud box: the user access method is that the user can access through scanning codes by a browser or an application program. If the two-dimensional code includes www.pu ×oud.com and 15×00 of the device identifier.
Step two: when the intelligent cloud box is connected to the home cloud gateway in the home and is electrified, an intranet IP address is automatically obtained, for example, 192.. 3.126 intranet IP address is automatically obtained, then an internet server with a website of www.pu..com is automatically connected, and the mapping relation between the equipment identifier and the IP address is submitted: 15***00:192.***.3.126.
Step three: the internet server automatically extracts a source IP address and a source port number, for example 202.112, 111:10223, from a message from the home cloud gateway, and maps the address with 15:00 as an external network access address of the intelligent cloud box.
Step four: when a home user accesses the intelligent cloud box in an external network, a browser or an application program APP is opened to scan the two-dimensional code on the intelligent cloud box, website information www.pu, oud, com is automatically extracted from the two-dimensional code and connected to an internet server, and equipment identification information 15, 00 is submitted to the internet server.
Step four: the internet server inquires the IP address information corresponding to the equipment identifier 15 x 00 according to the mapping relation between the equipment identifier and the IP address as follows: the intranet address is 192.168.3.226, the extranet address is 202.112.111:10223, and the browser or application APP returned to the user automatically jumps to access the extranet address 202.112.111:10223 if the browser or application APP is on the extranet.
Step five: in order to avoid the failure of the address due to too long time, the intelligent cloud box needs to keep regular communication with the internet server, for example, a heartbeat message is used regularly to ensure the state that the intelligent cloud box is always on, so that the mapping relation between the home cloud gateway and the intranet address and the extranet address can be stored for a long time. If the heartbeat message sent to the internet server by the intelligent cloud box is not received after a certain time threshold interval is exceeded, the internet server considers that the intelligent cloud box is in an offline state, and the mapping relation between the home cloud gateway internet address and the home cloud gateway internet address is deleted.
Fig. 4 is a schematic structural diagram of an intelligent cloud box access device provided by an embodiment of the present application, which is applied to an internet server, as shown in fig. 4, where the device of the embodiment of the present application includes: a query module 401 and a send module 402. The intelligent cloud box access device can be a server or a terminal device, or a chip or an integrated circuit for realizing the functions of the server or the terminal device. It should be noted that, the division of the query module 401 and the sending module 402 is only a division of a logic function, and both may be integrated or independent physically.
The query module is used for responding to the access operation of the user terminal, and querying an intranet access address and an extranet access address corresponding to the equipment identifier in the access operation according to the mapping relation between the equipment identifier of the intelligent cloud box and the intranet internet interconnection protocol address and the mapping relation between the equipment identifier of the intelligent cloud box and the source internet interconnection protocol address, wherein the access operation is initiated by the user terminal through scanning a two-dimensional code on the intelligent cloud box, and the two-dimensional code comprises the equipment identifier of the intelligent cloud box and website information of an internet server;
and the sending module is used for sending the intranet access address and the extranet access address to the user terminal so that the user terminal accesses the intelligent cloud box according to the intranet access address and the extranet access address and establishes connection with the intelligent cloud box.
Optionally, before the query module responds to the access operation of the user terminal, the device further includes a mapping relationship determining module, configured to:
responding to the connection operation of the intelligent cloud box after the intelligent cloud box is connected with the home cloud gateway, and acquiring the mapping relation between the equipment identifier of the intelligent cloud box and the intranet internet protocol address;
And extracting the source internet protocol address and the source port number according to the message of the home cloud gateway, carrying out mapping processing on the source internet protocol address and the equipment identifier, and determining the external network access address of the intelligent cloud box according to the mapping result.
Optionally, after the sending module sends the intranet access address and the extranet access address to the user terminal, the apparatus further includes an online status determining module, configured to:
receiving a heartbeat message sent by an intelligent cloud box;
and determining the online state of the intelligent cloud box according to the heartbeat message.
Optionally, the online status determining module is specifically configured to:
and if the heartbeat message sent by the intelligent cloud box is not received within the preset updating time, determining that the intelligent cloud box is in an offline state.
Optionally, after the online state determining module is configured to determine that the intelligent cloud box is in the offline state if the heartbeat message sent by the intelligent cloud box is not received within the preset update time, the apparatus further includes a deleting module configured to:
and deleting the mapping relation between the device identification of the intelligent cloud box and the intranet internet protocol address and the mapping relation between the device identification of the intelligent cloud box and the source internet protocol address.
The embodiment of the application also provides an intelligent cloud box access device which is applied to the intelligent cloud box, and the device comprises: and connecting the modules. It should be noted that the division of the connection module is only a division of a logic function, and both may be integrated or independent physically.
The connection module is used for receiving the access of the user terminal according to the intranet access address and the extranet access address, and establishing connection with the user terminal, wherein the intranet access address and the extranet access address are the website information of the Internet server, which is initiated by the user terminal through scanning the two-dimensional code on the intelligent cloud box, wherein the two-dimensional code comprises the equipment identifier of the intelligent cloud box and the Internet address information of the Internet server after the user terminal inquires the intranet access address and the extranet access address corresponding to the equipment identifier in the access operation according to the mapping relation between the equipment identifier of the intelligent cloud box and the intranet internet protocol address and the mapping relation between the equipment identifier of the intelligent cloud box and the source internet protocol address.
Referring to fig. 5, a schematic diagram of a configuration of a smart cloud box access device 500 suitable for use in implementing embodiments of the present disclosure is shown, where the smart cloud box access device 500 may be a terminal device or a server. The terminal device may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a personal digital assistant (Personal Digital Assistant, PDA for short), a tablet (Portable Android Device, PAD for short), a portable multimedia player (Portable Media Player, PMP for short), an in-vehicle terminal (e.g., an in-vehicle navigation terminal), and the like, and a fixed terminal such as a digital TV, a desktop computer, and the like. The smart cloud cartridge access device illustrated in fig. 5 is only one example and should not impose any limitations on the functionality and scope of use of embodiments of the present disclosure.
As shown in fig. 5, the smart cloud cartridge access apparatus 500 may include a processing device (e.g., a central processor, a graphics processor, etc.) 501 that may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 502 or a program loaded from a storage device 508 into a random access Memory (Random Access Memory, RAM) 503. In the RAM 503, various programs and data required for the operation of the smart cloud cartridge access device 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
In general, the following devices may be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 507 including, for example, a liquid crystal display (Liquid Crystal Display, abbreviated as LCD), a speaker, a vibrator, and the like; storage 508 including, for example, magnetic tape, hard disk, etc.; and communication means 509. The communication means 509 may allow the smart cloud cartridge access device 500 to communicate wirelessly or by wire with other devices to exchange data. While fig. 5 shows a smart cloud cartridge access apparatus 500 having various devices, it should be understood that not all of the illustrated devices are required to be implemented or provided. More or fewer devices may be implemented or provided instead.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 509, or from the storage means 508, or from the ROM 502. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by the processing device 501.
It should be noted that the computer readable medium described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
The computer readable medium may be contained in the smart cloud cartridge access device; or may exist alone without being assembled into the smart cloud cartridge access device.
The computer-readable medium carries one or more programs which, when executed by the smart cloud cartridge access device, cause the smart cloud cartridge access device to perform the method shown in the above-described embodiments.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a local area network (Local Area Network, LAN for short) or a wide area network (Wide Area Network, WAN for short), or it may be connected to an external computer (e.g., connected via the internet using an internet service provider).
In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of elements is merely a logical functional division, and there may be additional divisions of actual implementation, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. An intelligent cloud box access method, which is characterized by being applied to an internet server, comprises the following steps:
responding to an access operation of a user terminal, and inquiring an intranet access address and an extranet access address corresponding to the equipment identification in the access operation according to a mapping relation between the equipment identification of an intelligent cloud box and an intranet internet protocol address and a mapping relation between the equipment identification of the intelligent cloud box and a source internet protocol address, wherein the access operation is initiated by the user terminal through scanning a two-dimensional code on the intelligent cloud box, and the two-dimensional code comprises the equipment identification of the intelligent cloud box and website information of an internet server;
and sending the intranet access address and the extranet access address to the user terminal, so that the user terminal accesses the intelligent cloud box according to the intranet access address and the extranet access address, and establishes connection with the intelligent cloud box.
2. The method according to claim 1, further comprising, before said responding to the access operation of the user terminal, according to the mapping relationship between the device identifier of the smart cloud box and the intranet internet protocol address and the mapping relationship between the device identifier of the smart cloud box and the source internet protocol address:
responding to the connection operation of the intelligent cloud box after the intelligent cloud box is connected with a home cloud gateway, and acquiring the mapping relation between the equipment identifier of the intelligent cloud box and the intranet internet protocol address;
and extracting a source internet protocol address and a source port number according to the message of the home cloud gateway, carrying out mapping processing on the source internet protocol address and the equipment identifier, and determining an external network access address of the intelligent cloud box according to a mapping result.
3. The method according to claim 1 or 2, further comprising, after said sending the intranet access address and the extranet access address to the user terminal:
receiving a heartbeat message sent by the intelligent cloud box;
and determining the online state of the intelligent cloud box according to the heartbeat message.
4. A method according to claim 3, wherein said determining an online status of the smart cloud cartridge from the heartbeat message comprises:
And if the heartbeat message sent by the intelligent cloud box is not received within the preset updating time, determining that the intelligent cloud box is in an offline state.
5. The method of claim 4, wherein after determining that the smart cloud box is in the offline state if the heartbeat message sent by the smart cloud box is not received within a preset update time, further comprising:
and deleting the mapping relation between the device identification of the intelligent cloud box and the intranet internet protocol address, and deleting the mapping relation between the device identification of the intelligent cloud box and the source internet protocol address.
6. An intelligent cloud box access method, which is characterized by being applied to an intelligent cloud box, comprises the following steps:
and receiving access of the user terminal according to an intranet access address and an extranet access address, and establishing connection with the user terminal, wherein the intranet access address and the extranet access address are obtained by inquiring an intranet access address and an extranet access address corresponding to the equipment identification in the access operation according to a mapping relation between the equipment identification of the intelligent cloud box and an intranet internet protocol address and a mapping relation between the equipment identification of the intelligent cloud box and a source internet protocol address in response to the access operation of the user terminal by an internet server, and the access operation is initiated by the user terminal by scanning a two-dimensional code on the intelligent cloud box, wherein the two-dimensional code comprises the equipment identification of the intelligent cloud box and website information of the internet server.
7. An intelligent cloud box access device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the smart cloud cartridge access method of any of claims 1 to 5.
8. A computer readable storage medium having stored therein computer executable instructions which when executed by a processor are for implementing the smart cloud cartridge access method of any of claims 1 to 5.
9. An intelligent cloud box access device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the smart cloud cartridge access method of claim 6.
10. A computer readable storage medium having stored therein computer executable instructions which when executed by a processor are for implementing the smart cloud cartridge access method of claim 6.
CN202310791564.0A 2023-06-29 2023-06-29 Intelligent cloud box access method, device, equipment and storage medium Pending CN116668402A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310791564.0A CN116668402A (en) 2023-06-29 2023-06-29 Intelligent cloud box access method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310791564.0A CN116668402A (en) 2023-06-29 2023-06-29 Intelligent cloud box access method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116668402A true CN116668402A (en) 2023-08-29

Family

ID=87728096

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310791564.0A Pending CN116668402A (en) 2023-06-29 2023-06-29 Intelligent cloud box access method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116668402A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117240618A (en) * 2023-11-13 2023-12-15 中国联合网络通信集团有限公司 Household cloud box access method, device, equipment and storage medium
CN117240617A (en) * 2023-11-13 2023-12-15 中国联合网络通信集团有限公司 Public cloud storage access method, public cloud storage access device, public cloud storage access equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117240618A (en) * 2023-11-13 2023-12-15 中国联合网络通信集团有限公司 Household cloud box access method, device, equipment and storage medium
CN117240617A (en) * 2023-11-13 2023-12-15 中国联合网络通信集团有限公司 Public cloud storage access method, public cloud storage access device, public cloud storage access equipment and storage medium
CN117240617B (en) * 2023-11-13 2024-02-23 中国联合网络通信集团有限公司 Public cloud storage access method, public cloud storage access device, public cloud storage access equipment and storage medium
CN117240618B (en) * 2023-11-13 2024-03-01 中国联合网络通信集团有限公司 Household cloud box access method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107690078B (en) Bullet screen information display method, bullet screen information providing method and bullet screen information providing equipment
CN116668402A (en) Intelligent cloud box access method, device, equipment and storage medium
CN109936587B (en) Control method, control device, electronic apparatus, and storage medium
CN111177617A (en) Web direct operation and maintenance method and device based on operation and maintenance management system and electronic equipment
CN111177112A (en) Database blocking method and device based on operation and maintenance management system and electronic equipment
CN107395662B (en) Method and system for service linkage between servers for identifying registered users by using different user identification systems
US10796087B2 (en) Method and apparatus for obtaining web content
CN110781373A (en) List updating method and device, readable medium and electronic equipment
CN110704833A (en) Data permission configuration method, device, electronic device and storage medium
CN113886336A (en) Flow detection method, device, equipment and medium
CN103379022B (en) A kind of instant communication method based on Internet map search and system
CN115801299B (en) Meta universe identity authentication method, device, equipment and storage medium
CN115174558B (en) Cloud network end integrated identity authentication method, device, equipment and storage medium
CN112380411B (en) Sensitive word processing method, device, electronic equipment, system and storage medium
CN107743151A (en) Content delivery method, device, mobile terminal and server
CN109543398B (en) Application program account migration method and device and electronic equipment
CN113691937A (en) Method for determining position information, cloud mobile phone and terminal equipment
CN109271310B (en) Development testing method and device for network function of mobile application program
CN108337300B (en) Man-machine interface communication method and system applied to narrow-band Internet of things
CN112311833B (en) Data updating method and device
JP7447339B2 (en) Communication methods and systems in service management and orchestration
CN113452670B (en) Phishing blocking method, device, equipment and medium based on SDN network
CN111885194B (en) Communication method and device for communication application and electronic equipment
CN116489224B (en) Multi-cloud container scheduling method, device, equipment and storage medium
CN111641692B (en) Session data processing method and device and electronic equipment

Legal Events

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