Quick connection method and electronic equipment

By acquiring target information and determining channel scanning and selection strategies, and reconfiguring the duration of scanning and channel occupancy, the problem of sharing failures in fast connections was resolved, and the connection success rate was improved.

CN121603705APending Publication Date: 2026-03-03HISENSE VISUAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511502394.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-10-20
Publication Date
2026-03-03

AI Technical Summary

Technical Problem

When using Quick Connect to share network information from one device to another via Wi-Fi, sharing failures often occur, resulting in a low connection success rate.

Method used

By acquiring target information, including the theoretical channels supported by electronic devices and the occupied channels of connected wireless access points, and based on preset configuration information, network information, and target information, the channel scanning strategy and channel selection strategy are determined, and the duration of scanning and occupying channels is reconfigured to avoid sharing failures caused by prolonged scanning or occupation.

Benefits of technology

It improves the connection success rate when users use the fast connection, reduces the number of sharing failures, and improves the efficiency of network information sharing between devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121603705A_ABST
    Figure CN121603705A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of communication, in particular to a quick connection method and electronic equipment. The method comprises the steps of obtaining target information in response to a display operation of displaying a target interface containing a target identifier; wherein the target identifier is used for acquiring network information of the shared network, and the target information comprises at least two theoretical channels supported by the electronic equipment and any one of occupied channels occupied by the connected wireless access point; determining a target strategy based on multiple items of preset configuration information, network information and target information; and performing configuration according to the target strategy, and displaying a target interface.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of communication technology, and in particular to a fast connection method and electronic device. Background Technology

[0002] Currently, to simplify network configuration on electronic devices, an increasing number of devices support Quick Connect. This allows users to share Wi-Fi network information from one device to another. However, users often encounter sharing failures when using Quick Connect to share Wi-Fi network information from one device to another.

[0003] Therefore, improving the connection success rate when users share network information from one device to another using Wi-Fi (Wi-Fi) technology has become an urgent problem to be solved. Summary of the Invention

[0004] To address the aforementioned technical problems, this disclosure provides a fast connection method and an electronic device.

[0005] In a first aspect, this disclosure provides an electronic device, comprising: a display configured to display a target interface containing a target identifier; wherein the target identifier is used to acquire network information of a shared network; a controller configured to: acquire target information in response to a display operation of displaying the target interface; wherein the target information includes any one of at least two theoretical channels supported by the electronic device and any one of the occupied channels occupied by a connected wireless access point; determine a target strategy based on multiple of preset configuration information, network information, and target information; wherein the preset configuration information includes multiple of module information of a non-cellular communication module, network status information, and historical connection information of a wireless network, and the target strategy includes any one of a channel scanning strategy and a channel selection strategy, wherein the channel scanning strategy is used to indicate that the total duration of scanning one or more theoretical channels is less than the data packet transmission and reception duration in the network information, and the channel selection strategy is used to indicate the dwell time of the occupied channel and / or the actual channel in the network information; and configure according to the target strategy to display the target interface.

[0006] Secondly, this disclosure provides a fast connection method, comprising: in response to a display operation of displaying a target interface containing a target identifier, acquiring target information; wherein the target identifier is used to acquire network information of the shared network, and the target information includes any one of at least two theoretical channels supported by the electronic device and any one of the occupied channels occupied by the connected wireless access point; determining a target strategy based on multiple of preset configuration information, network information, and target information; wherein the preset configuration information includes multiple of module information of the non-cellular communication module, network status information, and historical connection information of the wireless network, and the target strategy includes any one of a channel scanning strategy and a channel selection strategy, wherein the channel scanning strategy is used to indicate that the total duration of scanning one or more theoretical channels is less than the data packet transmission and reception duration in the network information, and the channel selection strategy is used to indicate the dwell time of the occupied channel and / or the actual channel in the network information; configuring according to the target strategy, and displaying the target interface.

[0007] Thirdly, the present invention provides a computer-readable storage medium comprising: storing a computer program on the computer-readable storage medium, the computer program being executed by a controller using a fast connection method as provided in any of the second aspects.

[0008] Fourthly, the present invention provides a computer program product that, when run on a computer, causes the computer to perform a fast connection method as provided in any of the second aspects.

[0009] It should be noted that the aforementioned computer instructions may be stored, in whole or in part, on the first computer-readable storage medium. The first computer-readable storage medium may be packaged together with the controller of the electronic device, or it may be packaged separately from the controller of the electronic device; this disclosure does not impose any limitations on this.

[0010] The descriptions of the second, third, and fourth aspects in this disclosure can be referenced to the detailed description of the first aspect; and the beneficial effects of the descriptions of the second, third, and fourth aspects can be referenced to the analysis of the beneficial effects of the first aspect, which will not be repeated here.

[0011] In this disclosure, the names of the aforementioned electronic devices do not limit the devices or functional modules themselves. In actual implementation, these devices or functional modules may appear under other names. As long as the functions of each device or functional module are similar to those of this disclosure, they fall within the scope of the claims of this disclosure and their equivalents.

[0012] These or other aspects of this disclosure will become more readily apparent in the following description.

