CN114025410A - Method and device for establishing network connection and electronic equipment - Google Patents

Method and device for establishing network connection and electronic equipment Download PDF

Info

Publication number
CN114025410A
CN114025410A CN202111178443.6A CN202111178443A CN114025410A CN 114025410 A CN114025410 A CN 114025410A CN 202111178443 A CN202111178443 A CN 202111178443A CN 114025410 A CN114025410 A CN 114025410A
Authority
CN
China
Prior art keywords
network interface
network
network connection
function
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111178443.6A
Other languages
Chinese (zh)
Inventor
李亚磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202111178443.6A priority Critical patent/CN114025410A/en
Publication of CN114025410A publication Critical patent/CN114025410A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a method for establishing network connection and electronic equipment, which can establish network connection meeting the requirements of users through a network interface. The method comprises the steps of applying to an electronic device, wherein the electronic device comprises a first network interface, and the method comprises the following steps: acquiring network interface information and indication information, wherein the network interface information is used for indicating the use of the first network interface, the indication information is used for indicating a first service function using the first network interface, and the first service function comprises an STA function or a P2P function; and establishing a first network connection through the first network interface according to the network interface information and the indication information, wherein the first network connection supports the first service function.

Description

Method and device for establishing network connection and electronic equipment
Technical Field
The present application relates to the field of communications, and more particularly, to a method and an apparatus for establishing a network connection in the field of communications, and an electronic device.
Background
With the development of network technology, our lives, studies and works are more and more independent of wireless fidelity (WIFI), and the stability and throughput of WIFI connection become important indexes for evaluating the performance of WIFI.
The functions of WIFI are divided into an Access Point (AP) function, a Station (STA) function, and a point-to-point (P2P) function. The AP function provides wireless access service, allows other wireless devices to access, and provides data access, for example, a wireless router/network bridge and a mobile phone establish a WIFI hotspot function; the STA has the similar function as a wireless terminal, does not accept wireless access, can be connected to the AP and accesses data through the AP; the P2P function allows the connection between two terminals to transfer data to each other, for example, WIFI direct and screen projection.
Most of intelligent terminals in the current market are provided with two WIFI network interfaces, one network interface is fixedly used for realizing the STA function, the other network interface is fixedly used for realizing the P2P function, for example, the terminal is connected with an AP through the STA function to download file data, and is connected with a television through the P2P function to project and play video.
However, when a user uses an existing dual-network interface terminal, only one STA function and one P2P function can be implemented, and in some scenarios, for example, scenarios in which two networks implement one function at the same time, the network connection requirement of the user cannot be met, and the flexibility is poor.
Disclosure of Invention
The application provides a method and a device for establishing network connection and electronic equipment, which can establish network connection meeting user requirements through a network interface.
In a first aspect, an embodiment of the present application provides a method for establishing a network connection, where the method is applied to an electronic device, where the electronic device includes a first network interface, and the method includes:
acquiring network interface information and indication information, wherein the network interface information is used for indicating the use of the first network interface, the indication information is used for indicating a first service function using the first network interface, and the first service function comprises an STA function or a P2P function;
and establishing a first network connection through the first network interface according to the network interface information and the indication information, wherein the first network connection supports the first service function.
It should be noted that the "network interface" described in the embodiments of the present application is a logical concept. For example, a "network interface" may correspond to a network card. An electronic device equipped with at least one network card is understood to mean that the electronic device comprises at least one "network interface". One 'network interface' can be set in different service function modes, and in different service function modes, network connection supporting the service function can be established with the network side.
According to the method for establishing the network connection provided by the embodiment of the application, the first network interface used for establishing the network connection is indicated through the network interface information, the first service function using the first network interface is indicated through the indication information, the first service function comprises a P2P function or an STA function, and the network connection meeting the user requirement can be flexibly established through the first network interface according to the user requirement through the network interface information and the indication information.
In one possible implementation, the interface information and the indication information are carried in a first message.
In a possible implementation, the interface information and the indication information are carried in the same field in the first message; or, the interface information and the indication information are carried in different fields in the first message.
In a possible implementation manner, the interface information is carried in a first message, and the indication information is carried in a second message.
It should be noted that the network interface described in the embodiment of the present application refers to an interface capable of implementing a WLAN function, and is a logical concept. One network interface can be set in different service function modes, and in different service function modes, network connection supporting the service function can be established.
It should be further noted that, in the embodiment of the present application, only a network interface is taken as an example for description, that is, when at least one network card is installed on one electronic device, it may be understood that the electronic device includes at least one network interface, and the network interface may also be other interfaces capable of implementing a WLAN function, but the embodiment of the present application does not limit this.
It should be further noted that the STA function described in this embodiment refers to a function that the terminal itself does not accept wireless access, but can access the AP and access data through the AP, and is similar to a wireless terminal; the P2P function refers to a function that allows a WIFI P2P connection to be established between two terminals and transmits data to each other, for example: WIFI directly links and throws the screen.
It should be noted that, establishing a network connection with the STA function means establishing a WLAN connection with the AP, and establishing a network connection with the P2P function means establishing a WIFI P2P connection with the terminal.
Optionally, the flow of establishing the WLAN connection with the AP and the flow of establishing the WIFI P2P function with the terminal may refer to corresponding standard flows in the prior art, which is not described in detail in this embodiment of the present application.
The implementation of the electronic device establishing the first network connection will be described in detail below with reference to different scenarios.
Scene one: the electronic device does not establish any network connection between the STA function and the P2P function, and the first service function is the case of the STA function.
In a possible implementation manner, the establishing a first network connection through the first network interface according to the network interface information and the indication information includes: detecting a first operation of a user, wherein the first operation comprises an operation of indicating the user to request to establish the first network connection with a first AP; and responding to the first operation, and establishing the first network connection with the first AP through the first network interface according to the network interface information and the indication information.
Scene two: any STA function of the electronic equipment is connected with the network of the P2P function, and the first service function is the case of the P2P function.
In a possible implementation manner, the establishing a first network connection through the first network interface according to the network interface information and the indication information includes: detecting a first operation of a user, wherein the first operation comprises an operation of indicating the user to request to establish the first network connection with a first AP; and responding to the first operation, and establishing the first network connection with the target electronic equipment through the first network interface according to the network interface information and the indication information.
Scene three: the electronic device comprises a first network interface and a second network interface, and the electronic device establishes a network connection supporting the STA function through the second network interface, and the first service function is the STA function.
It should be noted that, in scenario three, the electronic device supports the dual WLAN connection function, that is, the electronic device supports two network connections that support the STA function and are respectively established through the first network interface and the second network interface.
In a possible implementation manner, the establishing, by the electronic device, the first network connection with the first AP through the first network interface according to the network interface information and the indication information in response to the first operation further includes: in response to the first operation, determining that a second network connection currently exists, the second network connection being established through the second network interface, and the second network connection supporting the STA function; detecting a second operation of the user, the second operation comprising an operation of instructing the user to allow establishment of multiple network connections supporting the STA function; and responding to the second operation, and establishing the first network connection with the first AP through the first network interface according to the network interface information and the indication information.
In a possible implementation manner, the first network interface and the second network interface are assigned the same IP address; or the first network interface and the second network interface are allocated different IP addresses.
It should be noted that when the IP addresses allocated to the first network interface and the second network interface are the same, the two network connections can be used to simultaneously surf the internet, which can improve the throughput rate of the network, and meanwhile, when one of the network connections is unstable, the other network connection can be used to continue to surf the internet, which can improve the stability of the network.
Scene four: the electronic device comprises a first network interface, and the electronic device has established a network connection supporting the STA function through the first network interface, where the first service function is the STA function.
In one possible implementation manner, the establishing, in response to the first operation, the first network connection with the first AP through the first network interface according to the network interface information and the indication information includes: in response to the first operation, determining that a third network connection currently exists, the third network connection being established through the first network interface, and the third network connection supporting the STA function; detecting a third operation of the user, the third operation comprising an operation indicating that the user does not allow establishment of multiple network connections supporting the STA function; disconnecting the third network connection in response to the third operation; and establishing the first network connection with the first AP through the first network interface according to the network interface information and the indication information.
In a possible implementation manner, the establishing, according to the network interface information and the indication information, a first network connection through the first network interface includes: setting the first network interface in the STA function mode according to the network interface information and the indication information; establishing the first network connection through the first network interface of the STA functional mode.
Scene five: the electronic device has established a network connection supporting the STA function through a first network interface, where the first service function is the case of the P2P function.
It should be noted that the mobile phone may establish a network connection supporting the STA function through the first network interface by using the method described in the first scenario, and details are not described here to avoid repetition.
In a possible implementation manner, the establishing a first network connection through the first network interface according to the network interface information and the indication information includes: detecting a fourth operation of the user, wherein the fourth operation comprises an operation of indicating the user to request the first network connection to be established with a target electronic device; in response to the first operation, determining that a fourth network connection currently exists, the fourth network connection being established through the first network interface, and the fourth network connection supporting the STA function; disconnecting the fourth network connection; and establishing the first network connection with the first AP through the first network interface according to the network interface information and the indication information.
In one possible implementation, the disconnecting the fourth network connection includes: detecting a fifth operation of the user, wherein the fifth operation comprises an operation of indicating the user to request to disconnect the first network connection; disconnecting the first network connection in response to the fifth operation.
In a possible implementation manner, the establishing, according to the network interface information and the indication information, the first network connection with the first AP through the first network interface includes: switching the first network interface from an STA function mode to a P2P function mode according to the network interface information and the indication information; establishing the first network connection through the first network interface of the P2P functional mode.
Scene six: the electronic device has established a network connection supporting the P2P function through the first network interface, and the case where the first service function is the STA function is similar to the scenario five, and is not described herein again to avoid repetition.
In a second aspect, embodiments of the present application further provide an electronic device, where the electronic device includes a first network interface, and the electronic device further includes a processor and a transceiver coupled to the processor;
the transceiver is configured to receive network interface information and indication information, where the network interface information is used to indicate that the first network interface is used, and the indication information is used to indicate a first service function using the first network interface, where the first service function includes an STA function or a P2P function;
the processor is configured to control the transceiver to establish a first network connection through the first network interface according to the network interface information and the indication information, where the first network connection supports the first service function.
In a possible implementation manner, the first service function is the STA function, and the processor is specifically configured to: detecting a first operation of a user, wherein the first operation comprises an operation of indicating the user to request to establish the first network connection with a first AP; and responding to the first operation, and establishing the first network connection with the first AP through the first network interface according to the network interface information and the indication information.
In a possible implementation manner, the electronic device further includes a second network interface, and the processor is specifically configured to: in response to the first operation, determining that a second network connection currently exists, the second network connection being established through the second network interface, and the second network connection supporting the STA function; detecting a second operation of the user, the second operation comprising an operation of instructing the user to allow establishment of multiple network connections supporting the STA function; and responding to the second operation, and establishing the first network connection with the first AP through the first network interface according to the network interface information and the indication information.
In a possible implementation manner, the first network interface and the second network interface are assigned the same IP address; or the first network interface and the second network interface are allocated different IP addresses.
In one possible implementation, the processor is specifically configured to: in response to the first operation, determining that a third network connection currently exists, the third network connection being established through the first network interface, and the third network connection supporting the STA function; detecting a third operation of the user, the third operation comprising an operation indicating that the user does not allow establishment of multiple network connections supporting the STA function; disconnecting the third network connection in response to the third operation; and establishing the first network connection with the first AP through the first network interface according to the network interface information and the indication information.
In one possible implementation, the processor is specifically configured to: setting the first network interface in the STA function mode according to the network interface information and the indication information; establishing the first network connection through the first network interface of the STA functional mode.
In a possible implementation manner, the first service function is the P2P function, and the processor is specifically configured to: detecting a fourth operation of the user, wherein the fourth operation comprises an operation of indicating the user to request the first network connection to be established with a target electronic device; in response to the first operation, determining that a fourth network connection currently exists, the fourth network connection being established through the first network interface, and the fourth network connection supporting the STA function; disconnecting the fourth network connection; and establishing the first network connection with the first AP through the first network interface according to the network interface information and the indication information.
In one possible implementation, the disconnecting the fourth network connection includes: detecting a fifth operation of the user, wherein the fifth operation comprises an operation of indicating the user to request to disconnect the first network connection; disconnecting the first network connection in response to the fifth operation.
In one possible implementation, the processor is specifically configured to: switching the first network interface from an STA function mode to a P2P function mode according to the network interface information and the indication information; establishing the first network connection through the first network interface of the P2P functional mode.
In a third aspect, an embodiment of the present application further provides an apparatus for establishing a network connection, where the apparatus includes a unit configured to perform the method in the first aspect or any possible implementation manner thereof.
In a fourth aspect, an embodiment of the present application further provides a chip apparatus, including: a communication interface and a processor, the communication interface and the processor being in communication with each other via an internal connection path, the processor being configured to implement the method of the first aspect or any possible implementation thereof.
In a fifth aspect, this application further provides a computer-readable storage medium for storing a computer program, where the computer program includes instructions for implementing the method in the first aspect or any possible implementation manner thereof.
In a sixth aspect, the present application further provides a computer program product, where the computer program product includes instructions that, when executed on a computer, cause the computer to implement the method in the first aspect or any possible implementation manner thereof.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device 100 provided in an embodiment of the present application;
FIG. 2 is a block diagram of a software architecture of an electronic device according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a prior art method of establishing a network connection;
fig. 4 is a schematic diagram of a method 200 for establishing a network connection according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a display interface provided by an embodiment of the present application;
FIG. 6 is a schematic diagram of another display interface provided by an embodiment of the present application;
FIG. 7 is a schematic diagram of yet another display interface provided by an embodiment of the present application;
FIG. 8 is a schematic diagram of yet another display interface provided by an embodiment of the present application;
FIG. 9 is a schematic diagram of yet another display interface provided by an embodiment of the present application;
FIG. 10 is a schematic diagram of yet another display interface provided by an embodiment of the present application;
FIG. 11 is a schematic diagram of yet another display interface provided by an embodiment of the present application;
FIG. 12 is a schematic diagram of yet another display interface provided by an embodiment of the present application;
FIG. 13 is a schematic diagram of yet another display interface provided by an embodiment of the present application;
FIG. 14 is a schematic view of yet another display interface provided by an embodiment of the present application;
FIG. 15 is a schematic diagram of yet another display interface provided by an embodiment of the present application;
FIG. 16 is a schematic diagram of yet another display interface provided by an embodiment of the present application;
FIG. 17 is a schematic diagram of yet another display interface provided by an embodiment of the present application;
FIG. 18 is a schematic view of yet another display interface provided by an embodiment of the present application;
FIG. 19 is a schematic diagram of yet another display interface provided by an embodiment of the present application;
FIG. 20 is a schematic view of yet another display interface provided by an embodiment of the present application;
FIG. 21 is a schematic view of yet another display interface provided by embodiments of the present application;
FIG. 22 is a schematic view of yet another display interface provided by an embodiment of the present application;
fig. 23 is a schematic block diagram of an apparatus 300 for establishing a network connection according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
First, embodiments of an electronic device with internet access functionality, a user interface for such an electronic device, and for using such an electronic device will be described. In some embodiments, the electronic device may be a portable electronic device, such as a cell phone, a tablet, a wearable electronic device with wireless communication capabilities (e.g., a smart watch), and the like, that also includes other functionality, such as personal digital assistant and/or music player functionality. Exemplary embodiments of the portable electronic device include, but are not limited to, portable electronic devices that carry other operating systems. The portable electronic device may also be other portable electronic devices such as a Laptop computer (Laptop) or the like. It should also be understood that in other embodiments, the electronic device may not be a portable electronic device, but may be a desktop computer.
Fig. 1 shows a schematic structural diagram of an electronic device 100. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identification Module (SIM) card interface 195, and the like.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. Wherein the different processing units may be separate components or may be integrated in one or more processors. In some embodiments, the electronic device 101 may also include one or more processors 110. The controller can generate an operation control signal according to the instruction operation code and the time sequence signal to complete the control of instruction fetching and instruction execution. In other embodiments, a memory may also be provided in processor 110 for storing instructions and data. Illustratively, the memory in the processor 110 may be a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. This avoids repeated accesses and reduces the latency of the processor 110, thereby increasing the efficiency with which the electronic device 101 processes data or executes instructions.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a SIM card interface, and/or a USB interface, etc. The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 101, and may also be used to transmit data between the electronic device 101 and peripheral devices. The USB interface 130 may also be used to connect to a headset to play audio through the headset.
It should be understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is only an illustration, and does not limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like.
Alternatively, the wireless communication module 160 may be one or more devices integrating at least one communication processing module, wherein one communication processing module may correspond to one network interface, the network interface may be set in different service function modes, and the network interface set in different modes may establish a network connection corresponding to the mode. .
For example: a network connection supporting the P2P function may be established through the network interface in the P2P function mode, a network connection supporting the STA function may be established through the network interface in the STA function mode, and a network connection supporting the AP function may be established through the network interface in the AP mode.
The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may be a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), or the like. In some embodiments, the electronic device 100 may include 1 or more display screens 194.
In some embodiments of the present application, the display screen 194 in fig. 1 may be bent when the display panel is made of OLED, AMOLED, FLED, or the like. Here, the display 194 may be bent in such a manner that the display may be bent at any position to any angle and may be held at the angle, for example, the display 194 may be folded right and left from the middle. Or can be folded from the middle part up and down. In this application, a display that can be folded is referred to as a foldable display. The touch display screen may be a single screen, or a display screen formed by combining multiple screens together, which is not limited herein.
The display screen 194 of the electronic device 100 may be a flexible screen, which is currently attracting attention due to its unique characteristics and great potential. Compared with the traditional screen, the flexible screen has the characteristics of strong flexibility and flexibility, can provide a new interaction mode based on the bendable characteristic for a user, and can meet more requirements of the user on electronic equipment. For the electronic equipment provided with the foldable display screen, the foldable display screen on the electronic equipment can be switched between a small screen in a folded state and a large screen in an unfolded state at any time. Therefore, the use of the split screen function by the user on the electronic device equipped with the foldable display screen is more and more frequent.
The electronic device 100 may implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the electronic device 100 may include 1 or more cameras 193.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor, which processes input information quickly by referring to a biological neural network structure, for example, by referring to a function of transmitting services between neurons in the human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
Internal memory 121 may be used to store one or more computer programs, including instructions. The processor 110 may execute the above-mentioned instructions stored in the internal memory 121, so as to enable the electronic device 101 to perform the method for displaying the off-screen display provided in some embodiments of the present application, and various applications and data processing. The internal memory 121 may include a program storage area and a data storage area. Wherein, the storage program area can store an operating system; the storage program area may also store one or more applications (e.g., gallery, contacts, etc.), and the like. The storage data area may store data (such as photos, contacts, etc.) created during use of the electronic device 101, and the like. Further, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic disk storage components, flash memory components, Universal Flash Storage (UFS), and the like. In some embodiments, the processor 110 may cause the electronic device 101 to execute the method for displaying the off-screen provided in the embodiments of the present application, and other applications and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor 110. The electronic device 100 may implement audio functions via the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playing, recording, etc.
The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
The pressure sensor 180A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic apparatus 100 may also calculate the touched position from the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., the X, Y, and Z axes) may be determined by gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects a shake angle of the electronic device 100, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device 100 through a reverse movement, thereby achieving anti-shake. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
The ambient light sensor 180L is used to sense the ambient light level. Electronic device 100 may adaptively adjust the brightness of display screen 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 can utilize the collected fingerprint characteristics to unlock the fingerprint, access the application lock, photograph the fingerprint, answer an incoming call with the fingerprint, and so on.
The temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 implements a temperature processing strategy using the temperature detected by temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 performs a reduction in performance of a processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, the electronic device 100 heats the battery 142 when the temperature is below another threshold to avoid the low temperature causing the electronic device 100 to shut down abnormally. In other embodiments, when the temperature is lower than a further threshold, the electronic device 100 performs boosting on the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.
The touch sensor 180K is also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the electronic device 100, different from the position of the display screen 194.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The electronic apparatus 100 may receive a key input, and generate a key signal input related to user setting and function control of the electronic apparatus 100.
Fig. 2 is a block diagram of a software structure of the electronic device 100 according to the embodiment of the present application. The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom. The application layer may include a series of application packages.
It should be noted that, in the embodiment of the present application, only the Android operating system is taken as an example for description, and other operating systems may also be mounted on the electronic device 100, for example:
Figure BDA0003296346120000101
an operating system,
Figure BDA0003296346120000102
An operating system,
Figure BDA0003296346120000103
An operating system, etc., which are not limited in this application.
As shown in fig. 2, the application package may include applications such as camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, etc.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide communication functions of the electronic device 100. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, sounding a prompt tone, vibrating the electronic device, flashing an indicator light, etc.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), media libraries (media libraries), three-dimensional graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, and the like.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
Fig. 3 shows a schematic flow chart of a method of establishing a network connection of an existing terminal, which is provided with two network interfaces, i.e., a STA network interface and a P2P network interface. As shown in fig. 3, the application layer of the terminal initiates a command, where the command carries network interface information, the network interface information is used to instruct the STA network interface or the P2P network interface to establish a network connection, and when the network interface information instructs the STA network interface to be used, the terminal establishes a network connection of the STA function through the STA network interface; when the network interface information indicates that the P2P network interface is used, the terminal establishes a network connection for the P2P function through the P2P network interface.
It should be noted that the network interface described in the embodiment of the present application refers to an interface capable of implementing a WLAN function, and is a logical concept. One network interface can be set in different service function modes, and in different service function modes, network connection supporting the service function can be established.
It should be further noted that, in the embodiment of the present application, only a network interface is taken as an example for description, that is, when at least one network card is installed on one electronic device, it may be understood that the electronic device includes at least one network interface, and the network interface may also be other interfaces capable of implementing a WLAN function, but the embodiment of the present application does not limit this.
It should be further noted that the STA function described in this embodiment refers to a function that the terminal itself does not accept wireless access, but can access the AP and access data through the AP, and is similar to a wireless terminal; the P2P function refers to a function that allows a WIFI P2P connection to be established between two terminals and transmits data to each other, for example: WIFI directly links and throws the screen.
It should be noted that, establishing a network connection with the STA function means establishing a WLAN connection with the AP, and establishing a network connection with the P2P function means establishing a WIFI P2P connection with the terminal.
Optionally, the flow of establishing the WLAN connection with the AP and the flow of establishing the WIFI P2P function with the terminal may refer to corresponding standard flows in the prior art, which is not described in detail in this embodiment of the present application.
By adopting the existing method for establishing network connection, the terminal can realize the STA function only through one network connection, and the P2P function through one network connection, and under the scene that a user wants to realize the STA function simultaneously through two network connections or realize the P2P function simultaneously through two network connections, the existing method for establishing network connection cannot establish network connection meeting the user requirements through a network interface.
Fig. 4 shows a schematic flow chart of a method 200 for establishing a network connection provided in an embodiment of the present application, where the method 200 may be performed by the electronic device illustrated in fig. 1, and the electronic device may include a first network interface.
S210, obtaining network interface information and indication information, where the network interface information is used to indicate to use the first network interface, and the indication information is used to indicate to use a first service function of the first network interface, where the first service function includes an STA function or a P2P function.
In a possible implementation manner, the electronic device may receive the network interface information and the indication information sent by an application layer.
Optionally, the network interface information and the indication information may be carried in different carrying manners, which is not limited in this embodiment of the present application.
In a first possible implementation manner, the network interface information and the indication information may be carried in different fields in the first message.
For example: the network interface information is carried in a network interface information field in an interface message, and the indication information is carried in a service function information field in the interface message.
In a second possible implementation manner, the network interface information and the indication information may be carried in the same field in the first message.
For example: the interface message includes a 2-bit network interface information field, wherein the 1 st bit is used for carrying the network interface information, and the 2 nd bit is used for carrying the indication information.
Another example is: when the 1 st bit in the 2 bits is "0", it indicates the first network interface, and when it is "1", it indicates the other network interfaces.
Another example is: the STA function is indicated when the 2 nd bit of the above 2 bits is "0", and the P2P function is indicated when the 2 nd bit is "1".
In a third possible implementation manner, the network interface information and the indication information may also be carried in different messages.
For example: the network interface information is carried in a first interface message, and the indication information is carried in a second interface message.
It should be noted that, in the embodiment of the present application, only the first message is taken as an interface message, the first field in the first message is taken as a network interface information field, and the second field in the first message is taken as a service function information field, the first message may also be another message, and the first field and the second field may also be another field in another message, which is not limited in the embodiment of the present application.
S220, according to the network interface information and the indication information, establishing a first network connection through the first network interface, wherein the first network connection supports the first service function.
According to the method for establishing the network connection provided by the embodiment of the application, the first network interface used for establishing the network connection is indicated through the network interface information, the first service function using the first network interface is indicated through the indication information, the first service function comprises a P2P function or an STA function, and the network connection meeting the user requirement can be flexibly established through the first network interface according to the user requirement through the network interface information and the indication information.
The implementation of the electronic device establishing the first network connection will be described in detail below with reference to different scenarios.
It should be noted that, the implementation process and the user interface of the method 200 will be described below by taking the electronic device as a mobile phone as an example, but the embodiment of the present application is not limited thereto.
Scene one: the electronic device does not establish any network connection between the STA function and the P2P function, and the first service function is the case of the STA function.
It should be noted that the target electronic device refers to other electronic devices except the electronic device, and the network interface of the target electronic device is set in the P2P mode, and the electronic device and the target electronic device can establish a WIFI P2P connection through the respective network interfaces in the P2P mode.
S220 may include: detecting a first operation of a user, wherein the first operation comprises an operation of indicating the user to request to establish the first network connection with a first AP; and responding to the first operation, and establishing the first network connection with the first AP through the first network interface according to the network interface information and the indication information.
It should be noted that, in the embodiment of the present application, only the electronic device is taken as an example of a mobile phone, and the method 200 provided in the embodiment of the present application is introduced in combination with a Graphical User Interface (GUI) of the mobile phone, but the embodiment of the present application is not limited thereto.
Referring to the GUI shown in FIG. 5, the GUI is the desktop of a cell phone. The GUI includes a plurality of application icons including a "settings" icon 301. When the mobile phone detects that the user clicks the "setting" icon 301 on the desktop, the mobile phone may start to set the related functions of the mobile phone, and display the GUI as shown in fig. 6.
Referring to the GUI shown in FIG. 6, the GUI is a setup interface for a cell phone. The GUI includes a plurality of function options under setup, which include wireless and network, device connection, desktop and wallpaper, voice, etc., wherein a user may perform functions of WLAN, dual Subscriber Identity Module (SIM) card management, mobile network, etc. through the wireless and network functions. When the handset detects a user click on the "wireless and network functions" option 302, the GUI is displayed as shown in fig. 7.
Referring to the GUI shown in FIG. 7, the GUI sets up interfaces for the wireless and network functions of the handset. The GUI includes a plurality of functional options under wireless and network, including flight mode, WLAN, mobile network, dual SIM card management, etc. functions. When the handset detects a user click on the "WLAN" option 303, the GUI is displayed as shown in fig. 8.
Referring to the GUI shown in fig. 8, the GUI sets up an interface for the WLAN functionality of the handset. The user can manage the WLAN functions through the setup interface. As shown in fig. 8, the WLAN function setting interface includes functions such as "activation/deactivation of WLAN function". When the mobile phone detects the operation of the user sliding or clicking the control 304 to the right, the mobile phone starts the WLAN function and displays the GUI as shown in fig. 9.
Optionally, if the mobile phone only includes the network interface 1 or the default network interface of the mobile phone is the network interface 1, when the mobile phone detects that the user slides or clicks the control 304 to the right, the mobile phone starts the WLAN function, sets the network interface 1 to the STA function mode, and displays the GUI shown in fig. 9.
Alternatively, if the mobile phone includes the network interface 1 and the network interface 2, when the mobile phone detects that the user slides or clicks the control 304 to the right, the mobile phone starts the WLAN function, and displays the GUI as shown in fig. 10.
Referring to the GUI shown in fig. 10, the GUI provides an interface for a network card of a mobile phone. The user can manage the usable network card (i.e. network interface) through the network card setting interface. As shown in fig. 10, the network card setting interface includes the network card 1 (i.e., network interface 1) option and the network card 2 (i.e., network interface 2) option that can be used, as well as the default network card option. When the mobile phone detects that the user clicks the "network card 1" option 305, the mobile phone sets the network interface 1 as a default network interface, sets the network interface 1 as an STA function mode, and displays a GUI as shown in fig. 9.
It should be noted that the network card 1 option is used to start/stop using the network card 1, the network card 2 option is used to start/stop using the network card 2, and the default network card (default network interface) option is used to select one of the network card 1 and the network card 2 as the default network card when the network card 1 and the network card 2 are simultaneously started to use, where the default network card is the first network card used in the two network cards.
Referring to the GUI shown in fig. 9, the GUI sets up an interface for the WLAN functions of the handset. The user can manage the accessible WLAN through the WLAN function setting interface. As shown in fig. 9, the WLAN function setting interface includes a list of available WLANs including a plurality of accessible AP options. When the handset detects that the user clicks the "AP 1" option 306, the handset establishes a network connection supporting the STA function with the AP1 through the network interface 1, and displays the GUI as shown in fig. 11.
Scene two: the electronic device comprises a first network interface and a second network interface, and the electronic device establishes a network connection supporting the STA function through the second network interface, and the first service function is the STA function.
It should be noted that, in the second scenario, the electronic device supports the dual WLAN connection function, that is, the electronic device supports two network connections that support the STA function and are respectively established through the network interface 1 and the network interface 2.
S220 may include: detecting a first operation of a user, wherein the first operation comprises an operation of indicating the user to request to establish the first network connection with a first AP; in response to the first operation, determining that a second network connection currently exists, the second network connection being established through the second network interface, and the second network connection supporting the STA function; detecting a second operation of the user, the second operation comprising an operation of instructing the user to allow establishment of multiple network connections supporting the STA function; and responding to the second operation, and establishing the first network connection with the first AP through the first network interface according to the network interface information and the indication information.
It should be noted that the mobile phone may establish the first network connection supporting the STA function through the network interface 2 by using the method described in the first scenario, and details are not described here to avoid repetition.
It will be described how the user establishes another network connection supporting the STA function through the network interface 1.
Referring to the GUI shown in fig. 12, when the mobile phone has established the interface of the first network connection supporting the STA function with the AP1 through the network interface 2, and under the condition that the network connection of the AP1 already exists, after the mobile phone detects that the user clicks the "AP 2" option 307, the mobile phone starts the dual WLAN connection function, sets the network interface 1 to the STA function mode, and establishes the network connection supporting the second STA function with the AP2 through the network interface 1, and displays the GUI shown in fig. 13.
Alternatively, in the GUI shown in fig. 12, when the cellular phone detects an operation in which the user clicks the "AP 2" option 307, the GUI shown in fig. 14 may be displayed.
Referring to the GUI shown in fig. 14, the GUI provides an interface for dual WLAN connection functions of the handset. The user can manage the dual WLAN connection function through the dual WLAN connection function setup interface. The dual WLAN connection function setting interface includes functions such as an on/off option of the dual WLAN connection function. When the mobile phone detects that the user clicks the "yes" option 308, the mobile phone starts the dual WLAN connection function, sets the network interface 1 to be the STA function mode, and establishes a second network connection supporting the STA function with the AP2 through the network interface 1, displaying a GUI as shown in fig. 13.
Optionally, the first network interface and the second network interface are assigned the same IP address; or the first network interface and the second network interface are allocated different IP addresses.
It should be noted that when the IP addresses allocated to the first network interface and the second network interface are the same, the two network connections can be used to simultaneously surf the internet, which can improve the throughput rate of the network, and meanwhile, when one of the network connections is unstable, the other network connection can be used to continue to surf the internet, which can improve the stability of the network.
It should be noted that the electronic device includes a first network interface and a second network interface, and the electronic device has established a network connection supporting the P2P function through the second network interface, and the case that the first service function is the P2P function is similar to the above scenario two, and is not described here again to avoid repetition.
Scene three: the electronic device comprises a first network interface, and the electronic device has established a network connection supporting the STA function through the first network interface, where the first service function is the STA function.
It should be noted that, in the third scenario, the electronic device does not support the dual WLAN connection function, that is, the electronic device does not support the network connection that supports the STA function through the network interface 2 under the condition that the first network connection that supports the STA function is established through the network interface 1, and therefore the electronic device needs to disconnect the network connection that supports the STA function through the network interface 1 first and reestablish the network connection that supports the STA function through the network interface 1.
S220 may include: detecting a first operation of a user, wherein the first operation comprises an operation of indicating the user to request to establish the first network connection with a first AP; in response to the first operation, determining that a third network connection currently exists, the third network connection being established through the first network interface, and the third network connection supporting the STA function; detecting a third operation of the user, the third operation comprising an operation indicating that the user does not allow establishment of multiple network connections supporting the STA function; disconnecting the third network connection in response to the third operation; and establishing the first network connection with the first AP through the first network interface according to the network interface information and the indication information.
It should be noted that the mobile phone may establish a network connection supporting the STA function through the network interface 1 by the method described in the first scenario, and details are not described here to avoid repetition.
Next, how the user disconnects the network connection supporting the STA function currently established through the network interface 1, and reestablishes a network connection supporting the STA function through the network interface 1 will be described.
Referring to the GUI shown in fig. 15, the handset has established an interface supporting a network connection of the STA function with the AP1 through the network interface 1, and when the handset detects that the user clicks the "AP 2" option 309 in the presence of the network connection of the AP1, the GUI shown in fig. 14 is displayed.
Referring to the GUI shown in fig. 14, when the handset detects that the user clicks the "no" option 310, the dual WLAN connection function is turned off, the network connection established with the AP1 through the network interface 1 is disconnected, and a network connection supporting the STA function is established with the AP2 through the network interface 1, and the GUI shown in fig. 16 is displayed.
It should be noted that the electronic device includes the first network interface, and the electronic device has already established a network connection supporting the P2P function through the first network interface, and the case that the first service function is the P2P function is similar to the scenario three above, and is not described again here to avoid repetition.
Scene four: the electronic device does not establish any network connection between the STA function and the P2P function, and the first service function is the case of the P2P function.
S220 may include: detecting a first operation of a user, wherein the first operation comprises an operation of indicating the user to request to establish the first network connection with a first AP; and responding to the first operation, and establishing the first network connection with the target electronic equipment through the first network interface according to the network interface information and the indication information.
It should be noted that the target electronic device refers to other electronic devices except the electronic device, and the network interface of the target electronic device is set in the P2P mode, and the electronic device and the target electronic device can establish a WIFI P2P connection through the respective network interfaces in the P2P mode.
Referring to the GUI shown in fig. 6, when the mobile phone detects an operation of clicking the "device connection" option 311 by the user, the GUI shown in fig. 17 is displayed.
Referring to the GUI shown in fig. 17, the GUI sets up an interface for device connection of a cellular phone. The GUI comprises a plurality of function options connected with the equipment, wherein the function options comprise functions of Bluetooth, NFC, wireless screen projection, file direct transfer and the like. When the handset detects a user click on the "wireless screen shot" option 312, the GUI shown in fig. 18 is displayed.
Referring to the GUI shown in fig. 18, the GUI sets up an interface for the screen projection function of the mobile phone. The user can manage the screen projection function through the setting interface. As shown in fig. 17, the screen projection function setting interface includes functions such as an on/off option of the "screen projection function". When the mobile phone detects that the user slides or clicks the control 313 to the right, the mobile phone starts a screen projection function, and displays a GUI as shown in fig. 19.
Optionally, if the mobile phone only includes the network interface 1 or the default network interface of the mobile phone is the network interface 1, when the mobile phone detects that the user slides or clicks the control 313 to the right, the mobile phone starts the screen projection function, sets the network interface 1 to the P2P function mode, and displays the GUI shown in fig. 19.
Alternatively, if the mobile phone includes the network interface 1 and the network interface 2, after the mobile phone detects that the user slides or clicks the control 313 to the right, the mobile phone starts the screen projection function, and displays the GUI shown in fig. 10.
Referring to the GUI shown in fig. 10, when the mobile phone detects that the user clicks the "network card 1" option 305, the mobile phone sets the network interface 1 as the default network interface, and sets the network interface 1 as the P2P function mode, and displays the GUI shown in fig. 19.
Referring to the GUI shown in fig. 19, the GUI sets up an interface for the screen projection function of the mobile phone. The user can manage the connectable screen projection equipment through the screen projection function setting interface. As shown in fig. 19, the screen-projection function setting interface includes a screen-projection device list available, and the screen-projection device list includes functions such as a plurality of connectable device options. When the handset detects that the user has clicked on the "device 1" option 314, the handset establishes a network connection with the device 1 via the network interface 1 that supports the P2P function, and displays the GUI as shown in fig. 20.
Scene five: the electronic device has established a network connection supporting the STA function through a first network interface, where the first service function is the case of the P2P function.
It should be noted that the mobile phone may establish a network connection supporting the STA function through the network interface 1 by the method described in the first scenario, and details are not described here to avoid repetition.
Next, how the user disconnects the network connection supporting the STA function currently established through the network interface 1, switches the network interface 1 from the STA function mode to the P2P function mode, and establishes a network connection supporting the P2P function through the network interface 1 will be described.
Referring to the GUI shown in fig. 19, when the mobile phone has established an interface supporting a network connection with the AP1 through the network interface 1, and detects that the user clicks the "device 1" option 314 under the condition that the network connection with the AP1 already exists, the mobile phone disconnects the network connection established between the network interface 1 and the AP1, switches the network interface 1 from the STA mode to the P2P mode, and establishes a network connection supporting the P2P with the device 1 through the network interface 1, and displays the GUI shown in fig. 20.
Alternatively, in the GUI shown in fig. 19, when the cellular phone detects an operation of clicking the "device 1" option 314 by the user, the GUI shown in fig. 21 may be displayed.
Referring to the GUI shown in fig. 21, the GUI is an interface mode switching interface of a mobile phone. The user can switch the interface mode through the interface mode switching interface. The interface mode switching interface comprises functions of starting/closing options of an interface mode and the like. When the mobile phone detects that the user clicks the "yes" option 315, the network interface 1 is switched from the STA mode to the P2P mode, and a network connection supporting P2P is established with the device 1 through the network interface 1, and a GUI as shown in fig. 20 is displayed.
Optionally, the start/stop option of the interface mode may also be replaced by a yes/no WLAN connection option of disconnecting the current network card 1, when the mobile phone detects that the user clicks the "yes" option 315, the network interface 1 is switched from the STA mode to the P2P mode, and a network connection supporting P2P is established with the device 1 through the network interface 1, and a GUI shown in fig. 20 is displayed.
It should be noted that, in scene five, the electronic device may further include a second network interface, and in the embodiment of the application, there is no limitation on whether the electronic device establishes a communication connection through the second network interface or establishes a network connection supporting what service function.
Scene six: the electronic device has established a network connection supporting the P2P function through a first network interface, where the first service function is the STA function.
It should be noted that, in the sixth scenario, the electronic device may further include a second network interface, and in this embodiment, no limitation is made on whether the second network interface establishes a communication connection or establishes a network connection supporting what service function is.
It should be noted that the mobile phone may establish a network connection supporting the P2P function through the network interface 1 by the method described in the above scenario four, and details are not described here to avoid repetition.
Next, how the user disconnects the network connection supporting the P2P function currently established through the network interface 1, switches the network interface 1 from the P2P function mode to the STA function mode, and establishes a network connection supporting the STA function through the network interface 1 will be described.
Referring to the GUI shown in fig. 9, the mobile phone has established an interface supporting a network connection with the device 1 through the network interface 1, and displays the GUI shown in fig. 22 when the mobile phone detects that the user clicks the "AP 1" option 306 under the condition that the network connection of the screen projection 1 exists.
Referring to the GUI shown in fig. 22, the GUI is an interface mode switching interface of a mobile phone. The user can switch the interface mode through the interface mode switching interface. The interface mode switching interface comprises functions of starting/closing options of an interface mode and the like. When the mobile phone detects that the user clicks the "yes" option 315, the network interface 1 is switched from the P2P mode to the STA mode, and establishes a network connection supporting the STA with the AP1 through the network interface 1, and displays a GUI as shown in fig. 11.
It should be noted that, in the sixth scenario, the electronic device may further include a second network interface, and in the embodiment of the application, there is no limitation on whether the electronic device establishes a communication connection through the second network interface or establishes a network connection supporting what service function.
It should be noted that, in the embodiment of the present application, only the six scenarios are taken as examples to describe the method for establishing a network connection provided in the embodiment of the present application, and other scenarios may also be applied in the embodiment of the present application, and the implementation method is similar to the five scenarios, and is not described here again to avoid repetition.
For example: when the electronic device only includes the network interface 1, a network connection supporting the STA function is established through the network interface 1, or a network connection supporting the P2P function is established through the network interface 1, or the network interface 1 is switched from the P2P function to the STA function, or the network interface 1 is switched from the STA function to the P2P function.
Another example is: the electronic equipment comprises a network interface 1 and a network interface 2, and under the condition that the network interface 1 establishes network connection supporting the STA function, if the network interface supports double WLAN functions, the other network connection supporting the STA function is established through the network interface 2; or, if the dual WLAN function is not supported, the network connection supporting the STA function established by the network interface 1 is disconnected, and a network connection supporting the STA function is reestablished through the network interface 1 or the network interface 2.
Another example is: the electronic equipment comprises a network interface 1 and a network interface 2, or under the condition that the network interface 1 establishes the network connection of the P2P function, if the double-projection screen/double-direct transmission function is supported, the other network connection supporting the P2P function is established through the network interface 2; or, if the dual-projection screen/dual-direct-transmission function is not supported, the network connection supporting the P2P function established by the network interface 1 is disconnected, and a network connection supporting the P2P function is reestablished through the network interface 1 or the network interface 2.
It should be noted that, in the embodiment of the present application, only the electronic device including one network interface or two network interfaces is taken as an example for description, the embodiment of the present application is not limited thereto, the electronic device may further include a greater number of network interfaces (or network cards), a process of establishing a network connection through more than two network interfaces is similar to that of two network interfaces, and details are not described here again to avoid repetition.
It will be appreciated that the electronic device, in order to implement the above-described functions, comprises corresponding hardware and/or software modules for performing the respective functions. The present application is capable of being implemented in hardware or a combination of hardware and computer software in conjunction with the exemplary algorithm steps described in connection with the embodiments disclosed herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, with the embodiment described in connection with the particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In this embodiment, the electronic device may be divided into functional modules according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module may be implemented in the form of hardware. It should be noted that the division of the modules in this embodiment is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
In the case of dividing each functional module by corresponding functions, fig. 23 shows a schematic diagram of a possible composition of the apparatus 300 for establishing network establishment involved in the foregoing embodiments, as shown in fig. 23, the apparatus 300 may include: a transceiving unit 310 and a processing unit 320.
Wherein the processing unit 320 may control the transceiver unit 310 to implement the methods described in the above-described method 200 embodiments, and/or other processes for the techniques described herein.
It should be noted that all relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
The apparatus 300 provided in this embodiment is configured to execute the method for establishing a network connection, so that the same effect as the above implementation method can be achieved.
In case of an integrated unit, the apparatus 300 may comprise a processing module, a storage module and a communication module. The processing module may be configured to control and manage the operation of the apparatus 300, and for example, may be configured to support the apparatus 300 to execute the steps executed by the above units. The memory modules may be used to support the apparatus 300 in executing stored program code and data and the like. A communication module, which can be used for communication of the apparatus 300 with other devices.
The processing module may be a processor or a controller. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. A processor may also be a combination of computing functions, e.g., a combination of one or more microprocessors, a Digital Signal Processing (DSP) and a microprocessor, or the like. The storage module may be a memory. The communication module may specifically be a radio frequency circuit, a bluetooth chip, a Wi-Fi chip, or other devices that interact with other electronic devices.
In an embodiment, when the processing module is a processor and the storage module is a memory, the apparatus 300 according to the embodiment may be the electronic device 100 having the structure shown in fig. 1.
It should be noted that the related functions implemented by the processing unit 320 in fig. 23 may be implemented by the processor 110 in fig. 1, and the related functions implemented by the transceiver unit 310 in fig. 23 may be implemented by the processor 110 in fig. 1 controlling the antenna 160.
The present embodiment also provides a computer storage medium, where computer instructions are stored in the computer storage medium, and when the computer instructions are run on an electronic device, the electronic device is caused to execute the above related method steps to implement the method for establishing a network connection in the above embodiments.
The present embodiment also provides a computer program product, which when running on a computer, causes the computer to execute the relevant steps described above, so as to implement the method for establishing a network connection in the above embodiments.
In addition, embodiments of the present application also provide an apparatus, which may be specifically a chip, a component or a module, and may include a processor and a memory connected to each other; the memory is used for storing computer execution instructions, and when the device runs, the processor can execute the computer execution instructions stored in the memory, so that the chip can execute the method for establishing the network connection in the above method embodiments.
The electronic device, the computer storage medium, the computer program product, or the chip provided in this embodiment are all configured to execute the corresponding method provided above, so that the beneficial effects achieved by the electronic device, the computer storage medium, the computer program product, or the chip may refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
Through the description of the above embodiments, those skilled in the art will understand that, for convenience and simplicity of description, only the division of the above functional modules is used as an example, and in practical applications, the above function distribution may be completed by different functional modules as needed, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a module or a unit may be divided into only one logic function, and may be implemented in other ways, for example, a plurality of units or components may be combined or integrated into another apparatus, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed to a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (27)

