Network startup method and apparatus, and computer device

By receiving the network function activation command, different channels are determined and selected to activate the first network function, solving the problem of channel interference between different network modules on the terminal device, enabling the network modules to work on different channels, and improving stability and efficiency.

WO2026067163A1PCT designated stage Publication Date: 2026-04-02SHENZHEN TCL DIGITAL TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-09-17
Publication Date
2026-04-02

AI Technical Summary

Technical Problem

When different network modules on the same terminal device are physically close together, channel interference can occur when they are on the same channel.

Method used

By receiving the network function activation command, the system determines the activation status and channel information of other network functions, selects different channels to activate the first network function, and avoids channel interference between different network modules.

Benefits of technology

This effectively avoids channel interference between different network modules, ensures that network modules work on different channels, and improves the stability and efficiency of network functions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025122000_02042026_PF_FP_ABST
    Figure CN2025122000_02042026_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed in the present application are a network startup method and apparatus, and a computer device. The method comprises: receiving a startup instruction for a first network function among at least three network functions, and determining enabled states of the other network functions among the at least three network functions and corresponding channel information; and on the basis of the enabled states of the other network functions and the corresponding channel information, determining a first channel for starting the first network function.
Need to check novelty before this filing date? Find Prior Art

Description

Network starting method and device and computer device

[0001] The present application claims priority to the Chinese patent application No. 202411341723.8, filed on September 24, 2024, and entitled "Network starting method, device, computer device and computer readable storage medium", the whole content of which is incorporated herein by reference. TECHNICAL FIELD

[0002] The present application relates to the field of communication technology, in particular to a network starting method, device and computer device. BACKGROUND

[0003] Different network functions can be realized by different network modules of a terminal device, for example, a terminal device is equipped with two wifi chips, one wifi chip can realize station (sta) function and peer-to-peer (p2p) function, and the other wifi chip can realize access point (ap) function. TECHNICAL PROBLEM

[0004] However, the physical distance of different network modules on the same terminal device is usually close, and when different network modules work in the same channel at the same time, there is channel interference between different network modules. TECHNICAL SOLUTION

[0005] The embodiments of the present application provide a network starting method, device and computer device, which can make different network modules work in different channels to avoid channel interference between different network modules.

[0006] In a first aspect, the present application provides a network starting method applied to a terminal device, the terminal device comprising at least three network functions, the at least three network functions being realized by at least two different network modules respectively, the method comprising:

[0007] receiving a starting instruction of a first network function of the at least three network functions, determining the opening state of other network functions in the at least three network functions and corresponding channel information;

[0008] determining a first channel for starting the first network function according to the opening state of the other network functions and the corresponding channel information;

[0009] When a second network function in the other network functions is opened and the second network function and the first network function are realized by different network modules, the first channel is different from a second channel corresponding to the second network function.

[0010] In some embodiments of the present application, the other network functions further include a third network function, the first network function and the third network function are implemented through the first network module, the second network function is implemented through the second network module, and determining the start state of the other network functions in the at least three network functions and the corresponding channel information includes:

[0011] determining whether the third network function is started;

[0012] if the third network function is not started, determining whether the second network function is started;

[0013] if the second network function is started, obtaining the second channel corresponding to the second network function.

[0014] In some embodiments of the present application, the first channel used to start the first network function is determined according to the start state of the other network functions and the corresponding channel information, including:

[0015] the first channel used to start the first network function is determined based on the second channel; the first channel and the second channel are different channels.

[0016] In some embodiments of the present application, whether the third network function is started is determined, including:

[0017] obtaining the identification information corresponding to the third network function;

[0018] if the identification information corresponding to the third network function meets a first preset condition, it is determined that the third network function is started.

[0019] In some embodiments of the present application, the first preset condition is that the identification information corresponding to the third network function is not 0, or the first preset condition is that the identification information corresponding to the third network function is the channel identification of the third channel corresponding to the third network function, or the first preset condition is that the identification information corresponding to the third network function is the first reference information preset.

[0020] In some embodiments of the present application, whether the second network function is started is determined, including:

[0021] obtaining the identification information corresponding to the second network function;

[0022] if the identification information corresponding to the second network function meets a second preset condition, it is determined that the second network function is started.

[0023] In some embodiments of the present application, the second preset condition is that the identification information corresponding to the second network function is not 0, or the second preset condition is that the identification information corresponding to the second network function is the channel identification of the second channel corresponding to the second network function, or the second preset condition is that the identification information corresponding to the second network function is the second reference information preset.

[0024] In some embodiments of the present application, after determining whether the third network function is enabled, the method further comprises:

[0025] If the third network function is enabled, a third channel corresponding to the third network function is acquired.

[0026] Based on the third channel, the first network function is started.

[0027] In some embodiments of the present application, the terminal device comprises a first driving module, the first driving module being configured to control the function of the first network module, and based on the third channel, the first network function is started, which comprises:

[0028] Based on the third channel, a first network starting instruction is generated.

[0029] The first network starting instruction is sent to the first driving module, so as to control the first network function to start through the first driving module.

[0030] In some embodiments of the present application, when the first network function is a point-to-point function, after determining whether the second network function is enabled, the method further comprises:

[0031] If the second network function is not enabled, a first channel corresponding to the first network function is determined based on negotiation information of the terminal device and the screen projection device.

[0032] Based on the first channel, the first network function is started.