[0013] The technical solution provided in this disclosure has the following advantages compared with the prior art: The electronic device provided in this disclosure, in response to a display operation of displaying a target interface, acquires target information; wherein, the target information includes at least two theoretical channels supported by the electronic device and any one of the occupied channels occupied by the connected wireless access point; a target strategy is determined based on multiple of the preset configuration information, network information, and target information; wherein, the preset configuration information includes multiple of the module information of the non-cellular communication module, network status information, and historical connection information of the wireless network, and the target strategy includes any one of the channel scanning strategy and the channel selection strategy, wherein the channel scanning strategy is used to indicate that the total duration of scanning one or more theoretical channels is less than the data packet transmission and reception duration in the network information; the target interface is displayed according to the target strategy. In this way, electronic devices can reconfigure the total time for scanning one or more theoretical channels in a fast connection, as well as the data packet transmission and reception time in the network information, based on the channel scanning strategy. Since the reconfigured total time for scanning one or more theoretical channels is less than the data packet transmission and reception time in the network information, it can avoid the problem of sharing failure caused by scanning theoretical channels for too long and exceeding the data packet transmission and reception time in the network information. Similarly, electronic devices can reconfigure the dwell time of the occupied channels used by connected wireless access points in a fast connection and the actual channels in the network information, based on the channel selection strategy. This avoids the problem of electronic devices occupying actual channels for too long, causing the occupied channels to be unable to receive corresponding data packets, thus preventing sharing failure. Since the number of sharing failures is reduced, the connection success rate when users use fast connection to share Wi-Fi network information from one device to another can be improved. Attached Figure Description

[0014] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.

[0015] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0016] Figure 1 A schematic diagram illustrating a scenario for the fast connection method provided in this application embodiment; Figure 2 This is one of the structural schematic diagrams of the electronic device provided in the embodiments of this application; Figure 3 This is a second schematic diagram of the structure of the electronic device provided in the embodiments of this application; Figure 4One of the flowcharts illustrating the fast connection method provided in this application embodiment; Figure 5 A second schematic flowchart illustrating the fast connection method provided in this application embodiment; Figure 6 The third flowchart illustrates the fast connection method provided in this application embodiment; Figure 7 The fourth flowchart illustrates the fast connection method provided in this application embodiment; Figure 8 Fifth flowchart illustrating the fast connection method provided in this application embodiment; Figure 9 A flowchart illustrating the fast connection method provided in this application embodiment is shown in Figure 6. Figure 10 The seventh flowchart illustrates the fast connection method provided in this application embodiment; Figure 11 Eighth schematic flowchart of the fast connection method provided in the embodiments of this application; Figure 12 This is the ninth flowchart illustrating the fast connection method provided in the embodiments of this application. Detailed Implementation

[0017] To better understand the above-mentioned objectives, features, and advantages of this disclosure, the solutions disclosed herein will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.

[0018] Numerous specific details are set forth in the following description in order to provide a full understanding of this disclosure, but this disclosure may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only some, and not all, of the embodiments of this disclosure.

[0019] The electronic device provided in this application can have various implementation forms, such as a television, a smart television, a laser projection device, a monitor, an electronic bulletin board, an electronic desktop, etc. Figure 1 and Figure 2 This is one specific embodiment of the electronic device of this application.

[0020] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0021] Figure 1 This is a schematic diagram illustrating an operational scenario between a home appliance and a control device according to one or more embodiments of this application, such as... Figure 1 As shown, a user can operate the display device 200 through the terminal device 300 and / or the control device 100. The control device 100 can be a remote control, and communication between the remote control and the display device includes infrared protocol communication, Bluetooth protocol communication, wireless or other wired methods to control the display device 200. The user can input user commands through buttons on the remote control, voice input, control panel input, etc., to control the display device 200. In some embodiments, mobile terminals, tablet computers, computers, laptops, and other smart devices can also be used to control the display device 200.

[0022] In some embodiments, the electronic device provided in this disclosure may be the display device 200 described above. When a user needs to configure the wireless network of the display device 200 using quick connection, the user can select a control on the display device 200 to enable quick connection. In response to the display operation of the target interface, the display device 200 obtains target information. This target information includes at least two theoretical channels supported by the electronic device and any one of the occupied channels occupied by the connected wireless access point. A target strategy is determined based on multiple factors including preset configuration information, network information, and target information. The preset configuration information includes multiple factors including module information of the non-cellular communication module, network status information, and historical connection information of the wireless network. The target strategy includes any one of a channel scanning strategy and a channel selection strategy. The channel scanning strategy indicates that the total time for scanning one or more theoretical channels is less than the data packet transmission and reception time in the network information. The target interface is then displayed according to the target strategy. In this way, the display device 200 can reconfigure the total time for scanning one or more theoretical channels in the fast connection and the data packet transmission and reception time in the network information based on the channel scanning strategy. Since the reconfigured total time for scanning one or more theoretical channels is less than the data packet transmission and reception time in the network information, it can avoid the problem of sharing failure caused by scanning theoretical channels for a long time and exceeding the data packet transmission and reception time in the network information. Similarly, the display device 200 can reconfigure the dwell time of the occupied channel and the actual channel in the network information of the connected wireless access point in the fast connection based on the channel selection strategy, thereby avoiding the problem of the display device 200 occupying the actual channel for a long time, causing the occupied channel to be unable to receive the corresponding data packet, and thus causing the problem of sharing failure.

[0023] Figure 2 A hardware configuration block diagram of a display device 200 according to an exemplary embodiment is shown. For example... Figure 2 The display device 200 shown includes at least one of the following: a tuner / demodulator 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, and a user interface 280. The controller includes a central processing unit, a video processor, an audio processor, a graphics processor, RAM, ROM, and a first to nth interface for input / output. The display 260 may be a touch-enabled display, such as a touch screen display. The detector 230 is used to acquire signals from the external environment or for interaction with the external environment.

[0024] In some examples, the external device interface 240 may include, but is not limited to, one or more of 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. It may also be a composite input / output interface formed by multiple interfaces mentioned above.

[0025] In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in memory. The controller 250 controls the overall operation of the display device 200.

[0026] In some examples, the display device 200 of one or more embodiments is a television set 1, and the operating system of the television set 1 is the Android system, for example... Figure 3 As shown, TV 1 can be logically divided into an application layer (referred to as "application layer") 21, an application framework layer (referred to as "framework layer") 22, an Android runtime and system library layer (referred to as "system runtime library layer") 23, and a kernel layer 29.

