CN112423322A - Model information sending method, device, storage medium and electronic device - Google Patents

Model information sending method, device, storage medium and electronic device Download PDF

Info

Publication number
CN112423322A
CN112423322A CN202011296399.4A CN202011296399A CN112423322A CN 112423322 A CN112423322 A CN 112423322A CN 202011296399 A CN202011296399 A CN 202011296399A CN 112423322 A CN112423322 A CN 112423322A
Authority
CN
China
Prior art keywords
target
model information
gateway
information
terminal
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
CN202011296399.4A
Other languages
Chinese (zh)
Other versions
CN112423322B (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 CN202011296399.4A priority Critical patent/CN112423322B/en
Publication of CN112423322A publication Critical patent/CN112423322A/en
Application granted granted Critical
Publication of CN112423322B publication Critical patent/CN112423322B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering

Abstract

The embodiment of the invention provides a method and a device for sending type number information, a storage medium and an electronic device, wherein the method comprises the following steps: executing the binding operation of the target account and the target equipment under the condition that the target account needs to be bound with the target equipment so as to obtain a binding result; acquiring target model information of a target gateway connected with a target terminal under the condition that the binding result is determined to be binding failure, wherein the target terminal is a terminal logged with a target account; and sending the target model information to a processing system. According to the invention, the problems of low binding rate of the target equipment and poor user experience caused by the fact that the type information of the gateway cannot be sent to prompt the updating of the gateway or the target equipment when the binding of the account and the target equipment fails in the related technology are solved, the binding rate of the target equipment and the target account is improved, and the user experience is improved.

Description

Model information sending method, device, 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 sending type information, a storage medium and an electronic device.
Background
With the rapid development of the internet of things technology, more and more intelligent devices realize remote control, and the life of people is convenient and enriched. As a control carrier most frequently used by people, for example, a mobile phone, in order to realize remote control of a smart device, it is most important to establish a binding relationship between the mobile phone and the smart device, but the binding success rate of the smart device is affected due to unpredictability of a home network environment of a user.
In the related art, with the continuous popularization of intelligent devices, more and more enterprises are put into the new business wave, and the competition is increasingly intense, so that the enterprises put more experiences into actual function development, the optimization of a binding process is ignored, or the operation behaviors and failure reasons of users are simply collected, and the development of the internet of things of the intelligent devices is not smooth. The premise for realizing the Internet of things of the intelligent equipment is to establish a binding relationship with the equipment. Due to the compatibility problem of the Internet of things module and the router, the binding rate of the intelligent equipment is reduced, and the Internet of things experience of a user is greatly reduced. For example, due to the fact that the production processes and the technical schemes of various internet of things equipment manufacturers are different, the produced internet of things modules are different, and the router models of users are also different, so that the problem of compatibility of communication between the internet of things modules and the routers in the network distribution process of the intelligent equipment is caused.
Therefore, in the related art, when the binding between the account and the target device fails, the model information of the gateway cannot be sent to prompt the update of the gateway or the target device, so that the binding rate of the target device is low, and the user experience is poor.
In view of the above problems in the related art, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a method and a device for sending model information, a storage medium and an electronic device, which are used for at least solving the problems that in the related art, when the binding between an account and target equipment fails, the model information of a gateway cannot be sent to prompt the updating of the gateway or the target equipment, so that the binding rate of the target equipment is low and the user experience is poor.
According to an embodiment of the present invention, there is provided a method for sending type information, including: under the condition that the target account needs to be bound with the target equipment, executing the binding operation of the target account and the target equipment to obtain a binding result; acquiring target model information of a target gateway connected with a target terminal under the condition that the binding result is determined to be binding failure, wherein the target terminal is a terminal logged with the target account; and sending the target model information to a processing system to instruct the processing system to update the target gateway or the target equipment based on the target model information, so that the updated target gateway or the updated target equipment supports the binding operation of the target account and the target equipment.
According to another embodiment of the present invention, there is provided a type number information transmitting apparatus including: the binding module is used for executing the binding operation of the target account and the target equipment under the condition that the target account needs to be bound with the target equipment so as to obtain a binding result; the first acquisition module is used for acquiring target model information of a target gateway connected with a target terminal under the condition that the binding result is determined to be binding failure, wherein the target terminal is a terminal logged with the target account; and the sending module is used for sending the target model information to a processing system so as to instruct the processing system to update the target gateway or the target equipment based on the target model information, so that the updated target gateway or the updated target equipment supports the binding operation of the target account and the target equipment.
According to a further embodiment of the present invention, there is also provided 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 method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the invention, under the condition that the target account needs to be bound with the target equipment, the binding operation of the target account and the target equipment is executed to obtain the binding result, under the condition that the binding result is determined to be binding failure, the target model information of the target gateway connected with the target terminal logged with the target account is acquired, the target model information is sent to the processing system, the processing system is instructed to update the target gateway or the target equipment based on the target model information, and the updated target gateway or the updated target equipment supports the binding of the target account and the target equipment. The method comprises the steps of acquiring target model information of a target gateway of a target terminal logged with a target account under the condition that the target device and the target account are failed to be bound, and sending the target model information to a processing system to indicate the processing system to update the target gateway or the target device, so that the problems that in the related technology, when the account and the target device are failed to be bound, the model information of the gateway cannot be sent to prompt the gateway or the target device to be updated, the binding rate of the target device is low, and user experience is poor can be solved, the binding rate of the target device and the target account is improved, and user experience is improved.
Drawings
Fig. 1 is a block diagram of a hardware configuration of a mobile terminal for a type information transmitting method according to an embodiment of the present invention;
fig. 2 is a flowchart of a model information transmitting method according to an embodiment of the present invention;
fig. 3 is a flowchart for determining model information corresponding to a gateway according to an exemplary embodiment of the present invention;
fig. 4 is a timing diagram of a method for transmitting model information according to an embodiment of the present invention;
fig. 5 is a block diagram of the configuration of a model information transmitting apparatus according to an embodiment of the present invention.
Detailed Description
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings in conjunction with the 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 operation on a mobile terminal, fig. 1 is a hardware structure block diagram of the mobile terminal of a type information sending method 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 model information sending method 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 to receive or transmit 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) that can be connected to other Network devices through a base station 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 sending model information is provided, and fig. 2 is a flowchart of the method for sending model information according to the embodiment of the present invention, as shown in fig. 2, the flowchart includes the following steps:
step S202, under the condition that the target account needs to be bound with the target device, executing the binding operation of the target account and the target device to obtain a binding result;
step S204, under the condition that the binding result is determined to be binding failure, acquiring target model information of a target gateway connected with a target terminal, wherein the target terminal is a terminal logged with the target account;
step S206, sending the target model information to a processing system to instruct the processing system to update the target gateway or the target device based on the target model information, so that the updated target gateway or the updated target device supports the binding operation of the target account and the target device.
In the above embodiment, the target account may be an account of an intelligent home system, and the target device may be an intelligent home device, such as an air conditioner, a sound box, a television, and a water heater. The target terminal can be an intelligent terminal such as a mobile phone, a tablet personal computer and intelligent wearable equipment. The target gateway may be a router. When the binding between the target account and the target device fails, the target model information of the target gateway connected with the target terminal is acquired, and the target model information is transmitted and uploaded to a processing system, such as a link system or other processing terminals. The manufacturer of the target equipment can update the target equipment according to the target model information in the processing system, so that the target equipment can be connected with the target gateway, and under the condition that the target terminal is connected with the target gateway, the target equipment can be bound with the target account. Or, the manufacturer of the target gateway may determine, in the processing system, that the target account and the target device are unsuccessfully bound, the target model information of the target gateway connected to the target terminal, and update the gateway of the target model information, so that the updated target gateway is compatible with the target device. Namely, the updated target gateway supports the binding operation of the target account and the target device.
Optionally, the main body of the above steps may be an intelligent terminal such as a mobile phone, a background processor, or other devices with similar processing capabilities, and may also be a machine integrated with at least a data processing device, where the data processing device may include a terminal such as a computer and a mobile phone, but is not limited thereto.
According to the invention, under the condition that the target account needs to be bound with the target equipment, the binding operation of the target account and the target equipment is executed to obtain the binding result, under the condition that the binding result is determined to be binding failure, the target model information of the target gateway connected with the target terminal logged with the target account is acquired, the target model information is sent to the processing system, the processing system is instructed to update the target gateway or the target equipment based on the target model information, and the updated target gateway or the updated target equipment supports the binding operation of the target account and the target equipment. The method comprises the steps of acquiring target model information of a target gateway of a target terminal logged with a target account under the condition that the target device and the target account are failed to be bound, and sending the target model information to a processing system to indicate the processing system to update the target gateway or the target device, so that the problems that in the related technology, when the account and the target device are failed to be bound, the model information of the gateway cannot be sent to prompt the gateway or the target device to be updated, the binding rate of the target device is low, and user experience is poor can be solved, the binding rate of the target device and the target account is improved, and user experience is improved.
In an exemplary embodiment, before obtaining the target model information of the target gateway to which the target terminal is connected, the method further includes: obtaining model information and parameter information corresponding to a plurality of gateways connected with the target terminal; respectively encrypting the model information of a plurality of gateways connected with the target terminal according to a preset encryption mode to obtain a plurality of encrypted model information; correspondingly marking the encrypted model information of the plurality of gateways by utilizing the parameter information corresponding to the model information of the plurality of gateways respectively, and storing the corresponding relation between the parameter information and the encrypted model information; the method for acquiring the target model information of the target gateway connected with the target terminal comprises the following steps: acquiring target parameter information of the target gateway; and determining the target model information corresponding to the target parameter information from the corresponding relation between the stored parameter information and the encrypted model information. In this embodiment, before acquiring the target information of the target gateway connected to the target terminal, the task of acquiring the model information and the parameter information of the target gateway may be executed: if the acquisition is successful, the model information can be encrypted according to a preset encryption mode, and the encrypted model information is identified by the parameter information of the gateway. Wherein the predetermined encryption manner may be Base64 encryption (binary data is represented based on 64 printable characters), and the parameter information may be BSSID (basic server identifier) of the gateway. For example, when the gateway is a router, the model information of the router may be subjected to Base64 encryption, and the BSSID of the router is used as a storage Key and stored locally; and if the acquisition fails, directly quitting the task of acquiring the model information of the gateway. When executing the task of binding the equipment, after the equipment binding fails, starting a sub-thread task, using the BSSID of the router in the current binding process as a query Key to query the model information of the router in a local cache, and if the model information of the router is not queried, directly quitting the sub-thread task; and if the model information of the router is inquired, calling a link service interface, and uploading the model information of the router in the current binding process to a link system.
It should be noted that, in the case of a binding failure, a gateway connected to the current target terminal may be determined, and whether the model information of the current gateway exists is searched in the model information of the gateway cached locally according to the parameter information of the gateway. Of course, under the condition of a binding failure, the model information of the gateway connected to the target terminal device may also be directly obtained, and the obtaining method is similar to the method for obtaining the model information of the gateway cached in advance, and is not described herein again.
In an exemplary embodiment, the obtaining model information corresponding to a plurality of gateways connected to the target terminal includes: for any gateway in the plurality of gateways, performing the following operations to determine model information corresponding to the plurality of gateways: acquiring configuration information of a wireless network where the gateway is located; parsing the configuration information to determine a gateway address of the gateway; determining model information of the gateway based on the gateway address. In this embodiment, when obtaining the model information corresponding to the gateway connected to the target terminal, the configuration information of the wireless network where the gateway is located may be determined first, the gateway address of the gateway may be determined by analyzing the configuration information, and the model information of the gateway may be determined according to the gateway address. Referring to fig. 3, a flowchart for determining model information corresponding to a gateway may be shown in fig. 3, where the method includes:
step S302, acquiring configuration information of the currently connected WIFI.
And step S304, analyzing a gateway IP (corresponding to the gateway address) according to the configuration information of the current WIFI.
Step S306, analyzing the HTML data of the gateway (such as a router) model according to the gateway IP, and analyzing the model information of the gateway.
In one exemplary embodiment, determining model information of the gateway based on the gateway address includes: acquiring data information of the model of the gateway based on the gateway address; and analyzing the data information to determine the model information of the gateway. In this embodiment, configuration information of a currently connected WIFI of a target terminal may be first obtained, and getdefultgateway (a C language method) is called according to the currently connected WIFI to analyze a gateway IP. And executing a get request according to the gateway IP to obtain html data of the router model, and further analyzing the router model information.
In an exemplary embodiment, before obtaining model information and parameter information corresponding to a plurality of gateways connected to the target terminal, the method further includes: judging the network connection state of the target terminal; starting a thread for acquiring the model information of a gateway connected with the target terminal under the condition that the target terminal is determined to be in wireless network connection; and under the condition that the target terminal is determined to be in non-wireless network connection, monitoring the network connection state of the target terminal, and under the condition that the target terminal is monitored to be in wireless network connection, starting a thread for acquiring the model information of a gateway connected with the target terminal. In this embodiment, after the APP enters the binding process, the APP enters a WIFI password configuration page, and when detecting WIFI connected to the mobile phone, the sub-thread is started to execute the router type number acquisition task, otherwise, the network state change is monitored, and after the network environment of the mobile phone becomes WIFI, the sub-thread is started to execute the router type number acquisition task.
In an exemplary embodiment, before starting a thread for acquiring model information of a gateway to which the target terminal is connected, the method further includes: determining target parameters of the gateway connected with the target terminal; judging whether the model information of the gateway is cached in the target terminal or not based on the target parameter; acquiring the model information under the condition that the model information of the gateway is cached by the target terminal; and starting a thread for acquiring the model information of the gateway under the condition that the target terminal is determined not to cache the model information of the gateway. In this embodiment, the BSSID of the router in the current binding process may be used as the query KEY, the model information of the router is queried in the local cache, and if the model information of the router is queried, the sub-thread task exits; and if the model information of the router is not inquired, executing the acquisition task of the router model information.
The following describes a type number information sending method with reference to a specific embodiment:
fig. 4 is a timing chart of a method for sending model information according to an embodiment of the present invention, as shown in fig. 4, the timing chart includes:
and S1, the APP enters a binding process, the networking state of the mobile phone is detected, the sub-thread is started to execute the router type number acquisition task in the WIFI connection environment, otherwise, the change of the network state is monitored, and the sub-thread is started to execute the router type number acquisition task after the network environment of the mobile phone becomes WIFI.
S2, entering a WIFI password configuration page, and executing a router type number information acquisition task: if the data is successfully acquired, firstly carrying out BASE64 encryption on the data, and then using BSSID of the router in the current binding process as storage KEY to store the storage KEY to the local; and if the acquisition fails, directly exiting the acquisition task of the router type number information.
And S2.1, acquiring the configuration information of the WIFI.
S2.1.1, after starting the sub-thread task, using BSSID of the router in the current binding process as query KEY to query the model information of the router in the local cache, if the model information of the router is queried, quitting the sub-thread task; and if the model information of the router is not inquired, executing the acquisition task of the router model information.
S2.1.2, acquiring the gateway IP.
S2.1.3, executing get request according to gateway IP, obtaining html data of router model, and further analyzing router model information.
S2.2, cache BSSID and router type number information.
S3, executing the task of binding the equipment: and when the binding equipment fails, starting a sub-thread task, using the BSSID of the router in the current binding flow as a query KEY, querying the model information of the router in a local cache, and directly quitting the sub-thread task if the model information of the router is not queried.
And S4, calling a link service interface when the model information of the router is inquired, and uploading the model information of the router in the current binding process to a link system.
In the embodiment, the reason of the binding failure is fundamentally found through the router model obtained when the user fails to bind, a data reference for optimizing the internet of things module is provided for manufacturers of the internet of things devices, the binding rate of the intelligent devices is improved as much as possible, and the experience of the user in the internet of things is further improved.
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 may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., 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 type information sending apparatus is further provided, and the apparatus is used to implement the foregoing embodiments and preferred embodiments, and the description already made is omitted. 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 configuration of a model information transmitting apparatus according to an embodiment of the present invention, as shown in fig. 5, the apparatus including:
a binding module 52, configured to, when it is determined that the target account needs to be bound with the target device, perform a binding operation between the target account and the target device to obtain a binding result;
a first obtaining module 54, configured to obtain target model information of a target gateway connected to a target terminal when it is determined that the binding result is a binding failure, where the target terminal is a terminal that logs in the target account;
a sending module 56, configured to send the target model information to a processing system, so as to instruct the processing system to update the target gateway or the target device based on the target model information, so that the updated target gateway or target device supports the binding operation between the target account and the target device.
In one exemplary embodiment, the apparatus further comprises: the second acquisition module is used for acquiring model information and parameter information corresponding to a plurality of gateways connected with a target terminal before acquiring the target model information of the target gateway connected with the target terminal; the encryption module is used for respectively encrypting the model information of the plurality of gateways connected with the target terminal according to a preset encryption mode to obtain a plurality of encrypted model information; correspondingly marking the encrypted model information of the plurality of gateways by utilizing the parameter information corresponding to the model information of the plurality of gateways respectively, and storing the corresponding relation between the parameter information and the encrypted model information; the first obtaining module 54 includes: an acquisition unit: acquiring target parameter information of the target gateway; and the determining unit is used for determining the target model information corresponding to the target parameter information from the corresponding relation between the stored parameter information and the encrypted model information.
In an exemplary embodiment, the second obtaining module may obtain model information corresponding to a plurality of gateways connected to the target terminal by: for any gateway in the plurality of gateways, performing the following operations to determine model information corresponding to the plurality of gateways: acquiring configuration information of a wireless network where the gateway is located; parsing the configuration information to determine a gateway address of the gateway; determining model information of the gateway based on the gateway address.
In an exemplary embodiment, the second obtaining module may determine the model information of the gateway based on the gateway address by: acquiring data information of the model of the gateway based on the gateway address; and analyzing the data information to determine the model information of the gateway.
In an exemplary embodiment, the apparatus may be configured to determine a network connection state of the target terminal before obtaining model information and parameter information corresponding to a plurality of gateways to which the target terminal is connected; starting a thread for acquiring the model information of a gateway connected with the target terminal under the condition that the target terminal is determined to be in wireless network connection; and under the condition that the target terminal is determined to be in non-wireless network connection, monitoring the network connection state of the target terminal, and under the condition that the target terminal is monitored to be in wireless network connection, starting a thread for acquiring the model information of a gateway connected with the target terminal.
In an exemplary embodiment, the apparatus may be further configured to determine a target parameter of the gateway connected to the target terminal before starting a thread that acquires model information of the gateway connected to the target terminal; judging whether the model information of the gateway is cached in the target terminal or not based on the target parameter; acquiring the model information under the condition that the model information of the gateway is cached by the target terminal; and starting a thread for acquiring the model information of the gateway under the condition that the target terminal is determined not to cache the model information of the gateway.
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 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.
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 (10)

