CN114007202A - Method for establishing binding relationship and related equipment - Google Patents

Method for establishing binding relationship and related equipment Download PDF

Info

Publication number
CN114007202A
CN114007202A CN202010682915.0A CN202010682915A CN114007202A CN 114007202 A CN114007202 A CN 114007202A CN 202010682915 A CN202010682915 A CN 202010682915A CN 114007202 A CN114007202 A CN 114007202A
Authority
CN
China
Prior art keywords
electronic home
home equipment
mobile terminal
binding
server
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.)
Pending
Application number
CN202010682915.0A
Other languages
Chinese (zh)
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.)
Hisense Mobile Communications Technology Co Ltd
Qingdao Hisense Electronic Industry Holdings Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
Qingdao Hisense Electronic Industry Holdings 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 Hisense Mobile Communications Technology Co Ltd, Qingdao Hisense Electronic Industry Holdings Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN202010682915.0A priority Critical patent/CN114007202A/en
Publication of CN114007202A publication Critical patent/CN114007202A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/255Maintenance or indexing of mapping tables
    • H04L61/2553Binding renewal aspects, e.g. using keep-alive messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/38Services specially adapted for particular environments, situations or purposes for collecting sensor information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method for establishing a binding relationship and related equipment, which are used for solving the problem of low efficiency of the existing binding method. After receiving a distribution network completion notification message sent by electronic home equipment, a mobile terminal sends a request message for acquiring binding information of the electronic home equipment to a server corresponding to the electronic home equipment; after receiving the binding information of the electronic home equipment returned by the server, the mobile terminal sends a binding request containing an application identifier used for controlling the application of the electronic home equipment on the mobile terminal and the binding information of the electronic home equipment to the server, so that the server establishes a binding relationship with the application and the electronic home equipment. According to the embodiment of the invention, the mobile terminal acquires the binding information of the electronic home equipment from the server, so that the binding accuracy is improved; the embodiment of the invention does not perform periodic broadcast any more, thereby reducing the time required by binding and improving the binding efficiency and safety.

Description