[0033] In some embodiments of the present application, the other network functions further comprise a third network function, the first network function is implemented through the first network module, and the second network function and the third network function are implemented through the second network module, and determining the enabled state and the corresponding channel information of the other network functions in the at least three network functions comprises:

[0034] Determining whether the second network function is enabled.

[0035] If the second network function is not enabled, determining whether the third network function is enabled.

[0036] If the third network function is enabled, a third channel corresponding to the third network function is acquired.

[0037] In some embodiments of the present application, based on the enabled state and the corresponding channel information of the other network functions, the first channel for starting the first network function is determined, which comprises:

[0038] Based on the third channel, the first channel for starting the first network function is determined; the first channel and the third channel are different channels.

[0039] In some embodiments of the present application, determining whether the second network function is enabled comprises:

[0040] obtaining the identification information corresponding to the second network function;

[0041] If the identification information corresponding to the second network function satisfies a second preset condition, it is determined that the second network function is started.

[0042] In some embodiments of the present application, the second preset condition is that the identification information corresponding to the second network function is not 0, or the second preset condition is that the identification information corresponding to the second network function is a channel identifier of a second channel corresponding to the second network function, or the second preset condition is that the identification information corresponding to the second network function is a second reference information preset.

[0043] In some embodiments of the present application, determining whether the third network function is started comprises:

[0044] obtaining the identification information corresponding to the third network function;

[0045] If the identification information corresponding to the third network function satisfies a first preset condition, it is determined that the third network function is started.

[0046] In some embodiments of the present application, the first preset condition is that the identification information corresponding to the third network function is not 0, or the first preset condition is that the identification information corresponding to the third network function is a channel identifier of a third channel corresponding to the third network function, or the first preset condition is that the identification information corresponding to the third network function is a first reference information preset.

[0047] In some embodiments of the present application, after determining whether the second network function is started, the method further comprises:

[0048] If the second network function is started, obtaining a second channel corresponding to the second network function;

[0049] Based on the second channel, determining a first channel used to start the first network function; the first channel and the second channel are different channels.

[0050] In some embodiments of the present application, when the first network function is a point-to-point function, after determining whether the third network function is started, the method further comprises:

[0051] If the third network function is not started, determining a first channel corresponding to the first network function based on negotiation information of the terminal device and the screen projection device;

[0052] Based on the first channel, starting the first network function.

[0053] In a second aspect, the embodiments of the present application also provide a network starting device applied to a terminal device, the terminal device comprising at least three network functions, the at least three network functions being implemented through at least two different network modules, and the network starting device comprising:

[0054] a first determining module, configured to receive a starting instruction of a first network function of at least three network functions, and determine an opening state and corresponding channel information of other network functions in the at least three network functions;

[0055] a second determining module, configured to determine a first channel for starting the first network function according to the opening state and the corresponding channel information of the other network functions;

[0056] When a second network function of the other network functions is opened and the second network function and the first network function are implemented through different network modules, the first channel is different from a second channel corresponding to the second network function.

[0057] In a third aspect, the present application provides a computer device, which comprises:

[0058] one or more processors;

[0059] a memory; and

[0060] one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the network starting method of any one of the first aspect.

[0061] In a fourth aspect, the present application provides a computer readable storage medium, which stores a computer program, and the computer program is loaded by a processor to execute the steps in the network starting method of any one of the first aspect. Advantageous effects

[0062] By receiving a starting instruction of a first network function of at least three network functions, determining an opening state and corresponding channel information of other network functions in the at least three network functions, and determining a first channel for starting the first network function according to the opening state and the corresponding channel information of the other network functions, different network modules can work in different channels, and channel interference between different network modules can be avoided. BRIEF DESCRIPTION OF DRAWINGS

[0063] In order to more clearly illustrate the technical solutions of the embodiments of the present application or the prior art, the drawings needed to be used in the embodiments or the prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments described in the present application, and for those skilled in the art, other drawings can also be obtained without creative labor on the basis of these drawings.

[0064] FIG. 1 is a schematic structural diagram of one embodiment of a terminal device provided by the present application;

[0065] FIG. 2 is a flow diagram of one embodiment of a network boot method according to the present application;

[0066] FIG. 3 is a flow diagram of one embodiment of determining the on state and channel information according to the present application;

[0067] FIG. 4 is a flow diagram of another embodiment of determining the on state and channel information according to the present application;

[0068] FIG. 5 is a schematic block diagram of one embodiment of a network boot apparatus according to the present application;

[0069] FIG. 6 is a schematic structural diagram of one embodiment of a computer device according to the present application. DETAILED DESCRIPTION

[0070] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, any other embodiments obtained by a person skilled in the art without creative work fall within the scope of protection of the present application.

[0071] In the description of the present application, the terms "first", "second", "third", etc. are used only for the purpose of description, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined with "first", "second", "third", etc. can explicitly or implicitly include one or more of the features. In the description of the present application.

[0072] In the present application, the word "exemplary" is used to mean "serving as an example, instance, or illustration." Any implementation described as "exemplary" in the present application is not necessarily to be construed as preferred or advantageous over other implementations. The following description is presented to enable any person skilled in the art to make and use the present application. In the following description, for the purposes of explanation, numerous details are set forth. It should be appreciated, however, that the present application can be practiced in