[0027] Application layer 21 includes one or more applications. These applications can be system applications or third-party applications. For example, application layer 21 may include a first application, which is used to play multimedia files or television programs.

[0028] Framework layer 22 provides application programming interfaces (APIs) and programming frameworks for applications in application layer 21. System runtime library layer 23 provides support for the upper layer, framework layer 22. When framework layer 22 is used, the Android operating system runs the C / C++ libraries contained in system runtime library layer 23 to implement the functions required by framework layer 22. Kernel layer 29 acts as software middleware between the hardware layer and application layer 21, managing and controlling hardware and software resources.

[0029] In some examples, the display device provided in this application embodiment may be the television set 1 described above. When a user needs to configure the wireless network of the television set 1 using quick connection, the user can select the control to enable quick connection on the television set 1. At this time, the processing unit 202 of the television set 1, in response to the display operation of the display unit 201 to display the target interface, obtains target information; the processing unit 202 of the television set 1 determines a target strategy based on multiple factors among preset configuration information, network information, and target information; the processing unit 202 of the television set 1 configures according to the target strategy and displays the target interface. Alternatively, the processing unit 301 of the television set 1, in response to the display operation of displaying the target interface, obtains target information; the processing unit 301 of the television set 1 determines a target strategy based on multiple factors among preset configuration information, network information, and target information; the processing unit 301 of the television set 1 configures according to the target strategy and displays the target interface.

[0030] Specifically, when the executing entity of the fast connection method provided in this embodiment is a television set 1, the storage module 203 of the television set 1 is used to store data such as the program code of the fast connection method provided in this embodiment.

[0031] In the following embodiments, the television set 1 described above is used as the execution subject of the fast connection method provided in the embodiments of this disclosure to illustrate the method of this application.

[0032] This application provides a fast connection method, applied to a television set 1, such as... Figure 4 As shown, the connection method for this fast connection may include S11-S13.

[0033] S11. In response to a display operation that shows a target interface containing a target identifier, obtain target information. The target identifier is used to obtain network information about the shared network, and the target information includes any one of at least two theoretical channels supported by the electronic device or an occupied channel occupied by a connected wireless access point.

[0034] In some examples, when a user needs to configure the wireless network of TV 1 using Quick Connect, the user can select the Quick Connect control on TV 1. TV 1 then responds by displaying a target interface containing a target identifier. However, after entering the target interface, TV 1 periodically performs a WLAN scan, which takes 3-6 seconds. Since the DPP packet transmission timeout is 2 seconds (as specified in the DPP protocol), switching to other channels during the WLAN scan can cause DPP to fail to transmit and receive packets normally, resulting in a timeout and disconnection. Therefore, the Quick Connect connection method provided in this embodiment involves TV 1 obtaining target information in response to the display of the target interface containing the target identifier. Based on multiple factors including preset configuration information, network information, and target information, a target strategy is determined. If the target strategy is a channel scanning strategy, the total time for scanning one or more theoretical channels is reconfigured to be less than the data packet transmission and reception time in the network information, thereby avoiding the aforementioned problem and preventing sharing failure.

[0035] Similarly, if TV 1 is already connected to a wireless access point (AP), and the user enters the target interface and stays on the target interface for a period of time without connecting to a new AP, returning to the network settings interface will result in a situation where no network is connected. This occurs because after entering the target interface, TV 1 switches the occupied channel to the actual channel in the network information. If the occupied time of the actual channel is longer than the data packet reception time of the occupied channel, the connected AP will be deregistered. At the same time, if the user does not send the network sharing information to TV 1 within the specified time, the target interface will remain on the target interface for a period of time without connecting to a new AP, and the connected AP will be deregistered, resulting in TV 1 not connecting to any network. Therefore, the fast connection method provided in this embodiment of the present disclosure involves the television 1 responding to a display operation that displays a target interface containing a target identifier, obtaining target information, and determining a target strategy based on multiple factors including preset configuration information, network information, and target information. For example, if the target strategy is a channel selection strategy, the television 1 avoids occupying the actual channel and / or the channel being occupied for a long time by reconfiguring the occupied channel and / or the dwell time of the actual channel in the network information, thereby preventing the television 1 from being unable to connect to any network.

[0036] S12. Determine the target strategy based on multiple factors from the preset configuration information, network information, and target information. The preset configuration information includes multiple factors from the non-cellular communication module's module information, network status information, and historical connection information of the wireless network. The target strategy includes either a channel scanning strategy or a channel selection strategy. The channel scanning strategy indicates that the total duration of scanning one or more theoretical channels is less than the data packet transmission and reception duration in the network information. The channel selection strategy indicates the dwell time on occupied channels and / or actual channels in the network information.

[0037] In some examples, preset configuration information, network information, and target information can be input into the policy model for processing to obtain a theoretical policy. This theoretical policy is then used as the target policy. The training process of the policy model includes: Obtain the first training sample data and the first labeling result of the first training sample data; the first training data includes historical preset configuration information, network information and target information, and the first labeling result includes the actual strategy corresponding to each historical preset configuration information, network information and target information.

[0038] The first training sample data is input into the first neural network model for learning, and the first prediction result of the first neural network model on the first training sample data is obtained.

[0039] Based on the first prediction result and the first labeling result, the first network parameters of the first neural network model are adjusted until the first neural network model converges to obtain the policy model.

[0040] In some examples, the target strategy can be determined based on preset configuration information and target information.

[0041] In some examples, target strategies can be determined based on network information and target information.

[0042] S13. Configure according to the target strategy and display the target interface.

[0043] In some examples, while displaying the target interface, TV 1 does not need to execute the target strategy and exit the target interface until it receives an exit operation to exit the target interface.

