CN114422236A - Intelligent device access method and device and electronic device - Google Patents

Intelligent device access method and device and electronic device Download PDF

Info

Publication number
CN114422236A
CN114422236A CN202210052899.6A CN202210052899A CN114422236A CN 114422236 A CN114422236 A CN 114422236A CN 202210052899 A CN202210052899 A CN 202210052899A CN 114422236 A CN114422236 A CN 114422236A
Authority
CN
China
Prior art keywords
equipment
intelligent
information
access
access request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210052899.6A
Other languages
Chinese (zh)
Other versions
CN114422236B (en
Inventor
彭继兵
陈盈贵
吴逸耿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Pantum Electronics Co Ltd
Original Assignee
Zhuhai Pantum Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Pantum Electronics Co Ltd filed Critical Zhuhai Pantum Electronics Co Ltd
Publication of CN114422236A publication Critical patent/CN114422236A/en
Application granted granted Critical
Publication of CN114422236B publication Critical patent/CN114422236B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/105Multiple levels of security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application provides an access method and device of intelligent equipment and electronic equipment. The intelligent terminal responds to an access trigger instruction of the bound intelligent device and sends a device access request to the intelligent device, wherein the device access request comprises information of a current login user. The intelligent device compares the current login user information with the pre-stored device manager information, and sends a comparison result to the intelligent terminal. Under the condition that the information of the intelligent terminal and the information of the intelligent terminal are consistent, the intelligent terminal accesses the intelligent equipment in the role of an equipment manager; otherwise, the intelligent device is accessed in the role of a common user or the login page of the device administrator is displayed.

Description

Intelligent device access method and device and electronic device
[ technical field ] A method for producing a semiconductor device
The present application relates to the field of intelligent device technologies, and in particular, to an access method and an access device for an intelligent device, and an electronic device.
[ background of the invention ]
With rapid progress of technological development, more and more intelligent devices are in production and life to improve production efficiency.
In the prior art, for data security, access to the smart device requires authentication of account information to have permission to access. In this case, when accessing the smart device, the user is required to input account information such as an account and a password for authentication, and the user can have access right after the authentication is passed.
However, the above access method is cumbersome to operate and the user experience is poor.
[ summary of the invention ]
The embodiment of the application provides an intelligent device access method, an intelligent device access device and an electronic device, and can improve the efficiency of a user in accessing the intelligent device, so that the user experience is improved.
In a first aspect, an embodiment of the present application provides an access method for an intelligent device, which is applied to an intelligent terminal, and includes: responding to an access trigger instruction of the bound intelligent equipment, and sending an equipment access request to the intelligent equipment, wherein the equipment access request comprises current login user information; receiving a comparison result sent by the intelligent equipment, wherein the comparison result is obtained by comparing the current login user information with prestored equipment administrator information by the intelligent equipment; and accessing the intelligent equipment in the role of an equipment administrator under the condition that the comparison result is determined to be consistent.
In one possible implementation manner, in response to an access trigger instruction for a bound smart device, sending a device access request to the smart device includes: responding to an access trigger instruction of the bound intelligent device, and sending a device access request to a cloud server so that the cloud server forwards the device access request to the intelligent device.
In a possible implementation manner, in a case that it is determined that the alignment result is inconsistent, the method further includes: accessing the intelligent device in a common user role; or, displaying the equipment administrator login page.
In one possible implementation manner, before sending a device access request to the intelligent device in response to an access trigger instruction for the bound intelligent device, the method further includes: sending a device binding request to a cloud server; the device binding request comprises current login user information and device information to be bound, and the device binding request is used for the cloud server to establish a mapping relation between the current login user information and the device information to be bound so as to complete binding.
In one possible implementation, before sending the device binding request to the cloud server, the method further includes: responding to the equipment access instruction, and acquiring the information of the current login user from the third-party platform; and acquiring the information of the equipment to be bound.
In one possible implementation manner, the obtaining information of the device to be bound includes: collecting a two-dimensional code image of equipment to be bound; and obtaining the information of the equipment to be bound according to the scanning result of the two-dimensional code image.
In a second aspect, an embodiment of the present application provides an access method for an intelligent device, which is applied to the intelligent device, and includes: receiving an equipment access request sent by an intelligent terminal, wherein the equipment access request comprises information of a current login user; and comparing the current login user information with prestored equipment manager information, and sending a comparison result to the intelligent terminal.
In one possible implementation, the method further includes: receiving and storing equipment administrator information sent by a cloud server; the equipment administrator information is obtained by the cloud server according to user information setting for binding with the intelligent equipment for the first time.
In a possible implementation manner, receiving a device access request sent by an intelligent terminal includes: receiving a device access request forwarded by a cloud server; wherein, the opportunity of the cloud server for forwarding the device access request is as follows: and receiving an equipment access request sent by the intelligent terminal, and determining that the current login user information contained in the equipment access request is consistent with the equipment administrator information prestored in the cloud server.
In a third aspect, an embodiment of the present application provides an access apparatus for an intelligent device, including: the request module is used for responding to an access trigger instruction of the bound intelligent equipment and sending an equipment access request to the intelligent equipment, wherein the equipment access request comprises the information of a current login user; the first receiving module is used for receiving a comparison result sent by the intelligent equipment, wherein the comparison result is obtained by comparing the current login user information with prestored equipment administrator information by the intelligent equipment; and the first access module is used for accessing the intelligent equipment in a role of an equipment administrator under the condition that the comparison result is determined to be consistent.
In a possible implementation manner, the request module is specifically configured to: responding to an access trigger instruction of the bound intelligent device, and sending a device access request to a cloud server so that the cloud server forwards the device access request to the intelligent device.
In one possible implementation, the apparatus further includes: the second access module is used for accessing the intelligent equipment in a common user role under the condition that the comparison result is determined to be inconsistent; or, displaying the equipment administrator login page.
In one possible implementation, the apparatus further includes: the binding module is used for sending an equipment binding request to the cloud server; the device binding request comprises current login user information and device information to be bound, and the device binding request is used for the cloud server to establish a mapping relation between the current login user information and the device information to be bound so as to complete binding.
In one possible implementation, the apparatus further includes: the information acquisition module is used for responding to the equipment access instruction and acquiring the information of the current login user from the third-party platform; and acquiring the information of the equipment to be bound.
In a possible implementation manner, the information acquisition module is specifically configured to: collecting a two-dimensional code image of equipment to be bound; and obtaining the information of the equipment to be bound according to the scanning result of the two-dimensional code image.
In a fourth aspect, an embodiment of the present application provides an access apparatus for an intelligent device, including: the second receiving module is used for receiving an equipment access request sent by the intelligent terminal, wherein the equipment access request comprises information of a current login user; and the comparison module is used for comparing the current login user information with prestored equipment administrator information and sending a comparison result to the intelligent terminal.
In one possible implementation, the apparatus further includes: the information storage module is used for receiving and storing the equipment administrator information sent by the cloud server; the equipment administrator information is obtained by the cloud server according to user information setting for binding with the intelligent equipment for the first time.
In a possible implementation manner, the second receiving module is specifically configured to: receiving a device access request forwarded by a cloud server; wherein, the opportunity of the cloud server for forwarding the device access request is as follows: and receiving an equipment access request sent by the intelligent terminal, and determining that the current login user information contained in the equipment access request is consistent with the equipment administrator information prestored in the cloud server.
In a fifth aspect, an embodiment of the present application provides an electronic device, including: at least one processor; and at least one memory communicatively coupled to the processor, wherein: the memory stores program instructions executable by the processor, the processor being capable of performing the method of the first aspect when invoked by the processor.
In a sixth aspect, an embodiment of the present application provides an electronic device, including: at least one processor; and at least one memory communicatively coupled to the processor, wherein: the memory stores program instructions executable by the processor, the processor being capable of performing the method of the second aspect when invoked by the processor.
In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium, which stores computer instructions, the computer instructions causing the computer to execute the method according to the first aspect and the second aspect.
The above technical scheme of this application has following beneficial effect:
through the scheme, the access efficiency of the user for accessing the intelligent device can be improved, and further the user experience is improved.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a scene diagram of an access method of an intelligent device according to an embodiment of the present disclosure;
fig. 2 is a flowchart of an access method of an intelligent device according to an embodiment of the present disclosure;
fig. 3 is a flowchart of an access method of an intelligent device according to an embodiment of the present disclosure;
fig. 4 is a flowchart of an access method of an intelligent device according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an access apparatus of an intelligent device according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
[ detailed description ] embodiments
For better understanding of the technical solutions of the present application, the following detailed descriptions of the embodiments of the present application are provided with reference to the accompanying drawings.
It should be understood that the embodiments described are only a few embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the examples of this application and the appended claims, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
The application can provide an intelligent terminal, which is used for executing the access method and device of the intelligent device and the electronic device provided by the application.
Fig. 1 is a scene diagram of an access method and an apparatus for an intelligent device and an electronic device provided in an embodiment of the present application.
As shown in fig. 1, in the embodiment of the present application, an intelligent device 101 may establish communication connections with at least one intelligent terminal 102 and at least one cloud server 103, respectively. Furthermore, the intelligent terminal 102 can access the intelligent device 101 according to the access method provided by the application. The smart device 101 may include any smart device in life and work, such as a sweeping robot, a smart speaker, a printer, a scanning instrument, a smart watch, a smart dishwasher, and the like. The intelligent terminal 102 may be a mobile phone or a personal computer.
Fig. 2 is a flowchart of an access method of an intelligent device according to an embodiment of the present application. As shown in fig. 2, the access method of the smart device may include:
s210, the intelligent terminal responds to an access trigger instruction of the bound intelligent device and sends a device access request to the intelligent device; and the equipment access request comprises the information of the current login user.
In this implementation manner, the bound smart device is the device bound with the smart terminal. That is, the smart terminal may access or use the smart device after binding with the smart device is completed. The binding between the intelligent terminal and the intelligent device may specifically be the binding between user information in the intelligent terminal and the intelligent device.
The access triggering instruction can be sent out by a user through an application program in the intelligent terminal. The application may be a proprietary application for accessing the smart device. Accordingly, the current login user information may be the user information of the dedicated application. In another implementation, the access trigger instruction may also be issued by the user through a third-party application having the smart device access function. Accordingly, the current login user information may be user information of the third party application. The current login user information comprises: and the user account number is unique identification.
Further, the intelligent terminal may send the device access request to the intelligent device, where the device access request is sent to the cloud server, and then the cloud server forwards the device access request to the intelligent device.
S220, the intelligent device compares the current login user information with the pre-stored device manager information, and sends a comparison result to the intelligent terminal.
In the implementation mode, the access user of the intelligent device can be divided into two roles according to the authority, wherein one role is a common user role, and the other role is a device administrator role. Wherein, the common user role only has the use authority of the basic function of the intelligent device. The device administrator role provides access to advanced functions of the intelligent device, such as network configuration. By way of example, where the smart device is a printer, the rights of the device administrator role include, but are not limited to: switching on and off a printer network protocol, setting printing parameters of a printer, configuring network attributes of the printer, upgrading firmware and other setting options, and the like.
In this implementation, the user who binds the smart device for the first time may be set as the device administrator, and in another implementation, the device administrator may be set by presetting the user. In yet another implementation, the device administrator may be set by a third party platform. The realization mode has the advantage that the unbinding operation of the role of the device administrator and the user information can be realized based on a third-party platform.
Further, the device administrator information whose setting is completed may be stored in the firmware of the smart device in advance.
In the embodiment of the application, after receiving the device access request sent by the intelligent terminal, the intelligent device can read the current login user information contained in the device access request. Then, the smart device may compare the current login user information with pre-stored device administrator information. The specific way for the intelligent device to compare the current login user information with the pre-stored device administrator information may be to compare whether a character string of the current login user information is consistent with a character string of the device administrator information. And if the two are consistent, the verification is successful, otherwise, the verification fails.
And S230, under the condition that the information of the intelligent terminal and the information of the intelligent terminal are consistent, the intelligent terminal accesses the intelligent equipment in the role of an equipment manager.
And S240, under the condition that the information of the intelligent terminal and the information of the intelligent terminal are inconsistent, the intelligent terminal accesses the intelligent equipment in a common user role, or displays an equipment administrator login page.
The administrator login page can be used for a user to manually input account information to finish access to the intelligent device.
In the embodiment of the application, the interaction between the intelligent device and the intelligent terminal can be completed based on a pre-established local area network.
By the scheme, the input of user information can be reduced, the access flow of the intelligent equipment is simplified, the efficiency of accessing the intelligent equipment by a user is improved, and the user experience is improved.
In another embodiment of the present application, before the intelligent terminal responds to the access trigger instruction for the bound intelligent device and sends a device access request to the intelligent device, the method may further include the following steps:
the intelligent terminal sends an equipment binding request to the cloud server, wherein the equipment binding request comprises current login user information and equipment information to be bound.
After receiving the device binding request sent by the intelligent terminal, the cloud server can read the device information and the current login user information contained in the device binding request. A mapping relationship may then be established for both to complete the binding.
Further, the cloud server may further determine whether the intelligent device has at least one administrator role set according to the device information included in the device binding request. If not, the cloud server may set the role of the currently logged-in user information as the device administrator. If yes, the cloud server can set the role of the current login user information as a common user.
The above embodiment describes in detail the binding process between the smart device and the smart terminal. The binding is to establish a mapping relation between the current login user information of the intelligent terminal and the identification information of the intelligent device. After the binding is completed, the user can directly find the corresponding intelligent device in the intelligent terminal through the mapping relation.
In another embodiment of the present application, on the basis, after the cloud server completes the device binding and the setting process of the device administrator, the method may further include: and the cloud server sends the equipment manager information to the intelligent equipment. Further, the smart device receives and stores the device administrator information.
Further, in another embodiment of the present application, before the intelligent terminal sends the device binding request to the cloud server, the method further includes:
and the intelligent terminal responds to the equipment access instruction, acquires the information of the current login user from the third-party platform and acquires the equipment information of the intelligent equipment.
The intelligent terminal acquires the device information of the intelligent device, and specifically, the intelligent terminal acquires a two-dimensional code image of the intelligent device to be bound. And then, the intelligent terminal obtains the equipment information of the intelligent equipment to be bound according to the scanning result of the two-dimensional code image. The above is only an exemplary implementation manner, and the embodiment of the present application does not limit a specific obtaining manner of the to-be-bound device information, and may be set arbitrarily according to specific requirements.
In another embodiment of the present application, a manner of comparing the current login user information with the pre-stored device administrator information by the smart device in the foregoing S220 is further described.
In this implementation, after receiving the device access request, the cloud server may compare the current login user information with the pre-stored device administrator information. And under the condition that the cloud server determines that the current login user information is consistent with the pre-stored equipment manager information, the pre-stored equipment manager information can be sent to the intelligent equipment. Then, the intelligent device can perform secondary comparison on the device administrator information according to the preset information.
Specifically, a user sends an equipment access request of the intelligent equipment to the cloud server, wherein the equipment access request comprises information of a current login user. After receiving the device access request, the cloud server can acquire the current login user information from the device access request, and compare the current login user information with the pre-stored device administrator information. In the case that the two pieces of information are not consistent, the cloud server can allow the current login user information to access the intelligent device in the role of a common user. Under the condition that the two pieces of information are consistent, the cloud server can send a device access request to the intelligent device, wherein the device access request contains the information of the current login user. Furthermore, after the intelligent device receives the device access request, the intelligent device can perform secondary comparison on the current login user information contained in the device access request according to the pre-stored device administrator information. Under the condition that the information of the two is consistent, the intelligent device can allow the current login user information to access the intelligent device in the role of a device administrator; and under the condition that the information of the intelligent terminal and the information of the intelligent terminal are inconsistent, the intelligent terminal jumps to an equipment manager login page through a webpage.
In another embodiment of the present application, the method may further include: and under the condition that the current login user information is consistent with the pre-stored device administrator information, allowing the current login user information to access the intelligent device in the common user role.
Based on the description of the foregoing embodiments, the present application further provides the following preferred embodiments of the method.
Preferred embodiment 1
Fig. 3 is a flowchart of an access method of an intelligent device according to an embodiment of the present application. As shown in fig. 3, this embodiment shows a preferred access method for an intelligent device, which specifically includes:
the intelligent terminal acquires the currently logged-in third-party platform user information through a third-party platform;
the intelligent terminal scans the two-dimensional code arranged on the printer body to acquire identification information of the printer;
the intelligent terminal initiates a binding request to the cloud server, wherein the binding request comprises third-party platform user information and printer identification information;
the cloud server receives the printer identification information and the third-party platform user information, establishes a mapping relation between the printer identification information and the third-party platform user information, and completes the binding of the printer and the third-party platform user;
the cloud server sends the third-party platform user information to the printer;
the printer receives the third party platform user information, judges whether the printer is a primary binding user of the printer, if so, sets the role of the third party platform user as a printing manager, and stores the third party platform user information in a storage device of the printer; if not, no other operation is performed.
The login process comprises the following steps:
the intelligent terminal sends an access request to the printer through the third-party platform, wherein the access request comprises third-party platform user information;
and the printer acquires the third-party platform user information from the access request and compares the third-party platform user with the printing manager information prestored in the printer. Under the condition that the information of the printer and the information of the printer are consistent, the third-party platform user successfully accesses the printer and displays a login-free webpage, wherein the third-party platform user has administrator permission; and in the case that the information of the printer user login page and the printer user login page are inconsistent, the access fails, and the printer user login page (namely the login webpage) is jumped to through the webpage, so that the user with the role of not being the administrator inputs a user name and a password in the printer user login page to access the printer.
Preferred embodiment two
Fig. 4 is a flowchart of an access method of an intelligent device according to an embodiment of the present application. As shown in fig. 4, this embodiment shows a preferred access method for an intelligent device, which specifically includes:
the intelligent terminal acquires the currently logged-in third-party platform user information through a third-party platform;
the intelligent terminal scans the two-dimensional code arranged on the printer body to acquire identification information of the printer;
the intelligent terminal initiates a binding request to the cloud server, wherein the binding request comprises third-party platform user information and printer identification information;
the cloud server receives the printer identification information and the third-party platform user information, and establishes a mapping relation between the printer identification information and the third-party platform user information to finish binding;
the cloud server judges whether the current third-party platform user is a primary binding user of the printer, and if so, the cloud server requests administrator user information of the printer from the printer; the printer returns account information of the webpage administrator to the cloud server; and the intelligent terminal stores the account information of the webpage administrator. If not, no other operation is performed. The administrator user information of the printer corresponds to the web page administrator account information, and may be understood as the same information stored in different locations.
The login process comprises the following steps:
the intelligent terminal acquires the currently logged-in third-party platform user information through a third-party platform;
the intelligent terminal judges whether the third-party platform user is a webpage administrator or not according to the third-party platform user information, if so, an access request is sent to the printer through the third-party platform, wherein the access request comprises webpage administrator account information;
and the printer acquires the account information of the webpage administrator from the access request and compares the user information of the webpage administrator with the account information of the webpage administrator prestored in the printer. Under the condition that the information of the third party platform user and the printer is consistent, the third party platform user and the printer are successfully bound, and the login-free webpage is displayed, wherein the third party platform user has the authority of an administrator; and under the condition that the information of the printer and the user management system is inconsistent, jumping to a printer user management system login page (login webpage) through a webpage so that the user inputs a user name and a password in a user management system login interface to bind the printer.
It should be noted that, in the first preferred embodiment and the second preferred embodiment, the functions that the printer can implement include: the method comprises the steps of solidifying and storing unique identification information of a local machine, attaching a two-dimensional code label containing the unique identification information of the local machine, registering a printer in a server according to an appointed cloud server address and an appointed port, wherein the registration information comprises electronic device identification information, providing state query information and replying a response, receiving a control command and completing corresponding operation, and providing an accessible webpage, and the webpage comprises a login interface (such as an equipment administrator interface and a printer access interface).
The cloud server can realize the following functions: and providing an access (registration) interface of the electronic device, realizing the management function of the electronic device, realizing the association (binding) service of the electronic device and a mobile equipment APP user or a user group, forming the mapping relation between the printer and a third party platform user, and realizing the processing of related data, commands and states of the electronic device.
The functions that can be realized by the third-party platform include: the method comprises the steps of providing a code scanning and printer two-dimensional code information obtaining interface, providing a third-party platform user information obtaining function, providing a webpage accessing function and storing printer webpage login account information.
Fig. 5 is a schematic structural diagram of an access apparatus of an intelligent device according to an embodiment of the present application. As shown in fig. 5, the access device may include: a request module 51, a comparison module 52, a first access module 53 and a second access module 54.
The request module 51 is configured to send a device access request to the intelligent device through the cloud server in response to an access trigger instruction for the bound intelligent device; wherein the device access request comprises the current login user information;
the comparison module 52 is configured to compare the current login user information with pre-stored device administrator information, and send a comparison result to the intelligent terminal through the cloud server;
the first access module 53 is configured to access the smart device in a role of a device administrator if the two pieces of information are consistent;
and the second access module 54 is used for accessing the intelligent device in a common user role or displaying a device administrator login page under the condition that the two pieces of information are inconsistent.
In one possible implementation, the apparatus further includes: the binding module is used for initiating an equipment binding request to a cloud server, wherein the equipment binding request comprises the current login user information and the equipment information to be bound; the cloud server receives the equipment information and the current login user information, and completes binding by establishing a mapping relation between the equipment information and the current login user information; the cloud server judges whether the intelligent equipment sets at least one administrator role according to the equipment information, and if not, the role of the current login user information is set as an equipment administrator; if yes, setting the role of the current login user information as a common user.
In one possible implementation manner, the alignment module includes: the cloud comparison unit is used for comparing the current login user information with prestored equipment manager information by the cloud server; under the condition that the current login user information is consistent with the pre-stored equipment manager information, sending the pre-stored equipment manager information to the intelligent equipment; and the intelligent equipment carries out secondary comparison on the equipment administrator information according to preset information.
In a possible implementation manner, the apparatus further includes a third access module, configured to access the smart device in a common user role under the condition that the current login user information is consistent with the pre-stored device administrator information.
In a possible implementation manner, the device information saving module is configured to send the device administrator information to the intelligent device by the cloud server; and the intelligent equipment stores the equipment administrator information.
In one possible implementation, the apparatus further includes: and the information acquisition module is used for acquiring the two-dimensional code image through an image acquisition component of the intelligent terminal so as to acquire the information of the equipment to be bound.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 6, the electronic device may include at least one processor; and at least one memory communicatively coupled to the processor, wherein: the memory stores program instructions executable by the processor, and the processor calls the program instructions to execute the access method of the intelligent device provided by the embodiment of the application.
FIG. 6 illustrates a block diagram of an exemplary electronic device suitable for use in implementing embodiments of the present application. The electronic device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 6, the electronic device is in the form of a general purpose computing device. Components of the electronic device may include, but are not limited to: one or more processors 410, a memory 430, and a communication bus 440 that connects the various system components (including the memory 430 and the processors 410).
Communication bus 440 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. These architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus, to name a few.
Electronic devices typically include a variety of computer system readable media. Such media may be any available media that is accessible by the electronic device and includes both volatile and nonvolatile media, removable and non-removable media.
Memory 430 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) and/or cache Memory. The electronic device may further include other removable/non-removable, volatile/nonvolatile computer system storage media. Although not shown in FIG. 6, a disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a Compact disk Read Only Memory (CD-ROM), a Digital versatile disk Read Only Memory (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to the communication bus 440 by one or more data media interfaces. Memory 430 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the application.
A program/utility having a set (at least one) of program modules, including but not limited to an operating system, one or more application programs, other program modules, and program data, may be stored in memory 430, each of which examples or some combination may include an implementation of a network environment. The program modules generally perform the functions and/or methodologies of the embodiments described herein.
The electronic device may also communicate with one or more external devices (e.g., keyboard, pointing device, display, etc.), one or more devices that enable a user to interact with the electronic device, and/or any devices (e.g., network card, modem, etc.) that enable the electronic device to communicate with one or more other computing devices. Such communication may occur via communication interface 420. Furthermore, the electronic device may also communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public Network such as the Internet) via a Network adapter (not shown in FIG. 6) that may communicate with other modules of the electronic device via the communication bus 440. It should be appreciated that although not shown in FIG. 6, other hardware and/or software modules may be used in conjunction with the electronic device, including but not limited to: microcode, device drivers, Redundant processing units, external disk drive Arrays, disk array (RAID) systems, tape Drives, and data backup storage systems, among others.
The processor 410 executes various functional applications by executing programs stored in the memory 430, for example, implementing an access method of the smart device provided by the embodiment of the present application.
The embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium stores computer instructions, and the computer instructions enable the computer to execute the access method of the intelligent device provided in the embodiment of the present application.
The computer-readable storage medium described above may take any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM), a flash Memory, an optical fiber, a portable compact disc Read Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
It should be noted that the terminal according to the embodiments of the present application may include, but is not limited to, a Personal Computer (Personal Computer; hereinafter, referred to as PC), a Personal Digital Assistant (Personal Digital Assistant; hereinafter, referred to as PDA), a wireless handheld device, a Tablet Computer (Tablet Computer), a mobile phone, an MP3 player, an MP4 player, and the like.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions in actual implementation, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (13)