1. A method for sending type information is characterized by comprising the following steps:
under the condition that the target account needs to be bound with the target equipment, executing the binding operation of the target account and the target equipment to obtain a binding result;
acquiring target model information of a target gateway connected with a target terminal under the condition that the binding result is determined to be binding failure, wherein the target terminal is a terminal logged with the target account;
and sending the target model information to a processing system to instruct the processing system to update the target gateway or the target equipment based on the target model information, so that the updated target gateway or the updated target equipment supports the binding operation of the target account and the target equipment.
2. The method of claim 1,
before obtaining the target model information of the target gateway connected to the target terminal, the method further includes: obtaining model information and parameter information corresponding to a plurality of gateways connected with the target terminal; respectively encrypting the model information of a plurality of gateways connected with the target terminal according to a preset encryption mode to obtain a plurality of encrypted model information; correspondingly marking the encrypted model information of the plurality of gateways by utilizing the parameter information corresponding to the model information of the plurality of gateways respectively, and storing the corresponding relation between the parameter information and the encrypted model information;
the method for acquiring the target model information of the target gateway connected with the target terminal comprises the following steps: acquiring target parameter information of the target gateway; and determining the target model information corresponding to the target parameter information from the corresponding relation between the stored parameter information and the encrypted model information.
3. The method according to claim 2, wherein obtaining model information corresponding to a plurality of gateways to which the target terminal is connected comprises:
for any gateway in the plurality of gateways, performing the following operations to determine model information corresponding to the plurality of gateways:
acquiring configuration information of a wireless network where the gateway is located;
parsing the configuration information to determine a gateway address of the gateway;
determining model information of the gateway based on the gateway address.
4. The method of claim 3, wherein determining model information for the gateway based on the gateway address comprises:
acquiring data information of the model of the gateway based on the gateway address;
and analyzing the data information to determine the model information of the gateway.
5. The method according to claim 2, wherein before obtaining model information and parameter information corresponding to a plurality of gateways to which the target terminal is connected, the method further comprises:
judging the network connection state of the target terminal;
starting a thread for acquiring the model information of a gateway connected with the target terminal under the condition that the target terminal is determined to be in wireless network connection;
and under the condition that the target terminal is determined to be in non-wireless network connection, monitoring the network connection state of the target terminal, and under the condition that the target terminal is monitored to be in wireless network connection, starting a thread for acquiring the model information of a gateway connected with the target terminal.
6. The method according to claim 5, wherein before starting a thread for acquiring model information of a gateway to which the target terminal is connected, the method further comprises:
determining target parameters of the gateway connected with the target terminal;
judging whether the model information of the gateway is cached in the target terminal or not based on the target parameter;
acquiring the model information under the condition that the model information of the gateway is cached by the target terminal;
and starting a thread for acquiring the model information of the gateway under the condition that the target terminal is determined not to cache the model information of the gateway.
7. A type information transmitting apparatus, comprising:
the binding module is used for executing the binding operation of the target account and the target equipment under the condition that the target account needs to be bound with the target equipment so as to obtain a binding result;
the first acquisition module is used for acquiring target model information of a target gateway connected with a target terminal under the condition that the binding result is determined to be binding failure, wherein the target terminal is a terminal logged with the target account;
and the sending module is used for sending the target model information to a processing system so as to instruct the processing system to update the target gateway or the target equipment based on the target model information, so that the updated target gateway or the updated target equipment supports the binding operation of the target account and the target equipment.
8. The apparatus of claim 7,
the device further comprises: the second acquisition module is used for acquiring model information and parameter information corresponding to a plurality of gateways connected with a target terminal before acquiring the target model information of the target gateway connected with the target terminal; the encryption module is used for respectively encrypting the model information of the plurality of gateways connected with the target terminal according to a preset encryption mode to obtain a plurality of encrypted model information; correspondingly marking the encrypted model information of the plurality of gateways by utilizing the parameter information corresponding to the model information of the plurality of gateways respectively, and storing the corresponding relation between the parameter information and the encrypted model information;
the first obtaining module comprises: an acquisition unit: acquiring target parameter information of the target gateway; and the determining unit is used for determining the target model information corresponding to the target parameter information from the corresponding relation between the stored parameter information and the encrypted model information.
9. A computer-readable storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of any of claims 1 to 6 when executed.
10. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 6.
CN202011296399.4A 2020-11-18 2020-11-18 Model information sending method, device, storage medium and electronic device Active CN112423322B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011296399.4A CN112423322B (en) 2020-11-18 2020-11-18 Model information sending method, device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011296399.4A CN112423322B (en) 2020-11-18 2020-11-18 Model information sending method, device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN112423322A true CN112423322A (en) 2021-02-26
CN112423322B CN112423322B (en) 2022-09-06