Method for establishing binding relationship and related equipment
Technical Field
The invention relates to the technical field of terminal display, in particular to a method for establishing a binding relationship and related equipment.
Background
The Internet of things (IoT) is an extended and expanded network based on the Internet, and combines various information sensing devices with the Internet to form a huge network, thereby realizing the interconnection and intercommunication of people, machines and things at any time and any place.
Along with the development of the internet of things, electronic home equipment is also widely applied, for example, electronic home equipment such as an intelligent sound box, a floor sweeping robot and an intelligent television needs to establish a binding relationship among the electronic home equipment, a cloud server and a mobile terminal APP before the electronic home equipment is controlled through the APP installed on the mobile terminal. At present, after it is determined that an electronic home device and a mobile terminal have been connected to the same local area network to complete a network distribution, the electronic home device sends a UDP broadcast containing binding information of the electronic home device in the current local area network, the mobile terminal obtains the binding information of the electronic home device after receiving the UDP broadcast, and calls a binding interface on a cloud server, and the cloud server establishes a binding relationship between the electronic home device and a mobile terminal APP.
Since the UDP broadcast needs to be periodically broadcast in the lan and the mobile terminal receives the broadcast in a polling manner, the binding process takes a long time and the binding efficiency is low.
Disclosure of Invention
The exemplary embodiment of the present invention provides a method for establishing a binding relationship and related devices, so as to solve the problem that the existing binding method is low in efficiency.
According to a first aspect of the exemplary embodiments, there is provided a mobile terminal comprising a processor and a first WiFi module:
the first WiFi module is configured to send a request message for acquiring binding information of the electronic home equipment to a server corresponding to the electronic home equipment after receiving a distribution network completion notification message sent by the electronic home equipment; after receiving the binding information of the electronic home equipment returned by the server, sending a binding request containing an application identifier of an application used for controlling the electronic home equipment on the mobile terminal and the binding information of the electronic home equipment to the server so that the server establishes a binding relationship with the application and the electronic home equipment;
the processor is configured to receive the binding information of the electronic home equipment forwarded by the first WiFi module, and generate a binding request according to the binding information of the electronic home equipment and an application identifier for controlling an application of the electronic home equipment.
In the embodiment, after receiving the distribution network completion notification message sent by the electronic home device, the mobile terminal acquires the binding information of the electronic home device from the server, so that the acquired binding information is the binding information corresponding to the electronic home device, and the binding accuracy is improved; meanwhile, the mobile terminal can directly acquire the binding information of the electronic home equipment from the server, and the binding information of the electronic home equipment does not need to be acquired in a mode of receiving periodic broadcast, so that the waiting time of the mobile terminal in acquiring the binding information of the electronic home equipment is reduced, and the binding efficiency is improved.
In some exemplary embodiments, the request message includes address information of a WiFi module corresponding to the electronic home device;
the processor is configured to acquire address information of a WiFi module corresponding to the electronic home device according to the following manner:
reading address information of a WiFi module in a hotspot identification of the WiFi module corresponding to the electronic home equipment; or
And receiving address information of the WiFi module corresponding to the electronic home equipment forwarded by the first WiFi module.
In the above embodiment, the manner in which the mobile terminal acquires the address information of the WiFi module corresponding to the electronic home device may be to read a hotspot identifier of the WiFi module or receive the address information of the WiFi module sent by the electronic home device, so that the acquired address information of the WiFi module is the address information of the WiFi module corresponding to the electronic home device, and the flexibility of the binding process can be improved.
According to a second aspect of the exemplary embodiments, there is provided an electronic household device comprising a processor and a second WiFi module;
the processor is configured to upload the binding information of the electronic home equipment to a server corresponding to the electronic home equipment after the distribution network is determined to be completed, so that the server stores the binding information of the electronic home equipment;
the second WiFi module is configured to send distribution network completion notification information to the mobile terminal, so that the mobile terminal sends a request message for acquiring binding information of the electronic home equipment to the server.
In the above embodiment, after the electronic home devices determine that the distribution network is completed, the binding information of the electronic home devices is uploaded to the server corresponding to the electronic home devices, and the mobile terminal is notified of the completion of the distribution network, so that the mobile terminal obtains the binding information of the electronic home devices from the server without periodic broadcasting, the time required for binding is reduced, and meanwhile, the security of the binding process is improved.
In some exemplary embodiments, the second WiFi module is further configured to:
and sending address information of a second WiFi module corresponding to the electronic home equipment to the mobile terminal, so that the mobile terminal requests the server for binding information of the electronic home equipment according to the address information of the second WiFi module.
According to a third aspect of the exemplary embodiments there is provided a server comprising a processor and a transceiver;
the transceiver is configured to receive a request message sent by the mobile terminal and used for acquiring binding information of the electronic home equipment; sending the binding information of the electronic home equipment determined by the processor to the mobile terminal; receiving a binding request which is sent by the mobile terminal and contains an application program identifier used for controlling the application of the electronic home equipment on the mobile terminal and binding information of the electronic home equipment;
the processor is configured to determine stored binding information of the electronic home equipment after receiving a request message sent by a mobile terminal and used for acquiring the binding information of the electronic home equipment; and after receiving a binding request which is sent by the mobile terminal and contains an application program identifier used for controlling the application of the electronic home equipment on the mobile terminal and binding information of the electronic home equipment, establishing a binding relationship between the mobile terminal and the application and the electronic home equipment.
In the embodiment, the server receives the binding information uploaded by the electronic home equipment, and after the mobile terminal sends the request message for acquiring the binding information of the electronic home equipment, the server determines the binding information of the electronic home equipment according to the address information of the WiFi module corresponding to the electronic home equipment in the request message and sends the binding information of the electronic home equipment to the mobile terminal, so that the binding information of the electronic home equipment requested to be acquired by the mobile terminal and received by the mobile terminal is ensured, and the security of transmitting the binding information is improved.
In some exemplary embodiments, the request message includes address information of a WiFi module corresponding to the electronic home device, and the address information of the WiFi module is sent to the mobile terminal when the electronic home device sends a distribution network completion notification message to the mobile terminal;
the treatment appliance is configured to:
and determining the stored binding information of the electronic home equipment according to the address information of the WiFi module.
According to a fourth aspect of the exemplary embodiments, there is provided a method for establishing a binding relationship, applied to a mobile terminal, the method including:
after receiving a distribution network completion notification message sent by electronic home equipment, a mobile terminal sends a request message for acquiring binding information of the electronic home equipment to a server corresponding to the electronic home equipment;
and after receiving the binding information of the electronic home equipment returned by the server, the mobile terminal sends a binding request containing an application identifier used for controlling the application of the electronic home equipment on the mobile terminal and the binding information of the electronic home equipment to the server, so that the server establishes a binding relationship with the application and the electronic home equipment.
In some exemplary embodiments, the request message includes address information of a WiFi module corresponding to the electronic home device;
the mobile terminal acquires address information of a WiFi module corresponding to the electronic home equipment according to the following modes:
the mobile terminal reads address information of a WiFi module in a hotspot identification of the WiFi module corresponding to the electronic home equipment; or
And the mobile terminal receives the address information of the WiFi module corresponding to the electronic home equipment, which is sent by the electronic home equipment.
According to a fifth aspect of the exemplary embodiments, there is provided a method for establishing a binding relationship, which is applied to an electronic home device, and the method includes:
after the electronic home equipment determines that the distribution network is finished, uploading the binding information of the electronic home equipment to a server corresponding to the electronic home equipment, so that the server stores the binding information of the electronic home equipment;
the electronic home equipment sends distribution network completion notification information to the mobile terminal, so that the mobile terminal sends a request message for acquiring binding information of the electronic home equipment to the server.
In some exemplary embodiments, when the electronic home device sends the distribution network completion notification information to the mobile terminal, the method further includes:
the electronic home equipment sends address information of a WiFi module corresponding to the electronic home equipment to the mobile terminal, so that the mobile terminal requests the server for binding information of the electronic home equipment according to the address information of the WiFi module.
According to a sixth aspect of the exemplary embodiments, there is provided a method for establishing a binding relationship, applied to a server, the method including:
the method comprises the steps that a server receives a request message which is sent by a mobile terminal and used for acquiring binding information of electronic home equipment;
the server determines the stored binding information of the electronic home equipment and sends the determined binding information of the electronic home equipment to the mobile terminal; the binding information of the electronic home equipment is uploaded to the server after the electronic home equipment determines that the distribution network is finished;
and after receiving a binding request which is sent by the mobile terminal and contains an application program identifier used for controlling the application of the electronic home equipment on the mobile terminal and binding information of the electronic home equipment, the server establishes a binding relationship with the application and the electronic home equipment.
In some exemplary embodiments, the request message includes address information of a WiFi module corresponding to the electronic home device, and the address information of the WiFi module is sent to the mobile terminal when the electronic home device sends a distribution network completion notification message to the mobile terminal;
the server determines the stored binding information of the electronic home device, including:
and the server determines the stored binding information of the electronic home equipment according to the address information of the WiFi module.
According to a seventh aspect of exemplary embodiments, there is provided a binding apparatus configured to perform the method for establishing a binding relationship according to the fourth, fifth or sixth aspect.
According to an eighth aspect of the exemplary embodiments, there is provided a computer storage medium having stored therein computer program instructions, which when run on a computer, cause the computer to execute the method of establishing a binding relationship according to the fourth, fifth or sixth aspect.
On the basis of the common knowledge in the field, the above preferred conditions can be combined randomly to obtain the preferred embodiments of the application.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating a software architecture of a mobile terminal according to an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating a user interface of a mobile terminal according to an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating a system for establishing a binding relationship according to an embodiment of the present invention;
fig. 5 exemplarily shows a distribution network flow diagram of an electronic home device and a mobile terminal provided in an embodiment of the present invention;
fig. 6 is an interaction flowchart illustrating a binding relationship establishing method according to an embodiment of the present invention;
fig. 7 is a flowchart illustrating a binding relationship establishing method applied to a mobile terminal according to an embodiment of the present invention;
fig. 8 is a flowchart illustrating a binding relationship establishing method applied to an electronic home device according to an embodiment of the present invention;
fig. 9 is a flowchart illustrating a binding relationship establishing method applied to a server according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram illustrating a mobile terminal according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram illustrating an electronic home device according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram illustrating a server according to an embodiment of the present invention;
fig. 13 is a schematic structural diagram illustrating a first binding apparatus according to an embodiment of the present invention;
fig. 14 is a schematic structural diagram illustrating a second binding apparatus according to an embodiment of the present invention;
fig. 15 is a schematic structural diagram illustrating a third binding apparatus according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present application will be described in detail and removed with reference to the accompanying drawings. In the description of the embodiments herein, "/" means "or" unless otherwise specified, for example, a/B may mean a or B; "and/or" in the text is only an association relationship describing an associated object, and means that three relationships may exist, for example, a and/or B may mean: three cases of a alone, a and B both, and B alone exist, and in addition, "a plurality" means two or more than two in the description of the embodiments of the present application.
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as implying or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature, and in the description of embodiments of the application, unless stated otherwise, "plurality" means two or more.
Some terms appearing herein are explained below:
1. the term "application" in embodiments of the present invention is a computer program that performs one or more specific tasks, and has a visual display interface for interacting with a user.
2. The term WiFi module in the embodiment of the invention, also named as a serial port WiFi module, belongs to an Internet of things transmission layer, and has the function of converting a serial port or TTL level into an embedded module which accords with a WiFi wireless network communication standard. The traditional hardware equipment is embedded into a WiFi module, WiFi can be directly used for accessing To the Internet, and the system is an important component for realizing application of Internet of things such as wireless smart home, Machine-To-Machine (M2M) and the like.
3. In the embodiment of the present invention, the term "SSID", i.e., Service Set Identifier (SSID), may divide a wireless local area network into several sub-networks requiring different authentication, where each sub-network requires independent authentication, and only users passing authentication may enter the corresponding sub-network, so as to prevent unauthorized users from entering the local network.
4. In the embodiment of the present invention, the term "MAC address", i.e. a Medium Access Control (MAC) address, also referred to as a local area network address, an ethernet address or a physical address, is an address used to confirm the location of a network device. The MAC address is used to uniquely identify a network card in the network, and if one or more network cards exist in a device, each network card needs to have a unique MAC address.
Fig. 1 shows a schematic configuration of a mobile terminal 100.
The following describes an embodiment specifically by taking the mobile terminal 100 as an example. It should be understood that the mobile terminal 100 shown in fig. 1 is merely an example, and that the mobile terminal 100 may have more or fewer components than shown in fig. 1, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
A block diagram of a hardware configuration of a mobile terminal 100 according to an exemplary embodiment is exemplarily shown in fig. 1. As shown in fig. 1, the mobile terminal 100 includes: a Radio Frequency (RF) circuit 110, a memory 120, a display unit 130, a camera 140, a sensor 150, an audio circuit 160, a Wireless Fidelity (Wi-Fi) module 170, a processor 180, a bluetooth module 181, and a power supply 190.
The RF circuit 110 may be used for receiving and transmitting signals during information transmission and reception or during a call, and may receive downlink data of a base station and then send the downlink data to the processor 180 for processing; the uplink data may be transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
The memory 120 may be used to store software programs and data. The processor 180 performs various functions of the mobile terminal 100 and data processing by executing software programs or data stored in the memory 120. The memory 120 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. The memory 120 stores an operating system that enables the mobile terminal 100 to operate. The memory 120 may store an operating system and various application programs, and may also store codes for performing the methods described in the embodiments of the present application.
The display unit 130 may be used to receive input numeric or character information and generate signal input related to user settings and function control of the mobile terminal 100, and particularly, the display unit 130 may include a touch screen 131 disposed on the front of the mobile terminal 100 and may collect touch operations of a user thereon or nearby, such as clicking a button, dragging a scroll box, and the like.
The display unit 130 may also be used to display a Graphical User Interface (GUI) of information input by or provided to the user and various menus of the terminal 100. In particular, the display unit 130 may include a display screen 132 disposed on the front surface of the mobile terminal 100. The display screen 132 may be configured in the form of a liquid crystal display, a light emitting diode, or the like. The display unit 130 may be used to display various graphical user interfaces described herein.
The touch screen 131 may cover the display screen 132, or the touch screen 131 and the display screen 132 may be integrated to implement the input and output functions of the mobile terminal 100, and after the integration, the touch screen may be referred to as a touch display screen for short. In the present application, the display unit 130 may display the application programs and the corresponding operation steps.
The camera 140 may be used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing elements convert the light signals into electrical signals which are then passed to the processor 180 for conversion into digital image signals.
The mobile terminal 100 may further include at least one sensor 150, such as an acceleration sensor 151, a distance sensor 152, a fingerprint sensor 153, a temperature sensor 154. The mobile terminal 100 may also be configured with other sensors such as a gyroscope, barometer, hygrometer, thermometer, infrared sensor, light sensor, motion sensor, and the like.
The audio circuitry 160, speaker 161, microphone 162 may provide an audio interface between a user and the mobile terminal 100. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161. The mobile terminal 100 may also be provided with a volume button for adjusting the volume of the sound signal. On the other hand, the microphone 162 converts the collected sound signal into an electrical signal, converts the electrical signal into audio data after being received by the audio circuit 160, and outputs the audio data to the RF circuit 110 to be transmitted to, for example, another terminal or outputs the audio data to the memory 120 for further processing. In this application, the microphone 162 may capture the voice of the user.
Wi-Fi belongs to a short-distance wireless transmission technology, and the mobile terminal 100 may help a user to receive and transmit e-mails, browse webpages, access streaming media, and the like through the Wi-Fi module 170, which provides a wireless broadband internet access for the user.
The processor 180 is a control center of the mobile terminal 100, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the mobile terminal 100 and processes data by running or executing software programs stored in the memory 120 and calling data stored in the memory 120. In some embodiments, processor 180 may include one or more processing units; the processor 180 may also integrate an application processor, which mainly handles operating systems, user interfaces, applications, etc., and a baseband processor, which mainly handles wireless communications. It will be appreciated that the baseband processor described above may not be integrated into the processor 180. In the present application, the processor 180 may run an operating system, an application program, a user interface display, and a touch response, and the processing method described in the embodiments of the present application. Further, the processor 180 is coupled with the display unit 130.
And the bluetooth module 181 is configured to perform information interaction with other bluetooth devices having a bluetooth module through a bluetooth protocol. For example, the mobile terminal 100 may establish a bluetooth connection with a wearable electronic device (e.g., a smart watch) having a bluetooth module via the bluetooth module 181, so as to perform data interaction.
The mobile terminal 100 also includes a power supply 190 (e.g., a battery) that powers the various components. The power supply may be logically connected to the processor 180 through a power management system to manage charging, discharging, power consumption, etc. through the power management system. The mobile terminal 100 may also be configured with power buttons for powering the terminal on and off, and locking the screen.
Fig. 2 is a block diagram of a software configuration of the mobile terminal 100 according to the embodiment of the present invention.
The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom.
The application layer may include a series of application packages.
As shown in fig. 2, the application package may include applications such as camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, etc.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide a communication function of the mobile terminal 100. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, text information is prompted in the status bar, a prompt tone is given, the mobile terminal vibrates, an indicator light flashes, and the like.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), Media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, and the like.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
The following describes exemplary workflow of the mobile terminal 100 software and hardware in connection with capturing a photo scene.
When the touch screen 131 receives a touch operation, a corresponding hardware interrupt is issued to the kernel layer. The kernel layer processes the touch operation into an original input event (including touch coordinates, a time stamp of the touch operation, and other information). The raw input events are stored at the kernel layer. And the application program framework layer acquires the original input event from the kernel layer and identifies the control corresponding to the input event. Taking the touch operation as a touch click operation, and taking a control corresponding to the click operation as a control of a camera application icon as an example, the camera application calls an interface of an application framework layer, starts the camera application, further starts a camera drive by calling a kernel layer, and captures a still image or a video through the camera 140.
The mobile terminal 100 in the embodiment of the present application may be a mobile phone, a tablet computer, a wearable device, a notebook computer, a television, and the like.
Fig. 3 is a schematic diagram illustrating a user interface on a mobile terminal (e.g., mobile terminal 100 of fig. 1). In some implementations, a user can open a corresponding application by touching an application icon on the user interface, or can open a corresponding folder by touching a folder icon on the user interface.
Before a user uses an application program in a mobile terminal to control an electronic home device, the network distribution process of the electronic home device and the mobile terminal needs to be completed, the electronic home device and the mobile terminal are ensured to be connected into the same local area network, after the network distribution is completed, a binding relationship is established among the electronic home device, a cloud server and the mobile terminal application program, the electronic home device sends a UDP broadcast containing binding information of the electronic home device in the current local area network after the electronic home device and the mobile terminal are determined to be connected into the same local area network to complete the network distribution, the mobile terminal obtains the binding information of the electronic home device after receiving the UDP broadcast, a binding interface on the cloud server is called, and the cloud server establishes the binding relationship between the electronic home device and the mobile terminal application program.
The UDP broadcast needs to be periodically broadcast in the local area network, the mobile terminal polls for receiving the broadcast until the broadcast is received, so that the binding process is long in time consumption, and the mobile terminal can receive a plurality of UDP broadcasts due to the fact that the UDP broadcasts of a plurality of electronic home devices possibly exist in the local area network, so that the problem of disordered binding can be caused.
Based on the above problem, an embodiment of the present invention provides a system for establishing a binding relationship, as shown in fig. 4, including: the home appliance 41, the router 42, the server 43, and the mobile terminal 44; the server 43 is a server corresponding to the electronic home device 41; the electronic home equipment 41 comprises a WiFi module 401, which is used for enabling the electronic home equipment 41 to access the internet and perform information interaction with a server or other equipment.
After the electronic home equipment 41 is determined to access a target network through the router 42, the electronic home equipment 41 sends a distribution network completion notification message to the mobile terminal 44 through the WiFi module 401, the mobile terminal 44 sends a request message for acquiring the binding information of the electronic home equipment 41 to the server 43, the server 43 determines the binding information of the electronic home equipment 41 according to the address information of the WiFi module corresponding to the electronic home equipment 41 and carried in the request message sent by the mobile terminal 44, the determined binding information of the electronic home equipment 41 is sent to the mobile terminal 44, the mobile terminal 44 sends a binding request containing an application identifier for controlling the application of the electronic home equipment 41 on the mobile terminal 44 and the binding information of the electronic home equipment 41 to the server 43, and the server 43 establishes a binding relationship with the electronic home equipment 41 and the application used for controlling the electronic home equipment 41 on the mobile terminal 44 after receiving the binding request sent by the mobile terminal 44.
After the binding relationship among the electronic home devices 41, the server 43 and the applications on the mobile terminal 44 is established, a user operates the applications on the mobile terminal 44 for controlling the electronic home devices 41 to trigger control operations for controlling the electronic home devices 41, the mobile terminal 44 sends a control request to the server 43 through a communication network, the server 43 sends a control instruction to the electronic home devices 41 according to the received control request, and the electronic home devices 41 execute corresponding processing according to the control instruction, so that the mobile terminal 44 controls the electronic home devices 41.
In the method for establishing a binding relationship provided by the embodiment of the invention, after receiving a distribution network completion notification message sent by an electronic home device, a mobile terminal sends a request message for acquiring binding information of the electronic home device to a server corresponding to the electronic home device, after the server returns the binding message of the electronic home device to the mobile terminal, the mobile terminal sends a binding request containing an application identifier for controlling an application of the electronic home device on the mobile terminal and the binding information of the electronic home device to the server, and the server establishes a binding relationship with the application and the electronic home device; according to the embodiment of the invention, after receiving the distribution network completion notification message sent by the electronic home equipment, the mobile terminal acquires the binding information of the electronic home equipment from the server, so that the acquired binding information is ensured to be the binding information of the electronic home equipment, and the binding accuracy is improved; the embodiment of the invention does not carry out periodic broadcast any more, thereby reducing the time required by binding, improving the binding efficiency and simultaneously improving the safety of the binding process.
Before the electronic home equipment is controlled by the application on the mobile terminal, the mobile terminal and the electronic home equipment need to be distributed with a network, so that the mobile terminal and the electronic home equipment are ensured to be connected to the same local area network, and after the network distribution of the mobile terminal and the electronic home equipment is completed, the binding process among the electronic home equipment, a server corresponding to the electronic home equipment and the application on the mobile terminal for controlling the electronic home equipment is carried out. The following introduces a network distribution mode of an electronic home device and a mobile terminal provided by an embodiment of the invention:
as shown in fig. 5, the network distribution process for the electronic home devices and the mobile terminals includes the following steps:
step S501, starting the electronic home equipment, determining that network configuration information stored in advance does not exist in a memory, and entering a distribution network state;
step S502, the electronic home equipment starts a SoftAP hotspot of the WiFi module;
step S503, the mobile terminal accesses a SoftAP hotspot of a WiFi module of the electronic home equipment;
step S504, the mobile terminal sends a TCP link establishment request to the electronic home equipment through the SoftAP hotspot;
step S505, the electronic home equipment responds to the TCP link establishment request and establishes a TCP link with the mobile terminal;
s506, the mobile terminal sends a scanning instruction to the electronic home equipment through the TCP link;
step S507, the electronic home equipment performs network scanning after receiving the scanning instruction;
step S508, the electronic home equipment sends the scanned at least one available candidate network to the mobile terminal through a TCP link;
step S509, the mobile terminal selects a target network from at least one available candidate network, and determines configuration information of the target network;
step S510, the mobile terminal sends configuration information of a target network to the electronic home equipment;
and S511, the electronic home equipment accesses the target network according to the configuration information of the target network.
After the electronic home equipment determines that the distribution network is finished, the binding information of the electronic home equipment is uploaded to a server; the binding information of the electronic home equipment comprises address information of a WiFi module corresponding to the electronic home equipment and equipment identification of the electronic home equipment.
The address information of the WiFi module corresponding to the electronic home equipment is the MAC address of the WiFi module corresponding to the electronic home equipment and is an address for confirming the position of the WiFi module; the equipment identification of the electronic home equipment is the unique identification of the electronic home equipment.
The method comprises the steps that the electronic home equipment sends a distribution network success notification message to the mobile terminal, and the mobile terminal sends a request message for acquiring binding information of the electronic home equipment to a server after receiving the distribution network success notification message;
the request message for acquiring the binding information of the electronic home equipment comprises address information of a WiFi module corresponding to the electronic home equipment, and the mobile terminal acquires the address information of the WiFi module corresponding to the electronic home equipment according to the following modes:
in the mode 1, the mobile terminal reads the address information of the WiFi module in the hotspot identification of the WiFi module corresponding to the electronic home equipment.
When the WiFi module is started for the first time, the electronic home equipment generates a hotspot identification of the WiFi module, wherein the hotspot identification of the WiFi module comprises address information of the WiFi module, and specifically can be an MAC address of the WiFi module; after the mobile terminal is connected to the hot spot of the WiFi module corresponding to the electronic home equipment in the network distribution process, the address information of the WiFi module can be acquired by reading the hot spot identification of the WiFi module corresponding to the electronic home equipment.
And in the mode 2, the mobile terminal receives the address information of the WiFi module corresponding to the electronic home equipment, which is sent by the electronic home equipment.
After the electronic home equipment determines that the distribution network is completed, the electronic home equipment sends a distribution network success notification message to the mobile terminal through a TCP link established in the distribution network process, and simultaneously sends address information of a WiFi module corresponding to the electronic home equipment, specifically, the address information can be an MAC address of the WiFi module.
After receiving a request message sent by the mobile terminal and used for acquiring the binding information of the electronic home equipment, the server searches the binding information of the electronic home equipment according to the address information of the WiFi module corresponding to the electronic home equipment in the request message, and sends the binding information of the electronic home equipment to the mobile terminal.
After receiving the binding information of the electronic home equipment returned by the server, the mobile terminal sends a binding request to the server, wherein the binding request comprises an application identifier used for controlling the application of the electronic home equipment on the mobile terminal and the binding information of the electronic home equipment.
And the server establishes a binding relation with the application and the electronic home equipment according to the application identifier in the binding request sent by the mobile terminal and the binding information of the electronic home equipment.
In specific implementation, the server establishes a corresponding relationship between an application identifier used for controlling an application of the electronic home device, address information of a WiFi module corresponding to the electronic home device, and a device identifier of the electronic home device on the mobile terminal.
As shown in fig. 6, an interaction flowchart of a binding relationship establishing method according to an embodiment of the present invention includes the following steps:
step S601, after the electronic home equipment determines that the distribution network is finished, the binding information of the electronic home equipment is uploaded to a server;
step S602, the electronic home equipment sends a distribution network completion notification and address information of a WiFi module corresponding to the electronic home equipment to the mobile terminal;
step S603, the mobile terminal sends a request message for acquiring binding information of the electronic home equipment to the server;
step S604, the server determines binding information of the electronic home equipment according to the address information of the WiFi module corresponding to the electronic home equipment in the received request message;
step S605, the server sends the binding information of the electronic home equipment to the mobile terminal;
step S606, the mobile terminal sends a binding request to the server;
and S607, the server establishes a binding relationship with the application and the electronic home equipment according to the application identifier in the binding request and the binding information of the electronic home equipment.
As shown in fig. 7, a method for establishing a binding relationship applied to a mobile terminal in an embodiment of the present invention includes the following steps:
step S701, after receiving a distribution network completion notification message sent by an electronic home device, a mobile terminal sends a request message for acquiring binding information of the electronic home device to a server corresponding to the electronic home device;
step S702, after receiving the binding information of the electronic home equipment returned by the server, the mobile terminal sends a binding request containing an application identifier of the application used for controlling the electronic home equipment on the mobile terminal and the binding information of the electronic home equipment to the server, so that the server establishes a binding relationship with the application and the electronic home equipment.
In some exemplary embodiments, the request message includes address information of a WiFi module corresponding to the electronic home device;
the mobile terminal acquires address information of a WiFi module corresponding to the electronic home equipment according to the following modes:
the mobile terminal reads address information of the WiFi module obtained from the hotspot identification of the WiFi module corresponding to the electronic home equipment; or
And the mobile terminal receives the address information of the WiFi module corresponding to the electronic home equipment, which is sent by the electronic home equipment.
As shown in fig. 8, a method for establishing a binding relationship applied to an electronic home device in an embodiment of the present invention includes the following steps:
step S801, after the electronic home equipment determines that the distribution network is completed, the binding information of the electronic home equipment is uploaded to a server corresponding to the electronic home equipment, so that the server stores the binding information of the electronic home equipment;
step S802, the electronic home equipment sends distribution network completion notification information to the mobile terminal, so that the mobile terminal sends a request message for acquiring the binding information of the electronic home equipment to the server.
In some exemplary embodiments, the electronic home device sends address information of a WiFi module corresponding to the electronic home device to the mobile terminal, so that the mobile terminal requests the server for binding information of the electronic home device according to the address information of the WiFi module.
As shown in fig. 9, a method for establishing a binding relationship applied to a server according to an embodiment of the present invention includes the following steps:
step S901, a server receives a request message sent by a mobile terminal and used for acquiring binding information of electronic home equipment;
step S902, the server determines the stored binding information of the electronic home equipment and sends the determined binding information of the electronic home equipment to the mobile terminal; the binding information of the electronic home equipment is uploaded to a server after the electronic home equipment determines that the distribution network is finished;
step S903, after receiving a binding request which is sent by the mobile terminal and contains an application program identifier used for controlling the application of the electronic home equipment on the mobile terminal and binding information of the electronic home equipment, the server establishes a binding relationship between the server and the application and the electronic home equipment.
In some exemplary embodiments, the request message includes address information of a WiFi module corresponding to the electronic home device, and the address information of the WiFi module is sent to the mobile terminal when the electronic home device sends a distribution network completion notification message to the mobile terminal;
the server determines the stored binding information of the electronic home device, including:
and the server determines the stored binding information of the electronic home equipment according to the address information of the WiFi module.
Based on the same inventive concept, the embodiment of the present invention further provides a mobile terminal, and as the principle of solving the problem of the mobile terminal is similar to the method for establishing the binding relationship at the mobile terminal side in the embodiment of the present invention, the implementation of the mobile terminal may refer to the implementation of the method, and repeated parts are not described again.
As shown in fig. 10, a mobile terminal according to an embodiment of the present invention includes a processor 1001 and a first WiFi module 1002:
the first WiFi module 1002 is configured to send a request message, generated by the processor, for acquiring binding information of the electronic home device to a server corresponding to the electronic home device after receiving a distribution network completion notification message sent by the electronic home device; after receiving the binding information of the electronic home equipment returned by the server, transmitting the binding information to the processor, and sending a binding request containing an application identifier of an application used for controlling the electronic home equipment on the mobile terminal and the binding information of the electronic home equipment to the server, so that the server establishes a binding relationship with the application and the electronic home equipment;
the processor 1001 is configured to receive the binding information of the electronic home device transmitted by the first WiFi module, and generate a binding request according to the binding information of the electronic home device and an application identifier of an application for controlling the electronic home device.
In some exemplary embodiments, the request message includes address information of a WiFi module corresponding to the electronic home device;
the processing 1001 apparatus is configured to acquire address information of a WiFi module corresponding to the electronic home device according to the following manner:
acquiring address information of a WiFi module from a hotspot identification of the WiFi module corresponding to the electronic home equipment; or
And receiving address information of the WiFi module corresponding to the electronic home equipment, which is sent by the electronic home equipment, through the first WiFi module.
Based on the same inventive concept, the embodiment of the present invention further provides an electronic home device, and as the principle of solving the problem of the electronic home device is similar to the method for establishing the binding relationship at the electronic home device side in the embodiment of the present invention, the implementation of the electronic home device may refer to the implementation of the method, and repeated details are not repeated.
As shown in fig. 11, an electronic home device according to an embodiment of the present invention includes a processor 1101 and a second WiFi module 1102;
the processor 1101 is configured to determine binding information of the electronic home device after determining that a distribution network is completed;
the second WiFi module 1102 is configured to upload the binding information of the electronic home devices to a server corresponding to the electronic home devices, so that the server stores the binding information of the electronic home devices; and sending distribution network completion notification information to the mobile terminal so that the mobile terminal sends a request message for acquiring the binding information of the electronic home equipment to the server.
In some exemplary embodiments, the processor 1101 is further configured to determine address information of the second WiFi module;
the second WiFi module 1102 is further configured to send address information of the second WiFi module to a mobile terminal when sending a distribution network completion notification message to the mobile terminal, so that the mobile terminal requests the server for the binding information of the electronic home device according to the address information of the second WiFi module.
Based on the same inventive concept, the embodiment of the present invention further provides a server, and as the principle of solving the problem of the server is similar to the method for establishing the binding relationship at the server side in the embodiment of the present invention, the implementation of the server may refer to the implementation of the method, and repeated details are not repeated.
As shown in fig. 12, a server according to an embodiment of the present invention includes a processor 1201 and a transceiver unit 1202;
the transceiver unit 1202 is configured to receive a request message sent by a mobile terminal for acquiring binding information of an electronic home device, and transmit the request message to the processor; sending the binding information of the electronic home equipment determined by the processor to the mobile terminal; receiving a binding request which is sent by the mobile terminal and contains an application program identifier used for controlling the application of the electronic home equipment on the mobile terminal and binding information of the electronic home equipment;
the processor 1201 is configured to determine stored binding information of the electronic home device after receiving the request message transmitted by the transceiving unit; and after receiving the binding request sent by the mobile terminal, establishing a binding relationship between the mobile terminal and the application and the electronic home equipment.
In some exemplary embodiments, the request message includes address information of a WiFi module corresponding to the electronic home device, and the address information of the WiFi module is sent to the mobile terminal when the electronic home device sends a distribution network completion notification message to the mobile terminal;
the processor 1201 is specifically configured to:
and determining the stored binding information of the electronic home equipment according to the address information of the WiFi module.
As shown in fig. 13, a first binding apparatus provided for an embodiment of the present invention includes:
the first sending module 1301 is configured to send a request message for acquiring binding information of the electronic home device to a server corresponding to the electronic home device after receiving a distribution network completion notification message sent by the electronic home device;
the request module 1302 is configured to, after receiving the binding information of the electronic home device returned by the server, send a binding request including an application identifier of an application on the mobile terminal for controlling the electronic home device and the binding information of the electronic home device to the server, so that the server establishes a binding relationship between the application and the electronic home device.
In some exemplary embodiments, the request message includes address information of a WiFi module corresponding to the electronic home device;
the first sending module 1301 is specifically configured to:
acquiring address information of a WiFi module corresponding to the electronic home equipment according to the following modes:
acquiring address information of a WiFi module from a hotspot identification of the WiFi module corresponding to the electronic home equipment; or
And receiving address information of the WiFi module corresponding to the electronic home equipment, which is sent by the electronic home equipment.
As shown in fig. 14, a second binding apparatus provided for the embodiment of the present invention includes:
an uploading module 1401, configured to upload the binding information of the electronic home equipment to a server corresponding to the electronic home equipment after determining that the distribution network is completed, so that the server stores the binding information of the electronic home equipment;
the second sending module 1402 is configured to send distribution network completion notification information to the mobile terminal, so that the mobile terminal sends a request message for acquiring the binding information of the electronic home device to the server.
In some exemplary embodiments, the second sending module 1402 is further configured to:
and sending address information of a WiFi module corresponding to the electronic home equipment to the mobile terminal, so that the mobile terminal requests the server for binding information of the electronic home equipment according to the address information of the WiFi module.
As shown in fig. 15, a third binding apparatus provided in the embodiment of the present invention includes:
the receiving module 1501 is configured to receive a request message sent by a mobile terminal and used for acquiring binding information of the electronic home equipment;
a determining module 1502 configured to determine stored binding information of the electronic home device, and send the determined binding information of the electronic home device to the mobile terminal; the binding information of the electronic home equipment is uploaded to the server after the electronic home equipment determines that the distribution network is finished;
the establishing module 1503 is configured to establish a binding relationship between the application and the electronic home device after receiving a binding request which is sent by the mobile terminal and contains an application program identifier of the application on the mobile terminal and used for controlling the electronic home device and binding information of the electronic home device.
In some exemplary embodiments, the request message includes address information of a WiFi module corresponding to the electronic home device, and the address information of the WiFi module is sent to the mobile terminal when the electronic home device sends a distribution network completion notification message to the mobile terminal;
the determining module 1502 is specifically configured to determine stored binding information of the electronic home device according to the address information of the WiFi module.
Since the computer storage medium in the embodiment of the present invention may be applied to the processing method, the technical effect obtained by the computer storage medium may also refer to the method embodiment described above, and the embodiment of the present invention is not described herein again.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that these are by way of example only, and that the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention, and these changes and modifications are within the scope of the invention.

