CN112333737A - Network connection method and device, multimedia playing equipment and system - Google Patents

Network connection method and device, multimedia playing equipment and system Download PDF

Info

Publication number
CN112333737A
CN112333737A CN202011238545.8A CN202011238545A CN112333737A CN 112333737 A CN112333737 A CN 112333737A CN 202011238545 A CN202011238545 A CN 202011238545A CN 112333737 A CN112333737 A CN 112333737A
Authority
CN
China
Prior art keywords
channel
multimedia playing
wifi hotspot
wifi
channels
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011238545.8A
Other languages
Chinese (zh)
Inventor
王文博
韩丹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Novastar Electronic Technology Co Ltd
Original Assignee
Xian Novastar Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Novastar Electronic Technology Co Ltd filed Critical Xian Novastar Electronic Technology Co Ltd
Priority to CN202011238545.8A priority Critical patent/CN112333737A/en
Publication of CN112333737A publication Critical patent/CN112333737A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Abstract

The embodiment of the invention discloses a network connection method, a network connection device, multimedia playing equipment and a multimedia playing system. The network connection method includes, for example: acquiring a plurality of WiFi hotspot information corresponding to a plurality of WiFi hotspots in a target range; determining a target channel based on the plurality of WiFi hotspot information, an initial channel corresponding to the multimedia playing device and a plurality of available channels of the pre-configured multimedia playing device; and configuring the local WiFi hotspot of the multimedia playing equipment to a target channel for working, so that the client is connected with the local WiFi hotspot to transmit and control program data to the multimedia playing equipment. The network connection method disclosed by the embodiment of the invention optimizes the WiFi hotspot connection mode of the multimedia playing equipment and avoids the condition of poor customer experience caused by the WiFi hotspot connection problem of the multimedia playing equipment.

Description