1. An access method of an intelligent device is applied to an intelligent terminal, and is characterized by comprising the following steps:
responding to an access trigger instruction of the bound intelligent equipment, and sending an equipment access request to the intelligent equipment, wherein the equipment access request comprises current login user information;
receiving a comparison result sent by the intelligent equipment, wherein the comparison result is obtained by comparing the current login user information with prestored equipment administrator information by the intelligent equipment;
and accessing the intelligent equipment in the role of an equipment administrator under the condition that the comparison result is determined to be consistent.
2. The method of claim 1, wherein sending a device access request to the smart device in response to an access triggering instruction for the bound smart device comprises:
responding to an access trigger instruction of the bound intelligent device, and sending a device access request to a cloud server so that the cloud server forwards the device access request to the intelligent device.
3. The method of claim 1, further comprising:
accessing the intelligent equipment in a common user role under the condition that the comparison result is determined to be inconsistent; or the like, or, alternatively,
and displaying the login page of the equipment administrator under the condition that the comparison result is determined to be inconsistent.
4. An access method of an intelligent device is applied to the intelligent device, and is characterized by comprising the following steps:
receiving an equipment access request sent by an intelligent terminal, wherein the equipment access request comprises information of a current login user;
and comparing the current login user information with prestored equipment manager information, and sending a comparison result to the intelligent terminal.
5. The method of claim 4, further comprising:
receiving and storing equipment administrator information sent by a cloud server;
the equipment administrator information is set by the cloud server according to the user information bound with the intelligent equipment for the first time.
6. The method of claim 4, wherein receiving the device access request sent by the intelligent terminal comprises:
receiving a device access request forwarded by a cloud server;
wherein, the opportunity of the cloud server for forwarding the device access request is as follows: and receiving an equipment access request sent by the intelligent terminal, and determining that the current login user information contained in the equipment access request is consistent with the equipment administrator information prestored in the cloud server.
7. An access apparatus of an intelligent device, comprising:
the request module is used for responding to an access trigger instruction of the bound intelligent equipment and sending an equipment access request to the intelligent equipment, wherein the equipment access request comprises current login user information, and the current login user information is used for comparing with equipment administrator information prestored in the intelligent equipment;
and the first access module is used for accessing the intelligent equipment in a role of an equipment administrator under the condition that the comparison result is determined to be consistent.
8. The apparatus of claim 7, wherein the request module is specifically configured to:
responding to an access trigger instruction of the bound intelligent device, and sending a device access request to a cloud server so that the cloud server forwards the device access request to the intelligent device.
9. The apparatus of claim 7, further comprising:
the second access module is used for accessing the intelligent equipment in a common user role under the condition that the comparison result is determined to be inconsistent; or, displaying the equipment administrator login page.
10. An access apparatus of an intelligent device, comprising:
and the comparison module is used for comparing the current login user information in the equipment access request sent by the intelligent terminal with the prestored equipment manager information and sending the comparison result to the intelligent terminal.
11. The apparatus of claim 10, further comprising:
the information storage module is used for receiving and storing the equipment administrator information sent by the cloud server;
the equipment administrator information is set by the cloud server according to the user information bound with the intelligent equipment for the first time.
12. An electronic device, comprising:
at least one processor; and
at least one memory communicatively coupled to the processor, wherein:
the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method of any of claims 1 to 6.
13. A computer-readable storage medium storing computer instructions for causing a computer to perform the method of any one of claims 1 to 6.
CN202210052899.6A 2021-10-27 2022-01-18 Intelligent device access method and device and electronic device Active CN114422236B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111259415 2021-10-27
CN2021112594157 2021-10-27