[0073] It should be noted that the method of the embodiments of the present application is executed in a computer device, and the processing objects of each computer device exist in the form of data or information, such as time, which is actually time information. It can be understood that if the size, quantity, position, and the like are mentioned in subsequent embodiments, the corresponding data exist, so that the computer device can process, and details are not described herein.

[0074] The network starting method, apparatus and computer device are provided in the embodiments of the present application, which are described in detail as follows.

[0075] The network starting method provided in the embodiments of the present application is applied to a terminal device, and the terminal device includes at least three network functions, and the at least three network functions are implemented through at least two different network modules. For example, referring to FIG. 1, which is a schematic diagram of a scene of a terminal device provided in the embodiments of the present application, the terminal device can include a first network module and a second network module, the terminal device implements a first network function and a third network function through the first network module, and the terminal device implements a second network function through the second network module. The first network function, the second network function and the third network function are different network functions, for example, the first network function can be a station (sta) function, the second network function can be an access point (ap) function, and the third network function can be a Peer-to-Peer (p2p) function; for another example, the first network function can be a station (sta) function, the second network function can be a Peer-to-Peer (p2p) function, and the third network function can be an access point (ap) function; for another example, the first network function can be an access point (ap) function, the second network function can be a Peer-to-Peer (p2p) function, and the third network function can be a station (sta) function, which is not limited in the embodiments. The sta function (i.e., a wireless terminal mode) is a daily used wifi scanning and connection function, the terminal device can start the sta function by connecting a hotspot, and when the terminal device connects the hotspot, the channel corresponding to the sta function is the same as the channel corresponding to the hotspot; the ap function represents a hotspot function; the p2p function represents a point-to-point communication or wifi direct function, which can directly establish a tcp / ip link between two stations without the participation of an AP, and the communication mode used in the present application represents a miracast screen projection function.

[0076] With reference back to FIG. 1, the terminal device further comprises a first network management module, a second network management module, a third network management module, a first function operation module, a second function operation module, a first driver module and a second driver module. The first network management module, the second network management module and the third network management module are used to manage the first network function, the second network function and the third network function respectively, the first function operation module is the bottom software for operating the first network function and the third network function, the second function operation module is the bottom software for operating the second network function, the first function operation module and the second function operation module can be programmed by using C language, the first driver module and the second driver module are the drivers of the first network module and the second network module respectively, and the first driver module and the second driver module can directly control various functions of the corresponding network module.

[0077] For example, when the first network module and the second network module are wifi chips, the first driver module and the second driver module are wifi drivers, the first network function is a p2p function, the second network function is an ap function, and the third network function is a sta function, the first network management module is WifiP2pManager, the second network management module is SoftApManeger, the third network management module is WifiManager, the first function operation module is wpa_supplicant, the second function operation module is hostapd, and the first driver module can directly control the sta function and the p2p function of the first network module, and the second driver module can directly control the ap function of the second network module.

[0078] The terminal device used in the embodiments of the present application can be a device comprising receiving and transmitting hardware, i.e. a device having receiving and transmitting hardware capable of performing bidirectional communication on a bidirectional communication link. Such a device can include a cellular or other communication device having a single-line display or a multi-line display or a cellular or other communication device without a multi-line display. The terminal device can be specifically a desktop terminal or a mobile terminal, and the terminal device can be specifically one of a mobile phone, a tablet computer, a notebook computer and the like.

[0079] It should be noted that the scenario of the terminal device shown in FIG. 1 is only an example, and the terminal device and the scenario described in the embodiments of the present application are used to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those skilled in the art can know that, with the evolution of terminal devices and the emergence of new service scenarios, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems. For example, the terminal device described in FIG. 1 includes only two network modules, and the terminal device can also include three or more network modules. For another example, the terminal device described in FIG. 1 implements the first network function and the third network function through the first network module, and implements the second network function through the second network module. The terminal device can also implement the first network function through the first network module, and implement the second network function and the third network function through the second network module.

[0080] First, the embodiments of the present application provide a network starting method, device and computer equipment. The execution subject of the network starting method is a network starting device, which is applied to a terminal device including at least three network functions, and the at least three network functions are implemented through at least two different network modules. The network starting method includes: receiving a starting instruction of a first network function of the at least three network functions, determining the opening state and corresponding channel information of other network functions in the at least three network functions; determining a first channel for starting the first network function according to the opening state and corresponding channel information of the other network functions; wherein when a second network function in the other network functions is opened and the second network function and the first network function are implemented through different network modules, the first channel is different from a second channel corresponding to the second network function, so that different network modules can work in different channels, and channel interference between different network modules can be avoided.

[0081] As shown in FIG. 2, it is an embodiment flowchart of the network starting method in the embodiments of the present application. The network starting method is applied to a terminal device including at least three network functions, and the at least three network functions are implemented through at least two different network modules. The network starting method can include steps S201-S202, which are as follows:

[0082] Step S201, receiving a starting instruction of a first network function of the at least three network functions, and determining the opening state and corresponding channel information of other network functions in the at least three network functions.

[0083] In an embodiment, the at least three network functions include a first network function, the starting instruction of the first network function is a starting request of the first network function, and the first network function can be an ap function or a p2p function. The starting instruction of the first network function varies with the first network function, for example, when the first network function is a p2p function, the starting instruction of the first network function can be a miracast screen projection request sent by the screen projection device to the terminal device; when the first network function is an ap function, the starting instruction of the first network function can be a hotspot start request.