[0044] As described above, the fast connection method provided in this embodiment allows the television 1 to reconfigure the total time for scanning one or more theoretical channels and the data packet transmission and reception time in the network information based on a channel scanning strategy. Since the reconfigured total time for scanning one or more theoretical channels is less than the data packet transmission and reception time in the network information, it avoids the problem of sharing failure caused by exceeding the data packet transmission and reception time in the network information due to prolonged scanning of theoretical channels. Similarly, the television 1 can reconfigure the dwell time of the occupied channel and the actual channel in the network information of the connected wireless access point in the fast connection based on a channel selection strategy, thereby avoiding the problem of the television 1 occupying the actual channel for a long time, causing the occupied channel to be unable to receive the corresponding data packet, and thus resulting in sharing failure.

[0045] In some feasible examples, the target information includes at least two theoretical channels, the target strategy includes a channel scanning strategy, and the preset configuration information includes module information and network status information; combined with Figure 4 ,like Figure 5 As shown, the above S12 can be specifically implemented through the following S120-S122.

[0046] S120. Based on module information, the theoretical channel is divided to determine at least one scanning round and the theoretical channels contained in each scanning round; wherein, the total duration of scanning each theoretical channel in the same scanning round is less than the data packet transmission and reception duration in the network information. In some examples, module information includes module model, hardware architecture, supported communication protocols, and performance parameters (such as one or more of the following: transmission rate, power consumption level, and operating mode). In this case, the channel allocation table can be queried based on the module information to determine the total number of scan rounds and the theoretical channels included in each scan round.

[0047] For example, taking module information including module model and hardware architecture as an example, the channel allocation table is shown in Table 1.

[0048] Table 1

[0049] If the model number in the module information is Model A and the hardware architecture is Architecture A, then by looking up Table 1, we can know that the total number of scanning rounds is 3. The first scanning round scans channels 1-14, the second scanning round scans channels 15-18, and the third scanning round scans channels 19-30.

[0050] In some examples, the dwell time and channel switching time of a single theoretical channel can be determined based on module information; then, the theoretical channels are divided based on the dwell time and channel switching time to determine at least one scanning round and the theoretical channels contained in each scanning round.

[0051] It should be noted that the reason for not blocking channel scanning is that if the device information is not scanned for a long time, it will not be updated, resulting in an empty list after exiting the target interface, which will affect the user experience.

[0052] S121. Based on network status information, determine the scanning interval for each scanning round. The network status information includes one or more of the following: signal strength and channel bandwidth. In some examples, the scan interval time for each scan round can be determined by querying the interval schedule based on network status information.

[0053] For example, taking network status information including signal strength and channel bandwidth as an example, the interval schedule is shown in Table 2.

[0054] Table 2

[0055] If the signal strength in the network status information falls within the interval [0, A] and the channel bandwidth is bandwidth 1, the scanning interval time can be determined as T1 by looking up Table 2. Therefore, the scanning interval time for each scanning round is T1.

[0056] In some examples, the maximum reception duration for a single data packet can be determined based on network state information. Then, the total duration of theoretical channel dwell time and channel switching time included in each scan round is calculated, and the difference is taken from the data packet transmission and reception duration in the network information. If the maximum reception duration is always less than this difference, the maximum reception duration is used as the scan interval. If there is a difference less than the maximum reception duration, that difference is used as the scan interval.

[0057] In some examples, network state information can be input into the objective function for calculation to obtain theoretical values. These theoretical values ​​are then used as the scan interval. The objective function includes f(x) + f(y) + f(z) + ... + f(n), where x, y, z, and n represent the parameter values ​​of any one of the parameters in the network state information.

[0058] S122. Generate a channel scanning strategy based on at least one scanning round, the theoretical channel contained in each scanning round, and the scanning interval time.

[0059] As can be seen from the above, in the fast connection method provided in this embodiment, the television 1 reconfigures the total time for scanning one or more theoretical channels and the data packet transmission and reception time in the network information based on the channel scanning strategy. Since the reconfigured total time for scanning one or more theoretical channels is less than the data packet transmission and reception time in the network information, the problem of sharing failure caused by exceeding the data packet transmission and reception time in the network information due to long-term scanning of theoretical channels can be avoided.

[0060] In some feasible examples, combining Figure 5 ,like Figure 6 As shown, the above S120 can be specifically implemented through the following S1200 and S1201.

[0061] S1200: Based on the module information of the non-cellular communication module, determine the dwell time and channel switching time of a single theoretical channel; In some examples, the dwell time and channel switching time of a single theoretical channel can be determined by querying a time relationship table based on module information.

[0062] For example, taking module information including module model and hardware architecture as an example, the time relationship table is shown in Table 3.

[0063] Table 3

[0064] If the module model in the module information is Model A and the hardware architecture is Architecture 1, then by looking up Table 3, the dwell time of a single theoretical channel is determined to be T3 and the channel switching time is T5.

[0065] In some examples, module information can be input into a time model for calculation to determine the dwell time and channel switching time of a single theoretical channel. The training process of the time model includes: Obtain the second training sample data and the third labeling result of the second training sample data. The second training sample data includes historical module information, and the second labeling result includes the dwell time and channel switching time of a single theoretical channel corresponding to the historical module information.

[0066] The second training sample data is input into the second neural network model for learning, and the third prediction result of the second neural network model on the second training sample data is obtained.

[0067] Based on the second prediction result and the second labeling result, the network parameters of the second neural network model are adjusted until the second neural network model converges to obtain the time model.

[0068] S1201. Based on dwell time and channel switching time, the theoretical channels are divided to determine at least one scanning round and the theoretical channels contained in each scanning round. The total duration of scanning all theoretical channels within the same scanning round is less than the data packet transmission and reception duration in the network information.