Publications (2)

Publication Number Publication Date
CN114422236A true CN114422236A (en) 2022-04-29
CN114422236B CN114422236B (en) 2023-12-01

Family

ID=81274344

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210052899.6A Active CN114422236B (en) 2021-10-27 2022-01-18 Intelligent device access method and device and electronic device

Country Status (1)

Country Link
CN (1) CN114422236B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117075827A (en) * 2023-10-12 2023-11-17 统信软件技术有限公司 Rights management method and device for printing system, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103441909A (en) * 2013-08-15 2013-12-11 四川长虹电器股份有限公司 Digital home system and control method thereof
CN106302040A (en) * 2016-08-01 2017-01-04 珠海格力电器股份有限公司 Control method and device of intelligent household appliance and terminal
CN108513154A (en) * 2018-04-16 2018-09-07 惠州Tcl家电集团有限公司 Intelligent home furnishing control method, smart television based on smart television and storage medium
CN108537030A (en) * 2018-04-18 2018-09-14 北京旷视科技有限公司 Management method, device and the electronic equipment of identity-based identification
CN108737424A (en) * 2018-05-24 2018-11-02 深圳市零度智控科技有限公司 Authority sharing method, server, system and the readable storage medium storing program for executing of smart home
CN111581630A (en) * 2020-05-12 2020-08-25 上海闻泰信息技术有限公司 Computer unlocking method, device, equipment and medium
WO2021000808A1 (en) * 2019-06-29 2021-01-07 华为技术有限公司 Device control method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103441909A (en) * 2013-08-15 2013-12-11 四川长虹电器股份有限公司 Digital home system and control method thereof
CN106302040A (en) * 2016-08-01 2017-01-04 珠海格力电器股份有限公司 Control method and device of intelligent household appliance and terminal
CN108513154A (en) * 2018-04-16 2018-09-07 惠州Tcl家电集团有限公司 Intelligent home furnishing control method, smart television based on smart television and storage medium
CN108537030A (en) * 2018-04-18 2018-09-14 北京旷视科技有限公司 Management method, device and the electronic equipment of identity-based identification
CN108737424A (en) * 2018-05-24 2018-11-02 深圳市零度智控科技有限公司 Authority sharing method, server, system and the readable storage medium storing program for executing of smart home
WO2021000808A1 (en) * 2019-06-29 2021-01-07 华为技术有限公司 Device control method and device
CN111581630A (en) * 2020-05-12 2020-08-25 上海闻泰信息技术有限公司 Computer unlocking method, device, equipment and medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
苏治中;: "基于物联网的智能家居安全问题分析", 广州广播电视大学学报, no. 02 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117075827A (en) * 2023-10-12 2023-11-17 统信软件技术有限公司 Rights management method and device for printing system, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN114422236B (en) 2023-12-01

