CN113015264A - Method for realizing connection establishment of double hotspots, electronic equipment and readable storage medium - Google Patents

Method for realizing connection establishment of double hotspots, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN113015264A
CN113015264A CN202110196548.8A CN202110196548A CN113015264A CN 113015264 A CN113015264 A CN 113015264A CN 202110196548 A CN202110196548 A CN 202110196548A CN 113015264 A CN113015264 A CN 113015264A
Authority
CN
China
Prior art keywords
interface
hot spot
wireless network
electronic equipment
hotspot
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
CN202110196548.8A
Other languages
Chinese (zh)
Inventor
刘方明
吴俊�
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zebra Network Technology Co Ltd
Original Assignee
Zebra Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zebra Network Technology Co Ltd filed Critical Zebra Network Technology Co Ltd
Priority to CN202110196548.8A priority Critical patent/CN113015264A/en
Publication of CN113015264A publication Critical patent/CN113015264A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections
    • H04W76/16Involving different core network technologies, e.g. a packet-switched [PS] bearer in combination with a circuit-switched [CS] bearer

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a method for establishing connection between double hotspots, an electronic device and a readable storage medium, wherein the method comprises the following steps: the electronic equipment receives a starting-up instruction of a user, responds to the starting-up instruction, and drives and loads a firmware by a chip of the electronic equipment; the electronic equipment creates a wireless network interface and a hot spot interface, wherein the hot spot interface comprises a first hot spot interface and a second hot spot interface, and the first hot spot interface and the second hot spot interface are two hot spot interfaces with different frequency bands; when the electronic device starts the first hot spot interface and the second hot spot interface, the electronic device is connected with the first device through the first hot spot interface and connected with the second device through the second hot spot interface, the first device supports a first hot spot frequency band corresponding to the first hot spot interface, and the second device supports a second hot spot frequency band corresponding to the second hot spot interface. According to the method, the two different frequency band interface hotspots can be simultaneously started through one chip, so that the method is more convenient to use and lower in cost.

Description