1. A method for establishing a network connection, the method being applied to an electronic device, the electronic device including a first network interface, wherein the first network interface is configured to establish a network connection supporting a service function mode in different service function modes, the method comprising:
acquiring network interface information and indication information, wherein the network interface information is used for indicating the use of the first network interface, the indication information is used for indicating a first service function using the first network interface, and the first service function comprises an STA function or a P2P function;
and establishing a first network connection through the first network interface according to the network interface information and the indication information, wherein the first network connection supports the first service function.
2. The method of claim 1, wherein the first service function is the STA function, and wherein establishing the first network connection through the first network interface according to the network interface information and the indication information comprises:
detecting a first operation of a user, wherein the first operation comprises an operation of indicating the user to request to establish the first network connection with a first AP;
and responding to the first operation, and establishing the first network connection with the first AP through the first network interface according to the network interface information and the indication information.
3. The method of claim 2, wherein the electronic device further comprises a second network interface, and wherein, in response to the first operation, establishing the first network connection with the first AP through the first network interface according to the network interface information and the indication information comprises:
in response to the first operation, determining that a second network connection currently exists, the second network connection being established through the second network interface, and the second network connection supporting the STA function;
detecting a second operation of the user, the second operation comprising an operation of instructing the user to allow establishment of multiple network connections supporting the STA function;
and responding to the second operation, and establishing the first network connection with the first AP through the first network interface according to the network interface information and the indication information.
4. The method of claim 3, wherein the first network interface and the second network interface have the same assigned IP address; or the first network interface and the second network interface are allocated different IP addresses.
5. The method of claim 2, wherein the establishing the first network connection with the first AP through the first network interface according to the network interface information and the indication information in response to the first operation comprises:
in response to the first operation, determining that a third network connection currently exists, the third network connection being established through the first network interface, and the third network connection supporting the STA function;
detecting a third operation of the user, the third operation comprising an operation indicating that the user does not allow establishment of multiple network connections supporting the STA function;
disconnecting the third network connection in response to the third operation;
and establishing the first network connection with the first AP through the first network interface according to the network interface information and the indication information.
6. The method of claim 2, wherein the establishing a first network connection through the first network interface according to the network interface information and the indication information comprises:
setting the first network interface in the STA function mode according to the network interface information and the indication information;
establishing the first network connection through the first network interface of the STA functional mode.
7. The method of claim 1, wherein the first service function is the P2P function, and wherein the establishing a first network connection through the first network interface according to the network interface information and the indication information comprises:
detecting a fourth operation of a user, wherein the fourth operation comprises an operation of indicating the user to request the first network connection to be established with a target electronic device;
in response to the fourth operation, determining that a fourth network connection currently exists, the fourth network connection being established through the first network interface, and the fourth network connection supporting the STA function;
disconnecting the fourth network connection;
and establishing the first network connection with a first AP through the first network interface according to the network interface information and the indication information.
8. The method of claim 7, wherein said disconnecting the fourth network connection comprises:
detecting a fifth operation of the user, wherein the fifth operation comprises an operation of indicating the user to request to disconnect the first network connection;
disconnecting the first network connection in response to the fifth operation.
9. The method of claim 7, wherein the establishing the first network connection with the first AP through the first network interface according to the network interface information and the indication information comprises:
switching the first network interface from an STA function mode to a P2P function mode according to the network interface information and the indication information;
establishing the first network connection through the first network interface of the P2P functional mode.
10. The method according to any of claims 1 to 9, wherein the interface information and the indication information are carried in a first message.
11. The method of claim 10,
the interface information and the indication information are carried in the same field in the first message; or the like, or, alternatively,
the interface information and the indication information are carried in different fields in the first message.
12. The method according to any one of claims 1 to 9, wherein the interface information is carried in a first message and the indication information is carried in a second message.
13. An electronic device comprising a first network interface, wherein the electronic device further comprises a processor and a transceiver coupled to the processor, wherein the first network interface is configured to establish a network connection supporting a business function mode in different business function modes;
the transceiver is configured to receive network interface information and indication information, where the network interface information is used to indicate that the first network interface is used, and the indication information is used to indicate a first service function using the first network interface, where the first service function includes an STA function or a P2P function;
the processor is configured to control the transceiver to establish a first network connection through the first network interface according to the network interface information and the indication information, where the first network connection supports the first service function.
14. The electronic device of claim 13, wherein the first traffic function is the STA function, and wherein the processor is specifically configured to:
detecting a first operation of a user, wherein the first operation comprises an operation of indicating the user to request to establish the first network connection with a first AP;
and responding to the first operation, and establishing the first network connection with the first AP through the first network interface according to the network interface information and the indication information.
15. The electronic device of claim 14, further comprising a second network interface, the processor being configured to:
in response to the first operation, determining that a second network connection currently exists, the second network connection being established through the second network interface, and the second network connection supporting the STA function;
detecting a second operation of the user, the second operation comprising an operation of instructing the user to allow establishment of multiple network connections supporting the STA function;
and responding to the second operation, and establishing the first network connection with the first AP through the first network interface according to the network interface information and the indication information.
16. The electronic device of claim 15, wherein the first network interface and the second network interface are assigned the same IP address; or the first network interface and the second network interface are allocated different IP addresses.
17. The electronic device of claim 14, wherein the processor is specifically configured to:
in response to the first operation, determining that a third network connection currently exists, the third network connection being established through the first network interface, and the third network connection supporting the STA function;
detecting a third operation of the user, the third operation comprising an operation indicating that the user does not allow establishment of multiple network connections supporting the STA function;
disconnecting the third network connection in response to the third operation;
and establishing the first network connection with the first AP through the first network interface according to the network interface information and the indication information.
18. The electronic device of claim 14, wherein the processor is specifically configured to:
setting the first network interface in the STA function mode according to the network interface information and the indication information;
establishing the first network connection through the first network interface of the STA functional mode.
19. The electronic device of claim 13, wherein the first service function is the P2P function, and wherein the processor is specifically configured to:
detecting a fourth operation of a user, wherein the fourth operation comprises an operation of indicating the user to request the first network connection to be established with a target electronic device;
in response to the fourth operation, determining that a fourth network connection currently exists, the fourth network connection being established through the first network interface, and the fourth network connection supporting the STA function;
disconnecting the fourth network connection;
and establishing the first network connection with a first AP through the first network interface according to the network interface information and the indication information.
20. The electronic device of claim 19, wherein said disconnecting the fourth network connection comprises:
detecting a fifth operation of the user, wherein the fifth operation comprises an operation of indicating the user to request to disconnect the first network connection;
disconnecting the first network connection in response to the fifth operation.
21. The electronic device of claim 19, wherein the processor is specifically configured to:
switching the first network interface from an STA function mode to a P2P function mode according to the network interface information and the indication information;
establishing the first network connection through the first network interface of the P2P functional mode.
22. The electronic device of any of claims 13-21, wherein the interface information and the indication information are carried in a first message.
23. The electronic device of claim 22, wherein the interface information and the indication information are carried in a same field in the first message; or, the interface information and the indication information are carried in different fields in the first message.
24. The electronic device of any of claims 13-21, wherein the interface information is carried in a first message and the indication information is carried in a second message.
25. An apparatus for establishing a network connection, comprising means for performing the method of any of claims 1 to 12.
26. A chip apparatus, comprising: a communication interface and a processor, the communication interface and the processor communicating with each other via an internal connection path, the processor being configured to implement the method of any of the preceding claims 1 to 12.
27. A computer-readable storage medium for storing a computer program, characterized in that the computer program comprises instructions for implementing the method of any of the preceding claims 1 to 12.
CN202111178443.6A 2020-01-08 2020-01-08 Method and device for establishing network connection and electronic equipment Pending CN114025410A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111178443.6A CN114025410A (en) 2020-01-08 2020-01-08 Method and device for establishing network connection and electronic equipment

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111178443.6A CN114025410A (en) 2020-01-08 2020-01-08 Method and device for establishing network connection and electronic equipment
CN202010019254.3A CN111182614B (en) 2020-01-08 2020-01-08 Method and device for establishing network connection and electronic equipment

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN202010019254.3A Division CN111182614B (en) 2020-01-08 2020-01-08 Method and device for establishing network connection and electronic equipment