Network connection method and device, multimedia playing equipment and system
Technical Field
The embodiment of the invention relates to the technical field of display screen display, in particular to a network connection method, a network connection device, multimedia playing equipment and a multimedia playing system.
Background
With the development of the LED display industry, the multimedia playing device is required to have the capability of connecting and communicating with the client in different application scenes of the LED display screen, wherein there is a connection communication mode that the multimedia playing device is configured with a WiFi hotspot function, and the client can operate the multimedia playing device by connecting the WiFi hotspot of the multimedia playing device, such as sending a program, upgrading software, and the like. However, since the environment of the multimedia playing device is complex, a large number of WiFi hotspots may exist around the multimedia playing device, and thus, a large number of other WiFi hotspots exist in a channel where the WiFi hotspot of the multimedia playing device is located, which causes that the client cannot normally connect to the WiFi hotspot of the multimedia playing device, or the communication rate is slow after the client successfully connects to the multimedia playing device.
Therefore, it is an urgent problem to provide a method for optimizing WiFi hotspot connection of a multimedia playing device.
Disclosure of Invention
The embodiment of the invention discloses a network connection method, a network connection device, a multimedia playing device and a multimedia playing system, which optimize the WiFi hotspot connection mode of the multimedia playing device, enable a client to be connected with the multimedia playing device through the WiFi hotspot to operate more smoothly, and avoid the situation of poor client experience caused by the WiFi hotspot connection problem of the multimedia playing device.
In a first aspect, an embodiment of the present invention discloses a network connection method, which is applied to a multimedia playing device, and the network connection method includes: acquiring a plurality of WiFi hotspot information corresponding to a plurality of WiFi hotspots in a target range; determining a target channel based on the plurality of WiFi hotspot information, an initial channel corresponding to the multimedia playing device and a plurality of pre-configured available channels of the multimedia playing device; and configuring the local WiFi hotspot of the multimedia playing equipment to the target channel for working so as to enable a client to be connected with the local WiFi hotspot to transmit and control program data of the multimedia playing equipment.
Because the environment of the multimedia playing device is complex, a large number of WiFi hotspots may exist around the multimedia playing device, and thus, a large number of other WiFi hotspots exist in a channel where the WiFi hotspot of the multimedia playing device is located, which may cause that the client cannot normally connect with the WiFi hotspot of the multimedia playing device, or the communication rate is slow after the client successfully connects with the multimedia playing device; the embodiment acquires a plurality of WiFi hotspot information corresponding to a plurality of WiFi hotspots in a target range, so that a target channel is determined based on the plurality of WiFi hotspot information, an initial channel and a plurality of available channels, and the local WiFi hotspots are configured to the target channel to work, thereby optimizing the WiFi hotspot connection mode of the multimedia playing device, enabling a client to be connected with the multimedia playing device through the WiFi hotspots to operate more smoothly, and avoiding the situation of poor experience of the client due to the WiFi hotspot connection problem of the multimedia playing device.
In an embodiment of the present invention, the obtaining of multiple pieces of WiFi hotspot information corresponding to multiple WiFi hotspots within a target range includes: responding to the multimedia playing equipment to start a WiFi hotspot function, configuring the multimedia playing equipment in a WiFi Station mode, and automatically scanning WiFi hotspots to acquire a plurality of WiFi hotspot information corresponding to the plurality of WiFi hotspots.
After the WiFi hotspot function is started, the multimedia playing device is configured in the WiFi Station mode to automatically scan WiFi hotspots to acquire a plurality of WiFi hotspot information, so that the step of acquiring the WiFi hotspot information is simplified, and the speed of acquiring the WiFi hotspot information is improved.
In an embodiment of the present invention, the determining a target channel based on the WiFi hotspot information, an initial channel corresponding to the multimedia playing device, and a preconfigured available channel of the multimedia playing device includes: screening out a working channel where each WiFi hotspot is located from the plurality of WiFi hotspot information; screening at least one screened channel which is the same as the local frequency band from the working channels based on the local frequency band corresponding to the local WiFi hotspot; determining the target channel based on the at least one filtered channel, the initial channel, and the plurality of available channels.
The method comprises the steps of screening a plurality of working channels to obtain at least one screened channel which is the same as a local frequency band, and then determining a target channel based on the at least one screened channel, an initial channel and a plurality of available channels, thereby simplifying the determination process of the target channel.
In one embodiment of the present invention, the determining the target channel based on the at least one filtered channel, the initial channel, and the plurality of available channels includes: sequentially judging whether available channels different from the screened channels exist in the plurality of available channels, if so, stopping the judgment and taking the available channels different from the screened channels as preset channels, and if not, determining the preset channels based on the screened channels; and judging whether the predetermined channel is the same as the initial channel or not, if so, taking the initial channel as the target channel, and if not, taking the predetermined channel as the target channel.
Whether the available channels are different from the screened channels or not is judged in sequence, if yes, the judgment is stopped, and the available channels different from the screened channels are used as the preset channels and the initial channels to be judged, so that the target channels can be confirmed quickly, and the flow of determining the target channels is simplified.
In one embodiment of the present invention, the determining the target channel based on the at least one filtered channel, the initial channel, and the plurality of available channels includes: judging whether available channels different from the at least one screened channel exist in the plurality of available channels one by one; in response to that at least one first available channel exists in the plurality of available channels and the at least one screened channel is not the same, judging whether a channel which is the same as the initial channel exists in the at least one first available channel, wherein in response to that the channel which is the same as the initial channel exists in the at least one first available channel, the initial channel is taken as the target channel, or in response to that the channel which is the same as the initial channel does not exist in the at least one first available channel, one of the at least one first available channel is randomly selected as the target channel; in response to each of the available channels being the same as one of the at least one screened channel, determining a predetermined channel based on the screened channel, and determining whether the predetermined channel is the same as the initial channel, wherein in response to the predetermined channel being not the same as the initial channel, the predetermined channel is taken as the target channel, or in response to the predetermined channel being the same as the initial channel, the initial channel is taken as the target channel.
By judging whether available channels different from at least one screened channel exist or not one by one, and continuously judging whether an initial channel exists in at least one first available channel or not when judging that at least one first available channel is different from at least one screened channel exists, and randomly selecting one channel as a target channel if the initial channel does not exist, working channels where WiFi hotspots are located can be accurately found to be crowded, the process of determining the target channel is more complete, and the initial channel is prevented from being switched randomly.
In an embodiment of the present invention, the determining the predetermined channel based on the filtered channels includes: and counting the screened channels to take the screened channel with the least corresponding WiFi hotspot as the predetermined channel.
The filtered channels with the least corresponding WiFi hotspots are counted to serve as the preset channels, and therefore the smoothness of the operation of the client side connected with the multimedia playing device through the WiFi hotspots is guaranteed.
In a second aspect, an embodiment of the present invention discloses a network connection device, which is disposed in a multimedia playing device, and includes: the information acquisition module is used for acquiring a plurality of WiFi hotspot information corresponding to a plurality of WiFi hotspots in a target range; a channel determination module, configured to determine a target channel based on the WiFi hotspot information, an initial channel corresponding to the multimedia playing device, and a plurality of available channels of the multimedia playing device configured in advance; and the channel configuration module is used for configuring the local WiFi hotspot of the multimedia playing equipment to the target channel for working so as to enable the client to be connected with the local WiFi hotspot to transmit and control program data of the multimedia playing equipment.
In an embodiment of the present invention, the information obtaining module is specifically configured to: responding to the multimedia playing equipment to start a WiFi hotspot function, configuring the multimedia playing equipment in a WiFi Station mode, and automatically scanning WiFi hotspots to acquire a plurality of WiFi hotspot information corresponding to the plurality of WiFi hotspots.
In a third aspect, a multimedia playing device disclosed in an embodiment of the present invention includes: a WiFi module; and the embedded processor is connected with the WiFi module and is provided with an embedded operating system so as to execute any one of the network connection methods.
In a fourth aspect, a multimedia playing system disclosed in the embodiment of the present invention includes: a display screen; the multimedia playing device is connected with the display screen; the client is connected with the local WiFi hotspot of the multimedia playing device; the client is used for outputting the program data to the multimedia playing device, so that the multimedia playing device processes the program data and outputs the processed program data to the display screen for playing.
One or more of the above technical solutions may have the following advantages or beneficial effects: the target channel is determined based on the plurality of WiFi hotspot information, the initial channel and the plurality of available channels by acquiring the plurality of WiFi hotspot information corresponding to the plurality of WiFi hotspots in the target range, and the local WiFi hotspots are configured to the target channel to work, so that the WiFi hotspot connection mode of the multimedia playing device is optimized, the client is enabled to be more smoothly operated by connecting the multimedia playing device through the WiFi hotspots, and the condition of poor experience of the client due to the WiFi hotspot connection problem of the multimedia playing device is avoided.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart illustrating a network connection method according to an embodiment of the present invention.
Fig. 2 is another schematic flow chart of a network connection method according to an embodiment of the present invention.
Fig. 3 is a schematic diagram illustrating a step of step S13 in a network connection method according to an embodiment of the present invention.
Fig. 4 is a schematic diagram of a step S133 in a network connection method according to an embodiment of the present invention.
Fig. 5 is a schematic diagram illustrating another step of step S133 in a network connection method according to an embodiment of the present invention.
Fig. 6 is a schematic structural diagram of a multimedia playing system according to an embodiment of the present invention.
Fig. 7 is a schematic structural diagram of the multimedia playing device 100 in the multimedia playing system shown in fig. 6.
Fig. 8 is a block diagram of a network connection device according to an embodiment of the disclosure.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, an embodiment of the present invention discloses a network connection method, which is executed in a multimedia playing device, where the network connection method mentioned includes, for example, steps S11 to S15, specifically:
s11: acquiring a plurality of WiFi hotspot information corresponding to a plurality of WiFi hotspots in a target range;
s13: determining a target channel based on the plurality of WiFi hotspot information, an initial channel corresponding to the multimedia playing device and a plurality of pre-configured available channels of the multimedia playing device;
s15: and configuring the local WiFi hotspot of the multimedia playing equipment to the target channel for working so as to enable a client to be connected with the local WiFi hotspot to transmit and control program data of the multimedia playing equipment.
The multimedia playing device is, for example, the multimedia playing device 100 shown in fig. 7, and as shown in fig. 7, the multimedia playing device 100 includes: a WiFi module 110 and an embedded processor 120 connected to the WiFi module 110. The embedded processor 120, for example, installs an embedded operating system to execute the network connection method disclosed in the present embodiment. The WiFi module 110 is, for example, a WiFi module using a sixth generation wireless network technology, but may also be a WiFi module using a fifth generation wireless network technology that is commonly used at present. The embedded processor 120 is, for example, an mpu (micro processor unit), and the mentioned embedded operating system is, for example, an android operating system.
Further, the multimedia playing apparatus 100 further includes devices such as a programmable logic device, a memory, an ethernet interface, a video input interface, and a USB interface. The programmable logic device is connected to the embedded processor 120, and is mainly used for processing program data. The memory connects the programmable logic device and the embedded processor 120 primarily for data storage. The Ethernet interface is connected with the programmable logic device and is mainly used for connecting a display screen so as to output program data to the display screen for displaying. The USB interface is connected to the embedded processor 120, and is mainly used for connecting peripheral devices, such as a screen projection device. The Programmable logic device is, for example, an FPGA (Field-Programmable Gate Array) or other similar logic device. The memories mentioned include, for example, volatile memories, such as EMMC memories (flash memories), and non-volatile memories, such as SDRAM memories, such as DDR2, or DDR3, for example. The mentioned ethernet interface is for example an RJ45 interface. The mentioned video input interface is for example an HDMI interface, a DVI interface, etc.
The target range mentioned in step S11 can be understood as a range where the WiFi module in the multimedia playing device scans the WiFi hotspot in the WiFi Station mode. The WiFi hotspot information mentioned in step S13 includes, for example, the WiFi hotspot signal strength, the working channel where the WiFi hotspot is located, and the encryption protocol supported by the WiFi hotspot. The initial channel mentioned in step S13 may be understood as a default channel of a local WiFi hotspot of the multimedia playing device, that is, a default operating channel of the local WiFi hotspot. The plurality of available channels mentioned in step S13 can be understood as channels pre-configured by the user, where the number of channels supported by the multimedia playing device is, for example, multiple, and the channels are mainly related to frequency bands, there are two frequency bands corresponding to the current WiFi hotspot, 2.4Ghz and 5Ghz, the corresponding channels under different frequency bands are not the same, there are 14 channels corresponding to the 2.4Ghz, and 60 channels are shared by the 5Ghz corresponding channels, for example, the local frequency band corresponding to the local WiFi hotspot of the multimedia playing device is, for example, 2.4Ghz, and the user can configure the plurality of available channels as 14 channels corresponding to the 2.4Ghz, and can also configure at least one of the 14 channels. The target Channel mentioned in step S13 can be understood as a target Channel (Channel) and a target frequency band, and is a data signal transmission Channel using a wireless signal (electromagnetic wave) as a transmission carrier. The client mentioned in step S15 is, for example, client software installed on a device such as a mobile phone, a tablet, or a computer, and the client can control the multimedia playing device in real time after connecting to the multimedia playing device.
The target channel is determined based on the plurality of WiFi hotspot information, the initial channel and the plurality of available channels by acquiring the plurality of WiFi hotspot information corresponding to the plurality of WiFi hotspots in the target range, and the local WiFi hotspots are configured to the target channel to work, so that the WiFi hotspot connection mode of the multimedia playing device is optimized, the client is enabled to operate more smoothly by connecting the multimedia playing device through the WiFi hotspots, and the condition of poor client experience caused by the WiFi hotspot connection problem of the multimedia playing device is avoided.
In other embodiments of the present invention, as shown in fig. 2, step S11 includes, for example: step S111, responding to the multimedia playing device starting a WiFi hotspot function, configuring the multimedia playing device in a WiFi Station mode, and automatically scanning WiFi hotspots to acquire a plurality of WiFi hotspot information corresponding to the plurality of WiFi hotspots.
It should be noted that the WiFi Station mode has a function of automatically scanning WiFi hotspots, and after the WiFi hotspot function is turned on, the multimedia playing device is configured in the WiFi Station mode to perform automatic WiFi hotspot scanning to acquire a plurality of pieces of WiFi hotspot information, thereby simplifying the step of acquiring WiFi hotspot information and improving the rate of acquiring WiFi hotspot information.
In other embodiments of the present invention, as shown in fig. 3, step S13 includes, for example: step S131 to step S133.
Step S131: screening out a working channel where each WiFi hotspot is located from the plurality of WiFi hotspot information;
step S132: screening at least one screened channel which is the same as the local frequency band from the working channels based on the local frequency band corresponding to the local WiFi hotspot;
step S133: determining the target channel based on the at least one filtered channel, the initial channel, and the plurality of available channels.
The method obtains at least one screened channel which is the same as the local frequency band by screening the plurality of working channels, and then determines the target channel based on the at least one screened channel, the initial channel and the plurality of available channels, thereby simplifying the determination process of the target channel.
Further, in an embodiment of the present invention, as shown in fig. 4, step S133 includes, for example: step 1331 and step S1333.
Step S1331: sequentially judging whether available channels different from the screened channels exist in the plurality of available channels, if so, stopping the judgment and taking the available channels different from the screened channels as preset channels, and if not, determining the preset channels based on the screened channels;
step S1333: and judging whether the predetermined channel is the same as the initial channel or not, if so, taking the initial channel as the target channel, and if not, taking the predetermined channel as the target channel.
Whether the available channels are different from at least one screened channel or not is judged in sequence, if yes, the judgment is stopped, and the available channels different from the screened channels are used as the preset channels and the initial channels to be judged, so that the target channel can be confirmed quickly, and the flow of determining the target channel is simplified.
Further, the step S1331 of determining the predetermined channel based on the filtered channels includes, for example: and counting the screened channels to take the screened channel with the least corresponding WiFi hotspot as the predetermined channel.
The filtered channels are counted to take the filtered channel with the least corresponding WiFi hot spot as the preset channel, so that the smoothness of the operation of the client connected with the multimedia playing device through the WiFi hot spot is guaranteed.
Further, the step of determining whether the predetermined channel is the same as the initial channel in step S1333 includes: and switching the multimedia playing equipment to a WiFi AP mode to judge whether the preset channel is the same as the initial channel of the multimedia playing equipment or not. The step S15 mentioned above of configuring the local WiFi hotspot of the multimedia playing device to the target channel for working includes: and automatically configuring the local WiFi hotspot to work to the target channel.
The multimedia playing equipment is switched to the WiFi AP mode to judge whether the preset channel is the same as the initial channel or not, and the WiFi hotspot of the local machine is automatically configured to work in the target channel, so that the complicated operation of manually configuring the channel is avoided, and the network connection efficiency is improved.
Of course, the aforementioned step S133 according to the embodiment of the present invention is not limited to the aforementioned step S1331 and step S1333, and in another embodiment of the present invention, as shown in fig. 5, the aforementioned step S133 includes, for example, step S1332, step S1334, and step S1336.
Step S1332: judging whether available channels different from the at least one screened channel exist in the plurality of available channels one by one;
step S1334: in response to that at least one first available channel exists in the plurality of available channels and the at least one screened channel is not the same, judging whether a channel which is the same as the initial channel exists in the at least one first available channel, wherein in response to that the channel which is the same as the initial channel exists in the at least one first available channel, the initial channel is taken as the target channel, or in response to that the channel which is the same as the initial channel does not exist in the at least one first available channel, one of the at least one first available channel is randomly selected as the target channel;
step S1336: in response to each of the available channels being the same as one of the at least one screened channel, determining a predetermined channel based on the screened channel, and determining whether the predetermined channel is the same as the initial channel, wherein in response to the predetermined channel being not the same as the initial channel, the predetermined channel is taken as the target channel, or in response to the predetermined channel being the same as the initial channel, the initial channel is taken as the target channel.
The method comprises the steps of judging whether available channels are different from at least one screened channel one by one, continuously judging whether an initial channel exists in at least one first available channel when judging that the available channels are different from the at least one screened channel, and randomly selecting one channel as a target channel if the initial channel does not exist, so that working channels where WiFi hotspots are located can be accurately found to be crowded, the process of determining the target channel is more complete, and the initial channel is prevented from being switched randomly.
Further, the determining the predetermined channel based on the filtered channel mentioned in step S1336 includes: and counting the screened channels to take the screened channel with the least corresponding WiFi hotspot as the predetermined channel. The filtered channels are counted to take the filtered channel with the least corresponding WiFi hot spot as a preset channel, so that the smoothness of the operation of the client connected with the multimedia playing device through the WiFi hot spot is guaranteed.
For better understanding of the present embodiment, a specific embodiment of the network connection method disclosed in the foregoing is illustrated below with reference to fig. 6 and 7.
The network connection method disclosed in this embodiment is implemented in the multimedia playing device 100, for example, the multimedia playing device 100 is implemented in the multimedia playing system 200, for example, the multimedia playing system 200 includes: a multimedia playing device 100, a client 210 and a display screen 220. The client 210 is connected to a local WiFi hotspot of the multimedia playing device 100, and the display screen is connected to an ethernet interface of the multimedia playing device 100, for example. The client 210 is configured to output the program data to the multimedia playing device 100, so that the multimedia playing device 100 processes the program data and outputs the processed program data to the display screen 220 for playing.
The display screen 220 is, for example, an LED display screen, and the LED display screen includes, for example, a plurality of receiving cards and a plurality of LED modules correspondingly electrically connected to the plurality of receiving cards, where the mentioned receiving cards drive and control the connected LED modules to display pictures based on received program data, and devices such as an FPGA and an MCU are disposed inside the receiving cards.
The multimedia playing device 100 has a WiFi Station mode and a WiFi AP mode, when the multimedia playing device works in the WiFi AP mode, a name of a local WiFi hotspot of the multimedia playing device is composed of, for example, an AP + serial number of the multimedia playing device, for example, 8 bits after an SN number, and the client 210 may scan and find the local WiFi hotspot and then connect to the multimedia playing device 100 through the local WiFi hotspot, thereby implementing data transmission and control on the multimedia playing device, where data transmission on the multimedia playing device includes, for example, transmission of a control command, configuration data, or program data. The control commands mentioned therein include, for example, a start program play command, a stop program play command, a pause program play command, and the like. The mentioned program data is program data to be displayed, wherein the program to be displayed includes at least one media, for example, the mentioned media includes videos, pictures and the like. The mentioned configuration data include, for example: upgrade packet data such as hardware upgrade data or software upgrade data. The mentioned control of the multimedia playing device includes, for example: and controlling the multimedia playing equipment to select which output interface outputs the program data, and the like.
The multimedia playing device 100 supports the surrounding channel detection function, for example, the multimedia playing device 100 is installed in a cell or a street, and there are many WiFi hotspots of the same channel around the multimedia playing device, and the same channels interfere with each other, so the embodiment of the present invention implements a surrounding WiFi hotspot distribution detection mechanism on the system software of the multimedia playing device, that is, the multimedia playing device 100 periodically detects whether to turn on the WiFi hotspot function, when detecting that the WiFi hotspot function is turned on, the multimedia playing device 100 scans and obtains WiFi hotspot information corresponding to the surrounding WiFi hotspots, specifically, when the multimedia playing device 100 is turned on and turns on the WiFi hotspot function or a user manually enables the WiFi hotspot function, the multimedia playing device will operate in a WiFi Station mode to automatically turn on the surrounding WiFi hotspot detection mechanism to obtain surrounding WiFi hotspot information, the WiFi hotspot information includes, for example: for example, as shown in table 1, the multimedia playing device 100 scans 6 WiFi hotspots, where RSSI represents the WiFi hotspot signal strength, CHANNEL represents the working CHANNEL corresponding to the WiFi hotspot, and SECURITY represents the WiFi hotspot encryption form.
TABLE 1
RSSI CHANNEL SECURITY
-94 13 WAP,WAP2
-79 11 WAP
-56 11 WAP,WAP2
-26 13 WAP2
-78 6 WAP,WAP2
-79 149 WAP2
Then, the multimedia playing device 100 may screen out a corresponding working channel from the obtained WiFi hotspot information, that is, as shown in table 1, the multimedia playing device 100 may obtain the working channel 13, the working channel 11, the working channel 6, and the working channel 149, and then perform secondary screening from the screened working channels based on the local frequency band, for example, 2.4Ghz, to obtain a screened channel having the same frequency band 2.4Ghz, and as can be known from the channel and frequency band standards, the working channel 149 corresponds to a channel having a frequency band 5Ghz, and is therefore excluded, and the rest is reserved, that is, a plurality of screened channels 6, 11, and 13 are obtained. The initial channel corresponding to the multimedia playing apparatus 100 is, for example, channel 7, and then the multimedia playing apparatus 100 determines the target channel based on the filtered channels, the initial channel and the available channels.
There are two ways of determining the target channel based on the multiple filtered channels, the initial channel, and the multiple available channels, where the first way is that the multimedia playing device 100 sequentially determines whether there is an available channel different from the multiple filtered channels in the multiple available channels, if there is an available channel, the determination is stopped, and the available channel different from the multiple filtered channels is used as the predetermined channel, if there is no available channel, the predetermined channel is determined based on the multiple filtered channels, and then it is determined whether the predetermined channel is the same as the initial channel, so as to obtain the target channel, for example, the preconfigured multiple available channels of the multimedia playing device 100 include: based on the foregoing examples of the initial channel and the filtered channels, the multimedia playback device 100 has an available channel 10 different from all of the filtered channels, and it can be understood that the available channel 10 does not have a corresponding WiFi hotspot, the available channel 10 is taken as a predetermined channel, and then it is determined that the predetermined channel, that is, the available channel 10 is different from the initial channel 7, and the available channel 10 is a target channel, and for example, the preconfigured multiple available channels of the multimedia playback device 100 include: the channel 6, the channel 11, and the channel 13, and if it is found after the judgment that the available channels of the multimedia playing device 100 are all the same as one of the plurality of screened channels, the screened channels are counted to obtain screened channels with few corresponding WiFi hotspots, that is, as can be seen from table 1, the working channel 11 corresponds to two WiFi hotspots, the working channel 13 corresponds to two WiFi hotspots and the working channel 6 corresponds to one WiFi hotspot, then the screened channel with the fewest corresponding WiFi hotspots, that is, the working channel 6, is used as a predetermined channel, it is judged whether the predetermined channel, that is, the working channel 6, is the same as the initial channel 7, at this time, the judgment is different, and the working channel 6 is used as a target channel.
In addition, the second way of determining the target channel based on the multiple filtered channels, the initial channel, and the multiple available channels is to determine whether there is an available channel different from the multiple filtered channels in the multiple available channels one by one for the multimedia playing device 100, after all the multiple available channels are determined, if it is determined that there is at least one first available channel, for example, the multiple first available channels are different from the multiple filtered channels, determine whether there is a channel identical to the initial channel in the multiple first available channels, if so, take the initial channel as the target channel, if not, randomly select one of the multiple first available channels as the target channel, if it is determined that each available channel is identical to one of the multiple filtered channels, determine the predetermined channel based on the multiple filtered channels, and then determine whether the predetermined channel is identical to the initial channel, thereby obtaining the target channel, for example, the plurality of available channels of the pre-configured multimedia playing device 100 includes: the available channels 6, the available channels 8, the available channels 10, the available channels 11, and the available channels 13, after determining the available channels, the available channels 8 and the available channels 10 are found to be different from the screened channels, further, when determining that the available channels 8 and the available channels 10 are both different from the initial channel 7, one of the available channels 8 and the available channels 10 is randomly selected as a target channel, and for example, the preconfigured available channels of the multimedia playback device 100 include: the channel 6, the channel 11, and the channel 13, and if it is found after the judgment that the available channels of the multimedia playing device 100 are all the same as one of the plurality of screened channels, the screened channels are counted to obtain screened channels with fewer WiFi hotspots, that is, as can be seen from table 1, the working channel 11 corresponds to two WiFi hotspots, the working channel 13 corresponds to two WiFi hotspots and the working channel 6 corresponds to one WiFi hotspot, then the screened channel with the least WiFi hotspot, that is, the working channel 6, is used as a predetermined channel, it is judged whether the predetermined channel, that is, the working channel 6, is the same as the initial channel 7, at this time, the judgment is different, and the working channel 6 is used as a target channel.
In short, the first and second manners of determining the target channel disclosed above are different in that the first manner of determining the target channel is to sequentially determine a plurality of available channels, and stop determining to perform the next step after determining that any one of the available channels is different from all of the plurality of screened channels, and the second manner of determining the target channel is to sequentially determine a plurality of available channels, and perform the next step after all of the plurality of available channels are determined.
After the target channel is obtained through the foregoing steps, the multimedia playing device 100 automatically configures the local WiFi hotspot to the target channel for operation. The client can then connect to the native WiFi hotspot to perform the aforementioned data transmission and control of the multimedia playback device.
In addition, as shown in fig. 8, an embodiment of the present invention discloses a network connection device 20, which is disposed in a multimedia playing device, and includes: an information acquisition module 21, a channel determination module 23 and a channel configuration module 25.
The information obtaining module 21 is configured to obtain information of a plurality of WiFi hotspots corresponding to a plurality of WiFi hotspots in a target range. The channel determining module 23 is configured to determine a target channel based on the WiFi hotspot information, an initial channel corresponding to the multimedia playing device, and a preconfigured available channel of the multimedia playing device. The channel configuration module 25 is configured to configure the local WiFi hotspot of the multimedia playing device to the target channel for working, so that the client connects to the local WiFi hotspot to transmit and control program data to the multimedia playing device.
Further, the information obtaining module 21 is specifically configured to: responding to the multimedia playing equipment to start a WiFi hotspot function, configuring the multimedia playing equipment in a WiFi Station mode, and automatically scanning WiFi hotspots to acquire a plurality of WiFi hotspot information corresponding to the plurality of WiFi hotspots.
Further, the channel determination module 23 includes, for example: the device comprises a first screening unit, a second screening unit and a target channel determining unit. The first screening unit is used for screening the working channel where each WiFi hotspot is located from the plurality of WiFi hotspot messages. The second screening unit is configured to screen at least one screened channel that is the same as the local frequency band from the plurality of working channels based on the local frequency band corresponding to the local WiFi hotspot. The target channel determination unit is configured to determine the target channel based on the at least one filtered channel, the initial channel, and the plurality of available channels.
Further, in one embodiment of the present invention, the target determination unit includes, for example: the first judging subunit is configured to sequentially judge whether an available channel different from the screened channel exists in the plurality of available channels, if so, stop the judgment and use the available channel identical to the screened channel as a predetermined channel, and if not, determine the predetermined channel based on the screened channel. The second judging subunit is configured to judge whether the predetermined channel is the same as the initial channel, if so, take the initial channel as the target channel, and if not, take the predetermined channel as the target channel.
Further, in another embodiment of the present invention, the target determination unit includes, for example, a judgment subunit, a first response subunit, and a second response subunit one by one. The judging subunit is used for judging whether available channels different from the at least one screened channel exist in the plurality of available channels one by one. The first response subunit is configured to, in response to that at least one first available channel exists in the plurality of available channels and the at least one screened channel is not the same, determine whether a channel that is the same as the initial channel exists in the at least one first available channel, where in response to that a channel that is the same as the initial channel exists in the at least one first available channel, the initial channel is taken as the target channel, or in response to that a channel that is the same as the initial channel does not exist in the at least one first available channel, randomly select one of the at least one first available channel as the target channel. The second response subunit is configured to, in response to each of the available channels being the same as one of the at least one screened channel, determine a predetermined channel based on the screened channel, and determine whether the predetermined channel is the same as the initial channel, where the predetermined channel is taken as the target channel in response to the predetermined channel being different from the initial channel, or the initial channel is taken as the target channel in response to the predetermined channel being the same as the initial channel.
Further, the aforementioned determining the predetermined channel based on the filtered channel includes, for example: and counting the screened channels to take the screened channel with the least corresponding WiFi hotspot as the predetermined channel.
The network connection method implemented by the network connection device 20 disclosed in the present embodiment is as described in the foregoing embodiments, and therefore, will not be described in detail here. Alternatively, each module, unit and other operations or functions in the network connection device disclosed in this embodiment are respectively for implementing the aforementioned network connection method.
In summary, in the above embodiments, the target channel is determined based on the WiFi hotspot information, the initial channel, and the available channels by obtaining the WiFi hotspot information corresponding to the WiFi hotspots within the target range, and the local WiFi hotspot is configured to the target channel to operate, so that the WiFi hotspot connection manner of the multimedia playing device is optimized, the client is more smoothly operated by connecting the multimedia playing device through the WiFi hotspot, and the situation of poor client experience caused by the WiFi hotspot connection problem of the multimedia playing device is avoided.
In addition, it should be understood that the foregoing embodiments are merely exemplary illustrations of the present invention, and the technical solutions of the embodiments can be arbitrarily combined and collocated without conflict between technical features and structural contradictions, which do not violate the purpose of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit is merely a division of one logic function, and an actual implementation may have another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may also be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, each functional unit/module in the embodiments of the present invention may be integrated into one processing unit/module, or each unit/module may exist alone physically, or two or more units/modules may be integrated into one unit/module. The integrated units/modules may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units/modules.
The integrated units/modules, which are implemented in the form of software functional units/modules, may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing one or more processors of a computer device (which may be a personal computer, a server, or a network device) to execute some steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention 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 solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A network connection method is applied to a multimedia playing device and comprises the following steps:
acquiring a plurality of WiFi hotspot information corresponding to a plurality of WiFi hotspots in a target range;
determining a target channel based on the plurality of WiFi hotspot information, an initial channel corresponding to the multimedia playing device and a plurality of pre-configured available channels of the multimedia playing device;
and configuring the local WiFi hotspot of the multimedia playing equipment to the target channel for working so as to enable a client to be connected with the local WiFi hotspot to transmit and control program data of the multimedia playing equipment.
2. The network connection method according to claim 1, wherein the obtaining of the WiFi hotspot information corresponding to the WiFi hotspots within the target range comprises:
responding to the multimedia playing equipment to start a WiFi hotspot function, configuring the multimedia playing equipment in a WiFi Station mode, and automatically scanning WiFi hotspots to acquire a plurality of WiFi hotspot information corresponding to the plurality of WiFi hotspots.
3. The network connection method according to claim 1, wherein the determining a target channel based on the WiFi hotspot information, an initial channel corresponding to the multimedia playing device, and a preconfigured available channels of the multimedia playing device comprises:
screening out a working channel where each WiFi hotspot is located from the plurality of WiFi hotspot information;
screening at least one screened channel which is the same as the local frequency band from the working channels based on the local frequency band corresponding to the local WiFi hotspot;
determining the target channel based on the at least one filtered channel, the initial channel, and the plurality of available channels.
4. The network connection method of claim 3, wherein the determining the target channel based on the at least one filtered channel, the initial channel, and the plurality of available channels comprises:
sequentially judging whether available channels different from the screened channels exist in the plurality of available channels, if so, stopping the judgment and taking the available channels different from the screened channels as preset channels, and if not, determining the preset channels based on the screened channels;
and judging whether the predetermined channel is the same as the initial channel or not, if so, taking the initial channel as the target channel, and if not, taking the predetermined channel as the target channel.
5. The network connection method of claim 3, wherein the determining the target channel based on the at least one filtered channel, the initial channel, and the plurality of available channels comprises:
judging whether available channels different from the at least one screened channel exist in the plurality of available channels one by one;
in response to that at least one first available channel exists in the plurality of available channels and the at least one screened channel is not the same, judging whether a channel which is the same as the initial channel exists in the at least one first available channel, wherein in response to that the channel which is the same as the initial channel exists in the at least one first available channel, the initial channel is taken as the target channel, or in response to that the channel which is the same as the initial channel does not exist in the at least one first available channel, one of the at least one first available channel is randomly selected as the target channel;
in response to each of the available channels being the same as one of the at least one screened channel, determining a predetermined channel based on the screened channel, and determining whether the predetermined channel is the same as the initial channel, wherein in response to the predetermined channel being not the same as the initial channel, the predetermined channel is taken as the target channel, or in response to the predetermined channel being the same as the initial channel, the initial channel is taken as the target channel.
6. The network connection method according to claim 4 or 5, wherein the determining the predetermined channel based on the filtered channel comprises:
and counting the screened channels to take the screened channel with the least corresponding WiFi hotspot as the predetermined channel.
7. A network connection device provided in a multimedia playback apparatus, the network connection device comprising:
the information acquisition module is used for acquiring a plurality of WiFi hotspot information corresponding to a plurality of WiFi hotspots in a target range;
a channel determination module, configured to determine a target channel based on the WiFi hotspot information, an initial channel corresponding to the multimedia playing device, and a plurality of available channels of the multimedia playing device configured in advance;
and the channel configuration module is used for configuring the local WiFi hotspot of the multimedia playing equipment to the target channel for working so as to enable the client to be connected with the local WiFi hotspot to transmit and control program data of the multimedia playing equipment.
8. The network connection device according to claim 7, wherein the information obtaining module is specifically configured to: responding to the multimedia playing equipment to start a WiFi hotspot function, configuring the multimedia playing equipment in a WiFi Station mode, and automatically scanning WiFi hotspots to acquire a plurality of WiFi hotspot information corresponding to the plurality of WiFi hotspots.
9. A multimedia playback apparatus, comprising:
a WiFi module; and
an embedded processor connected with the WiFi module and provided with an embedded operating system for executing the network connection method of any one of claims 1-5.
10. A multimedia playback system, comprising:
a display screen;
the multimedia playback device of claim 9, connected to the display screen;
the client is connected with the local WiFi hotspot of the multimedia playing device;
the client is used for outputting the program data to the multimedia playing device, so that the multimedia playing device processes the program data and outputs the processed program data to the display screen for playing.
CN202011238545.8A 2020-11-09 2020-11-09 Network connection method and device, multimedia playing equipment and system Pending CN112333737A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011238545.8A CN112333737A (en) 2020-11-09 2020-11-09 Network connection method and device, multimedia playing equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011238545.8A CN112333737A (en) 2020-11-09 2020-11-09 Network connection method and device, multimedia playing equipment and system