[0084] Further, the other network functions in the at least three network functions refer to the network functions other than the first network function in the at least three network functions, for example, the at least three network functions include an ap function, a p2p function and a sta function, if the first network function is a p2p function, the other network functions in the at least three network functions refer to the ap function and the sta function; for another example, if the first network function is an ap function, the other network functions in the at least three network functions refer to the p2p function and the sta function.

[0085] In an embodiment, determining the start state of the other network functions in the at least three network functions refers to determining whether the other network functions in the at least three network functions are started, when a network function is started, the network function will occupy a channel, in this embodiment, when the starting instruction of the first network function is received, the start state of the other network functions in the at least three network functions and the corresponding channel information are determined, and the first network function is started based on the start state of the other network functions and the corresponding channel information, so that channel interference caused by the same channel used by different network modules can be avoided.

[0086] In step S202, a first channel used for starting the first network function is determined according to the start state of the other network functions and the corresponding channel information.

[0087] In an embodiment, the first channel is a channel used for starting the first network function, and the channel refers to a specific frequency range used for transmitting data in a wireless network, that is, a channel formed by a transmission medium through which a signal is transmitted from a transmitting end to a receiving end. In this embodiment, the first channel is determined based on the start state of the other network functions and the corresponding channel information, and the first network function is started based on the first channel, so that channel interference caused by the same channel used by different network modules can be avoided.

[0088] In a specific embodiment, the at least three network functions further include a second network function, when the second network function is enabled and the second network function is implemented by a different network module than the first network function, the first channel is different from a second channel corresponding to the second network function, so that different network modules work in different channels, thereby avoiding channel interference caused by different network modules using the same channel. For example, the first network function is a p2p function, and the second network function is an ap function, when the ap function is enabled and the ap function is implemented by a different network module than the p2p function, the first channel corresponding to the p2p function is channel 44, and the second channel corresponding to the ap function is channel 149.

[0089] In a specific embodiment, the other network functions include a first network function, a second network function, and a third network function, the first network function and the third network function are implemented by a first network module, and the second network function is implemented by a second network module. Referring to FIG. 3, the step S202 of determining the enabled state of the other network functions in the at least three network functions and the corresponding channel information can include steps S301-S303, which are as follows:

[0090] S301, determining whether the third network function is enabled.

[0091] In a specific embodiment, the step of determining whether the third network function is enabled specifically includes: obtaining identification information corresponding to the third network function; if the identification information corresponding to the third network function satisfies a first preset condition, it is determined that the third network function is enabled.

[0092] In this embodiment, the identification information corresponding to the third network function is used to represent whether the third network function is enabled, when the identification information corresponding to the third network function satisfies the first preset condition, it is determined that the third network function is enabled; when the identification information corresponding to the third network function does not satisfy the first preset condition, it is determined that the third network function is not enabled. The first preset condition can be set as needed, the first preset condition can be that the identification information corresponding to the third network function is not 0, the first preset condition can also be that the identification information corresponding to the third network function is a channel identifier of a third channel corresponding to the third network function, and the first preset condition can also be that the identification information corresponding to the third network function is a first reference information preset, which is not limited in this embodiment. For example, the first preset condition is that the identification information corresponding to the third network function is not 0, when the identification information corresponding to the third network function is not 0, it is determined that the third network function is enabled; when the identification information corresponding to the third network function is 0, it is determined that the third network function is not enabled.

[0093] S302, if the third network function is not enabled, determining whether the second network function is enabled.

[0094] In a specific embodiment, after determining that the third network function is not started, it is further determined whether the second network function is started. The step of determining whether the second network function is started specifically comprises: obtaining the identification information corresponding to the second network function; and if the identification information corresponding to the second network function satisfies a second preset condition, it is determined that the second network function is started.

[0095] In the embodiment, the identification information corresponding to the second network function is used to represent whether the second network function is started. When the identification information corresponding to the second network function satisfies the second preset condition, it is determined that the second network function is started. When the identification information corresponding to the second network function does not satisfy the second preset condition, it is determined that the second network function is not started. The second preset condition can be set as needed. The second preset condition can be that the identification information corresponding to the second network function is not 0. The second preset condition can also be that the identification information corresponding to the second network function is the channel identification of the second channel corresponding to the second network function. The second preset condition can also be that the identification information corresponding to the second network function is a second preset reference information. The embodiment is not limited in this regard. For example, the second preset condition is that the identification information corresponding to the second network function is not 0. When the identification information corresponding to the second network function is not 0, it is determined that the second network function is started. When the identification information corresponding to the second network function is 0, it is determined that the second network function is not started.

[0096] S303, if the second network function is started, obtaining a second channel corresponding to the second network function.

[0097] In a specific embodiment, if the third network function is not started and the second network function is started, the second channel corresponding to the second network function is obtained, and the first channel used to start the first network function is determined based on the second channel. This can make different network modules work in different channels, thereby avoiding channel interference caused by different network modules using the same channel.

[0098] For example, the first network function is a p2p function, the second network function is an ap function, and the third network function is a sta function. After receiving the start instruction of the p2p function, it is first determined whether the sta function is started. If the sta function is not started, it is determined whether the ap function is started. If the ap function is started, the second channel corresponding to the ap function is obtained.

[0099] For another example, the first network function is an ap function, the second network function is a p2p function, and the third network function is a sta function. After receiving the start instruction of the ap function, it is first determined whether the sta function is started. If the sta function is not started, it is determined whether the p2p function is started. If the p2p function is started, the second channel corresponding to the p2p function is obtained.