[0069] As can be seen from the above, in the fast connection method provided in this embodiment, the television 1 reconfigures the total time for scanning one or more theoretical channels and the data packet transmission and reception time in the network information based on the channel scanning strategy. Since the reconfigured total time for scanning one or more theoretical channels is less than the data packet transmission and reception time in the network information, the problem of sharing failure caused by exceeding the data packet transmission and reception time in the network information due to long-term scanning of theoretical channels can be avoided.

[0070] In some feasible examples, the target information includes at least two theoretical channels, the target strategy includes a channel scanning strategy, and the preset configuration information includes module information, network status information, and historical connection information; combined with Figure 4 ,like Figure 7 As shown, the above S12 can be specifically implemented through the following S122-S124.

[0071] S123. Based on module information and historical connection information, the theoretical channels are divided to determine at least one scanning round and the theoretical channels contained in each scanning round; wherein, the total duration of scanning each theoretical channel in the same scanning round is less than the data packet transmission and reception duration in the network information.

[0072] In some examples, in order to improve the efficiency of channel scanning, the fast connection method provided in this disclosure improves the efficiency of channel scanning by introducing historical connection information to correct the number of theoretical channels included in each scanning round when the television 1 scans channels.

[0073] In some examples, historical connection information includes previously successfully connected wireless networks, the historical channels used by the wireless networks, and the operating parameters of the wireless networks at the time of connection, such as signal strength, upload rate, and download rate.

[0074] In some examples, both module information and historical connection information can be input into the partitioning model to determine at least one scan round and the theoretical channels contained in each scan round. The training process of the partitioning model includes: Obtain the third training sample data and the third labeling result of the third training sample data. The third training sample data includes historical module information and historical connection information, and the third labeling result includes the total number of scan rounds and the theoretical channels contained in each scan round.

[0075] The third training sample data is input into the third neural network model for learning, and the third prediction result of the third neural network model on the third training sample data is obtained.

[0076] Based on the third prediction result and the third labeling result, the network parameters of the third neural network model are adjusted until the third neural network model converges, thus obtaining the partitioning model.

[0077] In some examples, the total number of scan rounds and the theoretical channels included in each scan round can be determined based on module information; historically successfully connected channels can be determined based on historical connection information. Then, the theoretical channels included in the first scan round are updated based on the historical channels, resulting in an updated first scan round. The updated first scan round includes all historical channels. Next, the dwell time and total channel switching time of each channel in the first scan round are calculated. If the total duration is less than the data packet transmission and reception duration in the network information, the channels other than those in the first scan round are reallocated, generating updated scan rounds and the theoretical channels included in each scan round. If the total duration is greater than or equal to the data packet transmission and reception duration in the network information, then all channels except historical channels in the first scan round are removed until the total duration is less than the data packet transmission and reception duration in the network information. If, after removing all channels except historical channels in the first scan round, the total duration is still greater than or equal to the data packet transmission and reception duration in the network information, then the historical channels are recombined so that the total duration of the dwell time and channel switching time of the historical channels in each combination is less than the data packet transmission and reception duration in the network information. One combination corresponds to one scan round.

[0078] S124. Based on network status information, determine the scanning interval time for each scanning round; wherein, network status information includes one or more of signal strength and channel bandwidth.

[0079] S122. Generate a channel scanning strategy based on at least one scanning round, the theoretical channel contained in each scanning round, and the scanning interval time.

[0080] For example, with a total of 4 scan rounds, after the TV 1 displays the target interface, the processing unit 202 in the framework issues an instruction to adjust the scanning strategy: (1) After entering the target interface at time T0, the first round of scanning is performed, scanning the 2.4G frequency band. Generally, a maximum of 14 channels are scanned, and the total scanning time is expected to be within 1.4s. (2) After time T1, a second round of scanning will be performed to scan the DFS channel of the 5G non-cellular communication module. Generally, a maximum of 9 channels will be scanned, and the total scanning time is expected to be within 0.9s. (3) After T2 time, the third round of scanning will be carried out to scan the 5G DFS channel, generally up to 16 channels, and the total scanning time is expected to be within 1.6s; (4) After T3 time, the fourth round of scanning will be carried out, scanning the 6G main channel, generally a maximum of 4 channels, and the total scanning time is expected to be within 0.4s; (5) After interval T4, scan sequentially starting from step (1) above until exiting the target display interface.

[0081] As can be seen from the above, in the fast connection method provided in this embodiment, the television 1 reconfigures the total time for scanning one or more theoretical channels and the data packet transmission and reception time in the network information based on the channel scanning strategy. Since the reconfigured total time for scanning one or more theoretical channels is less than the data packet transmission and reception time in the network information, the problem of sharing failure caused by exceeding the data packet transmission and reception time in the network information due to long-term scanning of theoretical channels can be avoided.

[0082] In some feasible examples, combining Figure 7 ,like Figure 8 As shown, the above S123 can be specifically implemented through the following S1230 and S1231.

[0083] S1230. Based on the module information of the non-cellular communication module, determine the dwell time and channel switching time of a single theoretical channel.

[0084] S1231. Based on dwell time, channel switching time and historical connection information, the theoretical channel is divided to determine at least one scanning round and the theoretical channels contained in each scanning round.

[0085] As can be seen from the above, in the fast connection method provided in this embodiment, the television 1 reconfigures the total time for scanning one or more theoretical channels and the data packet transmission and reception time in the network information based on the channel scanning strategy. Since the reconfigured total time for scanning one or more theoretical channels is less than the data packet transmission and reception time in the network information, the problem of sharing failure caused by exceeding the data packet transmission and reception time in the network information due to long-term scanning of theoretical channels can be avoided.

[0086] In some feasible examples, target information includes occupied channels, and network information includes actual channels; combined with Figure 4 ,like Figure 9 As shown, the above S12 can be implemented by the following S125.

[0087] S125. Based on the comparison results between the actual channel and the occupied channel, determine the target strategy.