Method for realizing connection establishment of double hotspots, electronic equipment and readable storage medium
Technical Field
The present application relates to the field of network technologies, and in particular, to a method for establishing a connection between two hotspots, an electronic device, and a readable storage medium.
Background
With the development of wireless networks, the range of wireless network applications is also wider and wider. More and more mobile devices may support wireless network and hotspot coexistence. Along with the development of intelligent car machine, more and more mobile devices are connected with the car machine through the mode of wiFi. However, due to the fact that manufacturers of smart devices on the market are different, wireless network frequency bands supported by the smart devices are different, a part of the smart devices can only work in a 2.4G frequency band, a part of the smart devices can only work in a 5G frequency band, and a part of the smart devices can support both the 2.4G frequency band and the 5G frequency band. However, this single frequency operation mode cannot satisfy the needs of people.
Disclosure of Invention
In view of this, the present application provides a method, an electronic device, and a readable storage medium for establishing a connection between two hotspots, which can establish the two hotspots under the condition of only one physical network interface, so as to simultaneously connect devices supporting different frequency bands.
Some embodiments of the present application provide a method for implementing dual hotspot connection establishment. The present application is described below in terms of several aspects, embodiments and advantages of which are mutually referenced.
In a first aspect, the present application provides a method for establishing a connection between two hotspots, where the method is applied to an electronic device, and includes: the electronic equipment receives a starting-up instruction of a user, responds to the starting-up instruction, and drives and loads a firmware by a chip of the electronic equipment; the electronic equipment creates a wireless network interface and a hot spot interface, wherein the hot spot interface comprises a first hot spot interface and a second hot spot interface, and the first hot spot interface and the second hot spot interface are two hot spot interfaces with different frequency bands; when the electronic device starts the first hot spot interface and the second hot spot interface, the electronic device is connected with the first device through the first hot spot interface and connected with the second device through the second hot spot interface, the first device supports a first hot spot frequency band corresponding to the first hot spot interface, and the second device supports a second hot spot frequency band corresponding to the second hot spot interface.
According to the method, the electronic equipment can be connected with the equipment in the two different frequency bands simultaneously by creating the virtual hot spot interfaces in the two different frequency bands, so that the requirement of people on the double-frequency working mode is met.
As an embodiment of the first aspect of the present application, the electronic device starting a first hotspot interface and a second hotspot interface includes: the electronic equipment receives starting operation of a user for a first hot spot interface; the electronic equipment starts a first hot spot interface; when the electronic device confirms that the wireless network interface is not started and the second hot spot interface is started, a coexistence mode of the first hot spot interface and the second hot spot interface is established so as to start the first hot spot interface and the second hot spot interface at the same time.
As an embodiment of the first aspect of the present application, the electronic device starting a first hotspot interface and a second hotspot interface includes: the electronic equipment receives starting operation of a user for the second hotspot interface; the electronic equipment starts a second hot spot interface; when the electronic equipment confirms that the wireless network interface is not started and the first hot spot interface is started, a coexistence mode of the second hot spot interface and the first hot spot interface is established so as to start the first hot spot interface and the second hot spot interface at the same time.
As an embodiment of the first aspect of the present application, the method further comprises: when the electronic equipment simultaneously starts the first hot spot interface, the second hot spot interface and the wireless network interface, the electronic equipment is simultaneously connected with the first equipment through the first hot spot interface, connected with the second equipment through the second hot spot interface and connected with the third equipment through the wireless network interface.
As an embodiment of the first aspect of the present application, an electronic device simultaneously starts a first hotspot interface, a second hotspot interface, and a wireless network interface, including: the electronic equipment receives starting operation of a user for a first hot spot interface; the electronic equipment starts a first hot spot interface; the electronic equipment confirms that the wireless network interface and the second hot spot interface are started, and creates a coexistence mode of the first hot spot interface, the second hot spot interface and the wireless network interface so as to start the first hot spot interface, the second hot spot interface and the wireless network interface at the same time.
As an embodiment of the first aspect of the present application, an electronic device simultaneously starts a first hotspot interface, a second hotspot interface, and a wireless network interface, including: the electronic equipment receives starting operation of a user for the second hotspot interface; the electronic equipment starts a second hot spot interface; the electronic equipment confirms that the wireless network interface and the first hot spot interface are started, and creates a coexistence mode of the first hot spot interface, the second hot spot interface and the wireless network interface so as to start the first hot spot interface, the second hot spot interface and the wireless network interface at the same time.
As an embodiment of the first aspect of the present application, an electronic device simultaneously starts a first hotspot interface, a second hotspot interface, and a wireless network interface, including: the electronic equipment receives starting operation of a user for a wireless network interface; the electronic equipment starts a wireless network interface; the electronic equipment confirms that the first hot spot interface and the second hot spot interface are started, and creates a coexistence mode of the first hot spot interface, the second hot spot interface and the wireless network interface so as to start the first hot spot interface, the second hot spot interface and the wireless network interface at the same time.
As an embodiment of the first aspect of the present application, the method further comprises: when the electronic equipment respectively starts the first hot spot interface, the second hot spot interface and the wireless network interface, the electronic equipment is respectively connected with the first equipment through the first hot spot interface, the second equipment through the second hot spot interface and the third equipment through the wireless network interface.
As an embodiment of the first aspect of the present application, the electronic device starts a first hotspot interface, including: the electronic equipment receives starting operation of a user for the first hot spot interface; the electronic equipment starts a first hot spot interface; and the electronic equipment confirms that the wireless network interface and the second hot spot interface are not started, and the electronic equipment starts the single working mode of the first hot spot interface so as to start only the first hot spot interface.
As an embodiment of the first aspect of the present application, the electronic device starts the second hotspot interface, including: the electronic equipment receives starting operation of a user for the second hotspot interface; the electronic equipment starts a second hot spot interface; and the electronic equipment confirms that the wireless network interface and the first hot spot interface are not started, and the electronic equipment starts the single working mode of the second hot spot interface so as to start only the second hot spot interface.
As an embodiment of the first aspect of the present application, the electronic device starts a wireless network interface, including: the electronic equipment receives starting operation of a user for a wireless network interface; the electronic equipment starts a wireless network interface; and the electronic equipment confirms that the first hot spot interface and the second hot spot interface are not started, and the electronic equipment starts the single working mode of the wireless network interface so as to start only the wireless network interface.
As an embodiment of the first aspect of the present application, the method further comprises: when the electronic equipment starts the first hot spot interface and the wireless network interface, the electronic equipment is connected with the first equipment through the first hot spot interface and is connected with the third equipment through the wireless network interface; or when the electronic device starts the second hotspot interface and the wireless network interface, the electronic device is connected with the second device through the second hotspot interface and is connected with the third device through the wireless network interface.
As an embodiment of the first aspect of the present application, the first hot spot frequency band is a 2.4G frequency band and the second hot spot frequency band is a 5G frequency band.
In a second aspect, the present application also provides an electronic device, comprising:
a memory for storing instructions for execution by one or more processors of the device, an
A processor configured to perform the method of the first aspect.
In a third aspect, the present application further provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, causes the processor to execute the method of the first aspect.
Drawings
FIG. 1 is a diagram illustrating an exemplary scenario architecture of an electronic device turning on dual hotspots;
FIG. 2 is a flow chart of a method for dual hot spot connection establishment according to one embodiment of the present application;
fig. 3 is a flowchart illustrating a creation process of a hot spot interface in a 2.4G frequency band according to an embodiment of the present application;
fig. 4 is a flowchart illustrating a creation process of a hot spot interface in a 5G frequency band according to an embodiment of the present application;
FIG. 5 is a flow chart of the creation of a wireless network interface according to one embodiment of the present application;
FIG. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
FIG. 7 is a block diagram of an apparatus of some embodiments of the present application;
fig. 8 is a block diagram of a system on a chip (SoC) in accordance with some embodiments of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating a scenario architecture of an electronic device turning on a dual hotspot. As shown in fig. 1, the architecture diagram includes an electronic device 110, and a first device 120 and a second device 130 respectively connected to the electronic device 110. The first device 120 supports a network of a 2.4G frequency band, and the second device supports a network of a 5G frequency band. When the electronic device 110 is turned on, a hot spot interface of a 2.4G frequency band and a hot spot interface of a 5G frequency band need to be created, and a wireless network interface and the hot spot interface are created respectively, that is, the electronic device creates a virtual hot spot interface of the 2.4G frequency band and a virtual hot spot interface of the 5G frequency band respectively through configuration file information inside the electronic device. When the electronic device starts a hotspot interface of a 2.4G frequency band and a hotspot interface of a 5G frequency band, the electronic device 110 is connected with the first device by using the hotspot interface of the 2.4G frequency band, and the electronic device 110 is connected with the second device by using the hotspot interface of the 5G frequency band. Therefore, connection with equipment supporting different frequency bands is established, and user experience is improved.
In the embodiment of the present application, the electronic device may be a car machine, a mobile phone, a computer, and the like, which is not limited herein.
In order to facilitate understanding of the technical solution of the present application, the following describes the prior art with reference to a car machine.
The WiFi of the current vehicle machine supports two modes of a vehicle hotspot and a wireless network. The vehicle hot spot can be configured into a 2.4G frequency band or a 5G frequency band through an HMI interface. However, the current vehicle hot spot only has one virtual hot spot interface, that is, only one network frequency band can be set. For example, it can be set only to the 2.4G band, or can be set only to the 5G band. When a user switches from the use state of one frequency band to the use state of another frequency band, the switching must be performed manually by selecting the frequency band on the HMI Setting interface. The manual switching is required each time, and the user experience is greatly reduced.
In addition, some devices use 2 WiFi chips, each chip starts an AP hot spot frequency band, which is costly.
Therefore, according to the method for establishing connection between two hot spots, the electronic device creates virtual hot spot interfaces of two frequency bands, and simultaneously and respectively connects with devices supporting different frequency bands. The user does not need to switch manually, and the user experience is improved.
The method for establishing a connection between two hot spots according to the present application is described below with reference to specific embodiments.
Taking an example that the electronic device is a car terminal, the first device is a mobile phone using a 2.4G frequency band, and the second device is a computer using a 5G frequency band, referring to fig. 2, fig. 2 exemplarily shows a flowchart of a method for establishing a connection between two hot spots, as shown in fig. 2, including the following steps:
s210, the vehicle terminal receives a starting instruction of a user. For example, the user presses the power key of the car terminal for a long time or for a short time.
S220, the car terminal responds to the starting instruction, and the chip drives and loads the firmware. For example, after the chip is powered on, fixed code in the chip starts to run, and firmware is loaded to realize device initialization, environment initialization and the like.
And S230, the vehicle-mounted terminal creates a wireless network interface, a first hot spot interface and a second hot spot interface. For example, the first hot spot interface is a hot spot interface of a 2.4G frequency band, and the second hot spot interface is a hot spot interface of a 5G frequency band. The vehicle-mounted terminal respectively creates hot spot configuration files corresponding to the hot spot interface of the 2.4G frequency band and the hot spot interface of the 5G frequency band according to the preset frequency band information. The frequency band information may include parameters, hotspot names, hotspot passwords, and other information of different frequency bands.
And S240, the vehicle-mounted terminal receives the starting operation of the user aiming at the hot spot interface of the 2.4G frequency band and the hot spot interface of the 5G frequency band, and the vehicle-mounted terminal simultaneously starts the hot spot interface of the 2.4G frequency band and the hot spot interface of the 5G frequency band. For example, a user directly sets and opens the first hot spot interface and the second hot spot interface in the setting of the car terminal by clicking an application icon on a user interface of the car terminal. When the electronic device starts the first hot spot interface and the second hot spot interface, the electronic device is connected with the first device through the first hot spot interface and connected with the second device through the second hot spot interface, the first device supports a first hot spot frequency band corresponding to the first hot spot interface, and the second device supports a second hot spot frequency band corresponding to the second hot spot interface.
In the method for implementing the dual hot spots of the vehicle, the vehicle terminal simultaneously establishes two SoftAp Role, namely the first hot spot interface and the second hot spot interface, and one STA Role, namely the wireless network interface, on the premise that the vehicle terminal only supports one physical network port. The two softaps may be set to different frequency bands. Therefore, no matter which hotspot frequency band is supported by the electronic equipment connected with the car machine terminal, the electronic equipment can be connected with the corresponding vehicle hotspot without being influenced by other intelligent equipment. And the connection mode is beneficial to the expansion of intelligent equipment. In addition, frequent switching of the hot spot frequency band can also affect the stability of the hot spot, and 2 hot spots are created, so that frequent switching of the hot spots can be avoided, and the stability of the hot spots of the vehicle is enhanced.
In an embodiment of the application, when an electronic device receives a start operation of a user for a wireless network interface, a hot spot interface of a 2.4G frequency band and a hot spot interface of a 5G frequency band, a vehicle-mounted terminal starts the wireless network interface, the hot spot interface of the 2.4G frequency band and the hot spot interface of the 5G frequency band at the same time, and the vehicle-mounted terminal is connected with a mobile phone through the hot spot interface of the 2.4G frequency band, connected with a computer through the hot spot interface of the 5G frequency band, and connected with a third device, for example, connected with a server, through the wireless network interface. The opening operation manner is the same as S240, and reference may be made to the opening operation in S240.
In some embodiments of the present application, when the electronic device receives a start operation of a user for any one of the wireless network interface, the 2.4G band hot spot interface, and the 5G band hot spot interface, one of the wireless network interface, the 2.4G band hot spot interface, and the 5G band hot spot interface is respectively turned on, so as to implement connection between a single interface and one device. According to the connection mode, the user can open the corresponding interface according to the requirement of the user, so that connection of devices in different frequency bands is achieved, and user experience is further improved.
In the embodiment of the application, after the hot spot interface of the 2.4G frequency band and the hot spot interface of the 5G frequency band are successfully established, when a device accesses the device, the device is connected to the corresponding hot spot by identifying the frequency band and the channel of the access device, and information such as the Host Name, the IP Addr, the Mac Addr and the like is displayed to the corresponding Host Name interface so as to be displayed to a user through the interface.
The following describes the opening process of the wireless network interface, the hot spot interface in the 2.4G band, and the hot spot interface in the 5G band with reference to the flowcharts in fig. 3 to 5. The starting process can be executed by the vehicle terminal, and further executed by a wifi middle layer module of the vehicle terminal. The WiFi middle layer software can be combined with WiFi hardware of 89342 or 89459 type of Cypress to achieve better effect.
Fig. 3 is a flowchart illustrating the creation of a hot spot interface in a 2.4G frequency band. Meanwhile, the vehicle-mounted terminal also needs to judge the starting states of the other two interfaces to determine whether a coexistence mode of the hot spot interface of the 2.4G frequency band and the other two interfaces is needed.
As shown in fig. 3, the flowchart includes:
and S301, starting the hot spot interface of the 2.4G frequency band. And when the vehicle-mounted terminal receives the opening action of the user aiming at the hot spot interface of the 2.4G frequency band, the vehicle-mounted terminal opens the hot spot interface of the 2.4G frequency band.
S302, whether the wireless network interface is opened or not is judged. When the in-vehicle terminal determines that the wireless network interface (STA) is not turned on, the in-vehicle terminal performs S303-S305. When the wireless network interface is judged to be opened, the vehicle terminal executes S306-S308.
And S303, starting a simplex mode of the hot spot interface of the 2.4G frequency band. That is to say, the in-vehicle terminal only opens the hot spot interface of the 2.4G frequency band, so as to implement connection with the device supporting the 2.4G frequency band through the interface.
S304, judging whether the hot spot interface of the 5G frequency band is opened. And when the vehicle-mounted terminal judges that the hot spot interface of the 5G frequency band is opened, executing S305, namely, opening the coexistence mode of the hot spot interface of the 2.4G frequency band and the hot spot interface of the 5G frequency band. And executing S303 when the vehicle terminal judges that the hot spot interface of the 5G frequency band is not opened.
S306, the coexistence mode of the hot spot interface of the 2.4G frequency band and the wireless network interface is started.
And S307, judging whether the hot spot interface of the 5G frequency band is opened or not. And when the vehicle-mounted terminal judges that the hot spot interface of the 5G frequency band is opened, executing S308, namely, opening the coexistence mode of the hot spot interface of the 2.4G frequency band, the hot spot interface of the 5G frequency band and the STA. And executing S306 when the vehicle terminal judges that the hot spot interface of the 5G frequency band is not opened. According to the starting mode of the hot spot interface of the 2.4G frequency band, a single working mode of the hot spot interface of the 2.4G frequency band, a coexistence mode of the hot spot interface of the 2.4G frequency band and the STA, and a coexistence mode of the hot spot interface of the 2.4G frequency band, the hot spot interface of the 5G frequency band and the STA can be realized. Therefore, the hot spot interface of the 2.4G frequency band required by the user is started, and the coexistence mode with other interfaces can be met.
Fig. 4 exemplarily shows a flow chart of creating a hot spot interface of a 5G frequency band. When the hot spot interface of the 5G frequency band is opened, the in-vehicle terminal further needs to judge the opening states of the other two interfaces so as to determine whether a coexistence mode of the hot spot interface of the 5G frequency band and the other two interfaces is needed.
As shown in fig. 4, the flowchart includes:
and S401, starting the hot spot interface of the 5G frequency band. And when the vehicle-mounted terminal receives the opening action of the user aiming at the hot spot interface of the 5G frequency band, the vehicle-mounted terminal opens the hot spot interface of the 5G frequency band.
S402, judging whether the wireless network interface is opened. When the in-vehicle terminal determines that the wireless network interface (STA) is not turned on, the in-vehicle terminal performs S403-S405. When the wireless network interface is judged to be opened, the vehicle terminal executes S406-S408.
And S403, starting a simplex mode of the hot spot interface of the 5G frequency band. That is to say, the in-vehicle terminal only opens the hot spot interface of the 5G frequency band, so as to implement connection with the device supporting the 5G frequency band through the interface.
S404, judging whether the hot spot interface of the 2.4G frequency band is opened or not. And when the vehicle-mounted terminal judges that the hot spot interface of the 2.4G frequency band is opened, executing S405, namely, opening a coexistence mode of the hot spot interface of the 2.4G frequency band and the hot spot interface of the 5G frequency band. And executing S403 when the vehicle terminal judges that the hot spot interface of the 2.4G frequency band is not opened.
S406, the coexistence mode of the hot spot interface of the 5G frequency band and the wireless network interface is started.
And S407, judging whether the hot spot interface of the 2.4G frequency band is opened or not. And when the vehicle-mounted terminal judges that the hot spot interface of the 2.4G frequency band is opened, executing S408, namely, opening the coexistence mode of the hot spot interface of the 2.4G frequency band, the hot spot interface of the 5G frequency band and the STA. And executing S406 when the vehicle-mounted terminal judges that the hot spot interface of the 2.4G frequency band is not opened. According to the starting mode of the hot spot interface of the 5G frequency band, a single working mode of the hot spot interface of the 5G frequency band, a coexistence mode of the hot spot interface of the 5G frequency band and the STA, and a coexistence mode of the hot spot interface of the 5G frequency band, the hot spot interface of the 2.4G frequency band and the STA can be realized. Therefore, the hot spot interface of the 5G frequency band required by the user is started, and the coexistence mode with other interfaces can be met.
Fig. 5 is a flow chart illustrating creation of a wireless network interface. Meanwhile, the in-vehicle terminal also needs to judge the starting states of the other two interfaces so as to determine whether a coexistence mode of the wireless network interface and the other two interfaces is needed.
As shown in fig. 5, the flowchart includes:
and S501, starting a wireless network interface. And when the vehicle-mounted terminal receives the opening action of the user for the wireless network interface, the vehicle-mounted terminal opens the wireless network interface.
S502, judging whether the hot spot interface of the 2.4G frequency band is opened or not. And when the vehicle-mounted terminal judges that the hotspot of the 2.4G frequency band is not opened, the vehicle-mounted terminal executes S503-S505. When the wireless network interface is determined to be opened, the in-vehicle terminal performs S506-S508.
S503, starting the simplex mode of the wireless network interface. That is to say, the in-vehicle terminal only starts the wireless network interface to realize the connection with the device supporting the wireless network connection through the interface.
S504, whether the hot spot interface of the 5G frequency band is opened or not is judged. And when the vehicle-mounted terminal judges that the hot spot interface of the 5G frequency band is opened, executing S505, namely, starting a coexistence mode of the wireless network interface and the hot spot interface of the 5G frequency band. And when the vehicle terminal judges that the hot spot interface of the 5G frequency band is not opened, executing S503.
S506, a coexistence mode of the hotspot interface of the 2.4G frequency band and the wireless network interface is started.
And S507, judging whether the hot spot interface of the 5G frequency band is opened or not. And when the vehicle-mounted terminal judges that the hot spot interface of the 5G frequency band is opened, executing S508, namely, opening the coexistence mode of the hot spot interface of the 2.4G frequency band, the hot spot interface of the 5G frequency band and the STA. When the in-vehicle terminal determines that the hot spot interface of the 5G band is not opened, S506 is executed.
According to the starting mode of the wireless network interface, a single working mode of a hot spot interface of a 2.4G frequency band, a coexistence mode of the hot spot interface of the 2.4G frequency band and the STA, and a coexistence mode of the hot spot interface of the 2.4G frequency band, the hot spot interface of the 5G frequency band and the STA can be realized. Therefore, the hot spot interface of the 2.4G frequency band required by the user is started, and the coexistence mode with other interfaces can be met.
The method of the embodiment of the application can realize various working modes, and one chip can realize simultaneous opening of two different frequency band interface hotspots, so that the use is more convenient, and the cost is lower. With reference to fig. 6, the present application further provides an electronic device comprising:
a memory 610 for storing instructions for execution by one or more processors of the device, an
A processor 620 for executing the method of the above embodiments shown in fig. 2-5.
The present application also provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program causes the processor to execute the method shown in fig. 2 to fig. 5 in the above embodiments.
Referring now to FIG. 7, shown is a block diagram of an apparatus 1200 in accordance with one embodiment of the present application. The device 1200 may include one or more processors 1201 coupled to a controller hub 1203. For at least one embodiment, the controller hub 1203 communicates with the processor 1201 via a multi-drop Bus such as a Front Side Bus (FSB), a point-to-point interface such as a Quick Path Interconnect (QPI), or similar connection 1206. The processor 1201 executes instructions that control general types of data processing operations. In one embodiment, Controller Hub 1203 includes, but is not limited to, a Graphics Memory Controller Hub (GMCH) (not shown) and an Input/Output Hub (IOH) (which may be on separate chips) (not shown), where the GMCH includes a Memory and a Graphics Controller and is coupled to the IOH.
The device 1200 may also include a coprocessor 1202 and a memory 1204 coupled to the controller hub 1203. Alternatively, one or both of the memory and GMCH may be integrated within the processor (as described herein), with the memory 1204 and coprocessor 1202 being directly coupled to the processor 1201 and to the controller hub 1203, with the controller hub 1203 and IOH being in a single chip. The Memory 1204 may be, for example, a Dynamic Random Access Memory (DRAM), a Phase Change Memory (PCM), or a combination of the two. In one embodiment, coprocessor 1202 is a special-Purpose processor, such as, for example, a high-throughput MIC processor (MIC), a network or communication processor, compression engine, graphics processor, General Purpose Graphics Processor (GPGPU), embedded processor, or the like. The optional nature of coprocessor 1202 is represented in FIG. 7 by dashed lines.
Memory 1204, as a computer-readable storage medium, may include one or more tangible, non-transitory computer-readable media for storing data and/or instructions. For example, the memory 1204 may include any suitable non-volatile memory, such as flash memory, and/or any suitable non-volatile storage device, such as one or more Hard-Disk drives (Hard-Disk drives, hdd (s)), one or more Compact Discs (CD) drives, and/or one or more Digital Versatile Discs (DVD) drives.
In one embodiment, device 1200 may further include a Network Interface Controller (NIC) 1206. Network interface 1206 may include a transceiver to provide a radio interface for device 1200 to communicate with any other suitable device (e.g., front end module, antenna, etc.). In various embodiments, the network interface 1206 may be integrated with other components of the device 1200. The network interface 1206 may implement the functions of the communication unit in the above-described embodiments.
The device 1200 may further include an Input/Output (I/O) device 1205. I/O1205 may include: a user interface designed to enable a user to interact with the device 1200; the design of the peripheral component interface enables peripheral components to also interact with the device 1200; and/or sensors may be configured to determine environmental conditions and/or location information associated with device 1200.
It is noted that fig. 7 is merely exemplary. That is, although fig. 7 shows that the apparatus 1200 includes a plurality of devices, such as the processor 1201, the controller hub 1203, the memory 1204, etc., in practical applications, an apparatus using the methods of the present application may include only a part of the devices of the apparatus 1200, for example, only the processor 1201 and the NIC1206 may be included. The nature of the alternative device in fig. 7 is shown in dashed lines.
According to some embodiments of the present application, the memory 1204 serving as a computer-readable storage medium stores instructions, which when executed on a computer, enable the system 1200 to perform the calculation method according to the above embodiments, which may specifically refer to the methods shown in fig. 2 to fig. 5 in the above embodiments, and will not be described herein again.
Referring now to fig. 8, shown is a block diagram of a SoC (System on Chip) 1300 in accordance with an embodiment of the present application. In fig. 8, like parts have the same reference numerals. In addition, the dashed box is an optional feature of more advanced socs. In fig. 8, the SoC1300 includes: an interconnect unit 1350 coupled to the application processor 1310; a system agent unit 1380; a bus controller unit 1390; an integrated memory controller unit 1340; a set or one or more coprocessors 1320 which may include integrated graphics logic, an image processor, an audio processor, and a video processor; a Static Random Access Memory (SRAM) unit 1330; a Direct Memory Access (DMA) unit 1360. In one embodiment, the coprocessor 1320 includes a special-purpose processor, such as, for example, a network or communication processor, compression engine, GPGPU, a high-throughput MIC processor, embedded processor, or the like.
Included in Static Random Access Memory (SRAM) unit 1330 may be one or more computer-readable media for storing data and/or instructions. A computer-readable storage medium may have stored therein instructions, in particular, temporary and permanent copies of the instructions. The instructions may include: when executed by at least one unit in the processor, the Soc1300 may execute the calculation method according to the foregoing embodiments, which may specifically refer to the methods shown in fig. 2 to fig. 5 in the foregoing embodiments, and details thereof are not repeated herein.
Embodiments of the mechanisms disclosed herein may be implemented in hardware, software, firmware, or a combination of these implementations. Embodiments of the application may be implemented as computer programs or program code executing on programmable systems comprising at least one processor, a storage system (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device.
Program code may be applied to input instructions to perform the functions described herein and generate output information. The output information may be applied to one or more output devices in a known manner. For purposes of this Application, a processing system includes any system having a Processor such as, for example, a Digital Signal Processor (DSP), a microcontroller, an Application Specific Integrated Circuit (ASIC), or a microprocessor.
The program code may be implemented in a high level procedural or object oriented programming language to communicate with a processing system. The program code can also be implemented in assembly or machine language, if desired. Indeed, the mechanisms described in this application are not limited in scope to any particular programming language. In any case, the language may be a compiled or interpreted language.
In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried by or stored on one or more transitory or non-transitory machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors. For example, the instructions may be distributed via a network or via other computer readable media. Thus, a machine-readable medium may include any mechanism for storing or transmitting information in a form readable by a machine (e.g., a computer), including, but not limited to, floppy diskettes, optical disks, Compact disk Read Only memories (CD-ROMs), magneto-optical disks, Read Only Memories (ROMs), Random Access Memories (RAMs), Erasable Programmable Read Only Memories (EPROMs), Electrically Erasable Programmable Read Only Memories (EEPROMs), magnetic or optical cards, flash Memory, or a tangible machine-readable Memory for transmitting information (e.g., carrier waves, infrared signals, digital signals, etc.) using the Internet in electrical, optical, acoustical or other forms of propagated signals. Thus, a machine-readable medium includes any type of machine-readable medium suitable for storing or transmitting electronic instructions or information in a form readable by a machine (e.g., a computer).
In the drawings, some features of the structures or methods may be shown in a particular arrangement and/or order. However, it is to be understood that such specific arrangement and/or ordering may not be required. Rather, in some embodiments, the features may be arranged in a manner and/or order different from that shown in the figures. In addition, the inclusion of a structural or methodical feature in a particular figure is not meant to imply that such feature is required in all embodiments, and in some embodiments, may not be included or may be combined with other features.
It should be noted that, in the embodiments of the apparatuses in the present application, each unit/module is a logical unit/module, and physically, one logical unit/module may be one physical unit/module, or may be a part of one physical unit/module, and may also be implemented by a combination of multiple physical units/modules, where the physical implementation manner of the logical unit/module itself is not the most important, and the combination of the functions implemented by the logical unit/module is the key to solve the technical problem provided by the present application. Furthermore, in order to highlight the innovative part of the present application, the above-mentioned device embodiments of the present application do not introduce units/modules which are not so closely related to solve the technical problems presented in the present application, which does not indicate that no other units/modules exist in the above-mentioned device embodiments.
It is noted that, in the examples and descriptions of this patent, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the use of the verb "comprise a" to define an element does not exclude the presence of another, same element in a process, method, article, or apparatus that comprises the element.
While the present application has been shown and described with reference to certain preferred embodiments thereof, it will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present application.

Claims (15)

1. A method for establishing connection between two hotspots is applied to electronic equipment, and is characterized in that the method comprises the following steps:
the electronic equipment receives a starting-up instruction of a user, responds to the starting-up instruction, and drives and loads a firmware by a chip of the electronic equipment;
the electronic equipment creates a wireless network interface and a hot spot interface, wherein the hot spot interface comprises a first hot spot interface and a second hot spot interface, and the first hot spot interface and the second hot spot interface are two hot spot interfaces with different frequency bands;
when the electronic device starts the first hot spot interface and the second hot spot interface, the electronic device is simultaneously connected with a first device through the first hot spot interface and a second device through the second hot spot interface, the first device supports a first hot spot frequency band corresponding to the first hot spot interface, and the second device supports a second hot spot frequency band corresponding to the second hot spot interface.
2. The method of claim 1, wherein the electronic device initiating the first hotspot interface and the second hotspot interface comprises:
the electronic equipment receives starting operation of a user for the first hotspot interface;
the electronic equipment starts a first hot spot interface;
and when the electronic equipment confirms that the wireless network interface is not started and the second hot spot interface is started, establishing a coexistence mode of the first hot spot interface and the second hot spot interface so as to start the first hot spot interface and the second hot spot interface at the same time.
3. The method of claim 1, wherein the electronic device initiating the first hotspot interface and the second hotspot interface comprises:
the electronic equipment receives starting operation of a user for the second hotspot interface;
the electronic equipment starts a second hotspot interface;
and when the electronic equipment confirms that the wireless network interface is not started and the first hot spot interface is started, establishing a coexistence mode of the second hot spot interface and the first hot spot interface so as to start the first hot spot interface and the second hot spot interface simultaneously.
4. The method of claim 1, further comprising:
when the electronic device simultaneously starts the first hot spot interface, the second hot spot interface and the wireless network interface, the electronic device is simultaneously connected with a first device through the first hot spot interface, connected with a second device through the second hot spot interface and connected with a third device through the wireless network interface.
5. The method of claim 4, wherein the electronic device simultaneously activating the first hotspot interface, the second hotspot interface and the wireless network interface comprises:
the electronic equipment receives starting operation of a user for the first hotspot interface;
the electronic equipment starts a first hot spot interface;
the electronic equipment confirms that the wireless network interface and the second hot spot interface are started, and creates a coexistence mode of the first hot spot interface, the second hot spot interface and the wireless network interface so as to start the first hot spot interface, the second hot spot interface and the wireless network interface at the same time.
6. The method of claim 4, wherein the electronic device simultaneously activating the first hotspot interface, the second hotspot interface and the wireless network interface comprises:
the electronic equipment receives starting operation of a user for the second hotspot interface;
the electronic equipment starts a second hotspot interface;
the electronic equipment confirms that the wireless network interface and the first hot spot interface are started, and creates a coexistence mode of the first hot spot interface, the second hot spot interface and the wireless network interface so as to start the first hot spot interface, the second hot spot interface and the wireless network interface at the same time.
7. The method of claim 4, wherein the electronic device simultaneously activating the first hotspot interface, the second hotspot interface and the wireless network interface comprises:
the electronic equipment receives starting operation of a user for the wireless network interface;
the electronic equipment starts a wireless network interface;
the electronic equipment confirms that the first hot spot interface and the second hot spot interface are started, and creates a coexistence mode of the first hot spot interface, the second hot spot interface and the wireless network interface so as to simultaneously start the first hot spot interface, the second hot spot interface and the wireless network interface.
8. The method of claim 1, further comprising:
when the electronic device respectively starts the first hot spot interface, the second hot spot interface and the wireless network interface, the electronic device is respectively connected with the first device through the first hot spot interface, the second device through the second hot spot interface and the third device through the wireless network interface.
9. The method of claim 1, wherein the electronic device initiating the first hotspot interface comprises:
the electronic equipment receives starting operation of a user for the first hot spot interface;
the electronic equipment starts the first hotspot interface;
and the electronic equipment confirms that the wireless network interface and the second hot spot interface are not started, and the electronic equipment starts the single working mode of the first hot spot interface so as to start only the first hot spot interface.
10. The method of claim 1, wherein the electronic device initiating the second hotspot interface comprises:
the electronic equipment receives starting operation of a user for the second hotspot interface;
the electronic equipment starts the second hotspot interface;
and the electronic equipment confirms that the wireless network interface and the first hot spot interface are not started, and the electronic equipment starts a single working mode of a second hot spot interface so as to start only the second hot spot interface.
11. The method of claim 1, wherein the electronic device activating the wireless network interface comprises:
the electronic equipment receives starting operation of a user for the wireless network interface;
the electronic equipment starts the wireless network interface;
and the electronic equipment confirms that the first hot spot interface and the second hot spot interface are not started, and the electronic equipment starts the single working mode of the wireless network interface so as to start only the wireless network interface.
12. The method of claim 1, further comprising:
when the electronic equipment starts the first hotspot interface and the wireless network interface, the electronic equipment is connected with the first equipment through the first hotspot interface and is connected with third equipment through the wireless network interface; or the like, or, alternatively,
when the electronic device starts the second hotspot interface and the wireless network interface, the electronic device is connected with the second device through the second hotspot interface and is connected with the third device through the wireless network interface.
13. The method of claim 1, wherein the first hot spot frequency band is a 2.4G frequency band and the second hot spot frequency band is a 5G frequency band.
14. An electronic device, comprising:
a memory for storing instructions for execution by one or more processors of the device, an
A processor for performing the method of any of the preceding claims 1-12.
15. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, causes the processor to perform the method of any one of claims 1-13.
CN202110196548.8A 2021-02-22 2021-02-22 Method for realizing connection establishment of double hotspots, electronic equipment and readable storage medium Pending CN113015264A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110196548.8A CN113015264A (en) 2021-02-22 2021-02-22 Method for realizing connection establishment of double hotspots, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110196548.8A CN113015264A (en) 2021-02-22 2021-02-22 Method for realizing connection establishment of double hotspots, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN113015264A true CN113015264A (en) 2021-06-22

Family

ID=76405601

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110196548.8A Pending CN113015264A (en) 2021-02-22 2021-02-22 Method for realizing connection establishment of double hotspots, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN113015264A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104797011A (en) * 2014-01-20 2015-07-22 华为终端有限公司 Data transmission method of dual-frequency mobile WiFi terminal and mobile WiFi terminal
CN106131877A (en) * 2016-08-11 2016-11-16 广州视源电子科技股份有限公司 WiFi communication processing means, method and system
CN110430604A (en) * 2019-08-02 2019-11-08 深圳市康冠商用科技有限公司 A kind of network control method, system and electronic equipment and storage medium
CN110730448A (en) * 2019-09-18 2020-01-24 华为技术有限公司 Method for establishing connection between devices and electronic device
CN110730517A (en) * 2019-10-22 2020-01-24 Oppo广东移动通信有限公司 Network connection control method and related product
WO2020220875A1 (en) * 2019-04-30 2020-11-05 维沃移动通信有限公司 Terminal and data transmission method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104797011A (en) * 2014-01-20 2015-07-22 华为终端有限公司 Data transmission method of dual-frequency mobile WiFi terminal and mobile WiFi terminal
CN106131877A (en) * 2016-08-11 2016-11-16 广州视源电子科技股份有限公司 WiFi communication processing means, method and system
WO2020220875A1 (en) * 2019-04-30 2020-11-05 维沃移动通信有限公司 Terminal and data transmission method
CN110430604A (en) * 2019-08-02 2019-11-08 深圳市康冠商用科技有限公司 A kind of network control method, system and electronic equipment and storage medium
CN110730448A (en) * 2019-09-18 2020-01-24 华为技术有限公司 Method for establishing connection between devices and electronic device
CN110730517A (en) * 2019-10-22 2020-01-24 Oppo广东移动通信有限公司 Network connection control method and related product

Similar Documents

Publication Publication Date Title
CN110505652B (en) Network connection control method, terminal and storage medium
JP5726240B2 (en) Wireless internet access device, SD control chip, and data communication method
CN101827463B (en) Dual-mode dual-card dual-standby single-pass wireless terminal and communication method thereof
EP3654540A1 (en) Pairing method, unpairing method, terminal device and externally-connected device
CN111246399B (en) Method for discovering Bluetooth device and related product
WO2013127274A1 (en) Method for storing application data and terminal device
KR20090035220A (en) Mobile terminal supporting dual standby mode and communication mode controling method thereof
TW201440566A (en) Determining parameters of an access point
CN113395687A (en) Reconnection method, reconnection device, electronic equipment and storage medium
CN103250144A (en) System and method for facilitating wireless communication during a pre-oot phase of a computing device
EP3913892A1 (en) Service-based communication method, unit and system, and storage medium
WO2020258782A1 (en) Data transmission method applicable to bluetooth card reader, and electronic apparatus
CN111328116A (en) Control method and system for dual-mode coexistence of wireless equipment and wireless equipment
WO2021238520A1 (en) Method and apparatus for controlling wearable device, and electronic device and storage medium
CN113015264A (en) Method for realizing connection establishment of double hotspots, electronic equipment and readable storage medium
JP2004030506A (en) Portable communication terminal and method for sharing its memory
JP4880739B2 (en) Wireless LAN system, data communication control method, and access point
US20150105019A1 (en) Wireless communication device and wireless paring method thereof
CN111221584A (en) Terminal single-card and double-card adapting method and device, computer equipment and storage medium
WO2021032111A1 (en) Method and device for managing associated permissions of application, terminal, and storage medium
US20230370420A1 (en) Method for Connection Between Devices, Electronic Device, and Computer-Readable Storage Medium
CN104519598A (en) Information processing method and first electronic device
WO2022262529A1 (en) Control method and apparatus, electronic device, and storage medium
CN101068390B (en) TD-SCDMA and GSM double-mode mobile terminal cut-off method
JP7146009B2 (en) Communication device and program

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