[0100] In a specific embodiment, the step of determining the first channel for starting the first network function according to the start state of the other network function and the corresponding channel information comprises: determining the first channel for starting the first network function based on the second channel; wherein the first channel is different from the second channel. For example, if the second channel is channel 149, channel 44 is selected as the first channel.

[0101] In a specific embodiment, after determining whether the third network function is started in S301, the method further comprises: if the third network function is started, obtaining a third channel corresponding to the third network function; and starting the first network function based on the third channel. In this embodiment, the first network function and the third network function are implemented by the same network module (i.e., the first network module), and if the third network function is started, the first network function can be started based on the third channel, i.e., the first network function and the third network function use the same channel, so that the network functions on the same network module are started using the same channel, which can avoid channel interference between different network modules. For example, the first network function is a p2p function, the second network function is an ap function, and the third network function is a sta function, and if the sta function is started, the p2p function is started based on the channel of the sta function; for another example, the first network function is an ap function, the second network function is a p2p function, and the third network function is a sta function, and if the sta function is started, the ap function is started based on the channel of the sta function.

[0102] In a specific embodiment, in combination with FIG. 1, the terminal device includes a first driver module in the foregoing step, and the first driver module can directly control various functions of the first network module. The step of starting the first network function based on the third channel comprises: generating a first network start instruction based on the third channel; and sending the first network start instruction to the first driver module to control the first network function to start through the first driver module.

[0103] In a specific embodiment, when the first network function is a point-to-point function (i.e., a p2p function), after determining whether the second network function is started in S302, the method further comprises: if the second network function is not started, determining a first channel corresponding to the first network function based on negotiation information of the terminal device and a screen projection device; and starting the first network function based on the first channel.

[0104] The screen projection device is a device that sends a miracast screen projection to the terminal device. If the first network function is a point-to-point function, and neither the second network function nor the third network function is started, i.e., the first network function is started with any channel and does not cause channel interference, the second network function can be started based on the negotiation information of the terminal device and the screen projection device.

[0105] In another specific embodiment, the other network function comprises a first network function, a second network function and a third network function, the first network function is implemented through the first network module, and the second network function and the third network function are implemented through the second network module. Referring to FIG. 4, the step of determining the start state of the other network function and the corresponding channel information in the at least three network functions in the step S202 can include steps S401-S403, which are as follows:

[0106] S401, determining whether the second network function is started.

[0107] In one specific embodiment, the step of determining whether the second network function is started in the step S401 is the same as the step of determining whether the second network function is started in the aforementioned step S302. For brevity, the detailed description of the step S302 is referred to, and the step S401 will not be described herein again.

[0108] S402, if the second network function is not started, determining whether the third network function is started.

[0109] In one specific embodiment, the step of determining whether the third network function is started in the step S402 is the same as the step of determining whether the third network function is started in the aforementioned step S301. For brevity, the detailed description of the step S301 is referred to, and the step S402 will not be described herein again.

[0110] S403, if the third network function is started, obtaining a third channel corresponding to the third network function.

[0111] In one specific embodiment, if the second network function is not started and the third network function is started, the third channel corresponding to the third network function is obtained, and the first channel used to start the first network function is determined based on the third channel. This can make different network modules work in different channels, thereby avoiding channel interference caused by using the same channel by different network modules.

[0112] For example, the first network function is a p2p function, the second network function is a sta function, and the third network function is an ap function. After receiving the start instruction of the p2p function, it is first determined whether the sta function is started. If the sta function is not started, it is determined whether the ap function is started. If the ap function is started, the third channel corresponding to the ap function is obtained.

[0113] For another example, the first network function is an ap function, the second network function is a sta function, and the third network function is a p2p function. After receiving the start instruction of the ap function, it is first determined whether the sta function is started. If the sta function is not started, it is determined whether the p2p function is started. If the p2p function is started, the third channel corresponding to the p2p function is obtained.

[0114] In a specific embodiment, the step of determining the first channel for starting the first network function according to the start state of the other network function and the corresponding channel information comprises: determining the first channel for starting the first network function based on the third channel; the first channel is different from the third channel. For example, if the third channel is channel 149, channel 44 is selected as the first channel.

[0115] In a specific embodiment, after determining whether the second network function is started in S401, the method further comprises: if the second network function is started, obtaining a second channel corresponding to the second network function; determining the first channel for starting the first network function based on the second channel; the first channel is different from the second channel. In this embodiment, the first network function and the second network function are implemented by different network modules. If the second network function is started, the first channel different from the second channel corresponding to the second network function is selected to start the first network function, so that different network modules work in different channels, thereby avoiding channel interference caused by using the same channel by different network modules. For example, the first network function is a p2p function, the second network function is a sta function, and the third network function is an ap function. If the sta function is started, a channel different from that of the sta function is selected to start the p2p function. For another example, the first network function is an ap function, the second network function is a sta function, and the third network function is a p2p function. If the sta function is started, a channel different from that of the sta function is selected to start the ap function.

[0116] In a specific embodiment, when the first network function is a point-to-point function (i.e., a p2p function), after determining whether the third network function is started in S402, the method further comprises: if the third network function is not started, determining a first channel corresponding to the first network function based on negotiation information of the terminal device and the screen projection device; and starting the first network function based on the first channel.