Claims (10)

1. A mobile terminal comprising a processor and a first WiFi module:
the first WiFi module is configured to receive a distribution network completion notification message sent by electronic home equipment, and send a request message generated by the processor and used for acquiring binding information of the electronic home equipment to a server corresponding to the electronic home equipment; after receiving the binding information of the electronic home equipment returned by the server, transmitting the binding information to the processor, and sending a binding request containing an application identifier of an application used for controlling the electronic home equipment on the mobile terminal and the binding information of the electronic home equipment to the server, so that the server establishes a binding relationship with the application and the electronic home equipment;
the processor is configured to receive the binding information of the electronic home equipment transmitted by the first WiFi module, and generate a binding request according to the binding information of the electronic home equipment and an application identifier of an application used for controlling the electronic home equipment.
2. The mobile terminal of claim, wherein the request message includes address information of a WiFi module corresponding to the electronic home device;
the processor is configured to acquire address information of a WiFi module corresponding to the electronic home device according to the following manner:
acquiring address information of a WiFi module from a hotspot identification of the WiFi module corresponding to the electronic home equipment; or
And receiving address information of the WiFi module corresponding to the electronic home equipment, which is sent by the electronic home equipment, through the first WiFi module.
3. The electronic home equipment is characterized by comprising a processor and a second WiFi module;
the processor is configured to determine binding information of the electronic household equipment after determining that a distribution network is completed;
the second WiFi module is configured to upload the binding information of the electronic home equipment to a server corresponding to the electronic home equipment, so that the server stores the binding information of the electronic home equipment; and sending distribution network completion notification information to the mobile terminal so that the mobile terminal sends a request message for acquiring the binding information of the electronic home equipment to the server.
4. The electronic home device of claim 3,
the processor is further configured to determine address information for the second WiFi module;
the second WiFi module is further configured to send address information of the second WiFi module to a mobile terminal when distribution network completion notification information is sent to the mobile terminal, so that the mobile terminal requests the server for binding information of the electronic home equipment according to the address information of the second WiFi module.
5. A server, comprising a processor and a transceiver unit;
the receiving and sending unit is configured to receive a request message sent by a mobile terminal and used for acquiring binding information of the electronic home equipment, and transmit the request message to the processor; sending the binding information of the electronic home equipment determined by the processor to the mobile terminal; receiving a binding request which is sent by the mobile terminal and contains an application program identifier used for controlling the application of the electronic home equipment on the mobile terminal and binding information of the electronic home equipment;
the processor is configured to determine the stored binding information of the electronic home device after receiving the request message transmitted by the transceiving unit; and after receiving the binding request sent by the mobile terminal, establishing a binding relationship between the mobile terminal and the application and the electronic home equipment.
6. The server according to claim 5, wherein the request message includes address information of a WiFi module corresponding to the electronic home device, and the address information of the WiFi module is sent to the mobile terminal when the electronic home device sends a distribution network completion notification message to the mobile terminal;
the treatment appliance is configured to:
and determining the stored binding information of the electronic home equipment according to the address information of the WiFi module.
7. A method for establishing a binding relationship is applied to a mobile terminal, and comprises the following steps:
after receiving a distribution network completion notification message sent by electronic home equipment, a mobile terminal sends a request message for acquiring binding information of the electronic home equipment to a server corresponding to the electronic home equipment;
and after receiving the binding information of the electronic home equipment returned by the server, the mobile terminal sends a binding request containing an application identifier used for controlling the application of the electronic home equipment on the mobile terminal and the binding information of the electronic home equipment to the server, so that the server establishes a binding relationship with the application and the electronic home equipment.
8. A method for establishing a binding relationship is applied to electronic home equipment, and comprises the following steps:
after the electronic home equipment determines that the distribution network is finished, uploading the binding information of the electronic home equipment to a server corresponding to the electronic home equipment, so that the server stores the binding information of the electronic home equipment;
the electronic home equipment sends distribution network completion notification information to the mobile terminal, so that the mobile terminal sends a request message for acquiring binding information of the electronic home equipment to the server.
9. A method for establishing a binding relationship is applied to a server, and comprises the following steps:
the method comprises the steps that a server receives a request message which is sent by a mobile terminal and used for acquiring binding information of electronic home equipment;
the server determines the stored binding information of the electronic home equipment and sends the determined binding information of the electronic home equipment to the mobile terminal; the binding information of the electronic home equipment is uploaded to the server after the electronic home equipment determines that the distribution network is finished;
and after receiving a binding request which is sent by the mobile terminal and contains an application program identifier used for controlling the application of the electronic home equipment on the mobile terminal and binding information of the electronic home equipment, the server establishes a binding relationship with the application and the electronic home equipment.
10. A computer storage medium having computer program instructions stored therein which, when run on a computer, cause the computer to perform the method of claim 7 or claim 8 or claim 9.
CN202010682915.0A 2020-07-15 2020-07-15 Method for establishing binding relationship and related equipment Pending CN114007202A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010682915.0A CN114007202A (en) 2020-07-15 2020-07-15 Method for establishing binding relationship and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010682915.0A CN114007202A (en) 2020-07-15 2020-07-15 Method for establishing binding relationship and related equipment