Publications (1)

Publication Number Publication Date
CN112333737A true CN112333737A (en) 2021-02-05

Family

ID=74315497

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011238545.8A Pending CN112333737A (en) 2020-11-09 2020-11-09 Network connection method and device, multimedia playing equipment and system

Country Status (1)

Country Link
CN (1) CN112333737A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103916713A (en) * 2014-03-28 2014-07-09 青岛海信电器股份有限公司 Method for mobile terminal to control television, mobile terminal and television
CN104093189A (en) * 2013-09-03 2014-10-08 腾讯科技(深圳)有限公司 Multimedia playing device network initialization method, system, device and terminal
WO2015042967A1 (en) * 2013-09-30 2015-04-02 华为终端有限公司 Channel switching method, apparatus and device
US20160105846A1 (en) * 2014-10-13 2016-04-14 International Business Machines Corporation Determining a preferred wifi hotspot
WO2017032065A1 (en) * 2015-08-26 2017-03-02 中兴通讯股份有限公司 Information displaying and transmission method, and hotspot access method and system
CN107438283A (en) * 2016-05-28 2017-12-05 富泰华工业(深圳)有限公司 A kind of personal hot spot device and method with WiFi Power Controls
WO2018090495A1 (en) * 2016-11-17 2018-05-24 华为技术有限公司 Channel selection method and terminal
CN108174449A (en) * 2018-01-11 2018-06-15 上海展扬通信技术有限公司 Router channels setting method, device and computer readable storage medium
CN108462994A (en) * 2018-03-09 2018-08-28 广东欧珀移动通信有限公司 The channel selecting method and Related product of personal hot spot

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104093189A (en) * 2013-09-03 2014-10-08 腾讯科技(深圳)有限公司 Multimedia playing device network initialization method, system, device and terminal
WO2015042967A1 (en) * 2013-09-30 2015-04-02 华为终端有限公司 Channel switching method, apparatus and device
CN103916713A (en) * 2014-03-28 2014-07-09 青岛海信电器股份有限公司 Method for mobile terminal to control television, mobile terminal and television
US20160105846A1 (en) * 2014-10-13 2016-04-14 International Business Machines Corporation Determining a preferred wifi hotspot
WO2017032065A1 (en) * 2015-08-26 2017-03-02 中兴通讯股份有限公司 Information displaying and transmission method, and hotspot access method and system
CN107438283A (en) * 2016-05-28 2017-12-05 富泰华工业(深圳)有限公司 A kind of personal hot spot device and method with WiFi Power Controls
WO2018090495A1 (en) * 2016-11-17 2018-05-24 华为技术有限公司 Channel selection method and terminal
CN108174449A (en) * 2018-01-11 2018-06-15 上海展扬通信技术有限公司 Router channels setting method, device and computer readable storage medium
CN108462994A (en) * 2018-03-09 2018-08-28 广东欧珀移动通信有限公司 The channel selecting method and Related product of personal hot spot