[0117] In a specific embodiment, the screen projection device is a device that sends a miracast screen projection to the terminal device. If the first network function is a point-to-point function, and the second network function and the third network function are not started, i.e., starting the first network function in any channel will not cause channel interference, the second network function can be started in a suitable channel based on negotiation information of the terminal device and the screen projection device.

[0118] In a specific embodiment, when the other network functions include the first network function, the second network function and the third network function, the first network function is implemented through the first network module, and the second network function and the third network function are implemented through the second network module, the step of determining the start state of the other network function and the corresponding channel information in the at least three network functions in the step S202 specifically includes: determining whether the third network function is started; if the third network function is not started, determining whether the second network function is started; and if the second network function is started, obtaining the second channel corresponding to the second network function.

[0119] That is, when the first network function is implemented through the first network module, and the second network function and the third network function are implemented through the second network module, after receiving the start instruction of the first network function, it can be determined whether the second network function is started first, and then whether the third network function is started, or it can be determined whether the third network function is started first, and then whether the second network function is started. When the first network function and the third network function are implemented through the first network module, and the second network function is implemented through the second network module, it is necessary to determine whether the third network function implemented through the same network module as the first network function is started first, and then determine whether the network function on the other network module is started when the third network function is not started. In this way, the network functions on the same network module can be started by using the same channel, and the network functions on different network modules can be started by using different channels, so that different network modules work in different channels, and channel interference caused by using the same channel by different network modules is avoided.

[0120] In order to better implement the network starting method in the embodiments of the present application, on the basis of the network starting method, the network starting device in the embodiments of the present application is also provided, which is applied to a terminal device. The terminal device includes at least three network functions, and the at least three network functions are implemented through at least two different network modules. As shown in FIG. 5, the network starting device 600 includes:

[0121] A first determination module 610 is configured to receive a start instruction of a first network function of the at least three network functions, and determine a start state of other network functions and corresponding channel information in the at least three network functions.

[0122] A second determination module 620 is configured to determine a first channel used for starting the first network function according to the start state of the other network functions and the corresponding channel information.

[0123] When the second network function of the other network functions is started, and the second network function and the first network function are implemented through different network modules, the first channel is different from a second channel corresponding to the second network function.

[0124] In the embodiments of the present application, by receiving the starting instruction of the first network function of the at least three network functions, the starting state and the corresponding channel information of the other network functions in the at least three network functions are determined, and the first channel used for starting the first network function is determined according to the starting state and the corresponding channel information of the other network functions, so that different network modules can work in different channels, and channel interference between different network modules can be avoided.

[0125] In some embodiments of the present application, the other network functions further include a third network function, the first network function and the third network function are implemented through the first network module, the second network function is implemented through the second network module, and the first determining module 610 determines the starting state and the corresponding channel information of the other network functions in the at least three network functions, including:

[0126] determining whether the third network function is started;

[0127] if the third network function is not started, determining whether the second network function is started;

[0128] if the second network function is started, obtaining the second channel corresponding to the second network function.

[0129] In some embodiments of the present application, the second determining module 620 determines the first channel used for starting the first network function according to the starting state and the corresponding channel information of the other network functions, including:

[0130] determining the first channel used for starting the first network function based on the second channel; the first channel and the second channel are different channels.

[0131] In some embodiments of the present application, after the first determining module 610 determines whether the third network function is started, the first determining module 610 is further used for:

[0132] if the third network function is started, obtaining the third channel corresponding to the third network function;

[0133] starting the first network function based on the third channel.

[0134] In some embodiments of the present application, when the first network function is a point-to-point function, after the first determining module 610 determines whether the second network function is started, the first determining module 610 is further used for:

[0135] if the second network function is not started, determining the first channel corresponding to the first network function based on the negotiation information of the terminal device and the screen projection device;

[0136] starting the first network function based on the first channel.

[0137] In some embodiments of the present application, the other network functions further include a third network function, the first network function is implemented by the first network module, and the second network function and the third network function are implemented by the second network module. The first determining module 610 determines the start state of the other network function in the at least three network functions and corresponding channel information, including:

[0138] determining whether the second network function is started;

[0139] if the second network function is not started, determining whether the third network function is started;

[0140] if the third network function is started, obtaining a third channel corresponding to the third network function.

[0141] In some embodiments of the present application, the second determining module 620 determines the first channel for starting the first network function according to the start state of the other network function and the corresponding channel information, including:

[0142] determining the first channel for starting the first network function based on the third channel; the first channel and the third channel are different channels.

[0143] In some embodiments of the present application, after the first determining module 610 determines whether the second network function is started, the first determining module 610 is further used for:

[0144] if the second network function is started, obtaining a second channel corresponding to the second network function;

[0145] determining the first channel for starting the first network function based on the second channel; the first channel and the second channel are different channels.

[0146] In some embodiments of the present application, when the first network function is a point-to-point function, after the first determining module 610 determines whether the third network function is started, the first determining module 610 is further used for:

[0147] if the third network function is not started, determining a first channel corresponding to the first network function based on negotiation information of the terminal device and the screen projection device;

[0148] starting the first network function based on the first channel.

[0149] In some embodiments of the present application, the first determining module 610 determines whether the third network function is started, including:

[0150] obtaining identification information corresponding to the third network function;

[0151] if the identification information corresponding to the third network function meets a first preset condition, it is determined that the third network function is started.

[0152] In some embodiments of the present application, the first determining module 610 determines whether the second network function is started, including:

[0153] obtaining the identification information corresponding to the second network function;

[0154] If the identification information corresponding to the second network function satisfies the second preset condition, it is determined that the second network function is started.

[0155] The embodiments of the present application also provide a computer device integrating any of the network starting apparatuses provided by the embodiments of the present application. The computer device includes:

[0156] one or more processors;

[0157] a memory; and

[0158] one or more application programs, wherein the one or more application programs are stored in the memory and are configured to execute the steps in the network starting method in any of the network starting method embodiments by the processor.

[0159] The embodiments of the present application also provide a computer device integrating any of the network starting apparatuses provided by the embodiments of the present application. As shown in FIG. 6, it shows the structural schematic diagram of the computer device related to the embodiments of the present application, specifically:

[0160] The computer device can include a processor 801 with one or more processing cores, a memory 802 with one or more computer readable storage media, a power supply 803, an input unit 804, and the like. Those skilled in the art can understand that the computer device structure shown in FIG. 6 does not constitute a limitation on the computer device, and can include more or fewer components than the illustration, or combine certain components, or different component arrangements. Among them:

[0161] The processor 801 is the control center of the computer device, which connects various parts of the computer device through various interfaces and lines, processes data and performs various functions of the computer device by running or executing software programs and / or modules stored in the memory 802 and calling data stored in the memory 802, thereby overall monitoring the computer device. Optionally, the processor 801 can include one or more processing cores; preferably, the processor 801 can integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor can also not be integrated into the processor 801.

[0162] The memory 802 can be used to store software programs and modules, and the processor 801 can execute various function applications and data processing by running the software programs and modules stored in the memory 802. The memory 802 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, application programs required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; and the data storage area can store data created according to the use of the computer device, etc. In addition, the memory 802 can include a high-speed random access memory, and can also include a non-volatile memory such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state memory device. Accordingly, the memory 802 can also include a memory controller to provide the processor 801 with access to the memory 802.

[0163] The computer device also includes a power supply 803 for supplying power to various components. Preferably, the power supply 803 can be logically connected to the processor 801 through a power management system, so that the power management system can realize functions such as management of charging, discharging, and power consumption management. The power supply 803 can also include one or more direct current or alternating current power supplies, a recharging system, a power failure detection circuit, a power converter or inverter, a power state indicator, and the like.

[0164] The computer device can also include an input unit 804, which can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.

[0165] Although not shown, the computer device can also include a display unit, etc., which will not be described here. Specifically, in the present embodiment, the processor 801 in the computer device will load the executable file corresponding to the process of one or more application programs into the memory 802 according to the following instructions, and run the application programs stored in the memory 802 by the processor 801, so as to realize various functions, as follows:

[0166] Receive a starting instruction of a first network function of at least three network functions, determine the opening state of other network functions in the at least three network functions and corresponding channel information;

[0167] Determine a first channel for starting the first network function according to the opening state of the other network functions and the corresponding channel information.

[0168] When a second network function of the other network functions is opened, and the second network function and the first network function are implemented through different network modules, the first channel is different from a second channel corresponding to the second network function.

[0169] Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructions, or by related hardware controlled by the instructions, which can be stored in a computer readable storage medium and loaded and executed by a processor.

[0170] To this end, the embodiments of the present application provide a computer readable storage medium, which can include a read only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc. A computer program is stored on the computer readable storage medium, and the computer program is loaded by a processor to execute the steps in any of the network starting methods provided by the embodiments of the present application. For example, the computer program loaded by the processor can execute the following steps:

[0171] receiving a starting instruction of a first network function of at least three network functions, determining the starting state of other network functions in the at least three network functions and corresponding channel information;

[0172] determining a first channel for starting the first network function according to the starting state of the other network functions and the corresponding channel information;

[0173] When a second network function of the other network functions is started and the second network function and the first network function are implemented through different network modules, the first channel is different from a second channel corresponding to the second network function.

[0174] In the above embodiments, the description of each embodiment has its own focus, and the parts not described in detail in a certain embodiment can be referred to the detailed description of other embodiments above, which will not be repeated here.

[0175] In a specific implementation, each of the above units or structures can be implemented as an independent entity, or can be combined as the same or several entities, and the specific implementation of each of the above units or structures can be referred to the method embodiments above, which will not be repeated here.

[0176] The specific implementation of each of the above operations can be referred to the embodiments above, which will not be repeated here.

[0177] The network starting method, device and computer equipment provided by the embodiments of the present application are described in detail above, and the principle and implementation mode of the present application are described by applying specific examples; the above embodiment is only used to help understand the method and core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, the specific implementation mode and application range will be changed, and the above description should not be understood as the limitation of the present application.

Claims

1. A network boot method, wherein, The application is applied to a terminal device including at least three network functions, and the at least three network functions are implemented through at least two different network modules, and the method comprises: receiving a starting instruction of a first network function of the at least three network functions, determining the opening state of other network functions in the at least three network functions and corresponding channel information; determining a first channel for starting the first network function according to the opening state of the other network functions and the corresponding channel information; wherein when a second network function in the other network functions is opened and the second network function and the first network function are implemented through different network modules, the first channel is different from a second channel corresponding to the second network function.

