Private cloud equipment access method and device, electronic equipment and readable storage medium
By obtaining and connecting private cloud device information, and generating and using private cloud device addresses through private cloud servers, the problem of low security of existing private cloud device binding methods is solved, improving user experience and data security.
Patent Information
- Application Number
- CN202411627939.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-14
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2044-11-14
AI Technical Summary
The existing private cloud device binding method has a low security factor, resulting in poor user experience of private cloud devices.
By obtaining the private cloud device information, including the first identification information and initial configuration parameters, the private cloud device is connected, and the user device information is sent to the private cloud device after a successful connection. The private cloud device sends its information and user device information to the private cloud server to generate the private cloud device address of the private cloud device. The user device can access the private cloud device through the private cloud server according to this address.
It improves the binding security between user equipment and private cloud devices, improves users' experience of private cloud devices, and ensures the security of user data through the transfer of private cloud servers.
Smart Images

Figure CN119629170A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of Internet technology, and in particular to a private cloud device access method, a private cloud device access device, an electronic device, and a computer-readable storage medium. Background Art
[0002] With the development of cloud computing technology, more and more users or enterprises choose to use private cloud devices as data storage solutions, as private cloud devices are usually deployed within the enterprise or in a controlled environment, which facilitates users to manage data and avoid data leakage and privacy risks.
[0003] However, the current private cloud device binding method has a low security factor, resulting in a poor user experience with private cloud devices. Summary of the invention
[0004] The embodiment of the present invention provides a private cloud device access method, apparatus, electronic device and computer-readable storage medium to solve the problem that the current private cloud device binding method has a low security factor, resulting in a poor user experience of the private cloud device.
[0005] An embodiment of the present invention discloses a private cloud device access method, which is applied to a user device. The method includes:
[0006] Acquire private cloud device information; wherein the private cloud device information at least includes first identification information and initial configuration parameters;
[0007] Connecting the private cloud device corresponding to the first identification information according to the initial configuration parameters;
[0008] When the user device is successfully connected to the private cloud device, the user device information is sent to the private cloud device; the private cloud device is used to send the private cloud device information and the user device information to the private cloud server, and the private cloud server is used to generate a private cloud device address of the private cloud device according to the private cloud device information and the user device information;
[0009] Receiving the private cloud device address of the private cloud device sent by the private cloud server;
[0010] The corresponding private cloud device is accessed through the private cloud server according to the private cloud device address.
[0011] Optionally, obtain private cloud device information, including:
[0012] Obtain the QR code of the private cloud device;
[0013] The private cloud device information is obtained by scanning the QR code through the application of the user device.
[0014] Optionally, the initial configuration parameters include at least Bluetooth connection information of the private cloud device, and connecting to the private cloud device corresponding to the first identification information according to the initial configuration parameters includes:
[0015] The private cloud device corresponding to the first identification information is connected via Bluetooth according to the Bluetooth connection information.
[0016] Optionally, the private cloud server is used to establish a binding relationship between user device information of the user device and private cloud device information of the private cloud device according to the private cloud device address.
[0017] Optionally, accessing the corresponding private cloud device through the private cloud server according to the private cloud device address includes:
[0018] A private cloud device access instruction is sent to the private cloud server; the private cloud device access instruction includes at least the private cloud device address and user device information; the private cloud server is used to send the private cloud device access instruction to the private cloud device corresponding to the private cloud device address when the corresponding binding relationship is found according to the private cloud device address, if the user device information in the binding relationship is consistent with the user device information in the private cloud device access instruction, so that the private cloud device executes the private cloud device access instruction.
[0019] Optionally, accessing the corresponding private cloud device through the private cloud server according to the private cloud device address further includes:
[0020] Receive an access instruction execution message sent by the private cloud server; the access instruction execution message is sent to the private cloud server after the private cloud device executes the private cloud device access instruction.
[0021] Optionally, the method further comprises:
[0022] If the user device information in the binding relationship is inconsistent with the user device information in the private cloud device access instruction, receive unbinding prompt information sent by the private cloud server.
[0023] Optionally, the user equipment information includes at least basic information and token information of the user equipment; the basic information includes at least a device name, a user password and second identification information corresponding to the user equipment.
[0024] Optionally, the private cloud device address is an IPv6 address.
[0025] The embodiment of the present invention further discloses a private cloud device access device, which is applied to a user device, and the device includes:
[0026] A private cloud device information acquisition module, used to acquire private cloud device information; wherein the private cloud device information at least includes first identification information and initial configuration parameters;
[0027] A private cloud device connection module, used to connect the private cloud device corresponding to the first identification information according to the initial configuration parameters;
[0028] A user device information sending module, configured to send user device information to the private cloud device when the user device is successfully connected to the private cloud device; the private cloud device is configured to send the private cloud device information and the user device information to a private cloud server, and the private cloud server is configured to generate a private cloud device address of the private cloud device according to the private cloud device information and the user device information;
[0029] A private cloud device address receiving module, used to receive the private cloud device address of the private cloud device sent by the private cloud server;
[0030] A private cloud device access module is used to access the corresponding private cloud device through the private cloud server according to the private cloud device address.
[0031] Optionally, the private cloud device information acquisition module is used to:
[0032] Obtain the QR code of the private cloud device;
[0033] The private cloud device information is obtained by scanning the QR code through the application of the user device.
[0034] Optionally, the initial configuration parameters include at least Bluetooth connection information of the private cloud device, and the private cloud device connection module is used to:
[0035] The private cloud device corresponding to the first identification information is connected via Bluetooth according to the Bluetooth connection information.
[0036] Optionally, the private cloud device access module is used to:
[0037] A private cloud device access instruction is sent to the private cloud server; the private cloud device access instruction includes at least the private cloud device address and user device information; the private cloud server is used to send the private cloud device access instruction to the private cloud device corresponding to the private cloud device address when the corresponding binding relationship is found according to the private cloud device address, if the user device information in the binding relationship is consistent with the user device information in the private cloud device access instruction, so that the private cloud device executes the private cloud device access instruction.
[0038] Optionally, the private cloud device access module is used to:
[0039] Receive an access instruction execution message sent by the private cloud server; the access instruction execution message is sent to the private cloud server after the private cloud device executes the private cloud device access instruction.
[0040] Optionally, the private cloud device access module is used to:
[0041] If the user device information in the binding relationship is inconsistent with the user device information in the private cloud device access instruction, receive unbinding prompt information sent by the private cloud server.
[0042] The embodiment of the present invention further discloses an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
[0043] The memory is used to store computer programs;
[0044] The processor is used to implement the method described in the embodiment of the present invention when executing the program stored in the memory.
[0045] The embodiment of the present invention further discloses a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the embodiment of the present invention.
[0046] The embodiment of the present invention further discloses a computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, enables the processors to execute the method described in the embodiment of the present invention.
[0047] The embodiments of the present invention include the following advantages:
[0048] In an embodiment of the present invention, private cloud device information including at least first identification information and initial configuration parameters is obtained, and the private cloud device corresponding to the first identification information is connected according to the initial configuration parameters. When the user device is successfully connected to the private cloud device, the user device information is sent to the private cloud device. In this way, the private cloud device can send the private cloud device information and the user device information to the private cloud server, so that the private cloud server can generate a private cloud device address of the private cloud device and send it to the user device. Subsequently, the user device can access the corresponding private cloud device through the private cloud server according to the private cloud device address. In an embodiment of the present invention, the user device and the private cloud device can be bound through the private cloud server, so that the binding security factor between the user device and the private cloud device is greatly improved, thereby improving the user experience of the private cloud device. In addition, after the user device and the private cloud device are successfully bound, the user device accesses the private cloud device through the private cloud server, which ensures the security of user data. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 It is a flowchart of the steps of a private cloud device access method provided in an embodiment of the present invention;
[0050] Figure 2 is a schematic diagram of an application environment provided in an embodiment of the present invention;
[0051] Figure 3 It is a schematic diagram of a private cloud device binding process provided in an embodiment of the present invention;
[0052] Figure 4 It is a structural block diagram of a private cloud device access device provided in an embodiment of the present invention;
[0053] Figure 5 It is a schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present invention. DETAILED DESCRIPTION
[0054] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0055] Reference Figure 1 , shows a flowchart of a method for accessing a private cloud device provided in an embodiment of the present invention, which is applied to a user device. The method may specifically include the following steps:
[0056] Step 101: Obtain private cloud device information; wherein the private cloud device information at least includes first identification information and initial configuration parameters.
[0057] Among them, the user device is a device such as a smart phone or a computer; the private cloud device is a device deployed in the private cloud, such as a server, a switch, a router, a smart phone or a computer. Among them, the private cloud device has corresponding private cloud device information, and the private cloud device information may at least include first identification information and initial configuration parameters. The identification information (first identification information) is information such as the code or name of the private cloud device, which is unique in the global scope or a specified scope, and can prevent confusion between private cloud devices; the initial configuration parameters are configuration information that the user device and the private cloud device can be connected in accordance with a preset connection method, and the preset connection method may at least include convenient connection methods such as Bluetooth and near-field communication. Exemplarily, when the preset connection method is Bluetooth, the initial configuration parameters may include information such as the MAC address, connection password, and encryption algorithm of the private cloud device. Based on the initial configuration information, the stability of the user device when connected to the private cloud device and the security of information transmission can be guaranteed.
[0058] Step 102: Connect to the private cloud device corresponding to the first identification information according to the initial configuration parameters.
[0059] In an embodiment of the present invention, after obtaining private cloud device information through a user device, the user device can connect to the private cloud device corresponding to the first identification information in a preset connection method according to configuration parameters, for example, connecting to the private cloud device corresponding to the first identification information in a Bluetooth manner.
[0060] Step 103: When the user device is successfully connected to the private cloud device, the user device information is sent to the private cloud device; the private cloud device is used to send the private cloud device information and the user device information to a private cloud server, and the private cloud server is used to generate a private cloud device address of the private cloud device based on the private cloud device information and the user device information.
[0061] The user device information may at least include basic information of the user device and token information; the basic information may at least include the device name, user password, and second identification information corresponding to the user device. Specifically, a token is a mechanism for identity authentication and authorization. Its main function is to verify the legitimacy of the device, prevent unauthorized device access, and authorize the device to legally access specific resources or services within a specific time period. For example, it can allow the user device to legally access the private cloud device within a specific time period. In this way, the user device can be disconnected from the private cloud device after the specific time period is reached, thereby ensuring the security of the device.
[0062] In an embodiment of the present invention, when the user device is successfully connected to the private cloud device, the user device can send the user device information to the private cloud device. After receiving the user device information, the private cloud device performs preliminary verification and can use hash checks or shared keys to authenticate the user device. For example, a token can be used to authenticate the user device. After the user device is authenticated, the private cloud device sends its own private cloud device information and user device information to the private server to complete the binding of the private cloud device and the private cloud server.
[0063] In some optional embodiments, the private cloud device address is an IPv6 address. Specifically, IPv6 is the Internet Protocol Version 6 in Chinese and the Internet Protocol Version 6 in English. It is the next generation IP protocol designed by the Internet Engineering Task Force to replace IPv4. It is said that the number of addresses can encode an address for every grain of sand in the world.
[0064] Specifically, the private server can generate a unique IPv6 address based on the received private cloud device information and user device information as the external IP address of the private cloud device. The IPv6 address ensures the global uniqueness and accessibility of the private cloud device.
[0065] The private cloud device uses the generated IPv6 address to register on the private server. Specifically, after the private cloud server generates the IPv6 address of the private cloud device, it can establish a binding relationship between the user device information of the user device and the private cloud device information of the private cloud device to achieve binding and authorization between the user device and the private cloud device, wherein one user device can be bound to multiple private cloud devices, and one private cloud device can also be bound to multiple user devices. After the private cloud server successfully binds the user device and the private cloud device, the private cloud device is deemed to be successfully registered on the private cloud server.
[0066] Step 104: Receive the private cloud device address of the private cloud device sent by the private cloud server.
[0067] Step 105: Access the corresponding private cloud device through the private cloud server according to the private cloud device address.
[0068] In an embodiment of the present invention, after the private cloud device is successfully registered in the private cloud server, the private cloud server can send the IPv6 address of the private cloud device to the user device, so that the user device can access the corresponding private cloud device through the private cloud server based on the IPv6 address, such as performing remote management and data transmission on the private cloud device.
[0069] Reference Figure 2, is a schematic diagram of an application environment provided in an embodiment of the present invention, including a user device 201, a private cloud device 202 and a private cloud server 203. The private server maintains a mapping table containing binding relationships between private cloud devices and user devices. The private cloud server can search whether the user device accessing the private cloud device is a binding authorized user device according to the mapping table, and after determining that the user device is a binding authorized user device, allow the user device to connect to the private server, and then access the private cloud device through the private cloud server.
[0070] It should be noted that the embodiments of the present invention may involve the use of user data. In actual applications, user-specific personal data can be used in the scheme described herein within the scope permitted by applicable laws and regulations, subject to the requirements of applicable laws and regulations of the country where the user is located (for example, with the user's explicit consent, effective notification to the user, etc.).
[0071] In an embodiment of the present invention, private cloud device information including at least first identification information and initial configuration parameters is obtained, and the private cloud device corresponding to the first identification information is connected according to the initial configuration parameters. When the user device is successfully connected to the private cloud device, the user device information is sent to the private cloud device. In this way, the private cloud device can send the private cloud device information and the user device information to the private cloud server, so that the private cloud server can generate a private cloud device address of the private cloud device and send it to the user device. Subsequently, the user device can access the corresponding private cloud device through the private cloud server according to the private cloud device address. In an embodiment of the present invention, the user device and the private cloud device can be bound through the private cloud server, so that the binding security factor between the user device and the private cloud device is greatly improved, thereby improving the user experience of the private cloud device. In addition, after the user device and the private cloud device are successfully bound, the user device accesses the private cloud device through the private cloud server, which ensures the security of user data.
[0072] In one embodiment of the present invention, obtaining private cloud device information may include:
[0073] Obtain the QR code of the private cloud device;
[0074] The private cloud device information is obtained by scanning the QR code through the application of the user device.
[0075] In an embodiment of the present invention, a mobile application (App, Application) or other application with a QR code scanning function may be installed on the user device. The user may scan the QR code provided by the private cloud device through the user device. The QR code is a globally unique QR code corresponding to the private cloud device. The QR code contains the identification information (first identification information) and initial configuration parameters of the private cloud device, so that the user device can connect to the private cloud device corresponding to the first identification information according to the initial configuration parameters.
[0076] In an embodiment of the present invention, the initial configuration parameters include at least Bluetooth connection information of the private cloud device, and connecting the private cloud device corresponding to the first identification information according to the initial configuration parameters includes:
[0077] The private cloud device corresponding to the first identification information is connected via Bluetooth according to the Bluetooth connection information.
[0078] In an embodiment of the present invention, the user device and the private cloud device can be connected via Bluetooth or near field communication. Exemplarily, when the user device and the private cloud device can be connected via Bluetooth, the initial configuration parameters at least include the Bluetooth connection information of the private cloud device, such as the MAC address, connection password, encryption algorithm, etc. of the private cloud device. The user device can connect to the private cloud device corresponding to the first identification information by Bluetooth according to the Bluetooth connection information, and then send the user device information of the user device to the private cloud device, so that the private cloud device can further obtain the private cloud device address, i.e., the IPv6 address, from the private cloud server according to the user device information and the private cloud device information, for the user device to access the private cloud device.
[0079] In one embodiment of the present invention, accessing the corresponding private cloud device through the private cloud server according to the private cloud device address includes:
[0080] A private cloud device access instruction is sent to the private cloud server; the private cloud device access instruction includes at least the private cloud device address and user device information; the private cloud server is used to send the private cloud device access instruction to the private cloud device corresponding to the private cloud device address when the corresponding binding relationship is found according to the private cloud device address, if the user device information in the binding relationship is consistent with the user device information in the private cloud device access instruction, so that the private cloud device executes the private cloud device access instruction.
[0081] In an embodiment of the present invention, when a user device performs access operations such as storing data or backing up data on a private cloud device, the user device may send a private cloud device access instruction to the private cloud server. The private cloud device access instruction may include at least an IPv6 address and user device information. The private cloud server may search a mapping table for a binding relationship between the private cloud device corresponding to the IPv6 address and the user device based on the IPv6 address. If the user device information in the binding relationship is consistent with the user device information in the private cloud device access instruction, the user device authentication is successful. The private cloud server sends the private cloud device access instruction to the private cloud device corresponding to the IPv6 address, so that it executes the private cloud device access instruction.
[0082] In an embodiment of the present invention, accessing the corresponding private cloud device through the private cloud server according to the private cloud device address may also include:
[0083] Receive an access instruction execution message sent by the private cloud server; the access instruction execution message is sent to the private cloud server after the private cloud device executes the private cloud device access instruction.
[0084] In an embodiment of the present invention, after receiving a private cloud device access instruction forwarded by a private cloud server, the private cloud device performs a corresponding operation and sends the execution result back to the private cloud server as an access instruction execution message. The private cloud server then forwards it to the user device, so that the user device can determine its access result to the private cloud device, and then perform corresponding processing based on the access result.
[0085] In one embodiment of the present invention, the method may further include:
[0086] If the user device information in the binding relationship is inconsistent with the user device information in the private cloud device access instruction, receive unbinding prompt information sent by the private cloud server.
[0087] In an embodiment of the present invention, the private cloud server can search the mapping table for the binding relationship between the private cloud device corresponding to the IPv6 address and the user device based on the IPv6 address. If the user device information in the binding relationship is inconsistent with the user device information in the private cloud device access instruction, indicating that the user device is an unauthorized user device, the user device authentication fails successfully, and the private cloud server can send an unbound prompt message to the user device to remind the user device that it is not authorized to access the private cloud device.
[0088] In an optional embodiment of the present invention, an access control policy for private cloud devices can be deployed in a private cloud server. Specifically, the access control policy may include user device information of user devices that are allowed to access private cloud devices, access rights corresponding to the user device information (for example, whether to allow modification, addition, or deletion of data stored in the private cloud device, or whether to allow the user device to control the private cloud device, whether to allow the user device to control the private cloud device in linkage, whether to allow access to important storage devices, etc.), access roles (administrator role, ordinary role, visitor role, etc.), access attributes (geographic location of the user device, current time, current status of the device, type of device accessed (for example, smart home device or important storage device), etc.), etc. When the private cloud server receives a private cloud device access instruction sent by a user device, it will control the user device's access to the private cloud device according to the binding relationship and the access control policy to ensure data security and meet different business needs and application scenarios.
[0089] In an optional embodiment of the present invention, the private cloud device may be a smart home device or an important storage device, such as an air conditioner, a refrigerator, a lighting device, a humidifier, and an audio device, etc. The user device can access the private cloud device to control the controller to perform corresponding operations. In the embodiment of the present invention, the private cloud device can determine whether to link with other private cloud devices that are not directly accessed by other user devices based on the private cloud device access instruction of the user device to the private cloud device in combination with the access control policy. For example, if the access role of the user device is a common role, the user device may be allowed to link with the private cloud device, but if the geographical location of the user device is not near the private cloud device and the time period is not the preset time period for allowing linkage control, the user device will also be prohibited from linking with the private cloud device.
[0090] For example, suppose user device A sends a private cloud device access instruction to the private cloud device through the private cloud server, requiring the air conditioner to adjust the temperature to 25°C. At this time, the air conditioner can detect the surrounding environment to determine that the linkage humidifier is adjusted to 50% humidity to achieve a more comfortable effect. Assuming that user device A is a common role, the access right is to allow linkage control of private cloud devices, but the access attribute is that the geographical location is in Beijing and is not near the private cloud device, then only the air conditioner can be controlled to adjust the temperature to 25°C; assuming that user device A is an administrator role, the access right is to allow linkage control of private cloud devices, even if the access attribute is that the geographical location is in Beijing and is not near the private cloud device, the air conditioner can be controlled to adjust the temperature to 25°C and the humidifier can be linked to adjust the humidity to 50%. Through the above access control strategy, the user device's access to the private cloud device as a smart home device can be reasonably controlled, which can ensure the efficient, safe and reliable operation of the smart home device, meet the user's management and control needs for smart home devices, and bring a better user experience to the user.
[0091] In an optional embodiment of the present invention, in the embodiment of the present invention, devices of certain device types may be allowed to communicate directly with user devices or through a private cloud server, while devices of other device types are not allowed to communicate directly with user devices. Specifically, private cloud devices may be smart home devices or important storage devices, such as air conditioners, refrigerators, lighting equipment, humidifiers, and audio equipment, etc., which may allow smart home devices to communicate directly with user devices, while storage devices need to communicate through a private cloud server. The embodiment of the present invention can realize different communication modes between private cloud devices and user devices by distinguishing the communication modes of different device types, and can flexibly switch communication modes when the user device needs to access different types of devices, thereby improving the user's control efficiency over private cloud devices while ensuring the security of user data.
[0092] In order to enable those skilled in the art to better understand the embodiments of the present invention, specific examples are used below to illustrate the embodiments of the present invention. Figure 3 , is a schematic diagram of a private cloud device binding process provided in an embodiment of the present invention, and the specific steps include:
[0093] 1. The user device logs in to the application App and connects via Bluetooth after scanning the QR code. Specifically, the user scans the QR code provided by the private cloud device in the application App of the user device to obtain the private cloud. The QR code contains the private cloud device information such as the identification information and initial configuration parameters of the private cloud device; then the Bluetooth connection is established, and the private cloud device establishes a connection with the application App via Bluetooth. In this process, the stability of the Bluetooth connection must be confirmed and the security of information transmission must be ensured. Bluetooth encryption technology can be used to encrypt the transmitted data to ensure user privacy.
[0094] 2. Send user device information to the private cloud device. After the user device is connected to the private cloud device via Bluetooth, the user device's application App will generate a token for the user device and send the user device information (basic information and token). The application App sends the basic information and token of the user device to the private cloud device via Bluetooth. Among them, the basic information includes the device name, user password, identification information, etc. The token is used to verify the identity of the user device and prevent unauthorized user devices from accessing the private cloud device.
[0095] 3. Bind the private cloud device to the private cloud server. After receiving the user device information, the private cloud device performs preliminary verification and can use hash checks or shared keys to authenticate the user device. After the verification is passed, the private cloud device sends its own private cloud device information and user device information to the private server to complete the binding of the private cloud device and the private cloud server. Specifically, the private server generates a unique IPv6 address based on the received private cloud device information and user device information as the external IP address of the private cloud device. The IPv6 address ensures the global uniqueness and accessibility of the private cloud device. Then, the private cloud device uses the generated IPv6 address to register on the private server. After successful registration, the user device can be remotely managed and transmit data through the private cloud device with the IPv6 address. The private server maintains a mapping table containing the binding relationship between the private cloud device and the user device. Based on the mapping table, the security of the user device accessing the private cloud device can be guaranteed. The application App of the user device is switched to connect to the private server, and the private cloud device can be accessed through the private cloud server.
[0096] 4. The user device logs in to the private cloud server to access the private cloud device. The user device verifies its identity by using the login interface provided by the private server to complete the login of the user device's application App to the private server. After the user device successfully logs in to the private cloud server, the private cloud device can be managed and operated through the private server. All access operations of the user device to the private cloud device are transferred through the private server, avoiding the risk of information being stolen during transmission and ensuring the security and integrity of the data.
[0097] In summary, the embodiments of the present invention provide a private cloud storage solution that is implemented through QR code scanning and Bluetooth connection, making the configuration binding process more convenient. The token verification mechanism and identification information further ensure that only authorized user devices can access the private cloud device, preventing unauthorized access. When the user device accesses the private cloud device, the private cloud server is used as a transit, which effectively avoids the risk of information being stolen during transmission, and the information security is higher.
[0098] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0099] Reference Figure 4, shows a structural block diagram of a private cloud device access device provided in an embodiment of the present invention, which is applied to a user device and may specifically include the following modules:
[0100] The private cloud device information acquisition module 401 is used to acquire private cloud device information; wherein the private cloud device information at least includes first identification information and initial configuration parameters;
[0101] A private cloud device connection module 402, configured to connect to a private cloud device corresponding to the first identification information according to the initial configuration parameters;
[0102] A user device information sending module 403 is used to send user device information to the private cloud device when the user device is successfully connected to the private cloud device; the private cloud device is used to send the private cloud device information and the user device information to the private cloud server, and the private cloud server is used to generate a private cloud device address of the private cloud device according to the private cloud device information and the user device information;
[0103] A private cloud device address receiving module 404 is used to receive the private cloud device address of the private cloud device sent by the private cloud server;
[0104] The private cloud device access module 405 is used to access the corresponding private cloud device through the private cloud server according to the private cloud device address.
[0105] In one embodiment of the present invention, the private cloud device information acquisition module 401 is used to:
[0106] Obtain the QR code of the private cloud device;
[0107] The private cloud device information is obtained by scanning the QR code through the application of the user device.
[0108] In one embodiment of the present invention, the initial configuration parameters at least include Bluetooth connection information of the private cloud device, and the private cloud device connection module 402 is used to:
[0109] The private cloud device corresponding to the first identification information is connected via Bluetooth according to the Bluetooth connection information.
[0110] In one embodiment of the present invention, the private cloud device access module 405 is used to:
[0111] A private cloud device access instruction is sent to the private cloud server; the private cloud device access instruction includes at least the private cloud device address and user device information; the private cloud server is used to send the private cloud device access instruction to the private cloud device corresponding to the private cloud device address when the corresponding binding relationship is found according to the private cloud device address, if the user device information in the binding relationship is consistent with the user device information in the private cloud device access instruction, so that the private cloud device executes the private cloud device access instruction.
[0112] In one embodiment of the present invention, the private cloud device access module 405 is used to:
[0113] Receive an access instruction execution message sent by the private cloud server; the access instruction execution message is sent to the private cloud server after the private cloud device executes the private cloud device access instruction.
[0114] In one embodiment of the present invention, the private cloud device access module 405 is used to:
[0115] If the user device information in the binding relationship is inconsistent with the user device information in the private cloud device access instruction, receive unbinding prompt information sent by the private cloud server.
[0116] In an embodiment of the present invention, private cloud device information including at least first identification information and initial configuration parameters is obtained, and the private cloud device corresponding to the first identification information is connected according to the initial configuration parameters. When the user device is successfully connected to the private cloud device, the user device information is sent to the private cloud device. In this way, the private cloud device can send the private cloud device information and the user device information to the private cloud server, so that the private cloud server can generate a private cloud device address of the private cloud device and send it to the user device. Subsequently, the user device can access the corresponding private cloud device through the private cloud server according to the private cloud device address. In an embodiment of the present invention, the user device and the private cloud device can be bound through the private cloud server, so that the binding security factor between the user device and the private cloud device is greatly improved, thereby improving the user experience of the private cloud device. In addition, after the user device and the private cloud device are successfully bound, the user device accesses the private cloud device through the private cloud server, which ensures the security of user data.
[0117] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0118] In addition, an embodiment of the present invention also provides an electronic device, including: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the various processes of the above-mentioned private cloud device access method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0119] The embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, each process of the above-mentioned private cloud device access method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0120] An embodiment of the present invention also provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned private cloud device access method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0121] Figure 5 A schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present invention.
[0122] The electronic device 500 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. Those skilled in the art will appreciate that Figure 5 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. In the embodiments of the present invention, the electronic device includes but is not limited to a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted terminal, a wearable device, and a pedometer.
[0123] It should be understood that in the embodiment of the present invention, the radio frequency unit 501 can be used for receiving and sending signals during information transmission or communication. Specifically, after receiving downlink data from the base station, it is sent to the processor 510 for processing; in addition, uplink data is sent to the base station. Generally, the radio frequency unit 501 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 501 can also communicate with the network and other devices through a wireless communication system.
[0124] The electronic device provides users with wireless broadband Internet access through the network module 502, such as helping users to send and receive emails, browse web pages, and access streaming media.
[0125] The audio output unit 503 can convert the audio data received by the RF unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output it as sound. Moreover, the audio output unit 503 can also provide audio output related to a specific function performed by the electronic device 500 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, etc.
[0126] The input unit 504 is used to receive audio or video signals. The input unit 504 may include a graphics processor (GPU) 5041 and a microphone 5042. The graphics processor 5041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 506. The image frame processed by the graphics processor 5041 can be stored in the memory 509 (or other storage medium) or sent via the radio frequency unit 501 or the network module 502. The microphone 5042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 501 in the case of a telephone call mode.
[0127] The electronic device 500 also includes at least one sensor 505, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 5061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 5061 and / or the backlight when the electronic device 500 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary, which can be used to identify the posture of the electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 505 can also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be repeated here.
[0128] The display unit 506 is used to display information input by the user or information provided to the user. The display unit 506 may include a display panel 5061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
[0129] The user input unit 507 can be used to receive input digital or character information, and to generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. The touch panel 5071, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 5071 or near the touch panel 5071 using any suitable object or accessory such as a finger, stylus, etc.). The touch panel 5071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the contact point coordinates, and then sends it to the processor 510, receives the command sent by the processor 510 and executes it. In addition, the touch panel 5071 can be implemented using multiple types such as resistive, capacitive, infrared and surface acoustic waves. In addition to the touch panel 5071, the user input unit 507 may also include other input devices 5072. Specifically, other input devices 5072 may include but are not limited to a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail here.
[0130] Furthermore, the touch panel 5071 may be overlaid on the display panel 5061. When the touch panel 5071 detects a touch operation on or near it, it transmits the information to the processor 510 to determine the type of the touch event. Then, the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Figure 5 In the figure, the touch panel 5071 and the display panel 5061 are used as two independent components to realize the input and output functions of the electronic device. However, in some embodiments, the touch panel 5071 and the display panel 5061 can be integrated to realize the input and output functions of the electronic device, which is not limited here.
[0131] The interface unit 508 is an interface for connecting an external device to the electronic device 500. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic device 500 or may be used to transmit data between the electronic device 500 and an external device.
[0132] The memory 509 can be used to store software programs and various data. The memory 509 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 509 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0133] The processor 510 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 509 and calling data stored in the memory 509, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. The processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 510.
[0134] The electronic device 500 may also include a power supply 511 (such as a battery) for supplying power to each component. Preferably, the power supply 511 may be logically connected to the processor 510 through a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system.
[0135] In addition, the electronic device 500 includes some functional modules not shown, which will not be described in detail here.
[0136] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0137] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0138] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.
[0139] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0140] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0141] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0142] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0143] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0144] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.
[0145] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A method for accessing a private cloud device, characterized in that: Applied to user equipment, the method comprises: Acquire private cloud device information; wherein the private cloud device information at least includes first identification information and initial configuration parameters; Connecting the private cloud device corresponding to the first identification information according to the initial configuration parameters; When the user device is successfully connected to the private cloud device, the user device information is sent to the private cloud device; the private cloud device is used to send the private cloud device information and the user device information to the private cloud server, and the private cloud server is used to generate a private cloud device address of the private cloud device according to the private cloud device information and the user device information; Receiving the private cloud device address of the private cloud device sent by the private cloud server; The corresponding private cloud device is accessed through the private cloud server according to the private cloud device address.
2. The method according to claim 1, characterized in that: Obtain private cloud device information, including: Obtain the QR code of the private cloud device; The private cloud device information is obtained by scanning the QR code through the application of the user device.
3. The method according to claim 1, characterized in that The initial configuration parameters at least include Bluetooth connection information of the private cloud device, and connecting the private cloud device corresponding to the first identification information according to the initial configuration parameters includes: The private cloud device corresponding to the first identification information is connected via Bluetooth according to the Bluetooth connection information.
4. The method according to claim 1, characterized in that The private cloud server is used to establish a binding relationship between the user device information of the user device and the private cloud device information of the private cloud device according to the private cloud device address.
5. The method according to claim 4, characterized in that Accessing the corresponding private cloud device through the private cloud server according to the private cloud device address includes: A private cloud device access instruction is sent to the private cloud server; the private cloud device access instruction includes at least the private cloud device address and user device information; the private cloud server is used to send the private cloud device access instruction to the private cloud device corresponding to the private cloud device address when the corresponding binding relationship is found according to the private cloud device address, if the user device information in the binding relationship is consistent with the user device information in the private cloud device access instruction, so that the private cloud device executes the private cloud device access instruction.
6. The method according to claim 5, characterized in that Accessing the corresponding private cloud device through the private cloud server according to the private cloud device address also includes: Receive an access instruction execution message sent by the private cloud server; the access instruction execution message is sent to the private cloud server after the private cloud device executes the private cloud device access instruction.
7. The method according to claim 5, characterized in that The method further comprises: If the user device information in the binding relationship is inconsistent with the user device information in the private cloud device access instruction, receive unbinding prompt information sent by the private cloud server.
8. The method according to claim 1, characterized in that: The user equipment information includes at least basic information and token information of the user equipment; the basic information includes at least a device name, a user password and second identification information corresponding to the user equipment.
9. The method according to claim 1, characterized in that: The private cloud device address is an IPv6 address.
10. A private cloud device access device, characterized in that: Applied to user equipment, the device comprises: A private cloud device information acquisition module, used to acquire private cloud device information; wherein the private cloud device information at least includes first identification information and initial configuration parameters; A private cloud device connection module, used to connect the private cloud device corresponding to the first identification information according to the initial configuration parameters; A user device information sending module, configured to send user device information to the private cloud device when the user device is successfully connected to the private cloud device; the private cloud device is configured to send the private cloud device information and the user device information to a private cloud server, and the private cloud server is configured to generate a private cloud device address of the private cloud device according to the private cloud device information and the user device information; A private cloud device address receiving module, used to receive the private cloud device address of the private cloud device sent by the private cloud server; A private cloud device access module is used to access the corresponding private cloud device through the private cloud server according to the private cloud device address.
11. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; The memory is used to store computer programs; The processor is used to implement the method according to any one of claims 1 to 9 when executing the program stored in the memory.
12. A computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, cause the processors to perform the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Smart-TV private cloud equipment access method and system
CN106685947A
Automatic login method of car infotainment system account and car infotainment system device
CN107800708A
Equipment binding method and device and computer readable storage medium
CN113596795A
Connection establishment method and device, computer equipment and storage medium
CN116132505A
System for implementing dynamic access to private cloud environment via public network
US20140337961A1