Family

ID=74774270

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011296399.4A Active CN112423322B (en) 2020-11-18 2020-11-18 Model information sending method, device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN112423322B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113064926A (en) * 2021-03-16 2021-07-02 青岛海尔科技有限公司 Data screening method and device, storage medium and electronic device
CN113596005A (en) * 2021-07-22 2021-11-02 杭州华橙软件技术有限公司 Equipment binding method, device, system, storage medium and electronic device
CN114488825A (en) * 2021-12-23 2022-05-13 海尔优家智能科技(北京)有限公司 Method and system for setting accessory equipment, storage medium and electronic device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104836708A (en) * 2014-02-10 2015-08-12 中兴通讯股份有限公司 Method and device for binding information
CN105162769A (en) * 2015-07-31 2015-12-16 中国联合网络通信集团有限公司 Gateway authority transfer method and gateway authority transfer device
CN105721203A (en) * 2016-01-26 2016-06-29 北京小米移动软件有限公司 Upgrade processing method and device
CN108491222A (en) * 2018-03-27 2018-09-04 青岛海信智慧家居系统股份有限公司 Gateway device upgrade method, device, gateway device and storage medium
CN108551413A (en) * 2018-03-27 2018-09-18 青岛海信智慧家居系统股份有限公司 Smart home device binding method, device, gateway device and storage medium
CN109802985A (en) * 2017-11-17 2019-05-24 北京金山云网络技术有限公司 Data transmission method, device, equipment and read/write memory medium
CN110602692A (en) * 2019-08-23 2019-12-20 RealMe重庆移动通信有限公司 Data updating method and device and electronic equipment
US20200021596A1 (en) * 2018-07-16 2020-01-16 Alibaba Group Holding Limited Cloud Device Account Configuration Method, Apparatus and System, and Data Processing Method
CN111162981A (en) * 2019-12-31 2020-05-15 青岛海尔科技有限公司 Binding method and device for intelligent equipment and intelligent equipment
CN111475190A (en) * 2020-04-02 2020-07-31 深圳创维-Rgb电子有限公司 Information updating method and device, electronic equipment and readable storage medium
CN111726411A (en) * 2020-06-22 2020-09-29 海尔优家智能科技(北京)有限公司 Equipment binding method, device, system, storage medium and electronic device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104836708A (en) * 2014-02-10 2015-08-12 中兴通讯股份有限公司 Method and device for binding information
CN105162769A (en) * 2015-07-31 2015-12-16 中国联合网络通信集团有限公司 Gateway authority transfer method and gateway authority transfer device
CN105721203A (en) * 2016-01-26 2016-06-29 北京小米移动软件有限公司 Upgrade processing method and device
CN109802985A (en) * 2017-11-17 2019-05-24 北京金山云网络技术有限公司 Data transmission method, device, equipment and read/write memory medium
CN108491222A (en) * 2018-03-27 2018-09-04 青岛海信智慧家居系统股份有限公司 Gateway device upgrade method, device, gateway device and storage medium
CN108551413A (en) * 2018-03-27 2018-09-18 青岛海信智慧家居系统股份有限公司 Smart home device binding method, device, gateway device and storage medium
US20200021596A1 (en) * 2018-07-16 2020-01-16 Alibaba Group Holding Limited Cloud Device Account Configuration Method, Apparatus and System, and Data Processing Method
CN110602692A (en) * 2019-08-23 2019-12-20 RealMe重庆移动通信有限公司 Data updating method and device and electronic equipment
CN111162981A (en) * 2019-12-31 2020-05-15 青岛海尔科技有限公司 Binding method and device for intelligent equipment and intelligent equipment
CN111475190A (en) * 2020-04-02 2020-07-31 深圳创维-Rgb电子有限公司 Information updating method and device, electronic equipment and readable storage medium
CN111726411A (en) * 2020-06-22 2020-09-29 海尔优家智能科技(北京)有限公司 Equipment binding method, device, system, storage medium and electronic device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113064926A (en) * 2021-03-16 2021-07-02 青岛海尔科技有限公司 Data screening method and device, storage medium and electronic device
CN113596005A (en) * 2021-07-22 2021-11-02 杭州华橙软件技术有限公司 Equipment binding method, device, system, storage medium and electronic device
CN113596005B (en) * 2021-07-22 2023-07-14 杭州华橙软件技术有限公司 Binding method, binding device, binding system, storage medium and binding electronic device for equipment
CN114488825A (en) * 2021-12-23 2022-05-13 海尔优家智能科技(北京)有限公司 Method and system for setting accessory equipment, storage medium and electronic device