2. The method of claim 1, wherein, The other network functions further include a third network function, the first network function and the third network function are implemented through a first network module, and the second network function is implemented through a second network module, and the determination of the opening state of the other network functions in the at least three network functions and the corresponding channel information comprises: determining whether the third network function is opened; if the third network function is not opened, determining whether the second network function is opened; if the second network function is opened, acquiring the second channel corresponding to the second network function.

3. The method of claim 2, wherein, The determination of the first channel for starting the first network function according to the opening state of the other network functions and the corresponding channel information comprises: determining the first channel for starting the first network function based on the second channel; the first channel is different from the second channel.

4. The method of claim 2, wherein, The determination of whether the third network function is opened comprises: acquiring identification information corresponding to the third network function; if the identification information corresponding to the third network function meets a first preset condition, confirming that the third network function is opened.

5. The method of claim 4, wherein, The first preset condition is that the identification information corresponding to the third network function is not 0, or the first preset condition is that the identification information corresponding to the third network function is a channel identifier of a third channel corresponding to the third network function, or the first preset condition is that the identification information corresponding to the third network function is preset first reference information.

6. The method of claim 2, wherein, The determination of whether the second network function is opened comprises: acquiring identification information corresponding to the second network function; if the identification information corresponding to the second network function meets a second preset condition, confirming that the second network function is opened.

7. The method of claim 6, wherein, The second preset condition is that the identification information corresponding to the second network function is not 0, or the second preset condition is that the identification information corresponding to the second network function is a channel identifier of a second channel corresponding to the second network function, or the second preset condition is that the identification information corresponding to the second network function is preset second reference information.

8. The network boot method of claim 2, wherein, After the determination of whether the third network function is opened, further comprising: if the third network function is opened, acquiring a third channel corresponding to the third network function; starting the first network function based on the third channel.

9. The network boot method of claim 8, wherein, The terminal device comprises a first driving module, and the first driving module is configured to control a function of the first network module; The starting of the first network function based on the third channel comprises: generating a first network starting instruction based on the third channel; sending the first network starting instruction to the first driving module to control the starting of the first network function by the first driving module.

10. The network boot method of claim 2, wherein, When the first network function is a point-to-point function, after the determination of whether the second network function is started, the method further comprises: if the second network function is not started, determining the first channel corresponding to the first network function based on negotiation information of the terminal device and the screen projection device; starting the first network function based on the first channel.

11. The method of claim 1, wherein, The other network functions further comprise a third network function, the first network function is implemented by a first network module, the second network function and the third network function are implemented by a second network module, and the determination of the starting state and the corresponding channel information of the other network functions in the at least three network functions comprises: determining whether the second network function is started; if the second network function is not started, determining whether the third network function is started; if the third network function is started, obtaining a third channel corresponding to the third network function.

12. The method of claim 11, wherein, The determination of the first channel for starting the first network function according to the starting state and the corresponding channel information of the other network functions comprises: determining the first channel for starting the first network function based on the third channel; the first channel and the third channel are different channels.

13. The method of claim 11, wherein, The determination of whether the second network function is started comprises: obtaining identification information corresponding to the second network function; if the identification information corresponding to the second network function satisfies a second preset condition, it is determined that the second network function is started.

14. The method of claim 13, wherein, The second preset condition is that the identification information corresponding to the second network function is not 0, or the second preset condition is that the identification information corresponding to the second network function is a channel identifier of a second channel corresponding to the second network function, or the second preset condition is that the identification information corresponding to the second network function is preset second reference information.

15. The method of claim 11, wherein, The determination of whether the third network function is started comprises: obtaining identification information corresponding to the third network function; if the identification information corresponding to the third network function satisfies a first preset condition, it is determined that the third network function is started.

16. The method of claim 15, wherein, The first preset condition is that the identification information corresponding to the third network function is not 0, or the first preset condition is that the identification information corresponding to the third network function is a channel identifier of a third channel corresponding to the third network function, or the first preset condition is that the identification information corresponding to the third network function is preset first reference information.

17. The method of claim 11, wherein, After the determination of whether the second network function is started, the method further comprises: if the second network function is started, obtaining the second channel corresponding to the second network function; determining the first channel for starting the first network function based on the second channel; the first channel and the second channel are different channels.

18. The method of claim 11, wherein, When the first network function is a point-to-point function, the determining whether the third network function is started further comprises: If the third network function is not started, determining the first channel corresponding to the first network function based on negotiation information of the terminal device and the screen projection device; Starting the first network function based on the first channel.

19. A network boot apparatus, comprising: The network starting device is applied to a terminal device, and the terminal device comprises at least three network functions, and the at least three network functions are implemented through at least two different network modules, and the network starting device comprises: A first determining module configured to receive a starting instruction of a first network function of the at least three network functions, and determine a starting state and corresponding channel information of other network functions in the at least three network functions; A second determining module configured to determine a first channel for starting the first network function according to the starting state and the corresponding channel information of the other network functions; When a second network function in the other network functions is started, and the second network function and the first network function are implemented through different network modules, the first channel is different from a second channel corresponding to the second network function.

20. A computer device, wherein, The computer device comprises: One or more processors; A memory; and One or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the network starting method in any one of claims 1 to 18.

Citation Information

Patent Citations

  • Method of reducing mutual interference between ZigBee and WiFi in same equipment

    CN104968000A

  • Channel selection method and intelligent terminal

    CN106572510A

  • Network starting method and device, computer equipment and computer readable storage medium

    CN119212045A

  • Wireless double-frequency AP (Access Point)

    CN202873086U