Data center access method, system, computer equipment and storage medium
By sending data center identification data to controlled devices in the Internet of Things environment, the problem of inconsistency between the data center of the terminal and the controlled device is solved, and the effective control and binding of the controlled devices is achieved by the terminal.
Patent Information
- Application Number
- CN202210989259.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-17
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2042-08-17
AI Technical Summary
In the Internet of Things environment, the data center in the area where the terminal account is located and the area where the controlled device is located may be different, which causes the control terminal to be unable to effectively connect and control the controlled device, resulting in the control terminal being unable to bind and control the controlled device. question.
The control terminal receives the distribution network request initiated by the controlled device, and sends distribution network-related data and data center identification data to the controlled device, so that the controlled device can be connected to a data center consistent with the control terminal, thereby realizing control of the controlled device and binding.
It ensures that the control terminal can control and bind the controlled device through the correct data center, solving the control problem caused by the connection differences between the terminal and the controlled device.
Smart Images

Figure CN115396246B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of wireless communication technology, and in particular to a data center access method, system, computer equipment and storage medium. Background Art
[0002] With the rapid development of the Internet of Things and the rapid popularization of wireless networks, more and more control terminals can control various controlled devices connected to the data center through the data center connected to the area where the terminal account is located. However, the controlled device needs to receive relevant data sent from the data center in order to be controlled by the control terminal, and the data center to which the control terminal is connected will have the relevant data corresponding to the terminal account.
[0003] The data center to which the controlled device is connected by default is generally a data center based on the area where the controlled device is located. However, in the prior art, there are often situations where there are multiple different data centers in the area where the terminal account is located and the area where the controlled device is located. Therefore, the data center to which the control terminal is connected may be different from the data center to which the controlled device is connected by default, resulting in problems with data transmission being unable to be performed, which in turn causes the control terminal to be unable to control the controlled device, and even the controlled device cannot be bound. Summary of the invention
[0004] Based on this, it is necessary to provide a data center access method, system, computer equipment, storage medium and computer program product that can ensure that the controlled device is connected to a data center consistent with the control terminal in order to solve the above technical problems.
[0005] In a first aspect, the present application provides a data center access method, the method comprising:
[0006] The control terminal receives a network configuration request initiated by the controlled device, and the data center to which the control terminal is connected corresponds to the area where the device control account logged in to the control terminal is located;
[0007] The control terminal responds to the network configuration request and sends network configuration related data and data center identification data to the controlled device, where the data center identification is used to uniquely identify the data center;
[0008] The controlled device is connected to the wireless communication network where the control terminal is located based on the distribution network related data, and is connected to the data center through the data center identifier under the wireless communication network.
[0009] In a second aspect, the present application provides a data center access system, the system comprising:
[0010] The control terminal is used to receive a network configuration request initiated by a controlled device, and the data center to which the control terminal is connected corresponds to the area where the device control account logged in to the control terminal is located; in response to the network configuration request, the control terminal sends network configuration related data and data center identification data to the controlled device, and the data center identification is used to uniquely identify the data center;
[0011] The controlled device is used to connect to the wireless communication network where the control terminal is located based on the distribution network related data, and to connect to the data center through the data center identifier under the wireless communication network.
[0012] In some embodiments, the data center access system further includes a data center. When the controlled device is successfully connected to the data center, the data center is used to: bind the controlled device to the device control account.
[0013] In some embodiments, when the controlled device is successfully connected to the data center, the control terminal is used to: generate a device binding instruction according to the device identification of the controlled device, and also to send the device binding instruction to the data center. The data center is also used to: determine the controlled device that matches the device identification from the controlled devices connected to the data center according to the device binding instruction, and bind the matched controlled device to the device control account.
[0014] In some embodiments, the control terminal is further used to: generate a device control instruction in response to a device control operation on a target controlled device bound to the device control account, and send the device control instruction to the data center. The data center is also used to: determine the target controlled device from the controlled devices bound to the device control account, and control the target controlled device accordingly.
[0015] In some embodiments, the control terminal is also used to: perform domain name resolution on the visited data center domain name, obtain a unique corresponding data center address, and connect to the data center according to the data center address.
[0016] In some embodiments, the controlled device is one or more, the controlled device is a smart home device, and a smart device control application is installed in the control terminal. The control terminal is also used to: respond to the network configuration request, send network configuration related data and data center identification data to the smart home device through the smart device control application.
[0017] In a third aspect, the present application provides a control terminal including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above-mentioned data center access method when executing the computer program.
[0018] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the above-mentioned data center access method when executed by a processor.
[0019] In a fifth aspect, the present application further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned data center access method are implemented.
[0020] The above-mentioned data center access method, system, computer device, storage medium and computer program product receive the network configuration request initiated by the controlled device through the control terminal; the data center connected to the control terminal corresponds to the area where the device control account logged in to the control terminal is located; the control terminal responds to the network configuration request and sends network configuration related data and data center identification data to the controlled device; the data center identification is used to uniquely identify the data center; the controlled device is connected to the wireless communication network where the control terminal is located based on the network configuration related data, and is connected to the data center through the data center identification under the wireless communication network. That is to say, in the process of configuring the network for the controlled device, the control terminal sends the data center identification data in addition to the network configuration related data for configuring the network to the controlled device, so that the controlled device is connected to the data center consistent with the control terminal, thereby ensuring that the control terminal can control the controlled device through the data center. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 A schematic diagram of an application environment of a data center access method provided in an embodiment of the present application;
[0022] Figure 2 A schematic diagram of a data center access method provided in an embodiment of the present application;
[0023] Figure 3 A flowchart of another data center access method provided in an embodiment of the present application;
[0024] Figure 4 A flowchart of another data center access method provided in an embodiment of the present application;
[0025] Figure 5 A schematic diagram of the structure of a data center access system provided in an embodiment of the present application;
[0026] Figure 6 An internal structure diagram of a control terminal provided in an embodiment of the present application. DETAILED DESCRIPTION
[0027] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0028] The data center access method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the control terminal 102 can communicate with multiple controlled devices 104 through the network, so as to control the multiple controlled devices 104. The data storage system can store the data that the control terminal 102 needs to process. The data storage system can be integrated on the control terminal 102, or it can be placed on the cloud or other network servers. The data center 106 can communicate with the control terminal 102 and multiple controlled devices 104 through the network, so that the control terminal 102 controls the controlled devices 104 through the data center 106.
[0029] Among them, the control terminal 102 can be understood as a control center, which can be at least one of a personal computer, a laptop, a smart phone, a tablet computer, an Internet of Things device, a portable wearable device, a control terminal, a server, a movable control panel or a control knob installed with specific program software. The Internet of Things device can be a smart speaker, a smart TV, a smart air conditioner, a smart car device, etc. The portable wearable device can be at least one of a smart watch, a smart bracelet or a head-mounted device. The controlled device 104 can be, but is not limited to, at least one of smart home devices such as smart lamps, smart control panels, smart speakers, smart TVs or smart air conditioners. The data center 106 can be a server, where the server can be implemented as an independent server or a server cluster consisting of multiple servers.
[0030] Specifically, the control terminal 102 may have a wireless communication function, such as wireless communication technology, mobile hotspot, bitstream, Bluetooth, Zigbee, Thread, etc., which is not limited in this solution. The control terminal 102 may communicate with surrounding smart devices using wireless communication, such as wireless communication technology, Zigbee, Bluetooth, Thread, etc., to achieve control functions of a single or multiple devices.
[0031] In some embodiments, Figure 2 As shown, a data center access method is provided, and the embodiment of the present application includes but is not limited to the following steps:
[0032] Step 202: The control terminal receives a network configuration request initiated by the controlled device.
[0033] It can be understood that a user can install a mobile phone software (Application, APP) for controlling a controlled device on a control terminal, such as a mobile phone, and the control terminal can register a device control account for controlling the device on the mobile phone software. After the account registration is completed, the control terminal can connect to the corresponding data center according to the logged-in device control account, and the control terminal can control multiple controllable controlled devices through the data center. Among them, the data center to which the control terminal is connected corresponds to the area where the device control account logged in in the control terminal is located.
[0034] It should be noted that before the control terminal controls the controlled device through the mobile phone software, the control terminal and the controlled device need to be connected to the same network. For at least one type of controlled device without a screen, such as smart sockets and smart light bulbs, users cannot allow the controlled device to access the WiFi network by entering WiFi hotspot information. At this time, these controlled devices need to be configured so that the controlled devices without human-computer interaction capabilities can be connected to the network with the help of some special methods. Among them, WiFi is also called mobile hotspot, which is a wireless communication technology.
[0035] It can be understood that network configuration is the process of transferring the service set identifier (SSID) and WiFi password of a router, such as the control terminal of this application, to a controlled device in some way, so that the controlled device can access the WiFi network. Among them, SSID technology can divide a wireless LAN into several sub-networks that require different identity authentications. Each sub-network requires independent identity authentication. Only users who pass the identity authentication can enter the corresponding sub-network, preventing unauthorized users from entering the network.
[0036] In some embodiments, the present application may adopt at least one network configuration technology such as hotspot network configuration or one-click network configuration.
[0037] Specifically, before the control terminal and the controlled device perform network configuration, the control terminal receives a network configuration request initiated by the controlled device.
[0038] Step 204: the control terminal sends network configuration related data and data center identification data to the controlled device in response to the network configuration request.
[0039] It can be understood that after the control terminal and the controlled device are networked, the controlled device can be connected to different data centers. Specifically, the control terminal can connect to the data center where the device control account is located, such as data center 1, according to the device control account logged in by the mobile phone software, and the controlled device can be resolved to the local data center, such as data center 1 or data center 2, through the domain name system (Domain Name System, DNS) of the area where the controlled device is located.
[0040] Among them, a region can generally be resolved to the Internet Protocol (IP) of one or more data centers through DNS. In the embodiment of the present application, it can be configured that a region is only resolved to the IP address of one data center, and the control terminal or controlled device connects to the data center through a domain name. The domain name is resolved to an IP address by the DNS of each region, and the resolved IP address corresponds to the address of the data center of the server of the present application. For example, for the same domain name, users in city 1 will resolve the domain name to the IP address of the data center corresponding to city 1, while users in city 2 will resolve the same domain name to the IP address of the data center corresponding to city 2.
[0041] To summarize, when the device control accounts of the control terminal and the controlled device are in different areas, the control terminal and the controlled device may resolve to different data centers through the same domain name. For example, the control terminal can resolve and connect to data center 1 by default, and the controlled device can resolve and connect to data center 2 by default. In the case where the control terminal and the controlled device are connected to different data centers, it will cause the problem that the two data centers cannot communicate with each other. Even if the control terminal and the controlled device are successfully networked, the control terminal cannot bind and control the controlled device. Based on this, the present application considers informing the controlled device to connect to the data center consistent with the control terminal through network configuration related data and data center identification data during the network configuration process, so that the control terminal can bind and control the controlled device through the same data center.
[0042] The network configuration related data refers to the data required by the control terminal and the controlled device during the network configuration process, such as at least one of the SSID and the WiFi password.
[0043] Data center ID, used to uniquely identify the corresponding data center.
[0044] Specifically, the controlled device can start the network configuration mode and send a network configuration request to the control terminal. In response to the network configuration request initiated by the controlled device, the control terminal sends network configuration related data and data center identification data to the controlled device.
[0045] Step 206: The controlled device is connected to the wireless communication network where the control terminal is located based on the network distribution related data, and is connected to the data center through the data center identifier under the wireless communication network.
[0046] Specifically, the controlled device connects to the wireless communication network where the control terminal is located based on the network distribution related data sent by the control terminal, and identifies the data center to which the control terminal is connected through the data center identifier under the wireless communication network, and connects to the data center.
[0047] It can be understood that before the control terminal performs network configuration, the control terminal is connected to the home network (HomeNetwork). After the control terminal sends the network configuration related data to the controlled device, the control terminal will automatically return to the previously connected home network. If the control terminal fails to return to the home network, it will continue to try to reconnect until it successfully returns to the home network. Alternatively, if the control terminal still cannot successfully return to the home network within a period of time, a connection failure prompt can be generated.
[0048] Among them, the home network is a home information platform that integrates home control network and multimedia information network. It is a system that realizes the interconnection and management of information equipment, communication equipment, entertainment equipment, household appliances, automation equipment, lighting equipment, monitoring devices, water, electricity, gas and heat meters, home help alarm and other equipment within the home, as well as the sharing of data and multimedia information.
[0049] The above-mentioned data center access method receives the network configuration request initiated by the controlled device through the control terminal; the data center connected to the control terminal corresponds to the area where the device control account logged in to the control terminal is located; the control terminal responds to the network configuration request and sends network configuration related data and data center identification data to the controlled device; the data center identification is used to uniquely identify the data center; the controlled device is connected to the wireless communication network where the control terminal is located based on the network configuration related data, and is connected to the data center through the data center identification under the wireless communication network. That is to say, in the process of configuring the network for the controlled device in this application, in addition to sending the network configuration related data for configuring the network to the controlled device, the control terminal also sends the data center identification data, so that the controlled device is connected to the data center consistent with the control terminal, thereby ensuring that the control terminal can control the controlled device through the data center.
[0050] In some embodiments, the data center access method of the present application specifically includes but is not limited to: when the controlled device is successfully connected to the data center, the data center binds the controlled device to the device control account.
[0051] Specifically, when the controlled device is successfully connected to the data center, the data center can bind the controlled device to the device control account corresponding to the control terminal, and let the controlled device join the home where the device control account is located, so that the control terminal can control the bound controlled device.
[0052] In the case where the controlled device fails to connect to the data center, the controlled device will continue to try to reconnect until it successfully connects to the corresponding data center. Alternatively, if the controlled device still cannot connect to the data center within a period of time, a connection failure prompt may be generated.
[0053] In some embodiments, the step of "when the controlled device is successfully connected to the data center, the data center binds the controlled device to the device control account" specifically includes but is not limited to: when the controlled device is successfully connected to the data center, the control terminal generates a device binding instruction based on the device identification of the controlled device; the control terminal sends the device binding instruction to the data center; the data center determines, according to the device binding instruction, a controlled device that matches the device identification from the controlled devices connected to the data center, and binds the matching controlled device to the device control account.
[0054] Among them, the device identifier is used to uniquely identify the controlled device.
[0055] Specifically, when the controlled device is successfully connected to the data center, the control terminal generates a device binding instruction for binding with the controlled device according to the device identification of the controlled device, and sends the device binding instruction to the corresponding data center. The data center determines the controlled device that matches the device identification from the controlled devices connected to the data center according to the device binding instruction, and binds the matched controlled device to the device control account, that is, adds the controlled device to the home where the device control account is located, so that the control terminal can uniformly control all bound controlled devices.
[0056] In some embodiments, the data center access method of the present application specifically also includes but is not limited to: the control terminal generates a device control instruction in response to a device control operation on a target controlled device bound to a device control account; the control terminal sends the device control instruction to the data center; the data center determines the target controlled device from among the controlled devices bound to the device control account, and performs corresponding control on the target controlled device.
[0057] Specifically, the user can send a device control operation to the target controlled device in the mobile phone software of the control terminal, such as turning on lamp 1. The control terminal generates a device control instruction in response to the user's device control operation on the target controlled device bound to the device control account, that is, generates an instruction for controlling lamp 1 to turn on. Then, the control terminal sends the generated device control instruction to the data center, and the data center determines the target controlled device from the controlled devices bound to the device control account, and controls the target controlled device accordingly, such as the data center controls lamp 1 to turn on, thereby completing the process of the control terminal controlling the controlled device.
[0058] It should be noted that if the data center recognizes that the target controlled device is not a controlled device bound to the device control account, it cannot be controlled. At this time, the data center can notify the control terminal to re-configure the controlled device, or notify the controlled device to rejoin the data center, so as to ensure that the controlled device that has not been successfully bound can be further processed in time.
[0059] In some embodiments, before the step of "the control terminal receives the network configuration request initiated by the controlled device", the data center access method of the present application specifically includes but is not limited to: the control terminal performs domain name resolution on the domain name of the accessed data center to obtain a unique corresponding data center address; the control terminal connects to the data center according to the data center address.
[0060] Specifically, the control terminal performs domain name resolution on the domain name of the data center it needs to access, i.e., the data center domain name, to obtain the unique data center address corresponding to the data center. The control terminal connects to the data center according to the resolved data center address. Only on the basis of the successful connection between the control terminal and the data center can the controlled device be further connected to the data center consistent with the control terminal, thereby realizing the control of the controlled device.
[0061] In some embodiments, there are one or more controlled devices, the controlled devices are smart home devices, and a smart device control application is installed in the control terminal. Step 204 specifically includes but is not limited to: the control terminal responds to the network configuration request and sends network configuration related data and data center identification data to the smart home device through the smart device control application.
[0062] Among them, the smart device control application is the mobile phone software that controls various smart home devices.
[0063] Specifically, the smart device control application of the control terminal responds to the network configuration request of the smart home device, and sends the network configuration related data and data center identification data to the smart home device through the smart device control application. Among them, the smart home device can be at least one of a smart lamp, a smart control panel, a smart speaker, a smart TV or a smart air conditioner. Through the smart device control application of the present application, the smart home device can be network configured, and when the smart home device is successfully added to the data center consistent with the control terminal, the smart home device can be controlled in the application, thereby improving the convenience of controlling the smart home device.
[0064] In some embodiments, Figure 3As shown, the smart device control application connects to the data center of the corresponding area, that is, data center 1, according to the location of the device control account. Then, the smart device control application sends the network configuration related data and data center identification data of data center 1, that is, the identification and IP address, according to the network configuration request initiated by the smart home device, for example, according to the hotspot network configuration. If the smart home device does not receive the data center identification data sent by the smart device control application, the data center resolved by DNS based on the domain name of the data center is data center 2, and at this time it cannot be connected to the same data center as the control terminal. If the smart home device receives the data center identification data sent by the smart control application, it determines that it needs to connect to data center 1 based on the data center identification, and connects to data center 1, thereby ensuring that the control terminal can control the controlled device through data center 1.
[0065] In some embodiments, Figure 4 As shown, the controlled device is a smart home device, and a smart device control application is installed in the control terminal. The data center access method of the embodiment of the present application specifically includes the following steps:
[0066] Step 402: The smart device control application performs domain name resolution on the accessed data center domain name to obtain a unique corresponding data center address.
[0067] Step 404: the smart device control application connects to the data center according to the data center address.
[0068] Step 406: The smart device control application receives a network configuration request initiated by the smart home device.
[0069] Step 408: The smart device control application sends network configuration related data and data center identification data to the smart home device in response to the network configuration request.
[0070] Step 410, the smart home device is connected to the wireless communication network where the smart device control application is located based on the network distribution related data, and is connected to the data center through the data center identifier under the wireless communication network.
[0071] Step 412: When the smart home device is successfully connected to the data center, the smart device control application generates a device binding instruction according to the device identification of the smart home device.
[0072] Step 414, the smart device control application sends the device binding instruction to the data center.
[0073] In step 416, the data center determines the smart home device that matches the device identifier from the smart home devices connected to the data center according to the device binding instruction, and binds the matching smart home device to the device control account.
[0074] Step 418 : The smart device control application generates a device control instruction in response to the device control operation for the target smart home device bound to the device control account.
[0075] Step 420: The smart device control application sends the device control instruction to the data center.
[0076] In step 422, the data center determines the target smart home device from the smart home devices bound to the device control account, and controls the target smart home device accordingly.
[0077] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0078] Based on the same inventive concept, the embodiment of the present application also provides a data center access system for implementing the data center access method involved above. The implementation scheme for solving the problem provided by the system is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more data center access system embodiments provided below can refer to the limitations on the data center access method above, and will not be repeated here.
[0079] refer to Figure 5 , is a schematic diagram of a data center 506 access system provided in an embodiment of the present application. In some embodiments, Figure 5 As shown, a data center 506 access system is provided, including a control terminal 502, a controlled device 504 and a data center 506, wherein:
[0080] The control terminal 502 receives the network configuration request initiated by the controlled device 504, and the data center 506 to which the control terminal 502 is connected corresponds to the area where the device control account logged in to the control terminal 502 is located;
[0081] In response to the network configuration request, the control terminal 502 sends network configuration related data and data center 506 identification data to the controlled device 504, where the data center 506 identification is used to uniquely identify the data center 506;
[0082] The controlled device 504 is connected to the wireless communication network where the control terminal 502 is located based on the distribution network related data, and is connected to the data center 506 through the data center 506 identifier under the wireless communication network.
[0083] The above-mentioned data center 506 accesses the system, and receives the network configuration request initiated by the controlled device 504 through the control terminal 502; the data center 506 connected to the control terminal 502 corresponds to the area where the device control account logged in to the control terminal 502 is located; the control terminal 502 responds to the network configuration request and sends network configuration related data and data center 506 identification data to the controlled device 504; the data center 506 identification is used to uniquely identify the data center 506; the controlled device 504 is connected to the wireless communication network where the control terminal 502 is located based on the network configuration related data, and is connected to the data center 506 through the data center 506 identification under the wireless communication network. That is to say, in the process of configuring the network for the controlled device 504, the control terminal 502 sends the network configuration related data for configuring the network to the controlled device 504, and also sends the data center 506 identification data, so that the controlled device 504 is connected to the data center 506 consistent with the control terminal 502, thereby ensuring that the control terminal 502 can control the controlled device 504 through the data center 506.
[0084] In some embodiments, the data center 506 access system further includes a data center 506. When the controlled device 504 is successfully connected to the data center 506, the data center 506 is used to bind the controlled device 504 to the device control account.
[0085] In some embodiments, when the controlled device 504 is successfully connected to the data center 506, the control terminal 502 is used to generate a device binding instruction according to the device identification of the controlled device 504, and to send the device binding instruction to the data center 506. The data center 506 is also used to determine the controlled device 504 that matches the device identification from the controlled devices 504 connected to the data center 506 according to the device binding instruction, and bind the matched controlled device 504 to the device control account.
[0086] In some embodiments, the control terminal 502 is further used to: generate a device control instruction in response to a device control operation on a target controlled device 504 bound to the device control account, and send the device control instruction to the data center 506. The data center 506 is further used to: determine the target controlled device 504 from the controlled devices 504 bound to the device control account, and control the target controlled device 504 accordingly.
[0087] In some embodiments, the control terminal 502 is further used to: perform domain name resolution on the domain name of the visited data center 506 to obtain a unique corresponding data center 506 address, and connect to the data center 506 according to the data center 506 address.
[0088] In some embodiments, there are one or more controlled devices 504, which are smart home devices, and a smart device control application is installed in the control terminal 502. The control terminal 502 is also used to: respond to a network configuration request, send network configuration related data and data center 506 identification data to the smart home device through the smart device control application.
[0089] Each module in the above-mentioned device control system can be implemented in whole or in part by software, hardware or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0090] In one embodiment, a computer device is provided. The computer device may be a control terminal, and its internal structure diagram may be as follows: Figure 6 As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a three-dimensional object modeling method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.
[0091] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0092] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0093] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0094] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0095] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0096] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0097] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A data center access method, characterized in that: The method comprises: When the area where the device control account of the control terminal is located and the controlled device are in different areas, the control terminal determines the data center where the device control account is located according to the device control account; the control terminal performs domain name resolution on the domain name of the data center to obtain a unique corresponding data center address; The control terminal is connected to the data center according to the data center address; The control terminal receives a network configuration request initiated by the controlled device, and the data center to which the control terminal is connected corresponds to the area where the device control account logged in to the control terminal is located; In response to the network configuration request, the control terminal sends network configuration related data and data center identification data to the controlled device to inform the controlled device to connect to the data center consistent with the control terminal, so that the control terminal can bind and control the controlled device through the same data center; the data center identification is used to uniquely identify the data center; The controlled device is connected to the wireless communication network where the control terminal is located based on the network distribution related data, and is connected to the data center through the data center identifier under the wireless communication network; Before the control terminal responds to the network configuration request, the control terminal is connected to the home network. After the control terminal responds to the network configuration request and sends network configuration related data and data center identification data to the controlled device, the control terminal will automatically return to the home network to which it was previously connected; wherein the home network is a home information platform that integrates a home control network and a multimedia information network.
2. The method according to claim 1, characterized in that: The method further comprises: When the controlled device is successfully connected to the data center, the data center binds the controlled device to the device control account.
3. The method according to claim 2, characterized in that When the controlled device is successfully connected to the data center, the data center binds the controlled device to the device control account, including: When the controlled device is successfully connected to the data center, the control terminal generates a device binding instruction according to the device identification of the controlled device; The control terminal sends the device binding instruction to the data center; The data center determines a controlled device that matches the device identifier from the controlled devices connected to the data center according to the device binding instruction, and binds the matched controlled device to the device control account.
4. The method according to claim 2, characterized in that: The method further comprises: The control terminal generates a device control instruction in response to a device control operation on a target controlled device bound to the device control account; The control terminal sends the device control instruction to the data center; The data center determines the target controlled device from the controlled devices bound to the device control account, and performs corresponding control on the target controlled device.
5. The method according to any one of claims 1 to 4, characterized in that The controlled device is one or more; the controlled device is a smart home device; the control terminal is installed with a smart device control application; The control terminal sends network configuration related data and data center identification data to the controlled device in response to the network configuration request, including: The control terminal responds to the network configuration request and sends network configuration related data and data center identification data to the smart home device through the smart device control application.
6. A data center access system, characterized in that: The system comprises: a control terminal and a controlled device; The control terminal is used to determine the data center where the device control account is located according to the device control account when the area where the device control account of the control terminal is located and the controlled device are in different areas; perform domain name resolution on the domain name of the data center to obtain a unique corresponding data center address; connect to the data center according to the data center address; receive a network configuration request initiated by the controlled device, the data center to which the control terminal is connected corresponds to the area where the device control account logged in to the control terminal is located; in response to the network configuration request, send network configuration related data and data center identification data to the controlled device to inform the controlled device to connect to the data center consistent with the control terminal, so that the control terminal can bind and control the controlled device through the same data center; the data center identification is used to uniquely identify the data center; The controlled device is used to connect to the wireless communication network where the control terminal is located based on the distribution network related data, and to connect to the data center through the data center identifier under the wireless communication network; Before the control terminal responds to the network configuration request, the control terminal is connected to the home network. After the control terminal responds to the network configuration request and sends network configuration related data and data center identification data to the controlled device, the control terminal will automatically return to the home network to which it was previously connected; wherein the home network is a home information platform that integrates a home control network and a multimedia information network.
7. The system according to claim 6, characterized in that The system also includes a data center; when the controlled device is successfully connected to the data center, the data center is used to bind the controlled device to the device control account.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
