CN112738019B - Method and device for displaying device information, storage medium and electronic device - Google Patents

Method and device for displaying device information, storage medium and electronic device Download PDF

Info

Publication number
CN112738019B
CN112738019B CN202011384345.3A CN202011384345A CN112738019B CN 112738019 B CN112738019 B CN 112738019B CN 202011384345 A CN202011384345 A CN 202011384345A CN 112738019 B CN112738019 B CN 112738019B
Authority
CN
China
Prior art keywords
account
platform
application
registering
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011384345.3A
Other languages
Chinese (zh)
Other versions
CN112738019A (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.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home 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 Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202011384345.3A priority Critical patent/CN112738019B/en
Publication of CN112738019A publication Critical patent/CN112738019A/en
Application granted granted Critical
Publication of CN112738019B publication Critical patent/CN112738019B/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/08Network architectures or network communication protocols for network security for authentication of entities

Abstract

The embodiment of the invention provides a method, a device, a storage medium and an electronic device for displaying equipment information, wherein the method comprises the following steps: and under the condition that the first platform application is determined to be logged in by the first account, acquiring a second account having a mapping relation with the first account, wherein the first platform for registering the first account is different from the second platform for registering the second account, acquiring the equipment bound by the second account, and displaying the equipment information of the equipment bound by the second account on the first platform application. Therefore, the technical problem of low efficiency of cross-platform display of the equipment information in the related technology can be solved, and the technical effects of improving the display efficiency of the equipment information, simplifying the operation process of the user and optimizing the use experience of the user in the process of obtaining the equipment information by the user are achieved.

Description

Method and device for displaying device information, storage medium and electronic device
Technical Field
The embodiment of the invention relates to the field of communication, in particular to a method and a device for displaying equipment information, a storage medium and an electronic device.
Background
With the increasing variety of various application programs on the market, the number of times the user needs to register an account and the required information are increased in the process of displaying device information by using various application programs in daily life.
For example, currently, if a user needs to use an application a, an account needs to be registered in a server corresponding to the application a, and the account registered in the application B cannot be directly used. In addition, when the servers associated with the application program a and the application program B are different servers, it is difficult to display the device information collected by the application program B on the application program a, which causes a problem that the display efficiency of the device information is low and the operation flow of the user is complicated in the process of obtaining the device information by the user, thereby reducing the use experience of the user.
Aiming at the technical problem of low efficiency of cross-platform display of equipment information in the related art, no effective solution is provided at present.
Disclosure of Invention
The embodiment of the invention provides a method and a device for displaying equipment information, a storage medium and an electronic device, which at least solve the technical problem of low efficiency of cross-platform display of the equipment information in the related technology.
According to an embodiment of the present invention, there is provided a method of displaying device information, including: under the condition that a first platform application is determined to be logged in by a first account, acquiring a second account having a mapping relation with the first account, wherein a first platform for registering the first account is different from a second platform for registering the second account, and the first platform application is an application under the first platform; acquiring equipment bound by the second account; and displaying the device information of the device bound by the second account on the first platform application.
According to another embodiment of the present invention, there is provided a display apparatus of device information, including: the system comprises a first acquisition module, a second acquisition module and a first management module, wherein the first acquisition module is used for acquiring a second account which has a mapping relation with a first account under the condition that the first platform application is determined to be logged in by the first account, the first platform registering the first account is different from the second platform registering the second account, and the first platform application is an application under the first platform; the second acquisition module is used for acquiring the equipment bound by the second account;
and the display module is used for displaying the equipment information of the equipment bound by the second account on the first platform application.
According to yet another embodiment of the invention, a computer-readable storage medium is also provided, in which a computer program is stored, wherein the computer program, when executed by a processor, performs the steps in any of the above method embodiments.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the steps in any of the above method embodiments when executing the computer program.
According to the invention, under the condition that the first platform application is determined to be logged in by the first account, the second account having the mapping relation with the first account is acquired, wherein the first platform for registering the first account is different from the second platform for registering the second account, the device bound by the second account is acquired, and the device information of the device bound by the second account is displayed on the first platform application. Therefore, the technical problem that cross-platform display of the equipment information is low in efficiency in the related technology can be solved, the display efficiency of the equipment information is improved in the process that a user obtains the equipment information, the operation flow of the user is simplified, and the technical effect of using experience of the user is optimized.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware configuration of a mobile terminal according to an alternative method for displaying device information according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating an alternative method for displaying device information according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an alternative method of displaying device information in accordance with an embodiment of the present invention;
FIG. 4 is a flow chart illustrating an alternative method of displaying device information according to an embodiment of the present invention;
fig. 5 is a block diagram of an alternative device information display apparatus according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The method embodiments provided in the embodiments of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking an example of the present invention running on a mobile terminal, fig. 1 is a block diagram of a hardware structure of the mobile terminal of a method for displaying device information according to an embodiment of the present invention. As shown in fig. 1, the mobile terminal may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), and a memory 104 for storing data, wherein the mobile terminal may further include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program and a module of application software, such as a computer program corresponding to the method for displaying the device information in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, so as to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
In this embodiment, a method for displaying device information running on a mobile terminal, a computer terminal, or a similar computing device is provided, and fig. 2 is a schematic flow chart of an alternative method for displaying device information according to an embodiment of the present invention, as shown in fig. 2, the flow chart includes the following steps:
s202, under the condition that the first platform application is determined to be logged in by the first account, acquiring a second account having a mapping relation with the first account, wherein the first platform for registering the first account is different from the second platform for registering the second account, and the first platform application is an application under the first platform;
s204, acquiring equipment bound by the second account;
s206, displaying the device information of the device bound by the second account on the first platform application.
Optionally, in this embodiment, the method for displaying the device information may be applied to, but not limited to, an online shopping application scenario, a logistics storage application scenario, an application scenario based on the internet of things, a security application scenario, an instant messaging application scenario, and an application scenario in which a user needs to view the device information, such as office work and study.
Optionally, in this embodiment, the first platform application may include, but is not limited to, an online shopping application, a device monitoring application, an instant messaging application, an internet of things management application, and the like. The first platform and the second platform may include, but are not limited to, a server capable of completing account registration, and the like, and the first platform and the second platform are different platforms, in other words, for the first platform, the second platform may include, but is not limited to, a third party platform, or for the second platform, the first platform may include, but is not limited to, a third party platform.
Optionally, in this embodiment, the first account is an account that is registered in the first platform in advance and logs in the first platform application, and the first platform stores registration information of the first account when the first account can log in the first platform application.
Optionally, in this embodiment, the device bound to the second account may include, but is not limited to, a device that is bound to the second account on the second platform in advance, and may also include, but is not limited to, device information that is acquired in a manner of device scanning and the like after the second account is registered, and the device that is bound to the second account on the second platform based on the device information.
Optionally, in this embodiment, the displaying, on the first platform application, the device information of the device bound to the second account may include, but is not limited to, displaying in a display interface for displaying the device information in the first platform application, and may also include, but is not limited to, displaying with an external display device or screen through the first platform application.
The above is merely an example, and the present embodiment is not limited in any way.
For example, fig. 3 is a schematic diagram of an optional device information display method according to an embodiment of the present invention, as shown in fig. 3, wherein a preset touch button 304 is displayed in a display interface 302 of a first platform application, and the touch button 304 is configured to display device information of a device bound to a second account in the display interface 302 in response to a touch instruction after receiving the touch instruction, where the device information may include, but is not limited to, an identifier 306 of the device, a connection status 308 of the device, a type 310 of the device, and the like. The means for obtaining the device information may include, but is not limited to, obtaining the device information by means of scanning two-dimensional code identification information on the device, manually adding the device, and discovering nearby devices by bluetooth discovery, NFC discovery, infrared discovery, and the like.
It should be noted that, the manner of obtaining the device information may further include, but is not limited to, identifying a MAC value of the device, and determining corresponding device information from the second platform based on the MAC value, where a correspondence between the MAC value and the device information is stored in the second platform.
According to the embodiment, under the condition that the first platform application is determined to be logged in by the first account, the second account having the mapping relation with the first account is acquired, wherein the first platform for registering the first account is different from the second platform for registering the second account, the device bound by the second account is acquired, and the device information of the device bound by the second account is displayed on the first platform application. Therefore, the technical problem that cross-platform display of the equipment information is low in efficiency in the related technology can be solved, the display efficiency of the equipment information is improved in the process that a user obtains the equipment information, the operation flow of the user is simplified, and the technical effect of using experience of the user is optimized.
As an optional scheme, before acquiring the second account having the mapping relationship with the first account, the method further includes:
receiving a login request for requesting to login the first account in a second platform application, wherein the second platform application is an application under a second platform;
registering the second account in the second platform based on the first account if it is determined that the first platform is allowed to access the second platform;
and establishing a mapping relation between the first account and the second account.
Optionally, in this embodiment, the second platform application may include, but is not limited to, an online shopping application, a device monitoring application, an instant messaging application, an internet of things management application, and the like. The receiving of the login request for requesting to login the first account in the second platform application may include, but is not limited to, receiving, in the second platform application, the login request forwarded by the first platform application for logging in the first account in the second platform application.
It should be noted that, the first account is an account registered in the first platform application, and therefore, when receiving a login request for requesting to login the first account in the second platform application, the first account is not directly logged in the second platform application through the first account, but a second account having the mapping relationship with the first account is registered in the second platform application based on the registration information of the first account in the first platform application, a mapping relationship between the first account and the second account is established, and the second platform application is logged in through the second account, so that the first account logs in the second platform application.
Optionally, in this embodiment, the mapping relationship between the first account and the second account may include, but is not limited to, being stored in the database of the first platform or the database of the second platform after being established, and may also be stored in the database of the first platform and the database of the second platform respectively.
According to the embodiment, a login request for requesting to login a first account in a second platform application is received before a second account having a mapping relation with a first account is acquired, wherein the second platform application is an application under a second platform, and a mapping relation between the first account and the second account is established by registering the second account in the second platform based on the first account under the condition that the first platform is determined to be allowed to access the second platform.
As an optional solution, before registering the second account in the second platform based on the first account, the method further includes:
determining whether the first platform accesses a third-party service from a user system, wherein the second platform comprises the user system;
determining to allow the first platform to access the second platform if it is determined that the first platform accesses the third-party service;
determining that the first platform is not allowed to access the second platform if it is determined that the first platform does not access the third party service.
Optionally, in this embodiment, the user system may include, but is not limited to, a user system included in the second platform, and may further include, but is not limited to, a user system connected to the second platform and configured to send data to the second platform.
Optionally, in this embodiment, the third party service is used to indicate whether the second platform allows the account registered in the first platform to acquire data, and specifically, the third party service may include, but is not limited to, whether the second platform allows the first account registered in the first platform to log in the second platform, or whether the second platform allows the second account having a mapping relationship with the first account to be registered in the second platform after receiving the request message sent by the first platform.
According to the embodiment, whether the first platform is accessed to the third-party service or not is determined from the user system before the second account is registered in the second platform based on the first account, wherein the second platform comprises the user system, the first platform is determined to be allowed to access the second platform under the condition that the first platform is determined to be accessed to the third-party service, and the first platform is determined not to be allowed to access the second platform under the condition that the first platform is determined not to be accessed to the third-party service.
As an optional solution, after registering the second account in the second platform based on the first account, the method further includes:
acquiring identification information of a group of devices;
determining a set of device information from a device management service based on the identification information of the set of devices, wherein the second platform includes the device management service;
registering the group of equipment information to the second platform, and binding the group of equipment corresponding to the group of equipment information with the second account.
Optionally, in this embodiment, the identification information of the group of devices may include, but is not limited to, two-dimensional code information of the group of devices, the two-dimensional code information may include, but is not limited to, two-dimensional code information displayed on a surface or inside of the group of devices, and the identification information of the group of devices may further include, but is not limited to, a photo captured by using an image capturing device for the group of devices, and the photo is recognized by an image recognition algorithm to obtain the identification information of the group of devices.
Optionally, in this embodiment, the identification information of the group of devices may further include, but is not limited to, MAC address information corresponding to the group of devices in a network, and a device corresponding to the MAC address information may be determined based on the MAC address information.
Optionally, in this embodiment, the identification information of the group of devices may further include, but is not limited to, identification information of the group of devices obtained based on a device discovery manner such as a bluetooth module, an infrared scanning module, and NFC, for example, when the client where the first platform application is located opens a bluetooth search function, the client searches for nearby devices from the first platform application, and uses the searched devices as the group of devices, and further includes, but is not limited to, allocating corresponding identifications to the group of devices to obtain the identification information of the group of devices.
Optionally, in this embodiment, the device management service may include, but is not limited to, a service on a server logged in through the second platform, and may also include, but is not limited to, a service preconfigured in the second platform. The device management service is a service that the first account cannot use when the first platform application does not obtain the permission of the second platform.
The above is merely an example, and the present embodiment does not limit this.
Optionally, in this embodiment, registering the set of device information in the second platform, and binding the set of devices corresponding to the set of device information with the second account may include, but is not limited to, storing information of the set of devices determined from the device management service according to the identifiers of the set of devices in a database of the second platform or a database in which the second platform can obtain data. The second platform has a function of binding the group of devices and the second account, and specifically, may include, but is not limited to, maintaining a device binding list to store an identifier of each device in the group of devices and the corresponding second account.
Through the embodiment, the identification information of a group of equipment is acquired, a group of equipment information is determined from the equipment management service based on the identification information of the group of equipment, wherein the second platform comprises the equipment management service, the group of equipment information is registered to the second platform, and the group of equipment corresponding to the group of equipment information is bound with the second account.
As an optional scheme, after acquiring a second account having a mapping relationship with the first account, the method further includes:
and binding the equipment bound by the second account with the first account based on the mapping relation to obtain a target binding relation.
Optionally, in this embodiment, the target binding relationship includes, but is not limited to, a binding relationship between each device in the group of devices and the first account, and may also include, but is not limited to, each device bound by the first account, and the like.
The above is merely an example, and the present embodiment is not limited in any way.
As an optional solution, displaying, on the first platform application, device information of the second account-bound device includes:
sending the target binding relationship and the device information of the device bound by the second account to the first platform application;
and receiving and displaying the equipment information determined according to the target binding relation on the first platform application.
Optionally, in this embodiment, the method may include, but is not limited to, sending the target binding relationship and the device information to a cloud platform, and then forwarding the target binding relationship and the matched device information to the first platform application by the cloud platform.
Optionally, in this embodiment, the first platform application may include, but is not limited to, one or more terminals, and may also include, but is not limited to, that application programs of one or more platforms are connected to the same cloud platform to obtain the target binding relationship and the device information.
For example, when the number of the first platform applications is multiple, the device information of the device bound by the target binding relationship and the second account is sent to the cloud platform, and then the cloud platform pushes the device information of the target binding relationship and the device information to one or more first platform applications according to actual needs.
The invention is further explained below with reference to specific examples:
in the related art, in the process of pushing the device information to the third-party platform, a user needs to register an account of an application program (corresponding to the first account), and bind the account of the third-party account (corresponding to the second account) and the account of the application program, and then the device information bound to the account of the application program can be pushed to the third-party platform (corresponding to the second platform).
In this embodiment, based on the third-party project, the user system, the capability database, the device management service, the third-party platform, and the cloud platform (corresponding to the first platform), the device bound by the third-party account user is pushed to the third-party platform corresponding to the third-party account, and the user does not need to associate the account of the application program.
The process may include, but is not limited to, the following steps:
s1, a third party platform account logs in an APP of an application program, whether a platform to which the account belongs is accessed to a third party service is verified through a user system, wherein the third party platform account is an application program account which is generated after verification is completed and is used for connecting with a third party project;
s2, determining equipment information from the equipment management server according to the identified equipment mac value, and binding the equipment information with the newly generated application program account;
s3, the equipment management service acquires model information according to the mac of the equipment and returns a third-party project;
s4, the third party platform registers equipment on the platform according to the model information provided by the third party project;
s5, binding the third-party platform account with the equipment, and transmitting the binding relationship to a third-party service and capability database;
and S6, the third party project transmits the binding relationship to the cloud platform, and the cloud platform pushes the equipment data to the third party platform at regular time.
Fig. 4 is a schematic flowchart of another method for displaying device information according to an embodiment of the present invention, where as shown in fig. 4, the flowchart includes the following steps:
s402, the third-party project inquires a user equipment binding table at regular time;
s404, inquiring whether the user is a third party or not by the third party item;
s406, the third-party item inquires equipment model information according to the equipment MAC;
s408, registering equipment (model name and finished product code) on a third-party platform by the third-party project;
s410, the third-party project completes equipment registration;
s412, the third party user (corresponding to the first account) in the third party project binds the device;
s414, the third party platform returns the binding relationship to the capability database and the third party project;
s416, the third-party project sends the binding relationship to the cloud platform;
and S418, the cloud platform sends the binding relationship to the third party platform.
It should be noted that, in this embodiment, the third-party platform account may be mapped into application account information and record a mapping relationship; the device information of the application program can be directly pushed to a third party platform corresponding to the third party account.
Furthermore, the third-party platform corresponding to the third-party account can display the device state of the device bound by the application program in real time, for a user, only the third-party platform account is used for logging in the APP of the application program, the device bound to the cloud platform can be displayed on the corresponding third-party platform, other complex operations are not needed, and the technical effect of improving the user experience is achieved.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention or portions thereof contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (which may be a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, a device for displaying device information is further provided, and the device is used to implement the foregoing embodiments and preferred embodiments, which have already been described and are not described again. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 5 is a block diagram of a display apparatus for optional device information according to an embodiment of the present invention, and as shown in fig. 5, the apparatus includes:
a first obtaining module 502, configured to obtain a second account having a mapping relationship with a first account when it is determined that a first platform application is logged in by the first account, where a first platform registering the first account is different from a second platform registering the second account, and the first platform application is an application under the first platform;
a second obtaining module 504, configured to obtain a device bound to the second account;
a display module 506, configured to display, on the first platform application, device information of the device bound to the second account.
As an optional solution, the apparatus is further configured to: before acquiring a second account having a mapping relation with the first account, receiving a login request for requesting to login the first account in a second platform application, wherein the second platform application is an application under the second platform; registering the second account in the second platform based on the first account if it is determined that the first platform is allowed to access the second platform; and establishing a mapping relation between the first account and the second account.
As an optional solution, the apparatus is further configured to: determining, from a user system, whether the first platform has access to a third party service prior to registering the second account in the second platform based on the first account, wherein the second platform comprises the user system; determining to allow the first platform to access the second platform if it is determined that the first platform accesses the third-party service; determining that the first platform is not allowed to access the second platform if it is determined that the first platform does not access the third party service.
As an optional solution, the apparatus is further configured to: after registering the second account in the second platform based on the first account, acquiring identification information of a group of devices; determining a set of device information from a device management service based on the identification information of the set of devices, wherein the second platform includes the device management service; registering the group of device information to the second platform, and binding the group of devices corresponding to the group of device information with the second account.
As an optional solution, the apparatus is further configured to: after a second account having a mapping relation with the first account is acquired, binding equipment bound with the second account with the first account based on the mapping relation, and obtaining a target binding relation.
As an optional solution, the apparatus is configured to display the device information of the second account-bound device on the first platform application by:
sending the target binding relationship and the device information of the device bound by the second account to the first platform application;
and receiving and displaying the equipment information determined according to the target binding relationship on the first platform application.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Embodiments of the present invention also provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps of any of the above-mentioned method embodiments when executed.
In the present embodiment, the above-mentioned computer-readable storage medium may be configured to store a computer program for executing the steps of:
s1, under the condition that a first platform application is determined to be logged in by a first account, acquiring a second account having a mapping relation with the first account, wherein the first platform for registering the first account is different from the second platform for registering the second account, and the first platform application is an application under the first platform;
s2, acquiring equipment bound by a second account;
and S3, displaying the equipment information of the equipment bound by the second account on the first platform application.
The computer readable storage medium is further arranged to store a computer program for performing the steps of:
s1, under the condition that a first platform application is determined to be logged in by a first account, acquiring a second account having a mapping relation with the first account, wherein the first platform for registering the first account is different from the second platform for registering the second account, and the first platform application is an application under the first platform;
s2, acquiring equipment bound by a second account;
and S3, displaying the equipment information of the equipment bound by the second account on the first platform application.
In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
In an exemplary embodiment, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
In an exemplary embodiment, the processor may be configured to execute the following steps by a computer program:
s1, under the condition that a first platform application is determined to be logged in by a first account, acquiring a second account having a mapping relation with the first account, wherein the first platform for registering the first account is different from the second platform for registering the second account, and the first platform application is an application under the first platform;
s2, acquiring equipment bound by a second account;
and S3, displaying the equipment information of the equipment bound by the second account on the first platform application.
For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary embodiments, and details of this embodiment are not repeated herein.
It will be apparent to those skilled in the art that the various modules or steps of the invention described above may be implemented using a general purpose computing device, they may be centralized on a single computing device or distributed across a network of computing devices, and they may be implemented using program code executable by the computing devices, such that they may be stored in a memory device and executed by the computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into various integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (8)

1. A method for displaying device information, comprising:
under the condition that a first platform application is determined to be logged in by a first account, acquiring a second account having a mapping relation with the first account, wherein a first platform for registering the first account is different from a second platform for registering the second account, and the first platform application is an application under the first platform;
acquiring equipment bound by the second account;
displaying the device information of the device bound by the second account on the first platform application;
before acquiring a second account having a mapping relationship with the first account, the method further includes:
receiving a login request for requesting to login the first account in a second platform application, wherein the second platform application is an application under the second platform;
registering the second account in the second platform based on the first account if it is determined that the first platform is allowed to access the second platform;
establishing a mapping relation between the first account and the second account;
wherein said registering the second account in the second platform based on the first account comprises:
and registering a second account having a mapping relation with the first account in a second platform application based on the registration information of the first account in the first platform application, and storing the mapping relation into a database of the first platform and/or a database of the second platform.
2. The method of claim 1, wherein prior to registering the second account in the second platform based on the first account, the method further comprises:
determining whether the first platform accesses a third-party service from a user system, wherein the second platform comprises the user system;
determining to allow the first platform to access the second platform if it is determined that the first platform accesses the third-party service;
determining that the first platform is not allowed to access the second platform if it is determined that the first platform does not access the third party service.
3. The method of claim 1, wherein after registering the second account in the second platform based on the first account, the method further comprises:
acquiring identification information of a group of devices;
determining a set of device information from a device management service based on the identification information of the set of devices, wherein the second platform comprises the device management service;
registering the group of equipment information to the second platform, and binding the group of equipment corresponding to the group of equipment information with the second account.
4. The method of claim 1, wherein after acquiring the second account having the mapping relationship with the first account, the method further comprises:
and binding the equipment bound by the second account with the first account based on the mapping relation to obtain a target binding relation.
5. The method of claim 4, wherein displaying device information of the second account-bound device on the first platform application comprises:
sending the target binding relationship and the device information of the device bound by the second account to the first platform application;
and receiving and displaying the equipment information determined according to the target binding relationship on the first platform application.
6. An apparatus for displaying device information, comprising:
the system comprises a first acquisition module, a second acquisition module and a first management module, wherein the first acquisition module is used for acquiring a second account which has a mapping relation with a first account under the condition that the first platform application is determined to be logged in by the first account, the first platform registering the first account is different from the second platform registering the second account, and the first platform application is an application under the first platform;
the second acquisition module is used for acquiring the equipment bound by the second account;
the display module is used for displaying the equipment information of the equipment bound by the second account on the first platform application;
the apparatus is further configured to:
before acquiring a second account having a mapping relation with the first account, receiving a login request for requesting to login the first account in a second platform application, wherein the second platform application is an application under the second platform;
registering the second account in the second platform based on the first account if it is determined that the first platform is allowed to access the second platform;
establishing a mapping relation between the first account and the second account;
wherein said registering the second account in the second platform based on the first account comprises:
and registering a second account having a mapping relation with the first account in a second platform application based on the registration information of the first account in the first platform application, and storing the mapping relation into a database of the first platform and/or a database of the second platform.
7. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, wherein the computer program, when being executed by a processor, carries out the steps of the method as claimed in any one of the claims 1 to 5.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method as claimed in any of claims 1 to 5 are implemented when the computer program is executed by the processor.
CN202011384345.3A 2020-12-01 2020-12-01 Method and device for displaying device information, storage medium and electronic device Active CN112738019B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011384345.3A CN112738019B (en) 2020-12-01 2020-12-01 Method and device for displaying device information, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011384345.3A CN112738019B (en) 2020-12-01 2020-12-01 Method and device for displaying device information, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN112738019A CN112738019A (en) 2021-04-30
CN112738019B true CN112738019B (en) 2023-03-28

Family

ID=75598077

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011384345.3A Active CN112738019B (en) 2020-12-01 2020-12-01 Method and device for displaying device information, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN112738019B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113824618B (en) * 2021-09-16 2023-06-06 珠海格力电器股份有限公司 Cross-platform equipment network distribution method, second party platform and first party platform
CN114697078A (en) * 2022-02-24 2022-07-01 青岛海尔科技有限公司 Information verification method and device, storage medium and electronic device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106534082A (en) * 2016-10-31 2017-03-22 海尔优家智能科技(北京)有限公司 User registration method and apparatus
CN110300089A (en) * 2018-03-23 2019-10-01 腾讯科技(深圳)有限公司 Processing method, device, storage medium and the electronic device of target account number

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105024975B (en) * 2014-04-23 2019-02-26 腾讯科技(北京)有限公司 The method, apparatus and system that account logs in
CN105610949B (en) * 2015-12-30 2020-04-07 腾讯科技(深圳)有限公司 Resource data use permission sharing method, device and system
CN109905373B (en) * 2019-01-29 2021-08-31 苏州达家迎信息技术有限公司 Information acquisition and processing method, device and equipment
CN111737681A (en) * 2020-06-08 2020-10-02 海尔优家智能科技(北京)有限公司 Resource acquisition method and device, storage medium and electronic device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106534082A (en) * 2016-10-31 2017-03-22 海尔优家智能科技(北京)有限公司 User registration method and apparatus
CN110300089A (en) * 2018-03-23 2019-10-01 腾讯科技(深圳)有限公司 Processing method, device, storage medium and the electronic device of target account number

Also Published As

Publication number Publication date
CN112738019A (en) 2021-04-30

Similar Documents

Publication Publication Date Title
CN107169094B (en) Information aggregation method and device
US9930632B2 (en) M2M application remote registration method, device, system and storage medium
CN110034984B (en) Access method, device and system
CN111885115B (en) Device binding changing method and device
US20070066280A1 (en) Connection management system, method and program
CN111885594B (en) Equipment binding method and device
US20150312296A1 (en) Method and device for pushing multimedia resource and display terminal
CN109246078B (en) Data interaction method and server
CN112738019B (en) Method and device for displaying device information, storage medium and electronic device
CN106713004B (en) Router adaptation method and system
CN108429739B (en) Method, system and terminal equipment for identifying honeypots
CN105959188B (en) Method and device for controlling user terminal to be on-line
CN107645789B (en) Network access method, device and system
CN106453349A (en) An account number login method and apparatus
CN111353136B (en) Method and device for processing operation request
CN104967648A (en) Internet protocol address scheduling method, apparatus and system
WO2015085573A1 (en) Method and device for communication using white spectrum
CN111541772A (en) Intelligent reminding method and system and cloud server
CN109962834B (en) Information processing method, system, terminal and computer storage medium
CN104462235A (en) Internet of Things general event service mechanism based on Restful Web Service
CN114466322A (en) Communication method, system, device, storage medium and processor
CN112765431A (en) Method and device for processing demand information and storage medium
US20160234685A1 (en) Methods and Devices for Processing Identification Information
CN110858201B (en) Data processing method and system, processor and storage medium
CN111294414A (en) Message processing method, device and system

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