Publications (1)

Publication Number Publication Date
CN114007202A true CN114007202A (en) 2022-02-01

Family

ID=79920186

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010682915.0A Pending CN114007202A (en) 2020-07-15 2020-07-15 Method for establishing binding relationship and related equipment

Country Status (1)

Country Link
CN (1) CN114007202A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116056076A (en) * 2022-07-21 2023-05-02 荣耀终端有限公司 Communication system, method and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107181651A (en) * 2017-06-23 2017-09-19 海信集团有限公司 Intelligent home device collocation method and device
CN108173727A (en) * 2018-01-30 2018-06-15 海信(山东)冰箱有限公司 A kind of intelligent appliance method of network entry and equipment
CN108834201A (en) * 2018-07-26 2018-11-16 广东美的制冷设备有限公司 Household appliance and its networking control method, device, mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107181651A (en) * 2017-06-23 2017-09-19 海信集团有限公司 Intelligent home device collocation method and device
CN108173727A (en) * 2018-01-30 2018-06-15 海信(山东)冰箱有限公司 A kind of intelligent appliance method of network entry and equipment
CN108834201A (en) * 2018-07-26 2018-11-16 广东美的制冷设备有限公司 Household appliance and its networking control method, device, mobile terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116056076A (en) * 2022-07-21 2023-05-02 荣耀终端有限公司 Communication system, method and electronic equipment
CN116056076B (en) * 2022-07-21 2023-10-20 荣耀终端有限公司 Communication system, method and electronic equipment