Similar Documents

Publication Publication Date Title
CN109618373B (en) Link selection method and related device
US10791492B2 (en) Method and apparatus for monitoring internet connection status in wireless communication system
US11330650B2 (en) Wireless connection method and device
CN106604403B (en) Miracast protocol-based channel selection method and system
CN106230492B (en) Terminal antenna switching method and device and mobile terminal
EP3116279A1 (en) Wireless communication control method and apparatus
EP3857975B1 (en) Mobile device and electronic device for wireless communication, and operation methods thereof
US20190238613A1 (en) Self-Organizing Network Communication
US20210258922A1 (en) Resource configuration method and apparatus
KR20170115936A (en) Message Transmission Method, and Message Reception Method and Apparatus
US20180227443A1 (en) Communication apparatus, method for controlling communication apparatus, and storage medium
US10425888B2 (en) Wireless communication apparatus and method of controlling wireless communication apparatus
EP3579644A1 (en) Data transmission method and apparatus
CN105530682A (en) Terminal access method and related device
CN111294857A (en) Intelligent display screen, control method, storage medium and electronic equipment
CN109725543B (en) Equipment control code configuration method and device, cloud server and network system
CN110913450B (en) Control method and device for mobile hotspot, mobile terminal and storage medium
CN104581847A (en) Wireless device configuration method and apparatus
CN106817179B (en) Self-adaptive test system and method
CN112333737A (en) Network connection method and device, multimedia playing equipment and system
CN112153712A (en) Communication method and device of terminal and base station
CN105578499A (en) WIFI wireless fidelity processing method and terminal
US9973948B2 (en) Mobile terminal testing apparatus and cell use method for use in the same
US20220141900A1 (en) Communication method, communication system, and wireless communication device
US10911293B2 (en) Terminal and information processing 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