Also Published As

Publication number Publication date
CN112423322B (en) 2022-09-06

Similar Documents

Publication Publication Date Title
CN112423322B (en) Model information sending method, device, storage medium and electronic device
CN106713004B (en) Router adaptation method and system
US7363483B2 (en) System for rebooting relay apparatus based on detection of completely no communication establishment data presence
CN108337308B (en) Data communication method, device and system for LWM2M client and upper computer
CN106130808A (en) A kind of method and system of WIFI device upgrade
CN109391673A (en) A kind of method, system and the terminal device of management update file
CN111142905A (en) OTA (over-the-air) upgrading method, OTA server and OTA upgrading system
US20170280410A1 (en) Method, device and system for implementing information self-registration, and computer storage medium
CN112637931A (en) Method and device for establishing network connection
CN113282587B (en) Method and device for transmitting state data, storage medium and electronic device
WO2020043006A1 (en) Terminal connection restoration method and apparatus
CN111884938B (en) Router information acquisition method and device
CN112689316B (en) Binding method and device of intelligent equipment, storage medium and electronic device
CN115004650B (en) Node configuration method, node configuration device, distributed system and computer readable medium
US20170127472A1 (en) Method and wireless device for controlling disconnection of a wireless device in a wi-fi direct group of a wireless network
CN113396600B (en) Information verification method, device, equipment and storage medium
US10979287B2 (en) Method and apparatus for receiving a solution when configuration function verification fails in a terminal
CN112769845B (en) Vulnerability testing method and device, electronic device and computer equipment
WO2021136102A1 (en) Chain communication service process control method and apparatus, and device and storage medium
CN113965904A (en) Device registration method, device and storage medium
CN112751706A (en) Target data transmission method and device
CN107171824B (en) Wifi disconnection processing method of terminal, terminal and storage device
CN111343261A (en) Mobile phone data backup method based on wireless hotspot transmission
CN111200508B (en) Message sending method and gateway
CN112738245B (en) Method and device for determining equipment response information, storage medium and electronic device

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