[0088] For example, in response to a display operation that shows a target interface containing a target identifier, the Device Provisioning Protocol Manager (DPP manager) in TV 1 issues a startlisten command. The startlisten command includes the default actual listen channel. After receiving the startlisten command, the processing unit 301 in Wpa_supplicant begins to determine the channel. First, it checks if the WLAN is connected. If not, it uses the actual channel in the command. If connected, it checks if the WLAN's occupied channel is available, such as whether the occupied channel is the target channel (e.g., a 6G channel, a DFS channel, etc.). If the occupied channel is not the target channel, it uses the occupied channel as the actual channel. If the occupied channel is the target channel, and the actual channel and the occupied channel are different, the processing unit 301 of wpa_supplicant needs to implement the following logic: stay on the actual channel for a period of time, switch to the occupied channel after the timeout period, and then loop until the target interface is displayed.

[0089] As can be seen from the above, in the fast connection method provided in this embodiment, the TV 1 can reconfigure the dwell time of the occupied channel and the actual channel in the network information of the wireless access point already connected in the fast connection based on the channel selection strategy, thereby avoiding the TV 1 occupying the actual channel for a long time, which would cause the occupied channel to be unable to receive the corresponding data packets, and thus cause the sharing failure problem.

[0090] In some feasible examples, the target strategy includes a channel selection strategy; combined with Figure 9 ,like Figure 10 As shown, the above S125 can be implemented by the following S1250.

[0091] S1250. When the comparison result shows that the actual channel and the occupied channel are the same, the channel selection strategy is determined to stay on the actual channel for a first duration. If no exit operation is received from the target interface, the channel will continue to stay on the actual channel for a first duration until an exit operation is received, at which point the channel will stop staying on the actual channel for a first duration.

[0092] In some examples, the first duration can be 1 second.

[0093] As can be seen from the above, in the fast connection method provided in this embodiment, the TV 1 can reconfigure the dwell time of the occupied channel and the actual channel in the network information of the wireless access point already connected in the fast connection based on the channel selection strategy, thereby avoiding the TV 1 occupying the actual channel for a long time, which would cause the occupied channel to be unable to receive the corresponding data packets, and thus cause the sharing failure problem.

[0094] In some feasible examples, the target strategy includes a channel selection strategy; combined with Figure 10 ,like Figure 11 As shown, the above S125 can be specifically implemented through the following S1251.

[0095] S1251. When the comparison result shows that the actual channel is different from the occupied channel and the occupied channel is different from the target channel, the channel selection strategy is to switch the actual channel to the occupied channel and stay on the actual channel for a second duration. If no exit operation is received from the target interface, the channel continues to stay on the actual channel for a second duration until an exit operation is received, at which point the channel stops staying on the actual channel for a second duration.

[0096] In some examples, the second duration can be 1 second.

[0097] As can be seen from the above, in the fast connection method provided in this embodiment, the TV 1 can reconfigure the dwell time of the occupied channel and the actual channel in the network information of the wireless access point already connected in the fast connection based on the channel selection strategy, thereby avoiding the TV 1 occupying the actual channel for a long time, which would cause the occupied channel to be unable to receive the corresponding data packets, and thus cause the sharing failure problem.

[0098] In some feasible examples, the target strategy includes a channel selection strategy; combined with Figure 11 ,like Figure 12 As shown, the above S125 can be specifically implemented through the following S1252.

[0099] S1252. When the comparison result shows that the actual channel and the occupied channel are different, and the occupied channel and the target channel are the same, the channel selection strategy is determined to stay on the actual channel for a third time and on the occupied channel for a fourth time. If no exit operation to exit the target interface is received, continue to stay on the actual channel for a third time and on the occupied channel for a fourth time until an exit operation is received, then stop staying on the actual channel for a third time and stay on the occupied channel for a fourth time.

[0100] In some examples, the third duration can be 1 second, and the fourth duration can be 200 ms.

[0101] As can be seen from the above, in the fast connection method provided in this embodiment, the TV 1 can reconfigure the dwell time of the occupied channel and the actual channel in the network information of the wireless access point already connected in the fast connection based on the channel selection strategy, thereby avoiding the TV 1 occupying the actual channel for a long time, which would cause the occupied channel to be unable to receive the corresponding data packets, and thus cause the sharing failure problem.

[0102] The foregoing mainly describes the solutions provided by the embodiments of this application from a methodological perspective. To achieve the above functions, it includes corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should readily recognize that, based on the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0103] This application embodiment can divide the electronic device into functional modules according to the above method example. For example, each function can be divided into its own functional modules, or two or more functions can be integrated into one processing unit. The integrated modules can be implemented in hardware or as software functional modules. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.

[0104] An embodiment of this application provides a schematic diagram of the structure of an electronic device, including a display 101 and a controller 102.

[0105] Display 101 is configured to display a target interface containing a target identifier; wherein the target identifier is used to obtain network information of the shared network; Controller 102 is configured as follows: In response to a display operation that displays the target interface, target information is acquired; wherein, the target information includes at least two theoretical channels supported by the electronic device and any one of the occupied channels occupied by the connected wireless access point; The target strategy is determined based on multiple factors from the preset configuration information, network information, and target information. The preset configuration information includes multiple factors from the non-cellular communication module information, network status information, and historical connection information of the wireless network. The target strategy includes either the channel scanning strategy or the channel selection strategy. The channel scanning strategy is used to indicate that the total duration of scanning one or more theoretical channels is less than the data packet transmission and reception duration in the network information. The channel selection strategy is used to indicate the dwell time of occupied channels and / or actual channels in the network information. Configure according to the target strategy and display the target interface.