Similar Documents

Publication Publication Date Title
US11711670B2 (en) Method for activating service based on user scenario perception, terminal device, and system
CN102255887B (en) Method and system for providing online services corresponding to multiple mobile devices
CN107273083B (en) Interaction method, device, equipment and storage medium between terminal equipment
US20180043264A1 (en) Game Accessing Method and Processing Method, Server, Terminal, and System
CN110286768B (en) Virtual object display method, terminal device and computer-readable storage medium
CN111066284A (en) Service certificate management method, terminal and server
US11853767B2 (en) Inter-core data processing method, system on chip and electronic device
CN111434132A (en) Method and terminal for opening account of eSIM card
CN111177112A (en) Database blocking method and device based on operation and maintenance management system and electronic equipment
CN110113250B (en) Method for sharing wireless access point through instant messaging software
US20160241535A1 (en) Terminal authentication and registration system, method for authenticating and registering terminal, and storage medium
CN110611735A (en) Mobile terminal remote control method, device and system and storage medium
CN110831005B (en) Equipment adding method of Mesh network, gateway equipment and storage medium
US20150242076A1 (en) Method of editing one or more objects and apparatus for same
CN111857498B (en) Data interaction method and device and electronic equipment
CN114422236B (en) Intelligent device access method and device and electronic device
CN115766851A (en) Device registration method and device, mobile terminal and storage medium
CN114265653A (en) Interface display method, device, equipment, storage medium and program product
CN107743151A (en) Content delivery method, device, mobile terminal and server
CN113641439A (en) Text recognition and display method, device, electronic equipment and medium
CN110071921B (en) Internet of things platform access method, device, computer readable storage medium and system
CN113961162A (en) Screen projection control method, screen projection sending end, screen projection receiving end and screen projection system
CN113467823A (en) Configuration information acquisition method, device, system and storage medium
CN112579236A (en) Function button display method and device, computer equipment and storage medium
CN112291758A (en) File sharing method, file sharing device and electronic equipment

Legal Events

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