CN114007127B - Display device and multi-device distribution network retry method - Google Patents
Display device and multi-device distribution network retry method Download PDFInfo
- Publication number
- CN114007127B CN114007127B CN202111272408.0A CN202111272408A CN114007127B CN 114007127 B CN114007127 B CN 114007127B CN 202111272408 A CN202111272408 A CN 202111272408A CN 114007127 B CN114007127 B CN 114007127B
- Authority
- CN
- China
- Prior art keywords
- network
- equipment
- target
- auxiliary equipment
- distributed
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 83
- 230000004044 response Effects 0.000 claims description 49
- 238000004891 communication Methods 0.000 claims description 38
- 238000012163 sequencing technique Methods 0.000 claims 1
- 230000008569 process Effects 0.000 description 31
- 238000010586 diagram Methods 0.000 description 30
- 230000002457 bidirectional effect Effects 0.000 description 17
- 230000003993 interaction Effects 0.000 description 14
- 238000012545 processing Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 12
- 230000009471 action Effects 0.000 description 8
- 238000006243 chemical reaction Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 5
- 238000005406 washing Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 239000008186 active pharmaceutical agent Substances 0.000 description 2
- 238000004378 air conditioning Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 230000015572 biosynthetic process Effects 0.000 description 2
- 239000002131 composite material Substances 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 230000033001 locomotion Effects 0.000 description 2
- 239000000203 mixture Substances 0.000 description 2
- 239000013642 negative control Substances 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 238000003786 synthesis reaction Methods 0.000 description 2
- 230000003321 amplification Effects 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000006837 decompression Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000002156 mixing Methods 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 230000002035 prolonged effect Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/43615—Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Multimedia (AREA)
- Information Transfer Between Computers (AREA)
- Selective Calling Equipment (AREA)
Abstract
The application provides a display device and a multi-device distribution network retry method, comprising the following steps: and receiving a retry network allocation instruction input by a user, wherein the retry network allocation instruction is used for carrying out network allocation retry on the target network equipment to be allocated which fails in the last network allocation. And responding to the retry network allocation instruction, and searching whether target auxiliary equipment meeting preset conditions exists or not, wherein the target auxiliary equipment is different from the auxiliary equipment which executes the network allocation task on the target network equipment to be allocated last time. And if the target auxiliary equipment exists, sending a network distribution instruction to the target auxiliary equipment so that the target auxiliary equipment can execute a network distribution task on the target equipment to be distributed. Before searching for the target auxiliary equipment, in order to avoid the situation of network allocation failure from happening again, a preset time interval is set to control the auxiliary equipment which executes the network allocation task for the target to-be-allocated network equipment to carry out network allocation retry on the target to-be-allocated network equipment, and the network allocation success rate is improved by using different auxiliary equipment to carry out network allocation retry, so that the situation of network allocation failure again or for many times is avoided.
Description
Technical Field
The application relates to the technical field of display equipment, in particular to a display equipment and a multi-equipment distribution network retry method.
Background
With the development of communication technology and electronic technology, most devices are used through the internet. Such as display devices, refrigerators, washing machines, tablet computers, smart home devices, and the like. In order to facilitate control of multiple devices, each device typically needs to be configured prior to use of the device to enable the device to access a wireless local area network used by the user. Wherein, the distribution network is the process of accessing the network by the equipment. At present, a one-to-one distribution network is generally performed on other network devices to be distributed through the network-distributed devices.
However, during the network allocation process, the network allocation may fail for various reasons, such as failure of the device to connect to the wireless lan, failure of connection between the device to be allocated and the device to be allocated, and timeout of the network allocation. And when the distribution network fails, the distribution network retry is needed to be performed again on the equipment with the failed distribution network. For example, when the display device is used to perform network distribution on the washing machine, after failure due to overtime of network distribution, the display device needs to perform network distribution on the washing machine again according to a certain rule. However, after the network allocation is performed again, the factors causing the network allocation failure may not be eliminated, and the network allocation failure may be caused again by the same reason as the previous network allocation failure, or even multiple failure situations may occur.
Disclosure of Invention
The application provides a display device and a multi-device distribution network retry method. The method solves the problems that when a user retries the distribution network, the factors causing the failure of the distribution network are not eliminated, the situation of repeated or repeated failure of the distribution network occurs, and the success rate of the distribution network is reduced.
In a first aspect, the present application provides a display apparatus comprising:
A display for displaying a user interface;
the communication device establishes communication connection with at least one auxiliary device and at least one network device to be distributed; the auxiliary equipment is used for executing a network allocation task for the equipment to be allocated, and the network allocation task is used for connecting the equipment to be allocated with a wireless local area network;
A controller configured to:
Receiving a retry network allocation instruction input by a user, wherein the retry network allocation instruction is used for performing network allocation retry on target network equipment to be allocated which fails in the last network allocation;
Responding to the retry network allocation instruction, and searching whether target auxiliary equipment meeting preset conditions exists or not, wherein the target auxiliary equipment is different from the auxiliary equipment which executes the network allocation task on the target network equipment to be allocated last time;
And if the target auxiliary equipment exists, sending a network distribution instruction to the target auxiliary equipment so that the target auxiliary equipment executes a network distribution task for the target equipment to be distributed.
In a second aspect, the present application provides a display apparatus comprising:
A display for displaying a user interface;
The communication device establishes communication connection with at least one main device and at least one network device to be distributed; the main equipment is used for controlling the controller to execute a network distribution task on the equipment to be distributed, and the network distribution task is used for connecting the equipment to be distributed with a wireless local area network;
A controller configured to:
Receiving a network allocation instruction sent by a main device in response to a network allocation retry instruction input by a user, wherein the network allocation instruction instructs the controller to perform network allocation retry on a target network equipment to be allocated which fails in the last network allocation, and the display device is different from an auxiliary device which performs a network allocation task on the target network equipment to be allocated last time;
and responding to the network distribution instruction, and executing a network distribution task on the target network equipment to be distributed.
In a third aspect, the present application provides a multi-device network reconfiguration method, including:
Receiving a retry network allocation instruction input by a user, wherein the retry network allocation instruction is used for performing network allocation retry on target network equipment to be allocated which fails in the last network allocation;
Responding to the retry network allocation instruction, and searching whether target auxiliary equipment meeting preset conditions exists or not, wherein the target auxiliary equipment is different from the auxiliary equipment which executes the network allocation task on the target network equipment to be allocated last time;
And if the target auxiliary equipment exists, sending a network distribution instruction to the target auxiliary equipment so that the target auxiliary equipment executes a network distribution task for the target equipment to be distributed.
In a fourth aspect, the present application provides a multi-device network retry method, including:
Receiving a network allocation instruction sent by a main device in response to a network allocation retry instruction input by a user, wherein the network allocation instruction instructs the display device to perform network allocation retry on a target network equipment to be allocated which fails in the last network allocation, and the display device is different from an auxiliary device which performs a network allocation task on the target network equipment to be allocated last time;
and responding to the network distribution instruction, and executing a network distribution task on the target network equipment to be distributed.
According to the technical scheme, the application provides a display device and a multi-device distribution network retry method, which comprises the following steps: and receiving a retry network allocation instruction input by a user, wherein the retry network allocation instruction is used for carrying out network allocation retry on the target network equipment to be allocated which fails in the last network allocation. And responding to the retry network allocation instruction, and searching whether target auxiliary equipment meeting preset conditions exists or not, wherein the target auxiliary equipment is different from the auxiliary equipment which executes the network allocation task on the target network equipment to be allocated last time. And if the target auxiliary equipment exists, sending a network distribution instruction to the target auxiliary equipment so that the target auxiliary equipment can execute a network distribution task on the target equipment to be distributed. Before searching for the target auxiliary equipment, in order to avoid the situation of network allocation failure from happening again, a preset time interval is set to control the auxiliary equipment which executes the network allocation task for the target to-be-allocated network equipment to carry out network allocation retry on the target to-be-allocated network equipment, and the network allocation success rate is improved by using different auxiliary equipment to carry out network allocation retry, so that the situation of network allocation failure again or for many times is avoided.
Drawings
In order to more clearly illustrate the technical solution of the present application, the drawings that are needed in the embodiments will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 illustrates a usage scenario of a display device according to some embodiments;
FIG. 2 illustrates a hardware configuration block diagram of a control device according to some embodiments;
FIG. 3 illustrates a hardware configuration block diagram of a display device according to some embodiments;
FIG. 4 illustrates a software configuration diagram in a display device according to some embodiments;
FIG. 5 illustrates a user interface in a display in some embodiments;
FIG. 6 illustrates a schematic diagram of a scan start page of some embodiments;
FIG. 7 shows a schematic diagram of a scan details page for some embodiments;
FIG. 8 illustrates a schematic diagram of a secondary device doubly linked list in accordance with some embodiments;
FIG. 9 illustrates a schematic diagram of a distribution network typical of distribution network devices according to some embodiments;
FIG. 10 is a schematic diagram of a distribution network for distributing devices to be distributed according to some embodiments of the present application;
FIG. 11 illustrates a schematic diagram of the success of some embodiments of the network deployment;
FIG. 12 is a schematic diagram of whether some embodiments fail to retry a distribution network;
FIG. 13 is a schematic diagram illustrating some embodiments selecting other ways to network a target network device;
FIG. 14 illustrates a schematic diagram of network success in a retry of some embodiments;
FIG. 15 illustrates a schematic diagram of some embodiments retry network failure;
FIG. 16 is a flow chart illustrating a multi-device networking method performed by a display device;
FIG. 17 is a flow chart illustrating another multi-device networking method performed by a display device;
FIG. 18 illustrates a first interaction process diagram of a primary device and a secondary device of some embodiments;
FIG. 19 illustrates a second interaction process diagram of a primary device and a secondary device, in accordance with some embodiments.
Detailed Description
For the purposes of making the objects and embodiments of the present application more apparent, an exemplary embodiment of the present application will be described in detail below with reference to the accompanying drawings in which exemplary embodiments of the present application are illustrated, it being apparent that the exemplary embodiments described are only some, but not all, of the embodiments of the present application.
It should be noted that the brief description of the terminology in the present application is for the purpose of facilitating understanding of the embodiments described below only and is not intended to limit the embodiments of the present application. Unless otherwise indicated, these terms should be construed in their ordinary and customary meaning.
The terms first, second, third and the like in the description and in the claims and in the above-described figures are used for distinguishing between similar or similar objects or entities and not necessarily for describing a particular sequential or chronological order, unless otherwise indicated. It is to be understood that the terms so used are interchangeable under appropriate circumstances.
The terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a product or apparatus that comprises a list of elements is not necessarily limited to all elements explicitly listed, but may include other elements not expressly listed or inherent to such product or apparatus.
The term "module" refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware or/and software code that is capable of performing the function associated with that element.
Fig. 1 is a schematic diagram of a usage scenario of a display device according to an embodiment. As shown in fig. 1, a user can control a plurality of secondary display devices 200 by operating the primary display device 100 to enable connection of a plurality of electronic devices 300 with the internet. The electronic device 300 is a device to be connected to a network, and the device to be connected to the network is a device that is not connected to the network. The equipment to be distributed can be any one or more of washing machines, kitchen appliances, air conditioners, refrigerators, sound equipment, game machines, video cameras, game machines and the like. It should be noted that, the electronic device is not limited to the above device, and may be set according to the user's own set so as to connect the device to be configured to the internet.
In some embodiments, the primary display device 100 and the secondary display device 200 are both display devices, and the display devices include any one of a smart television, a smart gateway, a magic square screen, a mobile phone, and the like. For convenience of the following description, a display device directly operated by a user is set as a main display device, which is called a main device. A display device that the user does not directly operate, that is, other display devices than the main device, is set as an auxiliary display device, which is called an auxiliary device.
In some embodiments, the communicator establishes a communication connection with at least one secondary device and at least one network device to be provisioned; the auxiliary equipment is used for executing a network distribution task for the network equipment to be distributed, and the network distribution task is used for connecting the network equipment to be distributed with the wireless local area network. The communication connection mode is wire transmission connection, wireless receiving and transmitting module connection, bluetooth connection, 3G/4G connection, WIFI connection and the like.
In some embodiments, the user may implement control of the display device through a control device, such as a remote control, where the communication between the remote control and the display device includes infrared protocol communication or bluetooth protocol communication, and other short-range communication modes, etc., and control the display device through wireless or other wired modes. The wireless mode can be direct connection or non-direct connection, and can be routed or not routed. The user can control the display device by inputting user instructions through keys on the remote control, voice input, control panel input, etc. Such as: the user can input corresponding control instructions through volume up-down keys, channel control keys, up/down/left/right moving keys, voice input keys, menu keys, on-off keys and the like on the remote controller, so that the function of controlling the display device is realized.
In some embodiments, the user may also implement control of the display device through a smart device, for example, which may include any of a mobile terminal, a tablet, a computer, a notebook, an AR/VR device, a stylus, and the like.
In some embodiments, the smart device may also be used to control applications running on the display device, or the application running on the smart device may be used to control the display device. The application program, by configuration, can provide various controls to the user in an intuitive User Interface (UI) on a screen associated with the smart device.
In some embodiments, data is communicated between the primary display device 100, the secondary display device 200, and the electronic device 300.
In some embodiments, the display device may further perform control in a manner other than the control device and the intelligent device, for example, the module configured inside the display device for obtaining the voice command may directly receive the voice command control of the user, or the voice command control of the user may also be received through the voice control device set outside the display device.
In some embodiments, the display device is also in data communication with the server 400. The display device may be permitted to make communication connections via a Local Area Network (LAN), a Wireless Local Area Network (WLAN), and other networks. The server 400 may provide various content and interactions to a display device. The server 400 may be a cluster, or may be multiple clusters, and may include one or more types of servers.
In some embodiments, software steps performed by one step execution body may migrate on demand to be performed on another step execution body in data communication therewith. For example, software steps executed by the server may migrate to be executed on demand on a display device in data communication therewith, and vice versa.
Fig. 2 is a block diagram schematically showing a configuration of a control device according to an exemplary embodiment. As shown in fig. 2, the control device includes a controller 110, a communication interface 130, a user input/output interface 140, a memory, and a power supply. The control means may receive an input operation instruction of the user and convert the operation instruction into an instruction recognizable and responsive to the display device 200, which may act as an interaction between the user and the display device 200.
In some embodiments, the communication interface 130 is configured to communicate with the outside, including at least one of a WIFI chip, a bluetooth module, NFC, or an alternative module.
In some embodiments, the user input/output interface 140 includes at least one of a microphone, a touchpad, a sensor, keys, or an alternative module.
Fig. 3 shows a hardware configuration block diagram of a display device in accordance with an exemplary embodiment.
In some embodiments, the display apparatus includes at least one of a modem 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, a user interface.
In some embodiments the controller comprises a central processor, a video processor, an audio processor, a graphics processor, RAM, ROM, a first interface for input/output to an nth interface.
In some embodiments, the display 260 includes a display screen component for presenting a picture, and a driving component for driving an image display, for receiving an image signal from the controller output, for displaying video content, image content, and components of a menu manipulation interface, and a user manipulation UI interface, etc.
In some embodiments, the display 260 may be at least one of a liquid crystal display, an OLED display, and a projection display, and may also be a projection device and a projection screen.
In some embodiments, the modem 210 receives broadcast television signals via wired or wireless reception and demodulates audio-video signals, such as EPG data signals, from a plurality of wireless or wired broadcast television signals.
In some embodiments, communicator 220 is a component for communicating with external devices or servers according to various communication protocol types. For example: the communicator may include at least one of a Wifi module, a bluetooth module, a wired ethernet module, or other network communication protocol chip or a near field communication protocol chip, and an infrared receiver. The display apparatus 200 may establish transmission and reception of control signals and data signals with the control device or the server 400 through the communicator 220.
In some embodiments, the detector 230 is used to collect signals of the external environment or interaction with the outside. For example, detector 230 includes a light receiver, a sensor for capturing the intensity of ambient light; either the detector 230 comprises an image collector, such as a camera, which may be used to collect external environmental scenes, user attributes or user interaction gestures, or the detector 230 comprises a sound collector, such as a microphone or the like, for receiving external sounds.
In some embodiments, the external device interface 240 may include, but is not limited to, the following: high Definition Multimedia Interface (HDMI), analog or data high definition component input interface (component), composite video input interface (CVBS), USB input interface (USB), RGB port, etc. The input/output interface may be a composite input/output interface formed by a plurality of interfaces.
In some embodiments, the controller 250 and the modem 210 may be located in separate devices, i.e., the modem 210 may also be located in an external device to the main device in which the controller 250 is located, such as an external set-top box or the like.
In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored on the memory. The controller 250 controls the overall operation of the display apparatus 200. For example: in response to receiving a user command to select a UI object to be displayed on the display 260, the controller 250 may perform an operation related to the object selected by the user command.
In some embodiments, the object may be any one of selectable objects, such as a hyperlink, an icon, or other operable control. The operations related to the selected object are: displaying an operation of connecting to a hyperlink page, a document, an image, or the like, or executing an operation of a program corresponding to the icon.
In some embodiments the controller includes at least one of a central processing unit (Central Processing Unit, CPU), a video processor, an audio processor, a graphics processor (Graphics Processing Unit, GPU), RAM Random Access Memory, RAM), ROM (Read-Only Memory, ROM), first to nth interfaces for input/output, a communication Bus (Bus), and the like.
A CPU processor. The system is used for executing the operating system and camera application instructions stored in the memory and executing various camera applications, data and contents according to various interaction instructions received from the outside so as to finally display and play various audio and video contents. The CPU processor may include a plurality of processors. Such as one main processor and one or more sub-processors.
In some embodiments, a graphics processor is used to generate various graphical objects, such as: at least one of icons, operation menus, user input instruction display graphics, and the like. The graphic processor comprises an arithmetic unit, which is used for receiving various interactive instructions input by a user to operate and displaying various objects according to display attributes; the device also comprises a renderer for rendering various objects obtained based on the arithmetic unit, wherein the rendered objects are used for being displayed on a display.
In some embodiments, the video processor is configured to receive an external video signal, and perform at least one of decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, image synthesis, and other video processing according to a standard codec protocol of an input signal, so as to obtain a signal that is directly displayable or played on a display device.
In some embodiments, the video processor includes at least one of a demultiplexing module, a video decoding module, an image compositing module, a frame rate conversion module, a display formatting module, and the like. The demultiplexing module is used for demultiplexing the input audio and video data stream. And the video decoding module is used for processing the demultiplexed video signal, including decoding, scaling and the like. And an image synthesis module, such as an image synthesizer, for performing superposition mixing processing on the graphic generator and the video image after the scaling processing according to the GUI signal input by the user or generated by the graphic generator, so as to generate an image signal for display. And the frame rate conversion module is used for converting the frame rate of the input video. And the display formatting module is used for converting the received frame rate into a video output signal and changing the video output signal to be in accordance with a display format, such as outputting RGB data signals.
In some embodiments, the audio processor is configured to receive an external audio signal, decompress and decode according to a standard codec protocol of an input signal, and at least one of noise reduction, digital-to-analog conversion, and amplification, to obtain a sound signal that can be played in the speaker.
In some embodiments, a user may input a user command through a Graphical User Interface (GUI) displayed on the display 260, and the user input interface receives the user input command through the Graphical User Interface (GUI). Or the user may input the user command by inputting a specific sound or gesture, the user input interface recognizes the sound or gesture through the sensor, and receives the user input command.
In some embodiments, a "user interface" is a media interface for interaction and exchange of information between a camera application or operating system and a user that enables conversion between an internal form of information and a form acceptable to the user. A commonly used presentation form of a user interface is a graphical user interface (Graphic User Interface, GUI), which refers to a graphically displayed user interface that is related to computer operations. It may be an interface element such as an icon, a window, a control, etc. displayed in a display screen of the electronic device, where the control may include at least one of a visual interface element such as an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, a Widget, etc.
In some embodiments, the user interface 280 is an interface (e.g., physical keys on a display device body, or the like) that may be used to receive control inputs.
In some embodiments, a system of display devices may include a Kernel (Kernel), a command parser (shell), a file system, and a camera application. The kernel, shell, and file system together form the basic operating system architecture that allows users to manage files, run programs, and use the system. After power-up, the kernel is started, the kernel space is activated, hardware is abstracted, hardware parameters are initialized, virtual memory, a scheduler, signal and inter-process communication (IPC) are operated and maintained. After the kernel is started, shell and user camera application are loaded. The camera application is compiled into machine code after start-up, forming a process.
Referring to fig. 4, in some embodiments, the system is divided into four layers, from top to bottom, a camera application (Applications) layer (simply "application layer"), a camera application framework (Application Framework) layer (simply "framework layer"), a An Zhuoyun line (Android runtime) and a system library layer (simply "system runtime layer"), and a kernel layer, respectively.
In some embodiments, at least one camera application is running in the camera application layer, where the camera application may be a Window (Window) program, a system setup program, or a clock program, etc. of the operating system; or may be a camera application developed by a third party developer. In particular implementations, the camera application packages in the camera application layer are not limited to the above examples.
The framework layer provides an application programming interface (application programming interface, API) and programming framework for camera applications of the camera application layer. The camera application framework layer includes some predefined functions. The camera application framework layer corresponds to a processing center that decides to let the camera application in the application layer act. The camera application can access the resources in the system and acquire the services of the system in the execution through the API interface.
As shown in fig. 4, the camera application framework layer in the embodiment of the present application includes a manager (Managers), a Content Provider (Content Provider), and the like, where the manager includes at least one of the following modules: an activity manager (ACTIVITY MANAGER) is used to interact with all activities running in the system; a Location Manager (Location Manager) is used to provide system services or applications with access to system Location services; a file package manager (PACKAGE MANAGER) for retrieving various information about camera application packages currently installed on the device; a notification manager (Notification Manager) for controlling the display and clearing of notification messages; a Window Manager (Window Manager) is used to manage icons, windows, toolbars, wallpaper, and desktop components on the user interface.
In some embodiments, the activity manager is used to manage the lifecycle of the individual camera applications and the usual navigation rollback functions, such as controlling the exit, opening, fallback, etc. of the camera applications. The window manager is used for managing all window programs, such as obtaining the size of the display screen, judging whether a status bar exists or not, locking the screen, intercepting the screen, controlling the change of the display window (for example, reducing the display window to display, dithering display, distorting display, etc.), etc.
In some embodiments, the system runtime layer provides support for the upper layer, the framework layer, and when the framework layer is in use, the android operating system runs the C/C++ libraries contained in the system runtime layer to implement the functions to be implemented by the framework layer.
In some embodiments, the kernel layer is a layer between hardware and software. As shown in fig. 4, the kernel layer contains at least one of the following drivers: audio drive, display drive, bluetooth drive, camera drive, WIFI drive, USB drive, HDMI drive, sensor drive (e.g., fingerprint sensor, temperature sensor, pressure sensor, etc.), power drive, etc.
The display device can have a touch interaction function, and a user can operate the host only by lightly touching the display with fingers, so that keyboard, mouse and remote controller operations are eliminated, and man-machine interaction is more straightforward. Based on the display device, the touch control component can be added to enable the display device to support a touch control interaction function. In general, the touch assembly may together form a touch screen with the display. On the touch screen, the user can input different control instructions through touch operation. In order to realize the different touch actions, the touch control component can generate different electric signals when the user inputs the different touch actions and send the generated electric signals to the controller. The controller may perform feature extraction on the received electrical signal to determine a control function to be performed by the user based on the extracted features.
For example, when a user enters a click touch action at any program icon location in the application program interface, the touch component will sense the touch action and thereby generate an electrical signal. After the controller receives the electric signal, the duration of the level corresponding to the touch action in the electric signal can be judged, and when the duration is smaller than a preset time threshold, the click touch instruction input by the user is recognized. The controller then extracts the location features generated by the electrical signals to determine the touch location. When the touch position is within the application icon display range, it is determined that a click touch instruction is input by the user at the application icon position. Accordingly, the click touch instruction is used for executing the function of running the corresponding application program in the current scene, so that the controller can start to run the corresponding application program.
For another example, when the user inputs a sliding motion in the media presentation page, the touch assembly also sends the sensed electrical signal to the controller. The controller judges the duration time of the signal corresponding to the touch action in the electric signal. When the duration time is determined to be longer than the preset time threshold value, the position change condition generated by the signals is judged, and obviously, the generation position of the signals changes for the interactive touch action, so that the user is determined to input a sliding touch instruction. The controller judges the sliding direction of the sliding touch instruction according to the change condition of the signal generation position, and controls the page turning of the display picture in the media information display page so as to display more media information options. Further, the controller may extract features such as a sliding speed and a sliding distance of the sliding touch instruction, and perform a picture control of turning pages according to the extracted features, so as to achieve a following effect. Similarly, for touch control instructions such as double clicking and long pressing, the controller can execute corresponding control functions according to preset interaction rules after determining the type of the touch control instruction through extracting different characteristics and judging the characteristics. In some embodiments, the touch assembly also supports multi-touch, such that a user may enter touch actions on the touch screen via multiple fingers, e.g., multi-finger clicks, multi-finger long presses, multi-finger swipes, etc.
In some embodiments, to facilitate control of multiple devices to be networked, it is often necessary to network each device before use to enable the device to access a wireless lan used by the user. The network configuration refers to a process of configuring a device so that the device accesses a network. In an exemplary smart home scenario, a plurality of devices to be configured (such as a lighting system, a curtain, an air conditioner, a security system, a smart television, etc.) are disposed in a user home scenario. And the user can carry out network distribution on other network equipment to be distributed by adopting the network-distributed equipment. For example, a user can click a quick network distribution control on a touch screen of the main device to enter a scanning detail page, so as to control a plurality of auxiliary devices to execute corresponding network distribution tasks on a plurality of devices to be distributed, and therefore device network distribution is achieved. It should be noted that, the user may also input the selection operation of the quick network allocation control in other manners, so as to trigger entering the scanning detail page. Control proceeds to scan the details page, for example, using a voice control function or a search function.
In some embodiments, multiple applications may be installed in a display device. FIG. 5 illustrates a user interface in a display in some embodiments. The user interface displays all applications installed by the device, including calendars, clocks, settings, quick network deployment, photo applications, and video applications. The user may select one of the applications and open it to implement the functionality of that application. The application installed may be a system application or a third party application.
In some embodiments, the user may click on a "quick wire" control in the user interface, triggering the display of the scan start page. FIG. 6 illustrates a schematic diagram of a scan start page in some embodiments. The method specifically comprises the steps that a user selects and clicks a corresponding scanning start page displayed after a quick network allocation control in a user interface. As shown in fig. 6, the scan start page includes a distribution network identifier 610, a distribution network hint control 620, and a scan control 630. The distribution network identifier 610 is used to prompt the user that a fast distribution network mode has been entered. The network allocation prompt control 620 is configured to prompt a user to determine whether the network equipment to be allocated is in a network allocation state, so as to perform a network allocation task on the network equipment to be allocated successfully. The scan control 630 is used to characterize the state of the current device currently in the scan of surrounding devices to be networked.
In some embodiments, a communicator in the primary device establishes a communication connection with at least one secondary device and at least one device to be provisioned; the auxiliary equipment is used for executing a network distribution task for the network equipment to be distributed, and the network distribution task is used for connecting the network equipment to be distributed with the wireless local area network. The communicator is connected with a Bluetooth module, and the Bluetooth module is configured to establish Bluetooth communication connection with at least one auxiliary device and at least one network device to be distributed respectively according to instructions of the controller. Likewise, the communicator in the auxiliary device establishes a communication connection with at least one main device and at least one network device to be configured. The communicator is connected with a Bluetooth module, and the Bluetooth module is configured to establish Bluetooth communication connection with at least one main device and at least one network device to be distributed respectively according to the instruction of the controller so as to facilitate the subsequent completion of network distribution tasks of the network device to be distributed.
Fig. 18 is a schematic diagram illustrating a first interaction process between a primary device and a secondary device in some embodiments, where, as shown in fig. 18, in response to a user input selecting an operation of a fast network allocation control, a controller sends a scan request to the secondary device, where the scan request is used to request the secondary device to scan surrounding network to be allocated devices. It should be noted that, the auxiliary device and the main device are connected in the same lan, and the communication in the lan may use any lan communication protocol according to the self-setting.
And receiving a first equipment set returned by the auxiliary equipment, wherein the first equipment set comprises equipment identifiers corresponding to the equipment to be distributed, scanned by the auxiliary equipment. For example, the scanned first device set includes the network device 1 to be distributed, the network device 2 to be distributed, the network device 3 to be distributed, the network device 4 to be distributed, the network device 5 to be distributed, and the network device 6 to be distributed.
In some embodiments, in response to a selection operation of the quick network allocation control input, the bluetooth module is controlled to scan surrounding network to be allocated devices to obtain a second device set, where the second device set includes device identifiers corresponding to the network to be allocated devices scanned by the bluetooth module. And the master device stores the first device set and the second device set. And deleting repeated equipment identifiers in the first equipment set and the second equipment set after the scanning is completed to generate equipment identifiers to be distributed, so that the equipment identifiers to be distributed are displayed in a scanning detail page. For example, the scanned second device set includes the network device 1 to be configured, the network device 2 to be configured, the network device 3 to be configured, the network device 4 to be configured, and the network device 6 to be configured, and the repeated device identifiers in the two sets, such as the network device 1 to be configured, the network device 2 to be configured, the network device 3 to be configured, the network device 4 to be configured, and the network device 6 to be configured, are deleted and one item is reserved, so that the network device identifier to be configured is the network device 1 to be configured, the network device 2 to be configured, the network device 3 to be configured, the network device 4 to be configured, the network device 5 to be configured, and the network device 6 to be configured. The equipment corresponding to the equipment identifier of the network to be distributed is the network equipment to be distributed. And the display is controlled to display the equipment identification to be matched into the scanning detail page.
In the specific implementation, before the scanning detail page is displayed, the method further comprises the step of responding to the selection operation of the input ground on the rapid network allocation control, and the Bluetooth module is controlled to scan surrounding network equipment to be allocated to obtain a second equipment set, wherein the second equipment set comprises equipment identifiers corresponding to the network equipment to be allocated, which is scanned by the Bluetooth module. Deleting repeated equipment identifiers in the first equipment set and the second equipment set to generate equipment identifiers to be distributed, so that the equipment identifiers to be distributed are displayed in the scanning detail page.
In some embodiments, FIG. 7 shows a schematic diagram of some embodiments scanning detail pages. The method specifically comprises the step of displaying a scanning detail page after the user scans surrounding network equipment to be distributed. As shown in fig. 7, the scan details page includes an immediate network control 710, a prompt add device control 720, an add device control 730, and a plurality of device identification controls 740. The prompt adding device control 720 is configured to prompt a user whether to immediately add the scanned device to be configured to perform subsequent network configuration. The adding device control 730 is configured to select a to-be-configured network device corresponding to the multiple device identification controls 740 to implement adding of the to-be-configured network device. When the user completes the addition of the network equipment to be distributed, the user input is received to perform the operation of selecting the network control 710, and the auxiliary equipment is controlled to perform the network distribution task on the added network equipment to be distributed.
In the specific implementation, in response to the selected operation of the input ground on the rapid network allocation control, a scanning request is sent to the auxiliary equipment, wherein the scanning request is used for requesting the auxiliary equipment to scan the surrounding equipment to be allocated. And receiving a first equipment set returned by the auxiliary equipment, wherein the first equipment set comprises equipment identifiers corresponding to the equipment to be distributed, scanned by the auxiliary equipment. And displaying a scanning detail page, wherein the scanning detail page comprises a control for displaying the equipment identifier and an immediate network distribution control, and the immediate network distribution control is used for executing the network distribution task of the equipment to be distributed corresponding to the equipment identifier after receiving the selected operation of the user.
In some embodiments, prior to displaying the scan details page, further comprising: the controller saves the returned first device set and second device set in the form of a data structure, such as an array. The first device set and the second device set further comprise Bluetooth connection strength, device type and location information corresponding to the to-be-distributed network device. And the array stores the first equipment set and the second equipment set, then carries out de-duplication processing, removes repeated information in the two sets and retains one item of information to generate equipment information to be distributed. For convenience of description below, the array storing the information of the network distribution equipment is referred to as an array of the network distribution equipment, and because the information of the network distribution equipment needs to be searched for multiple times in the network distribution process, the array of the network distribution equipment can quickly search the information of the network distribution equipment according to the index, and the complexity of searching time is O (1). The index is a specific position of the network equipment to be distributed on the user interface, and the network equipment array to be distributed is also used for processing subsequent ordered sequence data.
In some embodiments, in a specific implementation of the data index, further comprising: and storing the equipment information of the network to be allocated by adopting a combination mode of the hash table and the double-linked list, adding a double-linked list on the basis of the hash table, wherein a key value node in the double-linked list is used for storing key values, and a link node of the hash table is used for storing value data. And establishing a bidirectional connection relation between each key value node and a corresponding link node based on the k-v mapping relation, wherein key values and value data can be independently stored, and the independent storage of the key values and the data is adopted under the condition that efficient traversal is ensured by utilizing a bidirectional linked list preferentially, so that the memory is saved, and the applicable scene of the hash table is effectively expanded.
In some embodiments, the method further includes using a hash table of the network device to be configured to store information of which auxiliary devices scanned the auxiliary devices corresponding to the same network device to be configured. Referring to table 1, key value is a device identifier of the network to be allocated, such as a refrigerator, and value data is a doubly linked list of auxiliary devices. It should be noted that the value data may also be an array of devices to be configured. The application is described below by taking a doubly linked list with value data as auxiliary equipment as an example.
Key key value | Value data |
To-be-allocated network equipment identifier 1 | Auxiliary equipment bidirectional linked list |
To-be-allocated network equipment identifier 2 | Auxiliary equipment bidirectional linked list |
To-be-allocated network equipment identifier 3 | Auxiliary equipment bidirectional linked list |
To-be-allocated network equipment identifier 4 | Auxiliary equipment bidirectional linked list |
To-be-allocated network equipment identifier 5 | Auxiliary equipment bidirectional linked list |
To-be-allocated network equipment identifier 6 | Auxiliary equipment bidirectional linked list |
TABLE 1
In some embodiments, fig. 8 shows a schematic diagram of a bidirectional linked list of auxiliary devices in some embodiments, where the bidirectional linked list facilitates data insertion, and when unordered data is ordered, no data movement is required, so that time complexity caused by frequent ordering is effectively reduced. When the hash table of the network equipment to be distributed is used, a certain network equipment to be distributed can be quickly queried according to the key value of the hash table of the network equipment to be distributed, corresponding value data, namely a corresponding auxiliary equipment doubly-linked list, is obtained, and the searching time complexity is O (1). As shown in the figure, the secondary device doubly-linked list includes a plurality of secondary device information, such as secondary device a information, secondary device B information, secondary device C information, secondary device D information, and the like. The link nodes in the bidirectional linked list are a plurality of pieces of auxiliary equipment information comprising Bluetooth connection strength.
In some embodiments, the method further includes, when the plurality of auxiliary devices join in marriage the network for a plurality of network devices to be joined in marriage, specifically which auxiliary device joins in marriage the network for which network device to be joined in marriage, storing corresponding network device information to be joined in marriage when each auxiliary device joins in a network for the specified network device to be joined in marriage by adopting an auxiliary device hash table. Referring to table 2, the key value is an auxiliary device identifier, such as auxiliary device a, and the value data is an array of devices to be distributed.
Key key value | Value data |
Auxiliary equipment A | Network equipment array to be distributed |
Auxiliary equipment B | Network equipment array to be distributed |
Auxiliary equipment C | Network equipment array to be distributed |
Auxiliary equipment D | Network equipment array to be distributed |
Auxiliary equipment E | Network equipment array to be distributed |
Auxiliary equipment F | Network equipment array to be distributed |
TABLE 2
In specific implementation, the information of the equipment to be distributed comprises Bluetooth connection strength corresponding to the equipment identifier; and ordering the equipment identifiers to be distributed according to the Bluetooth connection strength so as to distribute the equipment to be distributed corresponding to the equipment identifiers to be distributed to the auxiliary equipment to execute the network distribution task.
In the example, the auxiliary device a in the network device information to be distributed received by the controller scans N network devices to be distributed, and stores the network device information to be distributed corresponding to the N network devices to be distributed into the network device array to be distributed. The processing of the first network equipment to be distributed, such as a refrigerator, comprises the following steps: and searching whether a hash table of the network equipment to be distributed, which takes the refrigerator as the network equipment to be distributed and is identified as a key value, exists. And under the condition that the hash table of the equipment to be distributed does not exist, creating a key value as a refrigerator of the equipment to be distributed, and using value data as a secondary equipment double-linked list. The link node data in the bidirectional linked list comprises auxiliary equipment information corresponding to the Bluetooth connection strength auxiliary equipment A.
And under the condition that the hash table of the network equipment to be distributed exists, inquiring the hash table of the network equipment to be distributed by taking the refrigerator as the identifier of the network equipment to be distributed, and acquiring corresponding value data, namely the auxiliary equipment bidirectional linked list. And searching for an auxiliary device E with the first Bluetooth connection strength smaller than that of the auxiliary device A and the refrigerator from the first link node of the auxiliary device bidirectional link table, and completing the sorting of the auxiliary device A information corresponding to the refrigerator before inserting the information corresponding to the auxiliary device A into the searched link node. For example: the Bluetooth connection strength of the auxiliary equipment A and the refrigerator is 5, and the Bluetooth connection strength of the auxiliary equipment E and the refrigerator is 4 from a certain link node in the auxiliary equipment doubly-linked list, so that the equipment information of the auxiliary equipment A is inserted into the position before the found link node, namely the auxiliary equipment information corresponding to the auxiliary equipment E with the Bluetooth connection strength.
In some embodiments, the above processing is sequentially performed on the 2 nd to nth devices to be configured. And then, after all the auxiliary equipment to be distributed are scanned one by one, forming a key value as the equipment identifier of the to-be-distributed network, wherein the value data is a doubly linked list of the auxiliary equipment information corresponding to the scanned equipment identifier of the to-be-distributed network, and the doubly linked list is ordered according to the descending order of the Bluetooth connection strength. It should be noted that the sorting is not limited to descending sorting, and the sorting rule can be set according to the actual situation.
The auxiliary equipment information in the bidirectional linked list is ordered in descending order according to the Bluetooth connection strength, and then the appointed network to be allocated can be allocated to the auxiliary equipment with high Bluetooth connection strength in the corresponding connection for network allocation in the network allocation process. For example, the distance from the auxiliary equipment A to the refrigerator is shorter than the distance from the auxiliary equipment B to the refrigerator, and for the refrigerator, the Bluetooth connection strength of the auxiliary equipment A is larger, and in the network distribution process, the auxiliary equipment A with the large Bluetooth connection strength can be preferred to distribute the network to the refrigerator. And then, auxiliary equipment which is more matched or has higher network allocation success rate can be selected to execute network allocation tasks on the appointed network equipment to be allocated. If the network equipment to be distributed obtained by scanning is distributed in real time sequentially after the sorting processing is not performed, the auxiliary equipment A with high Bluetooth connection strength cannot be controlled to distribute the network to the refrigerator, so that the network distribution failure rate is increased.
In some embodiments, ordering the network device identifiers to be allocated according to the size of the bluetooth connection strength to allocate the network device to be allocated corresponding to the network device identifiers to be allocated to the auxiliary device, including: and acquiring the number of all the network equipment to be distributed and the number of all the auxiliary equipment, and calculating a preset threshold according to the number of all the network equipment to be distributed and the number of all the auxiliary equipment. And allocating the equipment to be allocated to the auxiliary equipment designated in the ordered list by using a preset threshold value, so that the auxiliary equipment executes the allocation task for the designated equipment to be allocated.
For example, the number of all the network devices to be distributed and the number of all the auxiliary devices are obtained, and the preset threshold value of each auxiliary device which should be distributed in principle is calculated according to the principle of average distributionPreset threshold valueThe calculation is performed according to the following formula:
Wherein S 1 is the number of all the devices to be distributed, and S 2 is the number of all the auxiliary devices. For example, if the number of all network devices to be allocated is 20 and the number of all auxiliary devices is 5, a threshold is preset For 4, i.e. in principle 4 devices to be distributed should be allocated to 1 auxiliary device for the distribution task. For another example, the number of all network devices to be allocated is 23, and the number of all auxiliary devices is 5, and then the preset threshold value X is 5 by rounding up, that is, in principle, 1 auxiliary device should allocate 5 network devices to be allocated to perform network allocation tasks.
In some embodiments, the ordered list is generated after the network equipment identification to be allocated is ordered according to the size of the Bluetooth connection strength, and the controller controls the ordered list to be displayed on a user interface presented by the display. So that the network equipment to be distributed corresponding to the network equipment to be distributed identifier can be distributed to the auxiliary equipment to execute the network distribution task. Because the front equipment to be distributed in the ordered list is displayed on the user interface presented by the priority display, the distribution success rate of the front equipment to be distributed should be preferentially ensured, and then the distribution processing is performed according to the index sequence in the ordered list. That is, the designated devices to be distributed to the auxiliary devices for distribution according to the front-to-back sequence in the ordered list.
In some embodiments, allocating the network device to be allocated to the auxiliary device specified in the ordered list by using the preset threshold includes: searching auxiliary equipment with the maximum Bluetooth connection strength in the connection with the designated equipment to be distributed, and obtaining the quantity of all the equipment to be distributed, which are connected with the auxiliary equipment with the maximum Bluetooth connection strength, for distribution; and judging the number of the network equipment to be distributed and the preset threshold value, and distributing the appointed network equipment to be distributed to the auxiliary equipment with the maximum Bluetooth connection strength under the condition that the number of the network equipment to be distributed is smaller than the preset threshold value, so that the auxiliary equipment with the maximum Bluetooth connection strength executes the network distribution task for the appointed network equipment to be distributed.
The first network device to be distributed, such as an "air conditioner", is obtained, and the "air conditioner" is the designated network device to be distributed. And searching a corresponding auxiliary equipment doubly-linked list in the value data from the air-conditioning hash table according to the to-be-allocated network equipment identifier air-conditioning as a key value. And acquiring a first auxiliary equipment link node M in the auxiliary equipment doubly-linked list, and searching a corresponding equipment array to be allocated in the value data from a hash table of the auxiliary equipment M by taking auxiliary equipment information corresponding to the auxiliary equipment link node M, such as the auxiliary equipment M, as a key value. And then, checking the total number of data in the equipment array to be distributed, namely checking the distribution network number of the auxiliary equipment M, comparing the distribution network number of the auxiliary equipment M with a preset threshold value, and adding an air conditioner into the equipment array to be distributed under the condition that the distribution network number of the auxiliary equipment M is smaller than the preset threshold value, so as to explain that the air conditioner is distributed to the auxiliary equipment M corresponding to the auxiliary equipment link node M for distribution. And finally, deleting the auxiliary equipment link node M from the auxiliary equipment doubly linked list.
And under the condition that the value is larger than a preset threshold value, acquiring a second auxiliary equipment link node T, and searching a corresponding equipment array to be allocated in the value data from a hash table of the auxiliary equipment T by taking auxiliary equipment information corresponding to the auxiliary equipment link node T, such as the auxiliary equipment T, as a key value. And then, checking the total number of data in the equipment array of the network to be distributed, namely checking the distribution network number of the auxiliary equipment T, comparing the distribution network number of the auxiliary equipment T with a preset threshold value, and checking whether the Bluetooth connection strength of the equipment 'air conditioner' of the network to be distributed when connected with the auxiliary equipment T is lower than the preset Bluetooth connection strength or not under the condition that the distribution network number of the auxiliary equipment T is smaller than the preset threshold value, wherein the preset Bluetooth connection strength is the minimum value for realizing successful Bluetooth connection strength of the distribution network. If the number of the auxiliary equipment T is smaller than a preset threshold value and the Bluetooth connection strength is higher than the preset Bluetooth connection strength, adding an air conditioner into an equipment array to be distributed, and indicating that the air conditioner is distributed to the auxiliary equipment T corresponding to the auxiliary equipment link node T for distribution. And finally deleting the auxiliary equipment link node T from the auxiliary equipment doubly linked list.
If the Bluetooth connection strength of the auxiliary equipment T is lower than the preset Bluetooth connection strength, adding an air conditioner into the network equipment array to be allocated corresponding to the auxiliary equipment M of the front link node. Namely, the air conditioner is distributed to the auxiliary equipment M corresponding to the auxiliary equipment link node M to carry out network distribution, and meanwhile, the auxiliary equipment link node M is deleted from the auxiliary equipment doubly-linked list. It should be noted that, because the bidirectional linked list of the auxiliary device is a bidirectional structure, the front link node can be obtained quickly. Even if the number of the distribution networks of the auxiliary equipment M is larger than a preset threshold value, the auxiliary equipment T with the Bluetooth connection strength lower than the preset Bluetooth connection strength is distributed, and the auxiliary equipment with the assigned to-be-distributed network equipment and the high distribution network success rate is preferably distributed. Although a certain distribution time is prolonged through the distribution, the distribution success rate is improved. Further, in order to accelerate the network allocation speed of the auxiliary equipment, the auxiliary equipment is marked so as to send out a network allocation instruction to the marked auxiliary equipment preferentially when the network allocation task is executed subsequently, and the aim of saving network allocation time is achieved.
If the number of the network to be distributed is not smaller than the preset threshold, continuing to select the 3 rd-N auxiliary equipment link nodes, and distributing the appointed equipment to be distributed to the auxiliary equipment corresponding to the auxiliary equipment link nodes according to the selection principle consistent with the second auxiliary equipment link node T until the auxiliary equipment link nodes meeting the conditions are found, so that the follow-up network distribution is facilitated.
In some embodiments, establishing the bi-directional relationship between the key-value node and the link node further includes a delete operation: based on the searched key value node, the link node pointed by the key value node is read, the key value node and the link node can be deleted, and the corresponding storage space is released. Illustratively, since the "air conditioner" has been assigned to the auxiliary link node M, no subsequent use is required, and the auxiliary link node M is deleted from the auxiliary doubly linked list to save space.
In some embodiments, there may be a case that the secondary device link node meeting the condition cannot be found in the searching process, and when there is a case that the secondary device link node meeting the condition cannot be found, the method specifically proceeds as follows: when only one auxiliary equipment link node exists in the auxiliary equipment doubly-linked list corresponding to the designated to-be-distributed network equipment, and the total data number in the to-be-distributed network equipment array corresponding to the auxiliary equipment link node, namely the distribution network number of the auxiliary equipment exceeds a preset threshold, the designated to-be-distributed network equipment is distributed to the auxiliary equipment so as to enable the auxiliary equipment to perform overload distribution network work, and meanwhile, the auxiliary equipment link node in the auxiliary equipment doubly-linked list is deleted. Further, in order to accelerate the network allocation speed of the auxiliary equipment, the auxiliary equipment is marked so as to send out a network allocation instruction to the marked auxiliary equipment preferentially when the network allocation task is executed subsequently.
The method includes the steps of obtaining air conditioner of equipment to be distributed, and searching a corresponding auxiliary equipment doubly-linked list in value data from an air conditioner hash table according to key values of the equipment identification air conditioner to be distributed. If only one auxiliary equipment link node S exists in the auxiliary equipment doubly-linked list, searching a corresponding equipment array to be allocated in the value data from the 'auxiliary equipment S' hash table by taking auxiliary equipment information corresponding to the auxiliary equipment link node S, such as the auxiliary equipment S, as a key value. And then, checking the total number of data in the equipment array of the to-be-distributed network, namely checking the distribution network number of the auxiliary equipment S, comparing the distribution network number of the auxiliary equipment S with a preset threshold value, and adding an air conditioner into the equipment array of the to-be-distributed network under the condition that the distribution network number of the auxiliary equipment S is larger than the preset threshold value. Even if the number of distribution networks of the auxiliary equipment S exceeds a preset threshold, an air conditioner is required to be distributed to the auxiliary equipment S corresponding to the auxiliary equipment link node S for overload distribution network. And finally deleting the auxiliary equipment link node S and marking the auxiliary equipment S.
In some embodiments, fig. 9 shows a schematic diagram of a distribution network of some embodiments typically distributing devices to be distributed. Referring to fig. 9, all the network devices to be distributed are manually distributed one by one through the network device already distributed. The network distribution process is serial network distribution. Fig. 10 illustrates a schematic diagram of some embodiments for assigning a device of a network to be provisioned to a secondary device of a network. The method comprises the step of distributing all the equipment to be distributed to the corresponding auxiliary equipment distribution network one by one according to the method. As shown in the figure, the network device 1 to be distributed, the network device 3 to be distributed and the network device 4 to be distributed are distributed to the auxiliary device a according to the above distribution method. The network equipment 2 to be distributed, the network equipment 5 to be distributed and the network equipment 6 to be distributed are distributed to the auxiliary equipment B. The network equipment 7 to be distributed, the network equipment 8 to be distributed and the network equipment 9 to be distributed are allocated to the auxiliary equipment C, and the network equipment 10 to be distributed is allocated to the auxiliary equipment D. In the network distribution process, the time spent in the whole network distribution process is the network distribution time of the auxiliary equipment A, and the network distribution time of the auxiliary equipment A is longer than the network distribution time of the auxiliary equipment B, the auxiliary equipment C and the auxiliary equipment D. Because of the monopolizing of the Bluetooth module in the communicator, the auxiliary equipment A, the auxiliary equipment B, the auxiliary equipment C and the auxiliary equipment D are used for carrying out parallel network distribution for each network to be distributed one by one. Compared with the serial distribution network process, the parallel distribution network process has the advantages that the distribution network time spent in the parallel distribution network process is obviously reduced, the time for users to wait for the distribution network is reduced, and the user experience is improved.
In some embodiments, receiving a selection operation of a stereoscopic distribution control input by a user, and sending a distribution command to at least one auxiliary device, wherein the distribution command is used for enabling the auxiliary device to execute a distribution task on a designated device to be distributed; and receiving a distribution network response message returned by the auxiliary equipment, wherein the distribution network response message is used for representing whether the auxiliary equipment successfully distributes the network to the designated equipment to be distributed.
In some embodiments, after receiving a selection operation of the opposite network allocation control input by the user, a communicator in the host device may be connected to a wired network or may be connected to a wireless network, and when the host device is connected to the wired network, a wireless lan connection list interface is displayed in the user interface, where the wireless lan connection list interface is used to instruct the user to select a wireless lan connection. Meanwhile, the controller acquires the corresponding wireless local area network name and password when the user selects the wireless local area network connection.
Illustratively, when the user clicks the immediate distribution control 710 in the scan details page shown in fig. 7, the controller sends a distribution command to all the auxiliary devices, where the distribution command is used to cause the auxiliary devices to perform a distribution task on the designated to-be-distributed network device. And distributing the appointed equipment to be distributed to the auxiliary equipment distribution network based on the controller, and controlling the auxiliary equipment to perform network distribution work on the distributed appointed equipment to be distributed. And after the auxiliary equipment executes the network distribution task, returning a network distribution response message, wherein the network distribution response message is used for representing whether the auxiliary equipment successfully distributes the network to the designated network equipment to be distributed.
Fig. 11 illustrates a schematic diagram of the success of the network deployment of some embodiments. The method specifically comprises the step of returning a distribution network response message to a user interface of a distribution network success message after the auxiliary equipment executes the distribution network task. Referring to fig. 11, the distribution network response message is displayed at a preset location on the user interface. A prompt control 111 and a completion control 112 are arranged in a display interface of the network allocation response message, and the prompt control 111 is used for prompting a user that the network allocation of the to-be-allocated network equipment is successful. The user may need to close the network allocation response message after operating the completion control 112. Or the display mode of the distribution network response message can be that the distribution network response message automatically disappears after a threshold time (for example, 3 seconds). Thus, in other embodiments of the present application, the network allocation response message is not limited to the network allocation response message method, and the network allocation response message method includes, but is not limited to, the network allocation response message method may be in the form of a short message notification, a ring, or other forms such as vibration.
In some embodiments, in the process that the master device controls the auxiliary device to perform network distribution on the network device to be distributed, the method further includes a process that the network device to be distributed is bound with the master device end controller. And the controller sends a data request to the auxiliary equipment, wherein the data request is used for requesting to acquire equipment information of the equipment to be distributed. Receiving the equipment information to be allocated returned by the auxiliary equipment, and binding the equipment to be allocated according to the equipment information. It should be noted that, the network allocation response message may also be used to characterize whether the auxiliary device binds the network to be allocated successfully.
FIG. 12 is a schematic diagram of whether some embodiments fail to retry the distribution network. Specifically, after the auxiliary equipment executes the network allocation task, a network allocation response message is returned to a user interface of the network allocation failure message. Referring to fig. 12, the distribution network response message is displayed at a preset location on the user interface. The retry prompt control 121, the retry network allocation control 122 and the negation control 123 are arranged in the display interface of the network allocation response message, and the retry prompt control 121 is used for prompting the user that the network allocation failure equipment exists after all the network allocation equipment is allocated, and simultaneously prompting the user that the network allocation can be retried on the network allocation failure equipment. For convenience of the following description, the device that fails in network allocation after network allocation is referred to as a target network to be allocated device. The retry network control 122 is used to characterize that the user can select to retry the network for the target network device to be configured. Negative control 123 is used to characterize that the user can select other ways to network the target network device to be networked.
Fig. 13 illustrates a schematic diagram of some embodiments selecting other ways to network a target network device to be configured. Specifically, the user interface is displayed when the user clicks the negative control 123 in the interface shown in fig. 12. Referring to fig. 13, other modes of prompting control 131, selecting mode control 132 and completing control 133 are provided in the display interface, and the other modes of prompting control 131 are used for prompting the user to select multiple modes to perform network distribution on the target network equipment to be distributed. The user triggers the network distribution process corresponding to the selection mode through the selection operation of the selection mode control 132, so as to complete the network distribution task of the target network equipment to be distributed. The mode of selecting the distribution network can be terminal equipment hot spot distribution network, two-dimensional code distribution network, voice/camera distribution network and the like. If the user does not select other network distribution modes to distribute the network, the interface is closed after the completion control 133 is operated to finish the whole network distribution process.
Fig. 19 is a schematic diagram of a second interaction process between a main device and an auxiliary device in some embodiments, where, as shown in fig. 19, a retry network allocation instruction is sent to the auxiliary device, where the retry network allocation instruction is used to perform network allocation retry on a target network to be allocated device that fails in the last network allocation, where the retry network allocation control is received as input by a user; and receiving a retry network response message returned by the auxiliary equipment in response to the retry network allocation instruction, wherein the retry network response message is used for representing whether the controller successfully re-allocates the network to the appointed target network equipment to be allocated.
In some embodiments, after receiving a selection operation of the retry network control input by the user, a target to-be-configured network device list acquisition request is sent to the auxiliary device, where the target to-be-configured network device list acquisition request is used to request the auxiliary device to return to the target to-be-configured network device list. The target network equipment to be distributed list comprises equipment identifiers corresponding to a plurality of target network equipment to be distributed. And receiving a target network equipment to be distributed list returned by the auxiliary equipment so as to control the auxiliary equipment to perform network distribution retry on the target network equipment to be distributed in the target network equipment to be distributed list.
For example, referring to fig. 10, when the network to be distributed 3 and the network to be distributed 4 are network distribution failure devices after the first network distribution process is completed, the auxiliary device a returns a list including the network to be distributed 3 and the network to be distributed 4 as target network to be distributed devices to the main device. Similarly, the to-be-distributed network device 5 is a network distribution failure device, and the auxiliary device B returns the to-be-distributed network device 5 serving as a target to-be-distributed network device composition list to the main device. The equipment 10 to be distributed is equipment with distribution failure, and the auxiliary equipment D returns the equipment 10 to be distributed as a target equipment composition list to the main equipment
In some embodiments, after receiving the selection operation of the retry network control input by the user, each auxiliary device may also store the target network device to be configured list by itself, so that the subsequent retry network configuration process for the target network device to be configured is performed smoothly.
In some embodiments, the user triggers entry into the corresponding retry network procedure after selecting the retry network control 122 in the interface shown in fig. 12. And sending a network distribution instruction to the auxiliary equipment which executes the network distribution task for the target network equipment to be distributed to the last time according to the preset time interval, so that the auxiliary equipment executes the network distribution task for the target network equipment to be distributed again according to the network distribution instruction. The target equipment to be distributed is equipment which fails in the last network distribution. The auxiliary equipment is auxiliary equipment for executing network distribution tasks on the target network equipment to be distributed.
For example, the auxiliary device that performs the network allocation task on the target to-be-allocated network device at a time according to the preset time interval sends a network allocation instruction, such as auxiliary device a, auxiliary device B, and auxiliary device D. The auxiliary equipment responds to the network distribution instruction and distributes the network to the target network to be distributed equipment in the target network to be distributed equipment list. The auxiliary equipment A executes the network distribution task again by taking the network distribution equipment 3 to be distributed and the network distribution equipment 4 to be distributed which fail in the last network distribution as target network distribution equipment. And similarly, the auxiliary equipment B executes the network distribution task again by taking the network distribution equipment 5 to be distributed which fails in the last network distribution as the target network distribution equipment to be distributed. The auxiliary device D performs the network allocation task again on the network allocation waiting device 10 which fails in the last network allocation as the target network allocation waiting device.
In some embodiments, sending the network allocation instruction to the auxiliary device that performs the network allocation task on the target network equipment to be allocated last time according to the preset time interval includes: judging whether the target network equipment to be allocated is the last network equipment when the auxiliary equipment is allocated; and under the condition that the target network equipment to be distributed is the last network equipment to be distributed, determining whether only one target network equipment to be distributed exists, and if only one target network equipment to be distributed exists, sending a network distribution instruction to the auxiliary equipment after a preset time interval so as to enable the auxiliary equipment to execute the network distribution task again.
The method includes that in the process of sending a network allocation instruction to an auxiliary device which performs a network allocation task on a target device to be allocated with a network according to a preset time interval, judging whether the target device to be allocated with the network is the last network allocation device when the target device to be allocated with the network is allocated with the last auxiliary device; if the auxiliary device a performs the network distribution task again for the network device 3 to be distributed and the network device 4 to be distributed, the auxiliary device B performs the network distribution task again for the network device 5 to be distributed, and the auxiliary device D performs the network distribution task again for the network device 10 to be distributed, the network device 4 to be distributed is the last network distribution device when the auxiliary device a distributes the network last time, and the network device 10 to be distributed is the last network distribution device when the auxiliary device D distributes the network last time. Then, it is determined whether only one network distribution device exists at the last time of the auxiliary device network distribution, that is, whether the target network distribution device is to be distributed. The auxiliary device D only needs one network distribution device of the network distribution device 10, and then needs to send a network distribution command to the auxiliary device D after a preset time interval, so that the auxiliary device D executes the network distribution task again. It should be noted that the preset time interval may be set according to the actual situation. If one of the two conditions is not satisfied, no network allocation instruction is required to be sent to the auxiliary equipment at preset time intervals.
In some embodiments, after the auxiliary device executes the network allocation task on the target network equipment to be allocated again, if any one of the target network equipment to be allocated is successful in network allocation, the auxiliary device deletes the equipment identifier corresponding to the target network equipment to be allocated in the target network equipment list to be allocated. And returning the device identifiers corresponding to the other target network devices to be distributed, which fail to be distributed again, to the main device to form a new target network device list to be distributed so as to carry out subsequent network distribution work.
If the network is re-allocated to the target network equipment to be allocated immediately after the first whole network allocation process is completed, the network allocation is performed again to the target network equipment to be allocated according to a certain rule. However, when the network is configured again, the factors that cause the network failure may not be eliminated, and the network failure may be caused again by the same reason as the previous network failure, for example, the same of the time network and the same of the bluetooth connection. And further, a certain time interval is required to be ensured from the network allocation failure time last time of the retry network allocation time of the target network allocation equipment so as to improve the network allocation success rate of the target network allocation equipment.
In some embodiments, a retry network allocation instruction input by a user is received, where the retry network allocation instruction is used to perform network allocation retry on a target network equipment to be allocated that fails in the last network allocation. And responding to the retry network allocation instruction, and searching whether target auxiliary equipment meeting preset conditions exists or not, wherein the target auxiliary equipment is different from the auxiliary equipment which executes the network allocation task on the target network equipment to be allocated last time. And if the target auxiliary equipment exists, sending a network allocation instruction to the target auxiliary equipment so that the target auxiliary equipment executes a network allocation task for the target equipment to be allocated.
In some embodiments, after receiving the retry network allocation instruction input by the user, the auxiliary device performs a retry network allocation task on the target network equipment to be allocated. After the auxiliary equipment performs the retry network allocation task, if equipment with network allocation failure exists, the controller further searches whether target auxiliary equipment meeting preset conditions exists, and the target auxiliary equipment is different from the auxiliary equipment which performs the network allocation task on the target equipment to be allocated last time; and if the target auxiliary equipment exists, sending a network distribution instruction to the target auxiliary equipment so that the target auxiliary equipment can execute a network distribution task on the target equipment to be distributed.
In some embodiments, in the process of network reconfiguration, the master device first selects an auxiliary device that performs a network configuration task with the target network to be configured device to reconfigure the network again, and the auxiliary device may return a first retry network configuration response message after performing the network configuration task with the target network to be configured device. And under the condition that the returned first retry network allocation response message is a retry network allocation failure message, the main equipment searches for target auxiliary equipment which meets the preset condition, and the target auxiliary equipment is different from the auxiliary equipment which executes the network allocation task on the target network equipment to be allocated last time, and returns a second retry network allocation response message after the target auxiliary equipment executes the network allocation task on the target network equipment to be allocated. It should be noted that, in the network reconfiguration process, after the network reconfiguration is first performed, the auxiliary device may return the failed target network equipment information to be configured to the main device, and the main device directly performs the subsequent search for the target auxiliary device after receiving the target network equipment information to be configured.
For example, after the auxiliary device a performs the network allocation task on the network to be allocated device 3 and the network to be allocated device 4 again, the auxiliary device B performs the network allocation task on the network to be allocated device 5 again, and the auxiliary device D performs the network allocation task on the network to be allocated device 10 again, if the network to be allocated device 3 fails to allocate the network again, the target auxiliary device meeting the preset condition is searched, and the target auxiliary device is other auxiliary devices except for the auxiliary device a. If the target auxiliary equipment exists, sending a network distribution instruction to the target auxiliary equipment so that the target auxiliary equipment can execute a network distribution task for the network distribution equipment 3.
In some embodiments, searching for whether there is a target secondary device that meets a preset condition includes: and acquiring the Bluetooth connection strength of the target auxiliary equipment when the target auxiliary equipment is in communication connection with the target equipment to be distributed, and sending a network distribution instruction to the target auxiliary equipment with the maximum Bluetooth connection strength according to the Bluetooth connection strength so as to enable the target auxiliary equipment to execute a network distribution task on the target equipment to be distributed.
In some embodiments, before sending the network allocation instruction to the target auxiliary device with the maximum bluetooth connection strength according to the bluetooth connection strength, the method includes: acquiring the state of a target auxiliary device with the maximum Bluetooth connection strength, wherein the states of the auxiliary device comprise a working state and an idle state; and if the state of the target auxiliary equipment is in the idle state, controlling the target auxiliary equipment to execute the network allocation task on the target network equipment to be allocated.
For example, in the case that the key value is used as the equipment identifier of the to-be-allocated network, the value data is the doubly linked list of the auxiliary equipment information corresponding to the scanned equipment identifier of the to-be-allocated network, so as to obtain the value data corresponding to the equipment identifier of the to-be-allocated network, namely the auxiliary equipment information, wherein the value data is the "equipment 3 to be-allocated network". If the auxiliary equipment information exists, judging whether the corresponding auxiliary equipment is in an idle state or not from the first link node of the doubly linked list, wherein the auxiliary equipment information comprises auxiliary equipment O, auxiliary equipment P and auxiliary equipment Q. It should be noted that, the auxiliary device information in the doubly linked list is the auxiliary device information which is sequenced according to the descending order of the bluetooth connection strength, and then the bluetooth connection strength of the auxiliary device O and the "to-be-configured network device 3" is greater than the bluetooth connection strength of the auxiliary device P, the auxiliary device Q and the "to-be-configured network device 3". The idle state refers to a state in which the secondary device has returned the distribution network response information without an ongoing distribution network task. If the auxiliary equipment O corresponding to the first link node is in an idle state, the 'equipment 3 to be allocated' is allocated to the auxiliary equipment O, so that the auxiliary equipment O executes a responsive allocation network task for the 'equipment 3 to be allocated'.
Fig. 14 illustrates a schematic diagram of network success in a retry of some embodiments. The network allocation method specifically comprises the steps of allocating target network equipment to be allocated and allocating a retry network allocation response message interface of the network when target auxiliary equipment meeting preset conditions is found. The retry configuration network response message includes a retry success message. The interface comprises a retry success reminding control 141, and the retry success reminding control 141 is displayed in a preset position of the interface so as to remind a user that the target network equipment to be allocated is successful in retry network allocation, and no network equipment to be allocated exists at present.
In some embodiments, if the state of the target auxiliary device is a working state, sequentially acquiring states corresponding to other target auxiliary devices, wherein the acquisition order is determined by sorting from big to small according to the bluetooth connection strength corresponding to each target auxiliary device; and sequentially judging the states of other target auxiliary equipment, and sending the network allocation instruction to the target auxiliary equipment when the states of the target auxiliary equipment are idle states so that the target auxiliary equipment can execute network allocation tasks on the target network equipment to be allocated.
For example, if the auxiliary device O corresponding to the first link node is in the working state, the method continues to determine whether the auxiliary device P corresponding to the second link node is in the idle state, and if so, the "to-be-configured network device 3" is allocated to the auxiliary device P, so that the auxiliary device P performs a responsive configuration task on the "to-be-configured network device 3". If the auxiliary equipment P corresponding to the second link node is in a working state, judging the state of the auxiliary equipment corresponding to the third link node until the auxiliary equipment in an idle state is found, so as to complete the network distribution of the 'equipment 3 to be distributed'.
In some embodiments, if the states of all the target auxiliary devices are working states, a network allocation instruction is sent to the target auxiliary device with the largest bluetooth connection strength, so that the target auxiliary device performs a network allocation task on the target to-be-allocated network device.
For example, if the states of the auxiliary devices corresponding to all the link nodes are working states, the target auxiliary device "to-be-configured network device 3" is allocated to the auxiliary device O corresponding to the first link node, so as to complete the configuration of the "to-be-configured network device 3".
In some embodiments, when judging the state of the auxiliary equipment state, all the auxiliary equipment is in an idle state under a higher probability, and based on the fact that each specified to-be-allocated network equipment is allocated to a plurality of auxiliary equipment to allocate a network, each auxiliary equipment balances the load, the whole network allocation process is parallel network allocation, and the time spent in network allocation is close to each other. When any one auxiliary equipment returns the information of the equipment to be distributed, which fails to distribute the network, the other auxiliary equipment completes the network distribution work with high probability.
In some embodiments, when the key value is used as the equipment identifier of the to-be-allocated network, and the value data is the doubly linked list of the auxiliary equipment information corresponding to the scanned equipment identifier of the to-be-allocated network, the value data corresponding to the equipment identifier of the to-be-allocated network "to-be-allocated network 3" is not obtained, and the allocation of the target auxiliary equipment "to-be-allocated network equipment 3" fails. It is explained that all the auxiliary devices in the doubly linked list have tried to perform network distribution to the target auxiliary device "to-be-distributed network device 3" and failed in network distribution.
Fig. 15 illustrates a schematic diagram of some embodiments retry network failure. The network allocation method specifically comprises the steps that when target auxiliary equipment meeting preset conditions does not exist, the target network equipment to be allocated cannot be allocated and a retry network allocation response message interface of the network allocation is unavailable. The retry network response message includes a retry failure message. The interface comprises a retry failure reminding control 151, and the retry failure reminding control 151 is displayed in a preset position of the interface so as to remind a user that the network equipment to be matched still has network distribution failure after the network distribution process is retried.
Based on the above network allocation retry process for the target network equipment to be allocated, firstly, the auxiliary equipment which executes the network allocation task for the target network equipment to be allocated last time is controlled to carry out network allocation retry. In order to avoid the situation that the network distribution fails due to the same reason as the network distribution failure of the last time, a preset time interval is set to control auxiliary equipment to carry out network distribution retry on target network equipment to be distributed. If the second network allocation fails, searching a plurality of auxiliary devices which are in accordance with preset conditions except the auxiliary device to carry out retry network allocation on the target network equipment to be allocated. According to the network allocation method and device, the network allocation device to be allocated is subjected to retry by using different auxiliary devices twice, so that the situation that multiple network allocation failures are caused due to the fact that the network allocation failure is the same as the previous network allocation failure is avoided, and meanwhile, the success rate of the network allocation is improved.
In some embodiments, the present application also provides another display device, which is an auxiliary device, that is, a display device that is not directly operated by the user. The communicator in the auxiliary equipment establishes communication connection with at least one main equipment and at least one equipment to be distributed. The main equipment is used for executing a network distribution task for the equipment to be distributed, and the network distribution task is used for connecting the equipment to be distributed with the wireless local area network.
In some embodiments, the communicator in the auxiliary device is connected with a bluetooth module, and the bluetooth module is configured to establish bluetooth communication connection with at least one main device and at least one network device to be configured respectively according to an instruction of the controller. And the controller receives a network allocation instruction sent by the main equipment, and responds to the network allocation instruction to execute a network allocation task for the network equipment to be allocated.
In some embodiments, receiving a network allocation instruction sent by a master device, where the network allocation instruction is used to instruct a controller to perform a network allocation task on a specified device to be allocated; and responding to the distribution network instruction and returning a distribution network response message, wherein the distribution network response message is used for representing whether the controller successfully distributes the network to the designated equipment to be distributed.
In some embodiments, the controller is further configured to receive a scan request sent by the master device, the scan request being for requesting the controller to scan surrounding network devices to be configured; and responding to the scanning request, and returning to the first equipment set, wherein the first equipment set comprises equipment identifiers corresponding to the equipment to be distributed, which is scanned by the controller.
In some embodiments, the controller is further configured to receive a retry network allocation instruction sent by the master device, where the retry network allocation instruction is used to request the controller to scan surrounding network to be allocated devices; and responding to the scanning request, and returning to the first equipment set, wherein the first equipment set comprises equipment identifiers corresponding to the equipment to be distributed, which is scanned by the controller.
In some embodiments, the controller is further configured to receive a retry network instruction sent by the master device in response to the selected operation of the retry network control, where the retry network instruction is used to retry the network configuration for the target network device to be configured that failed the previous network configuration. And responding to the retry network allocation instruction to return a retry network allocation response message, wherein the retry network allocation response message is used for representing whether the controller successfully retries the network allocation for the designated target network equipment to be allocated.
The above UI is exemplified by a display device, and other types of terminal devices or UIs in which the display device is embodied in a multi-device network are basically similar to the above UI, and are not listed here. The UI interface provided by the present application is merely exemplary, and is specific to actual applications and designs.
According to the above embodiment, the embodiment of the present application further provides a multi-device network allocation method, where an execution subject of the method is a controller in a display device, and the method includes the steps as shown in fig. 16:
S101, receiving a selection operation of a stereoscopic distribution network control input by a user, and sending a distribution network instruction to at least one auxiliary device, wherein the distribution network instruction is used for enabling the auxiliary device to execute a distribution network task on a designated device to be distributed.
S102, receiving a distribution network response message returned by the auxiliary equipment, wherein the distribution network response message is used for representing whether the auxiliary equipment successfully distributes the network to the appointed equipment to be distributed.
In some embodiments, receiving a selection of a control of the stereoscopic distribution network entered by a user, before sending a distribution network instruction to at least one secondary device, comprises:
And responding to the selected operation of the input ground on the rapid network allocation control, and sending a scanning request to the auxiliary equipment, wherein the scanning request is used for requesting the auxiliary equipment to scan surrounding network allocation equipment.
And receiving a first equipment set returned by the auxiliary equipment, wherein the first equipment set comprises equipment identifiers corresponding to the equipment to be distributed, scanned by the auxiliary equipment.
And displaying a scanning detail page, wherein the scanning detail page comprises a control for displaying the equipment identifier and an immediate network distribution control, and the immediate network distribution control is used for executing the network distribution task of the equipment to be distributed corresponding to the equipment identifier after receiving the selected operation of the user.
In some embodiments, the communicator is connected with a bluetooth module, and the bluetooth module establishes bluetooth communication connection with at least one auxiliary device and at least one network device to be configured respectively; before displaying the scan details page, comprising:
And responding to the selected operation of the quick network allocation control in the input field, and controlling the Bluetooth module to scan surrounding network equipment to be allocated to obtain a second equipment set, wherein the second equipment set comprises equipment identifiers corresponding to the network equipment to be allocated, which is scanned by the Bluetooth module.
Deleting repeated equipment identifiers in the first equipment set and the second equipment set to generate equipment identifiers to be distributed, so that the equipment identifiers to be distributed are displayed in the scanning detail page.
In some embodiments, the first set of devices and the second set of devices further include bluetooth connection strengths corresponding to the device identifications; the method further comprises the steps of:
And ordering the equipment identifiers to be distributed according to the Bluetooth connection strength so as to distribute the equipment to be distributed corresponding to the equipment identifiers to be distributed to the auxiliary equipment to execute the network distribution task.
In some embodiments, the method further comprises: acquiring the number of all network equipment to be distributed and the number of all auxiliary equipment, and calculating a preset threshold according to the number of all network equipment to be distributed and the number of all auxiliary equipment; and distributing the equipment to be distributed, which is appointed in the ordered list, to the auxiliary equipment by utilizing the preset threshold value so that the auxiliary equipment can execute the network distribution task on the appointed equipment to be distributed.
In some embodiments, allocating the network device to be allocated to the auxiliary device specified in the ordered list by using the preset threshold includes: searching auxiliary equipment with the maximum Bluetooth connection strength in the connection with the appointed equipment to be distributed, and obtaining the quantity of all the equipment to be distributed, which is connected with the auxiliary equipment with the maximum Bluetooth connection strength and distributes a network;
judging the number of the network equipment to be distributed and the preset threshold value, and distributing the appointed network equipment to be distributed to the auxiliary equipment with the maximum Bluetooth connection strength under the condition that the number of the network equipment to be distributed is smaller than the preset threshold value, so that the auxiliary equipment with the maximum Bluetooth connection strength executes a network distribution task for the appointed network equipment to be distributed.
In some embodiments, the method further comprises: receiving a selection operation of a retry network control input by a user, and sending a retry network allocation instruction to auxiliary equipment, wherein the retry network allocation instruction is used for carrying out network allocation retry on target network equipment to be allocated which fails in the last network allocation;
And receiving a retry network allocation response message returned by the auxiliary equipment, wherein the retry network allocation response message is used for representing whether the controller successfully retries the network allocation for the designated target network equipment to be allocated.
Fig. 17 shows another multi-device network allocation method executed by a display device, where an execution subject of the method is a controller in the display device, and the method includes the following steps:
S201, receiving a network allocation instruction sent by a main device, wherein the network allocation instruction is used for instructing a controller to execute a network allocation task on a specified device to be allocated.
S202, responding to a distribution network instruction and returning a distribution network response message, wherein the distribution network response message is used for representing whether the controller successfully distributes the network to the designated equipment to be distributed.
In some embodiments, before receiving the network allocation instruction sent by the master device, the method includes:
And receiving a scanning request sent by the main equipment, wherein the scanning request is used for requesting the controller to scan surrounding equipment to be distributed.
And responding to the scanning request, and returning to the first equipment set, wherein the first equipment set comprises equipment identifiers corresponding to the equipment to be distributed, which is scanned by the controller.
As can be seen from the above embodiments, the present application provides a display device and a multi-device network allocation method, when a user allocates a plurality of devices, only needs to perform a selection operation on an immediate network allocation control in a user interface, and a controller sends a network allocation instruction to at least one auxiliary device, where the network allocation instruction is used to enable the auxiliary device to perform a network allocation task on a specified network to be allocated. And receiving a distribution network response message returned by the auxiliary equipment, wherein the distribution network response message is used for representing whether the auxiliary equipment successfully distributes the network to the designated equipment to be distributed. Therefore, a user can perform network allocation operation on only one display device so as to control other auxiliary devices to perform network allocation tasks on a plurality of devices to be network allocated. The method and the device solve the problems that a great deal of time is required to be consumed and the configuration efficiency is low when a user manually performs network configuration setting on a plurality of network devices to be configured one by one.
The same and similar parts of the embodiments in this specification are referred to each other, and are not described herein.
In a specific implementation, the present invention further provides a computer storage medium, where the computer storage medium may store a program, where the program may include some or all of the steps in each embodiment of the method for expanding the number of media assets provided by the present invention when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a random access memory (random access memory, RAM), or the like.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the application.
The foregoing description, for purposes of explanation, has been presented in conjunction with specific embodiments. The illustrative discussions above are not intended to be exhaustive or to limit the embodiments to the precise forms disclosed above. Many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles and the practical application, to thereby enable others skilled in the art to best utilize the embodiments and various embodiments with various modifications as are suited to the particular use contemplated.
Claims (9)
1. A display device, characterized by comprising:
A display for displaying a user interface;
the communication device establishes communication connection with at least one auxiliary device and at least one network device to be distributed; the auxiliary equipment is used for executing a network allocation task for the equipment to be allocated, and the network allocation task is used for connecting the equipment to be allocated with a wireless local area network;
A controller configured to:
Receiving a retry network allocation instruction input by a user, wherein the retry network allocation instruction is used for performing network allocation retry on target network equipment to be allocated which fails in the last network allocation;
Responding to the retry network allocation instruction, and judging whether the target network equipment to be allocated meets a judging condition or not; the judging conditions include: the target network equipment to be allocated is the last network equipment when the auxiliary equipment is allocated last time; and when the network is allocated last time, the auxiliary equipment only has one target network equipment to be allocated;
If the target network equipment to be distributed meets the judging condition, sending the network distribution instruction to the auxiliary equipment after a preset time interval so that the auxiliary equipment executes the network distribution task again;
otherwise, searching whether target auxiliary equipment meeting preset conditions exists or not, wherein the target auxiliary equipment is different from the auxiliary equipment which executes the network distribution task on the target network equipment to be distributed last time;
And if the target auxiliary equipment exists, sending a network distribution instruction to the target auxiliary equipment so that the target auxiliary equipment executes a network distribution task for the target equipment to be distributed.
2. The display device according to claim 1, wherein the communicator is connected with a bluetooth module configured to establish bluetooth communication connection with at least one auxiliary device and at least one network device to be configured, respectively, according to an instruction of the controller; the searching whether the target auxiliary equipment meeting the preset condition exists or not comprises the following steps:
and acquiring the Bluetooth connection strength of the target auxiliary equipment when the target auxiliary equipment is in communication connection with the target equipment to be distributed, and sending the network distribution instruction to the target auxiliary equipment with the maximum Bluetooth connection strength according to the Bluetooth connection strength so as to enable the target auxiliary equipment to execute a network distribution task on the target equipment to be distributed.
3. The display device according to claim 2, wherein before the sending the network allocation instruction to the target auxiliary device with the maximum bluetooth connection strength according to the bluetooth connection strength, the method comprises:
Acquiring the state of the target auxiliary equipment with the maximum Bluetooth connection strength, wherein the state of the auxiliary equipment comprises a working state and an idle state;
And if the state of the target auxiliary equipment is an idle state, controlling the target auxiliary equipment to execute a network allocation task on the target network equipment to be allocated.
4. The display device of claim 3, wherein the controller is further configured to:
if the state of the target auxiliary equipment is the working state, sequentially acquiring states corresponding to other target auxiliary equipment, wherein the acquisition sequence is determined by sequencing from big to small of the Bluetooth connection strength corresponding to each target auxiliary equipment;
and sequentially judging the states of other target auxiliary equipment, and sending the network allocation instruction to the target auxiliary equipment when the state of the target auxiliary equipment is an idle state so that the target auxiliary equipment executes a network allocation task for the target to-be-allocated network equipment.
5. The display device of claim 4, wherein the controller is further configured to:
And if the states of all the target auxiliary devices are working states, sending the network allocation instruction to the target auxiliary device with the maximum Bluetooth connection strength so that the target auxiliary device executes a network allocation task for the target network equipment to be allocated.
6. The display device of claim 1, wherein the controller is further configured to:
Judging whether the target network equipment to be distributed is the last network distribution equipment when the auxiliary equipment distributes the network last time; under the condition that the target network equipment to be distributed is the last network equipment to be distributed, determining whether only one target network equipment to be distributed exists, and if only one target network equipment to be distributed exists, determining that the target network equipment to be distributed meets the determination condition; otherwise, judging that the target network equipment to be distributed does not accord with the judging condition.
7. A display device, characterized by comprising:
A display for displaying a user interface;
The communication device establishes communication connection with at least one main device and at least one network device to be distributed; the main equipment is used for judging whether the target network equipment to be distributed, which fails in the last network distribution, meets the judging condition or not; the judging conditions include: the target network equipment to be allocated is the last network equipment when the auxiliary equipment is allocated last time; and when the network is allocated last time, the auxiliary equipment only has one target network equipment to be allocated; if the target network equipment to be distributed meets the judging condition, a network distribution instruction is sent to auxiliary equipment for executing a network distribution task for the target network equipment to be distributed for one time after a preset time interval, so that the auxiliary equipment executes the network distribution task again;
otherwise, executing a network allocation task on the network equipment to be allocated, wherein the network allocation task is used for connecting the network equipment to be allocated with a wireless local area network;
A controller configured to:
Receiving a network allocation retry instruction input by a user by the main equipment, judging that the target network allocation equipment does not meet the judging condition, and then sending a network allocation instruction, wherein the network allocation instruction instructs the controller to perform network allocation retry on the target network allocation equipment, and the display equipment is different from the auxiliary equipment which performs network allocation task on the target network allocation equipment last time;
and responding to the network distribution instruction, and executing a network distribution task on the target network equipment to be distributed.
8. A multi-device distribution network retry method applied to a display device, the method comprising:
Receiving a retry network allocation instruction input by a user, wherein the retry network allocation instruction is used for performing network allocation retry on target network equipment to be allocated which fails in the last network allocation;
responding to the retry network allocation instruction, and judging whether the target network equipment to be allocated meets a judging condition or not; the judging conditions include: the target network equipment to be allocated is the last network equipment when the auxiliary equipment is allocated last time; and when the network is allocated last time, the auxiliary equipment only has one target network equipment to be allocated;
If the target network equipment to be distributed meets the judging condition, sending the network distribution instruction to the auxiliary equipment after a preset time interval so that the auxiliary equipment executes the network distribution task again;
otherwise, searching whether target auxiliary equipment meeting preset conditions exists or not, wherein the target auxiliary equipment is different from the auxiliary equipment which executes the network distribution task on the target network equipment to be distributed last time;
And if the target auxiliary equipment exists, sending a network distribution instruction to the target auxiliary equipment so that the target auxiliary equipment executes a network distribution task for the target equipment to be distributed.
9. A multi-device distribution network retry method applied to a display device, the method comprising:
Receiving a network allocation retry instruction input by a main device in response to a user, judging that a target network allocation equipment to be allocated failed in the last network allocation does not meet a judging condition, and then sending a network allocation instruction, wherein the network allocation instruction instructs the display device to perform network allocation retry on the target network allocation equipment, and the display device is different from an auxiliary device which performs a network allocation task on the target network allocation equipment in the last time; the judging conditions include: the target network equipment to be allocated is the last network equipment when the auxiliary equipment is allocated last time; and when the network is allocated last time, the auxiliary equipment only has one target network equipment to be allocated;
and responding to the network distribution instruction, and executing a network distribution task on the target network equipment to be distributed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111272408.0A CN114007127B (en) | 2021-10-29 | 2021-10-29 | Display device and multi-device distribution network retry method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111272408.0A CN114007127B (en) | 2021-10-29 | 2021-10-29 | Display device and multi-device distribution network retry method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114007127A CN114007127A (en) | 2022-02-01 |
CN114007127B true CN114007127B (en) | 2024-09-03 |
Family
ID=79925117
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111272408.0A Active CN114007127B (en) | 2021-10-29 | 2021-10-29 | Display device and multi-device distribution network retry method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114007127B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111867001A (en) * | 2020-07-24 | 2020-10-30 | 深圳创维数字技术有限公司 | Intelligent equipment batch network distribution method, system and storage medium |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013100887A2 (en) * | 2011-11-30 | 2013-07-04 | Intel Corporation | Techniques for assisted network acquisition |
CN107222372B (en) * | 2016-03-22 | 2021-03-23 | 阿里巴巴集团控股有限公司 | Information sending method and equipment |
CN111328124A (en) * | 2018-12-14 | 2020-06-23 | 美的集团股份有限公司 | Method, medium, household appliance and device for updating distribution network information |
CN109819427B (en) * | 2019-03-06 | 2021-01-26 | 乐鑫信息科技(上海)股份有限公司 | Method for starting configuration of Bluetooth Mesh network |
CN110719619B (en) * | 2019-10-16 | 2022-04-29 | 腾讯科技(深圳)有限公司 | Network distribution method and device of intelligent equipment and related equipment |
-
2021
- 2021-10-29 CN CN202111272408.0A patent/CN114007127B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111867001A (en) * | 2020-07-24 | 2020-10-30 | 深圳创维数字技术有限公司 | Intelligent equipment batch network distribution method, system and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN114007127A (en) | 2022-02-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113810746B (en) | Display equipment and picture sharing method | |
CN111970549B (en) | Menu display method and display device | |
CN114339332B (en) | Mobile terminal, display device and cross-network screen projection method | |
CN113778217B (en) | Display device and display device control method | |
CN113064645A (en) | Startup interface control method and display device | |
CN114079819B (en) | Content display method and display equipment | |
CN113784200A (en) | Communication terminal, display device and screen projection connection method | |
CN113141479A (en) | Display device and key reuse method thereof | |
CN111954059A (en) | Screen saver display method and display device | |
CN114968031A (en) | Task management method and display device | |
CN111818654B (en) | Channel access method and display device | |
CN111984167B (en) | Quick naming method and display device | |
CN114007127B (en) | Display device and multi-device distribution network retry method | |
CN112269668A (en) | Application resource sharing and display equipment | |
CN114007129A (en) | Display device and network distribution method | |
CN114079827A (en) | Menu display method and display device | |
CN114007128A (en) | Display device and network distribution method | |
CN113971049B (en) | Background service management method and display device | |
CN114302070B (en) | Display device and audio output method | |
CN113542882B (en) | Method for waking up standby display device, display device and terminal | |
CN111787350B (en) | Display device and screenshot method in video call | |
CN112199560B (en) | Search method of setting items and display equipment | |
CN111935530B (en) | Display equipment | |
CN114007126A (en) | Display device and multi-device network distribution method | |
CN114302199A (en) | Display apparatus and data sharing method |
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 |