[0106] In some feasible examples, the target information includes at least two theoretical channels, the target strategy includes a channel scanning strategy, and the preset configuration information includes module information and network status information. When the controller 102 determines the target strategy based on multiple factors including preset configuration information, network information, and target information, it is further configured as follows: The theoretical channels are divided based on module information to determine at least one scanning round and the theoretical channels contained in each scanning round; wherein, the total duration of scanning all theoretical channels in the same scanning round is less than the data packet transmission and reception duration in the network information. Based on network status information, the scanning interval time for each scanning round is determined; whereby network status information includes one or more of signal strength and channel bandwidth; A channel scanning strategy is generated based on at least one scanning round, the theoretical channel contained in each scanning round, and the scanning interval time.

[0107] In some implementable examples, when the controller 102 performs module information based on the cellular communication module to partition the theoretical channel and determine at least one scan round and the theoretical channels contained in each scan round, it is further configured to: Based on the module information of the non-cellular communication module, determine the dwell time and channel switching time of a single theoretical channel; The theoretical channels are divided based on dwell time and channel switching time to determine at least one scanning round and the theoretical channels contained in each scanning round; wherein, the total time for scanning all theoretical channels in the same scanning round is less than the data packet transmission and reception time in the network information.

[0108] In some feasible examples, the target information includes at least two theoretical channels, the target strategy includes a channel scanning strategy, and the preset configuration information includes module information, network status information, and historical connection information. When the controller 102 determines the target strategy based on multiple factors including preset configuration information, network information, and target information, it is further configured as follows: Theoretical channels are divided based on module information and historical connection information to determine at least one scanning round and the theoretical channels contained in each scanning round; wherein, the total duration of scanning all theoretical channels in the same scanning round is less than the data packet transmission and reception duration in the network information. Based on network status information, the scanning interval time for each scanning round is determined; whereby network status information includes one or more of signal strength and channel bandwidth.

[0109] In some implementable examples, when performing the partitioning of theoretical channels based on module information and historical connection information to determine at least one scan round and the theoretical channels contained in each scan round, controller 102 is further configured to: Based on the module information of the non-cellular communication module, determine the dwell time and channel switching time of a single theoretical channel; The theoretical channels are divided based on dwell time, channel switching time, and historical connection information to determine at least one scanning round and the theoretical channels contained in each scanning round.

[0110] In some feasible examples, target information includes occupied channels, and network information includes actual channels; When the controller 102 determines the target strategy based on multiple factors including preset configuration information, network information, and target information, it is further configured as follows: The target strategy is determined based on the comparison results between the actual channel and the occupied channel.

[0111] In some feasible examples, the target strategy includes a channel selection strategy; When the controller 102 determines the target strategy based on the comparison results between the actual channel and the occupied channel, it is further configured to: If the comparison result shows that the actual channel and the occupied channel are the same, the channel selection strategy is determined to stay on the actual channel for a first duration. If no exit operation is received from the target interface, the channel will continue to stay on the actual channel for a first duration until an exit operation is received, at which point the channel will stop staying on the actual channel for a first duration.

[0112] In some feasible examples, the target strategy includes a channel selection strategy; When the controller 102 determines the target strategy based on the comparison results between the actual channel and the occupied channel, it is further configured to: When the comparison result shows that the actual channel is different from the occupied channel, and the occupied channel is different from the target channel, the channel selection strategy is to switch the actual channel to the occupied channel, stay on the actual channel for a second duration, and continue to stay on the actual channel for a second duration until an exit operation is received, at which point the second duration of staying on the actual channel is stopped.

[0113] In some feasible examples, the target strategy includes a channel selection strategy; When the controller 102 determines the target strategy based on the comparison results between the actual channel and the occupied channel, it is further configured to: If the comparison result shows that the actual channel and the occupied channel are different, and the occupied channel and the target channel are the same, the channel selection strategy is determined to stay on the actual channel for a third time and on the occupied channel for a fourth time. If no exit operation to exit the target interface is received, the channel selection strategy continues to stay on the actual channel for a third time and on the occupied channel for a fourth time until an exit operation is received. Then, the channel selection strategy stops staying on the actual channel for a third time and stays on the occupied channel for a fourth time.

[0114] All relevant content of each step involved in the above method embodiments can be referenced from the functional description of the corresponding functional module, and their functions will not be repeated here.

[0115] Of course, the electronic devices provided in this application embodiment include, but are not limited to, the modules described above. For example, the electronic device may also include a memory 103. The memory 103 can be used to store the program code of the electronic device, and can also be used to store data generated by the electronic device during operation, such as data in write requests.

[0116] As an example, combined Figure 3 The processing modules 201 and 301 in the television set 1 perform the same functions as the controller 102. The display module 203 performs the same functions as the display 101. The transceiver module 202 in the television set 1 performs the same functions as the communicator. The storage module 204 performs the same functions as the memory 103.

[0117] This application also provides a chip system that can be applied to the electronic devices described in the foregoing embodiments. The chip system includes at least one processor 1501 and at least one interface circuit 1502. The processor 1501 may be the processor in the aforementioned electronic device. The processor 1501 and the interface circuit 1502 are interconnected via a circuit. The processor 1501 can receive and execute computer instructions from the memory of the aforementioned electronic device through the interface circuit 1502. When the computer instructions are executed by the processor 1501, the electronic device can perform the various steps performed by the electronic device in the foregoing embodiments. Of course, the chip system may also include other discrete devices, and this application does not specifically limit this.

[0118] This application also provides a computer-readable storage medium for storing computer instructions for operating the aforementioned electronic device.