Similar Documents

Publication Publication Date Title
CN111818669B (en) Mobile terminal and data transmission method thereof
RU2636678C2 (en) Method and device for thread-specific multimedia data translation
WO2021135734A1 (en) Method for transmitting file in application, and electronic device and system
CN113590059A (en) Screen projection method and mobile terminal
CN114845035B (en) Distributed shooting method, electronic equipment and medium
CN114598414B (en) Time slice configuration method and electronic equipment
CN113552808A (en) Network distribution method for electronic home equipment, electronic home equipment and mobile terminal
CN114201130A (en) Screen projection method and device and storage medium
CN112825072B (en) Communication terminal and data sharing method
CN114007202A (en) Method for establishing binding relationship and related equipment
CN114071652B (en) Binding relation establishing method and related equipment
CN113014614A (en) Equipment control method, control equipment and controlled equipment
CN114371895B (en) Terminal equipment, mail marking method and storage medium
CN113253905B (en) Touch method based on multi-finger operation and intelligent terminal
CN111600862B (en) User account management method and device
CN113642010B (en) Method for acquiring data of extended storage device and mobile terminal
CN114679752A (en) Method for sharing wireless communication capacity by dual systems and terminal equipment
CN115250427A (en) Bluetooth connection establishment method, mobile terminal and electronic household equipment
CN111159734A (en) Communication terminal and multi-application data inter-access processing method
CN114637214A (en) Control method and device of electronic home equipment and computer storage medium
CN112000411B (en) Mobile terminal and display method of recording channel occupation information thereof
CN114095913A (en) Network distribution method of electronic household equipment and electronic household equipment
CN112929858B (en) Method and terminal for simulating access control card
CN116248915A (en) Screen capturing method and terminal equipment
US20240089414A1 (en) Electronic device, method for data transmission between the electronic device and another electronic device, and medium

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