Publications (1)

Publication Number Publication Date
CN114025410A true CN114025410A (en) 2022-02-08

Family

ID=70649354

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202111178443.6A Pending CN114025410A (en) 2020-01-08 2020-01-08 Method and device for establishing network connection and electronic equipment
CN202010019254.3A Active CN111182614B (en) 2020-01-08 2020-01-08 Method and device for establishing network connection and electronic equipment

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202010019254.3A Active CN111182614B (en) 2020-01-08 2020-01-08 Method and device for establishing network connection and electronic equipment

Country Status (1)

Country Link
CN (2) CN114025410A (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021253273A1 (en) * 2020-06-17 2021-12-23 天彩电子(深圳)有限公司 Wireless transmission method and system based on wifi multiplexing technology
CN114339897A (en) * 2020-09-30 2022-04-12 华为技术有限公司 Data transmission method, electronic device, chip system and storage medium
CN112261147B (en) * 2020-10-27 2023-10-31 深圳康佳电子科技有限公司 Method, device, terminal and storage medium for realizing high-rate coexistence network mode
CN114489532B (en) * 2020-11-12 2023-11-10 聚好看科技股份有限公司 Terminal equipment and method for linking terminal equipment and display equipment
CN113114543B (en) * 2021-03-08 2022-03-01 珠海格力电器股份有限公司 Household appliance network distribution method and device and household appliance
CN113050901A (en) * 2021-03-30 2021-06-29 联想(北京)有限公司 Control method and device and electronic equipment
CN113938721A (en) * 2021-11-24 2022-01-14 航天欧华信息技术有限公司 Android system-based dual-WiFi platform and control method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160085713A1 (en) * 2014-09-21 2016-03-24 Intel Corporation Apparatus, system and method of wireless docking
CN106102098A (en) * 2016-05-27 2016-11-09 华为技术有限公司 A kind of method and device accessing WIFI network
CN110519865A (en) * 2019-08-20 2019-11-29 Oppo广东移动通信有限公司 Network interface processing method and relevant device

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2672761B1 (en) * 2012-06-06 2020-08-05 BlackBerry Limited Methods and apparatus for use in facilitating communication for different types of wireless networks
JP6274907B2 (en) * 2014-02-26 2018-02-07 キヤノン株式会社 Communication device, control method, and program
CN104883720A (en) * 2015-05-29 2015-09-02 北京奇虎科技有限公司 Object network access method, object network access guiding and control methods, and corresponding terminals
CN105592491B (en) * 2015-09-25 2018-12-04 深圳市美贝壳科技有限公司 The method that the ap mode and P2P mode of double WIFI modules coexist
CN106507072A (en) * 2016-10-11 2017-03-15 努比亚技术有限公司 A kind of wireless display device, system and method
CN109743712A (en) * 2018-12-29 2019-05-10 Oppo广东移动通信有限公司 Data transfer control method and Related product
CN109640310B (en) * 2019-02-12 2021-07-06 Oppo广东移动通信有限公司 Data transmission control method and related product
CN109743783B (en) * 2019-02-12 2021-11-02 Oppo广东移动通信有限公司 Data transmission control method and related product
CN110475315B (en) * 2019-08-19 2021-05-14 Oppo广东移动通信有限公司 Network connection control method and related product

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160085713A1 (en) * 2014-09-21 2016-03-24 Intel Corporation Apparatus, system and method of wireless docking
CN106102098A (en) * 2016-05-27 2016-11-09 华为技术有限公司 A kind of method and device accessing WIFI network
CN110545281A (en) * 2016-05-27 2019-12-06 华为技术有限公司 WIFI network access method and device
CN110602806A (en) * 2016-05-27 2019-12-20 华为技术有限公司 WIFI network access method and device
CN110519865A (en) * 2019-08-20 2019-11-29 Oppo广东移动通信有限公司 Network interface processing method and relevant device

Also Published As

Publication number Publication date
CN111182614B (en) 2021-10-01
CN111182614A (en) 2020-05-19

Similar Documents

Publication Publication Date Title
CN114397979B (en) Application display method and electronic equipment
CN111182614B (en) Method and device for establishing network connection and electronic equipment
CN112399390B (en) Bluetooth connection method and related device
AU2018430381B2 (en) Flexible screen display method and terminal
WO2021036770A1 (en) Split-screen processing method and terminal device
CN111555825B (en) Radio frequency resource allocation method and device
US20230117194A1 (en) Communication Service Status Control Method, Terminal Device, and Readable Storage Medium
CN110830645B (en) Operation method, electronic equipment and computer storage medium
CN112130788A (en) Content sharing method and device
CN116048436B (en) Application interface display method, electronic device and storage medium
EP3968671B1 (en) Method for information transmission and electronic device
CN114356195B (en) File transmission method and related equipment
CN111492678A (en) File transmission method and electronic equipment
CN115119048B (en) Video stream processing method and electronic equipment
CN114089902A (en) Gesture interaction method and device and terminal equipment
CN115079981A (en) Equipment control method and related device
CN114173401A (en) Equipment control method and related product
CN117850925A (en) Service linkage method and electronic equipment
CN117692693A (en) Multi-screen display method and related equipment
CN118276724A (en) Display method and electronic equipment
CN118245150A (en) Desktop sharing method and electronic equipment
CN115604773A (en) Channel switching method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20220208