[0119] The above description is merely a specific embodiment of this disclosure, enabling those skilled in the art to understand or implement it. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this disclosure. Therefore, this disclosure is not to be limited to the embodiments described herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. An electronic device, characterized in that, include: The display is configured to show a target interface containing a target identifier; wherein the target identifier is used to obtain network information of the sharing network; The controller is configured as follows: In response to a display operation that displays the target interface, target information is acquired; wherein, the target information includes any one of at least two theoretical channels supported by the electronic device or an occupied channel occupied by a connected wireless access point; A target strategy is determined based on multiple factors including preset configuration information, network information, and target information. The preset configuration information includes multiple factors including module information of a non-cellular communication module, network status information, and historical connection information of a wireless network. The target strategy includes a channel scanning strategy and a channel selection strategy. The channel scanning strategy indicates that the total duration of scanning one or more theoretical channels is less than the data packet transmission and reception duration in the network information. The channel selection strategy indicates the dwell time of the occupied channel and / or the actual channel in the network information. Configure according to the target strategy and display the target interface.

2. The electronic device according to claim 1, characterized in that, The target information includes at least two theoretical channels, the target strategy includes a channel scanning strategy, and the preset configuration information includes the module information and the network status information. When the controller determines a target strategy based on multiple factors including preset configuration information, network information, and target information, it is further configured as follows: Based on the module information, the theoretical channels are divided to determine at least one scanning round and the theoretical channels contained in each scanning round; wherein, the total time for scanning each theoretical channel in the same scanning round is less than the data packet transmission and reception time in the network information; Based on the network status information, the scanning interval time for each scanning round is determined; wherein, the network status information includes one or more of signal strength and channel bandwidth; The channel scanning strategy is generated based on the at least one scanning round, the theoretical channels contained in each scanning round, and the scanning interval time.

3. The electronic device according to claim 2, characterized in that, When the controller performs the partitioning of the theoretical channel based on the module information of the cellular communication module, and determines at least one scanning round and the theoretical channels contained in each scanning round, it is further configured to: Based on the module information of the non-cellular communication module, the dwell time and channel switching time of a single theoretical channel are determined; The theoretical channels are divided based on the dwell time and the channel switching time to determine at least one scanning round and the theoretical channels contained in each scanning round; wherein the total time for scanning each theoretical channel in the same scanning round is less than the data packet transmission and reception time in the network information.

4. The electronic device according to claim 1, characterized in that, The target information includes at least two theoretical channels, the target strategy includes a channel scanning strategy, and the preset configuration information includes the module information, the network status information, and the historical connection information. When the controller determines a target strategy based on multiple factors including preset configuration information, network information, and target information, it is further configured as follows: The theoretical channels are divided based on the module information and the historical connection information to determine at least one scanning round and the theoretical channels contained in each scanning round; wherein, the total duration of scanning each theoretical channel in the same scanning round is less than the data packet transmission and reception duration in the network information; Based on the network status information, the scanning interval time for each scanning round is determined; wherein, the network status information includes one or more of signal strength and channel bandwidth.

5. The electronic device according to claim 4, characterized in that, When the controller performs the process of dividing the theoretical channel based on the module information and the historical connection information, and determining at least one scanning round and the theoretical channels contained in each scanning round, it is further configured to: Based on the module information of the non-cellular communication module, the dwell time and channel switching time of a single theoretical channel are determined; The theoretical channels are divided based on the dwell time, the channel switching time, and the historical connection information to determine at least one scanning round and the theoretical channels contained in each scanning round.

6. The electronic device according to claim 1, characterized in that, The target information includes the occupied channel, and the network information includes the actual channel; When the controller determines a target strategy based on multiple factors including preset configuration information, network information, and target information, it is further configured as follows: Based on the comparison results between the actual channel and the occupied channel, the target strategy is determined.

7. The electronic device according to claim 6, characterized in that, The target strategy includes a channel selection strategy; When the controller determines the target strategy based on the comparison result between the actual channel and the occupied channel, it is further configured to: When the comparison result shows that the actual channel is the same as the occupied channel, the channel selection strategy is determined to be to continue staying on the actual channel for the first time duration if no exit operation is received when staying on the actual channel for the first time duration, until the exit operation is received and the channel stops staying on the actual channel for the first time duration.

8. The electronic device according to claim 6, characterized in that, The target strategy includes a channel selection strategy; When the controller determines the target strategy based on the comparison result between the actual channel and the occupied channel, it is further configured to: When the comparison result shows that the actual channel is different from the occupied channel and the occupied channel is different from the target channel, the channel selection strategy is determined to be to switch the actual channel to the occupied channel, and to continue to stay on the actual channel for the second time duration until the exit operation is received and the second time duration is stopped.

9. The electronic device according to claim 6, characterized in that, The target strategy includes a channel selection strategy; When the controller determines the target strategy based on the comparison result between the actual channel and the occupied channel, it is further configured to: When the comparison result shows that the actual channel is different from the occupied channel, and the occupied channel is the same as the target channel, the channel selection strategy is determined to be to stay on the actual channel for a third time and on the occupied channel for a fourth time, and if no exit operation to exit the target interface is received, continue to stay on the actual channel for a third time and on the occupied channel for a fourth time until the exit operation is received, then stop staying on the actual channel for a third time and stay on the occupied channel for a fourth time.

10. A fast connection method, characterized in that, include: In response to a display operation that displays a target interface containing a target identifier, target information is obtained; wherein, the target identifier is used to obtain network information of the shared network, and the target information includes any one of at least two theoretical channels supported by the electronic device and any one of the occupied channels occupied by the connected wireless access point; A target strategy is determined based on multiple factors including preset configuration information, network information, and target information. The preset configuration information includes multiple factors including module information of a non-cellular communication module, network status information, and historical connection information of a wireless network. The target strategy includes either a channel scanning strategy or a channel selection strategy. The channel scanning strategy indicates that the total duration of scanning one or more theoretical channels is less than the data packet transmission and reception duration in the network information. The channel selection strategy indicates the dwell time of the occupied channel and / or the actual channel in the network information. Configure according to the target strategy and display the target interface.