WO2021104246A1 - Network connection method and electronic device - Google Patents

Network connection method and electronic device Download PDF

Info

Publication number
WO2021104246A1
WO2021104246A1 PCT/CN2020/131082 CN2020131082W WO2021104246A1 WO 2021104246 A1 WO2021104246 A1 WO 2021104246A1 CN 2020131082 W CN2020131082 W CN 2020131082W WO 2021104246 A1 WO2021104246 A1 WO 2021104246A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
connection
electronic
networks
display area
Prior art date
Application number
PCT/CN2020/131082
Other languages
French (fr)
Chinese (zh)
Inventor
原晓坤
Original Assignee
维沃移动通信有限公司
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
Priority to CN201911192989.X priority Critical
Priority to CN201911192989.XA priority patent/CN110972234B/en
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2021104246A1 publication Critical patent/WO2021104246A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service

Abstract

The present invention provides a network connection method and an electronic device. The network connection method comprises: displaying candidate network identifiers in a first display area of the electronic device, the candidate network comprising a mobile communication operator data network and a wireless local area network; receiving a selection operation of a user on a first identifier in the candidate network identifiers; in response to the selection operation, moving the first identifier to a second display area; and selecting at least one first target network from networks corresponding to the identifiers in the second display area to perform network connection.

Description

网络连接方法和电子设备Network connection method and electronic equipment
相关申请的交叉引用Cross-references to related applications
本申请主张在2019年11月28日在中国提交的中国专利申请No.201911192989.X的优先权,其全部内容通过引用包含于此。This application claims the priority of Chinese Patent Application No. 201911192989.X filed in China on November 28, 2019, the entire content of which is incorporated herein by reference.
技术领域Technical field
本发明涉及通信技术领域,特别涉及一种网络连接方法和电子设备。The present invention relates to the field of communication technology, in particular to a network connection method and electronic equipment.
背景技术Background technique
现阶段,人们使用手机连接互联网可以使用数据网络连接,也可以使用无线网络连接。目前在手机中无线网络设置和数据网络设置在系统设置中,是分开独立设置的。用户能够配置当前无线网络连接哪个网络以及数据网络使用哪张卡等。当系统无线网络打开并可用时,优先使用无线网络。数据网络的优势是覆盖广、随时随地都能使用数据网络,缺点是按流量计费、价格较高。无线网络的优势是不限流量、网速较高且稳定,缺点是覆盖较小,只有很少地方能够连接。At this stage, people using mobile phones to connect to the Internet can use a data network connection or a wireless network connection. At present, the wireless network setting and data network setting in the mobile phone are set separately in the system setting. The user can configure which network the current wireless network is connected to and which card the data network uses, etc. When the system wireless network is turned on and available, the wireless network is used first. The advantage of the data network is that it has wide coverage and can be used anytime and anywhere, but the disadvantage is that it charges according to traffic and is relatively expensive. The advantage of the wireless network is unlimited traffic, high speed and stability, but the disadvantage is that the coverage is small and there are only a few places to connect.
发明内容Summary of the invention
本发明实施例提供一种网络连接方法和电子设备,以解决现有技术的网络连接用户体验差的问题。The embodiments of the present invention provide a network connection method and electronic equipment to solve the problem of poor network connection user experience in the prior art.
为了解决上述技术问题,本发明是这样实现的:In order to solve the above technical problems, the present invention is implemented as follows:
第一方面,本发明实施例提供了一种网络连接方法,应用于电子设备,包括:In the first aspect, an embodiment of the present invention provides a network connection method applied to an electronic device, including:
在所述电子设备的第一显示区域显示候选网络标识,所述候选网络包括移动通信运营商数据网络和无线局域网络;Displaying a candidate network identifier in the first display area of the electronic device, where the candidate network includes a mobile communication operator data network and a wireless local area network;
接收用户对所述候选网络标识中第一标识的选择操作;Receiving a user's selection operation of the first identifier in the candidate network identifiers;
响应于所述选择操作,将所述第一标识移至第二显示区域中;In response to the selection operation, moving the first mark to the second display area;
从所述第二显示区域中的各标识对应的网络中选择至少一个第一目标网 络进行网络连接。Select at least one first target network from the networks corresponding to each identifier in the second display area for network connection.
第二方面,本发明实施例还提供了一种电子设备,包括:In the second aspect, an embodiment of the present invention also provides an electronic device, including:
显示模块,用于在所述电子设备的第一显示区域显示候选网络标识,所述候选网络包括移动通信运营商数据网络和无线局域网络;A display module, configured to display a candidate network identifier in the first display area of the electronic device, the candidate network including a mobile communication operator data network and a wireless local area network;
接收模块,用于接收用户对所述候选网络标识中第一标识的选择操作;A receiving module, configured to receive a user's selection operation of the first identifier in the candidate network identifiers;
响应模块,用于响应于所述选择操作,将所述第一标识移至第二显示区域中;A response module, configured to move the first mark to the second display area in response to the selection operation;
第一处理模块,用于从所述第二显示区域中的各标识对应的网络中选择至少一个第一目标网络进行网络连接。The first processing module is configured to select at least one first target network from the networks corresponding to each identifier in the second display area for network connection.
第三方面,本发明实施例还提供了一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如上所述的网络连接方法的步骤。In a third aspect, an embodiment of the present invention also provides an electronic device, including a processor, a memory, and a computer program stored on the memory and running on the processor, and the computer program is executed by the processor. The steps of the network connection method as described above are realized during execution.
第四方面,本发明实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如上所述的网络连接方法的步骤。In a fourth aspect, an embodiment of the present invention also provides a computer-readable storage medium having a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, the network connection method described above is implemented. step.
第五方面,本发明实施例还提供了一种计算机程序产品,其中,所述程序产品被存储在非易失的存储介质中,所述程序产品被至少一个处理器执行以实现如上所述的网络连接方法的步骤。In a fifth aspect, embodiments of the present invention also provide a computer program product, wherein the program product is stored in a nonvolatile storage medium, and the program product is executed by at least one processor to implement the above-mentioned Steps of the network connection method.
第六方面,本发明实施例还提供了一种电子设备,其中,所述电子设备用于执行如上所述的网络连接方法的步骤。In a sixth aspect, an embodiment of the present invention also provides an electronic device, wherein the electronic device is used to execute the steps of the network connection method described above.
这样,本发明实施例中,通过在所述电子设备的第一显示区域显示候选网络标识,并通过用户对所述候选网络标识中第一标识的选择操作,并将所述第一标识移至第二显示区域中,从所述第二显示区域中的各标识对应的网络中选择至少一个第一目标网络进行网络连接,不仅可以同时显示数据网络和无线局域网络,还能将数据网络和无线网络两种类型网络作为候选网络进行选择灵活调整网络连接的方式,提升用户体验。In this way, in the embodiment of the present invention, the candidate network identifier is displayed in the first display area of the electronic device, and the user selects the first identifier in the candidate network identifier, and moves the first identifier to In the second display area, at least one first target network is selected from the networks corresponding to each identifier in the second display area for network connection. Not only can the data network and the wireless local area network be displayed at the same time, but also the data network and wireless Two types of networks are selected as candidate networks to flexibly adjust the way of network connection to improve user experience.
附图说明Description of the drawings
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例的 描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present invention more clearly, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments of the present invention. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative labor.
图1表示本发明实施例的网络连接方法流程图;Figure 1 shows a flowchart of a network connection method according to an embodiment of the present invention;
图2表示本发明实施例的用户的操作示意图之一;FIG. 2 shows one of the schematic diagrams of the operation of the user according to the embodiment of the present invention;
图3表示本发明实施例的用户的操作示意图之二;FIG. 3 shows the second schematic diagram of user operation according to an embodiment of the present invention;
图4表示本发明实施例的用户的操作示意图之三;FIG. 4 shows the third schematic diagram of user operation according to an embodiment of the present invention;
图5表示本发明实施例的用户的操作示意图之四;FIG. 5 shows the fourth schematic diagram of the operation of the user according to the embodiment of the present invention;
图6表示本发明实施例的用户的操作示意图之五;FIG. 6 shows the fifth schematic diagram of user operation according to an embodiment of the present invention;
图7表示本发明实施例的用户的操作示意图之六;FIG. 7 shows a sixth schematic diagram of user operations according to an embodiment of the present invention;
图8表示本发明实施例的电子设备的模块示意图;FIG. 8 shows a schematic diagram of modules of an electronic device according to an embodiment of the present invention;
图9表示本发明实施例的电子设备的结构示意图。FIG. 9 shows a schematic diagram of the structure of an electronic device according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
目前,在数据网络上,数据网络资费已经大大降低,尤其在即将到来的第五代移动通信5G时代,用户使用数据网络的瓶颈将不再是资费问题,且在网速、网络延迟方面能与千兆无线网络匹敌。在无线网络上,当前设备已经能够支持无线网络双通,即同时连接两个不同频段的无线网络,同时千兆无线网络的普及,使得无线网络的网络速度有大幅度的提升。基于以上变化,当数据网络资费不再是问题,且数据网络网速、网络延迟已经能与无线网络匹敌的情况下,以往的一刀切式无条件优先无线网络的逻辑已经不再适用。本公开提出,主副卡数据网络、双频段无线网络,均可以作为用户候选网络,可以对上述候选网络做灵活动态的优先级调整。At present, on data networks, data network tariffs have been greatly reduced, especially in the upcoming 5G era of the fifth generation of mobile communications. The bottleneck for users to use data networks will no longer be a tariff issue, and the network speed and network delay can be compared with each other in terms of network speed and network delay. Gigabit wireless network rivals. On wireless networks, current devices have been able to support wireless network dual-pass, that is, connect two wireless networks of different frequency bands at the same time. At the same time, the popularity of gigabit wireless networks has greatly improved the network speed of wireless networks. Based on the above changes, when the data network tariff is no longer a problem, and the data network speed and network delay can match the wireless network, the previous one-size-fits-all unconditional priority wireless network logic is no longer applicable. The present disclosure proposes that both the primary and secondary card data network and the dual-band wireless network can be used as user candidate networks, and the above-mentioned candidate networks can be adjusted flexibly and dynamically.
具体地,如图1所示,本发明实施例提供了一种网络连接方法,应用于电子设备,包括:Specifically, as shown in FIG. 1, an embodiment of the present invention provides a network connection method applied to an electronic device, including:
步骤11,在所述电子设备的第一显示区域显示候选网络标识,所述候选网络包括移动通信运营商数据网络和无线局域网络(Wireless Local Area Network,WLAN)。Step 11: Display a candidate network identifier in the first display area of the electronic device, where the candidate network includes a mobile communication operator data network and a wireless local area network (Wireless Local Area Network, WLAN).
具体地,所述候选网络标识为电子设备可以与互联网接入的移动通信运营商数据网络标识和无线局域网络标识,并在所述电子设备的显示页面的第一显示区域显示候选网络标识。Specifically, the candidate network identifiers are mobile communication operator data network identifiers and wireless local area network identifiers that the electronic device can access the Internet, and the candidate network identifiers are displayed in the first display area of the display page of the electronic device.
步骤12,接收用户对所述候选网络标识中第一标识的选择操作。Step 12: Receive a user's selection operation of the first identifier in the candidate network identifiers.
具体地,选择操作可以是用户按压候选网络标识中第一标识并拖动的操作,或者点击特定按钮等,在此并不具体限定。其中,所述第一标识的个数可以为大于1的整数。Specifically, the selection operation may be an operation in which the user presses and drags the first identifier among the candidate network identifiers, or clicks a specific button, etc., which is not specifically limited herein. Wherein, the number of the first identifier may be an integer greater than one.
步骤13,响应于所述选择操作,将所述第一标识移至第二显示区域中。Step 13, in response to the selection operation, move the first mark to the second display area.
具体地,在所述选择操作为用户按压并拖动的操作,即用户可以按压并拖动所述第一标识,将所述第一标识从第一显示区域移动至第二显示区域。Specifically, when the selection operation is an operation of pressing and dragging by the user, that is, the user can press and drag the first mark to move the first mark from the first display area to the second display area.
步骤14,从所述第二显示区域中的各标识对应的网络中选择至少一个第一目标网络进行网络连接。Step 14: Select at least one first target network from the networks corresponding to the identifiers in the second display area for network connection.
具体地,电子设备可以支持上述移动通信运营商数据网络和无线局域网络中的单个网络连接或多个网络同时连接的网络连接方式。其中,多个网络同时连接包括同一应用同时使用多网络,不同应用分别同时使用多个网络等。其中,第二显示区域中的各标识对应的网络均可以用来选择进行网络连接。Specifically, the electronic device may support a single network connection or a simultaneous connection of multiple networks in the above-mentioned mobile communication operator data network and wireless local area network. Among them, the simultaneous connection of multiple networks includes the same application using multiple networks at the same time, and different applications using multiple networks at the same time. Wherein, the network corresponding to each identifier in the second display area can be used to select a network connection.
其中,用户还可以通过以上选择操作,将第二显示区域中的第一目标网络对应的标识移动至所述第一显示区域中,作为候选网络标识。Wherein, the user can also move the identifier corresponding to the first target network in the second display area to the first display area through the above selection operation, as a candidate network identifier.
在本发明上述实施例中,通过在所述电子设备的第一显示区域显示候选网络标识,并通过用户对所述候选网络标识中第一标识的选择操作,并将所述第一标识移至第二显示区域中,从所述第二显示区域中的各标识对应的网络中选择至少一个第一目标网络进行网络连接,不仅可以同时显示数据网络和无线局域网络,还能将数据网络和无线网络两种类型网络作为候选网络进行选择灵活调整网络连接的方式,提升用户体验。In the above-mentioned embodiment of the present invention, the candidate network identification is displayed in the first display area of the electronic device, and the first identification is moved to the candidate network identification through the user's selection operation of the first identification in the candidate network identification. In the second display area, at least one first target network is selected from the networks corresponding to each identifier in the second display area for network connection. Not only can the data network and the wireless local area network be displayed at the same time, but also the data network and wireless Two types of networks are selected as candidate networks to flexibly adjust the way of network connection to improve user experience.
进一步地,所述步骤14之后,所述方法还可以包括:Further, after the step 14, the method may further include:
在所述第一目标网络满足预设条件的情况下,断开所述第一目标网络, 并从所述第二显示区域中的各标识对应的网络中选择除所述第一目标网络以外的第二目标网络进行网络连接。In the case that the first target network meets a preset condition, disconnect the first target network, and select a network other than the first target network from the networks corresponding to the identifiers in the second display area The second target network makes a network connection.
具体地,在所述第一目标网络满足预设条件的情况下,断开所述第一目标网络,可以根据优先级,从所述第二显示区域中的各标识对应的网络中选择除所述第一目标网络以外的第二目标网络进行网络连接。Specifically, when the first target network meets the preset condition, the first target network is disconnected, and the network corresponding to each identifier in the second display area may be selected according to the priority. The second target network other than the first target network is connected to the network.
具体地,所述预设条件为判定第一目标网络的网络信号差的预设阈值。在第一目标网络满足预设条件的情况下,判定第一目标网络的信号较差,需要断开信号较差的第一目标网络,并根据所述目标网络的优先级的顺序,从所述第二显示区域中的各标识对应的网络中选择除所述第一目标网络以外的第二目标网络进行网络连接,避免电子设备连接的网络信号质量差导致网络连接不可用的问题。Specifically, the preset condition is a preset threshold for determining the network signal difference of the first target network. When the first target network meets the preset conditions, it is determined that the signal of the first target network is poor, and the first target network with poor signal needs to be disconnected, and according to the order of the priority of the target network, A second target network other than the first target network is selected from the network corresponding to each identifier in the second display area for network connection, so as to avoid the problem of poor network signal quality connected to the electronic device leading to unavailability of the network connection.
具体地,用户可以根据需要选择可接入的目标网络,并根据用户需要对所述第二显示区域的第一目标网络进行优先级的排序,使电子设备可以根据所述第一目标网络的优先级的顺序,从所述第一目标网络中选择一个或多个进行网络连接。Specifically, the user can select the accessible target network according to needs, and prioritize the first target network in the second display area according to the user's needs, so that the electronic device can be based on the priority of the first target network. In order of levels, one or more of the first target networks are selected for network connection.
具体地,用户可以根据需要选择可接入的目标网络,并通过所述第二显示区域中的第一目标网络的信号质量(如网速、信号值等)对所述第一目标网络进行优先级的排序,使电子设备可以根据所述第一目标网络的优先级的顺序,从所述第一目标网络中选择一个或多个进行网络连接。Specifically, the user can select an accessible target network as needed, and prioritize the first target network based on the signal quality (such as network speed, signal value, etc.) of the first target network in the second display area. The ordering of levels allows the electronic device to select one or more of the first target networks for network connection according to the priority order of the first target network.
进一步地,所述步骤14具体可以包括:Further, the step 14 may specifically include:
获取允许连接的预设网络类型;Get the preset network type allowed to connect;
根据所述预设网络类型,从所述第二显示区域中的各标识对应的网络中选择至少一个第一目标网络进行网络连接。According to the preset network type, at least one first target network is selected for network connection from the networks corresponding to the identifiers in the second display area.
具体地,所述预设网络类型可以包括:移动通信运营商数据网络的单连接类型、无线局域网络的单连接类型、移动通信运营商数据网络与无线局域网络的双连接类型、不同频段的两种无线局域网络的双连接类型(如5G Hz频段和2.4G Hz频段)、同一频段的两种无线局域网络的双连接类型(如5G Hz WLAN1和5G Hz WLAN2)等。Specifically, the preset network type may include: a single connection type of a mobile communication operator's data network, a single connection type of a wireless local area network, a dual connection type of a mobile communication operator's data network and a wireless local area network, and two different frequency bands. Two types of dual connection types of wireless local area networks (such as 5G Hz frequency band and 2.4G Hz frequency band), and two types of dual connection types of wireless local area networks in the same frequency band (such as 5G Hz WLAN1 and 5G Hz WLAN2), etc.
具体地,电子设备可以支持2.4GHz频段的无线网络连接和5GHz频段的 无线网络连接;或者支持主卡数据网络连接和副卡数据网络连接;或者支持通用串行总线(Universal Serial Bus,USB)共享网络连接和蓝牙共享网络连接等。Specifically, the electronic device can support the wireless network connection in the 2.4GHz frequency band and the wireless network connection in the 5GHz frequency band; or support the main card data network connection and the secondary card data network connection; or support Universal Serial Bus (USB) sharing Network connection and Bluetooth shared network connection, etc.
进一步地,所述预设网络类型为不同频段的两种无线局域网络的双连接类型,所述步骤14,具体可以包括:Further, the preset network types are dual connection types of two wireless local area networks in different frequency bands, and the step 14 may specifically include:
在所述电子设备已与第三目标网络连接的情况下,从所述第二显示区域中的各标识对应的网络中选择一个第一目标网络进行网络连接;In the case that the electronic device has been connected to the third target network, selecting a first target network from the networks corresponding to the identifiers in the second display area for network connection;
其中,所述第三目标网络为第一频段的无线局域网络,所述第一目标网络为第二频段的无线局域网络。Wherein, the third target network is a wireless local area network in a first frequency band, and the first target network is a wireless local area network in a second frequency band.
具体地,可以根据所述目标网络所采用的无线接入技术(Radio Access Technologies,RAT)类型,对所述第二显示区域中的第一目标网络进行分类;例如:5G Hz频段和2.4G Hz频段,按照信号质量排序,得到以下优先级顺序,有第一目标网络1(5G Hz WLAN1)、第一目标网络2(5G Hz WLAN2)、第一目标网络3(2.4G Hz WLAN1)和第一目标网络4(2.4G Hz WLAN2),在电子设备已经与第三目标网络连接(即与第一目标网络1连接)的情况下,从所述第二显示区域中的各标识对应的网络(第一目标网络3和第一目标网络4)中选择一个第一目标网络进行网络连接。Specifically, the first target network in the second display area can be classified according to the type of radio access technology (Radio Access Technologies, RAT) adopted by the target network; for example: 5G Hz frequency band and 2.4G Hz Frequency bands are sorted by signal quality, and the following priority order is obtained. There are first target network 1 (5G Hz WLAN1), first target network 2 (5G Hz WLAN2), first target network 3 (2.4G Hz WLAN1) and first target network 3 (2.4G Hz WLAN1). Target network 4 (2.4G Hz WLAN2), when the electronic device has been connected to the third target network (that is, connected to the first target network 1), from the network corresponding to each identifier in the second display area (the first A first target network is selected from a target network 3 and a first target network 4) for network connection.
具体可以通过以下具体实施例进行具体说明:It can be specifically illustrated by the following specific embodiments:
如图2至4所示,在电子设备的设置界面中,将原有的WLAN网络设置和数据网络设置进行整合,在一个界面中进行网络使用策略配置。其中,所述网络使用策略可以规定电子设备能够连接哪些网络、优先连接哪些网络、在网络状态发生变化时的如何切换等问题。As shown in Figures 2 to 4, in the setting interface of the electronic device, the original WLAN network setting and the data network setting are integrated, and the network usage policy configuration is performed in one interface. Wherein, the network usage policy may specify which networks the electronic device can connect to, which networks to preferentially connect to, and how to switch when the network status changes.
可以在设置界面设置有“互联网连接”的设置项,通过用户点击“互联网连接”进入互联网连接设置界面,即如图3所示,该界面可以分为上下两个列表:允许的网络连接列表(第二显示区域的第一目标网络的列表)和可用的网络连接列表(候选网络的列表)。用户可以通过选择操作(如选中候选网络中的其中一个进行按压并拖拽,即图3中手指所指并拖动的候选网络),将可用的网络连接列表中的候选网络移动到允许的网络连接列表中,使得电子设备可以通过该允许的网络连接列表中的第一目标网络连接到互联网。The setting item of "Internet connection" can be set in the setting interface, and the user can click on the "Internet connection" to enter the Internet connection setting interface, as shown in Figure 3. The interface can be divided into two lists: the list of allowed network connections ( A list of the first target network in the second display area) and a list of available network connections (a list of candidate networks). The user can move the candidate network in the list of available network connections to the allowed network by selecting operations (such as selecting one of the candidate networks and pressing and dragging, that is, the candidate network pointed and dragged by the finger in Figure 3). In the connection list, the electronic device can connect to the Internet through the first target network in the allowed network connection list.
用户还可以通过排序操作(如选中第一目标网络中的其中一个进行按压并拖拽),即图4中手指所指并拖动的第一目标网络,可以调整允许的网络连接列表中的第一目标网络连接顺序,即调整第一目标网络的优先级;并且,也可以将第一目标网络拖拽回到可用的网络连接列表中以使电子设备不再使用该网络连接互联网。The user can also perform sorting operations (such as selecting one of the first target networks, pressing and dragging), that is, the first target network pointed and dragged by the finger in Figure 4, and can adjust the first target network in the list of allowed network connections. A target network connection sequence is to adjust the priority of the first target network; and the first target network can also be dragged back to the list of available network connections so that the electronic device no longer uses the network to connect to the Internet.
用户通过上述操作完成网络使用策略配置后,电子设备根据预设网络类型(自身软件和硬件能力),根据优先级单独使用或者组合使用允许的第一目标网络连接互联网。组合使用可以是同时使用WLAN和数据网络,也可以是同时使用不同频段的WLAN网络。比如用户允许的网络连接列表中有四个第一目标网络,根据优先级的高低顺序分别为:WLAN1、WLAN2、用户身份识别卡(Subscriber Identification Module,SIM)1、SIM2。针对上述优先级,指示上述四个网络的使用优先级,在高优先级网络不可用或者信号差时,使用低优先级网络。After the user completes the network usage policy configuration through the above operations, the electronic device uses the first target network allowed to connect to the Internet according to the preset network type (its own software and hardware capabilities) and the priority according to the priority. The combined use can be to use WLAN and data networks at the same time, or to use WLAN networks of different frequency bands at the same time. For example, there are four first target networks in the list of network connections allowed by the user. According to the priority order, they are: WLAN1, WLAN2, Subscriber Identification Module (SIM)1, and SIM2. For the above-mentioned priority, indicate the use priority of the above-mentioned four networks, and use the low-priority network when the high-priority network is unavailable or the signal is poor.
本发明上述实施例中,将WLAN和数据网络以及其他能够连接互联网的网路连接的设置界面进行了整合,在设置界面不再将WLAN和数据网络进行区分设置,让用户在一处就能够完成对当前可接入网络的所有配置,电子设备根据用户配置进行灵活的网络连接和切换,提升用户体验。In the above-mentioned embodiment of the present invention, the WLAN and data network and other network connection setting interfaces that can connect to the Internet are integrated. In the setting interface, WLAN and data network are no longer distinguished and set, so that the user can complete it in one place. For all configurations currently accessible to the network, the electronic device performs flexible network connection and switching according to the user configuration to improve the user experience.
如图5至7所示,在电子设备的设置界面中,将WLAN设置项重新设计,已连接的WLAN列表对应允许列表(即第二显示区域的第一目标网络的列表),可用的WLAN列表对应候选列表(即候选网络的列表)。As shown in Figures 5 to 7, in the setting interface of the electronic device, the WLAN setting items are redesigned, the connected WLAN list corresponds to the allowed list (ie the list of the first target network in the second display area), and the available WLAN list Corresponding to the candidate list (ie, the list of candidate networks).
用户可以通过选择操作(如选中候选网络中的其中一个进行按压并拖拽)的方式,即图6和图7中手指所指并拖拽的候选网络,分别设置已连接的WLAN列表中的主WLAN和辅WLAN;若主WLAN连接了5GHz频段后,则可用的WLAN列表中5GHz频段的其他WLAN置灰或者隐藏,只显示支持的2.4GHz的WLAN网络,可以改进当前主WLAN和辅WLAN的连接方式,使得主WLAN和辅WLAN的连接操作更加直观。The user can set the master in the list of connected WLANs by selecting operations (such as selecting one of the candidate networks and pressing and dragging), that is, the candidate networks pointed and dragged by the finger in Figure 6 and Figure 7, respectively. WLAN and secondary WLAN; if the primary WLAN is connected to the 5GHz frequency band, other WLANs in the 5GHz frequency band in the available WLAN list will be grayed out or hidden, and only the supported 2.4GHz WLAN networks will be displayed, which can improve the connection between the current primary WLAN and secondary WLAN In this way, the connection operation between the primary WLAN and the secondary WLAN is more intuitive.
在本发明实施例中,在所述电子设备的第一显示区域显示候选网络标识,并通过用户对所述候选网络标识中第一标识的选择操作,并将所述第一标识移至第二显示区域中,从所述第二显示区域中的各标识对应的网络中选择至 少一个第一目标网络进行网络连接,不仅可以同时显示数据网络和无线局域网络,还能将数据网络和无线网络两种类型网络作为候选网络进行选择灵活调整网络连接的方式;并且,在第一目标网络满足预设条件的情况下,判定第一目标网络的信号较差,需要断开信号较差的第一目标网络,并根据所述第一目标网络的优先级的顺序,从所述第二显示区域中的各标识对应的网络中选择除所述第一目标网络以外的第二目标网络进行网络连接,避免电子设备连接的网络信号质量差导致网络连接不可用的问题,提升用户体验。In the embodiment of the present invention, the candidate network identification is displayed in the first display area of the electronic device, and the first identification is moved to the second identification through the user's selection operation of the first identification in the candidate network identification. In the display area, at least one first target network is selected from the network corresponding to each identifier in the second display area for network connection, which can not only display the data network and the wireless local area network at the same time, but also combine the data network and the wireless network. Two types of networks are selected as candidate networks to flexibly adjust the way of network connection; and, when the first target network meets the preset conditions, it is determined that the signal of the first target network is poor, and the first target with poor signal needs to be disconnected Network, and according to the priority order of the first target network, select a second target network other than the first target network from the networks corresponding to the identifiers in the second display area for network connection, so as to avoid The poor quality of the network signal connected to the electronic device leads to the problem of unavailability of the network connection, which improves the user experience.
如图8所示,本发明实施例提供了一种电子设备80,包括:As shown in FIG. 8, an embodiment of the present invention provides an electronic device 80, including:
显示模块81,用于在所述电子设备的第一显示区域显示候选网络标识,所述候选网络包括移动通信运营商数据网络和无线局域网络;The display module 81 is configured to display candidate network identifiers in the first display area of the electronic device, where the candidate networks include mobile communication operator data networks and wireless local area networks;
接收模块82,用于接收用户对所述候选网络标识中第一标识的选择操作;The receiving module 82 is configured to receive a user's selection operation of the first identifier in the candidate network identifiers;
响应模块83,用于响应于所述选择操作,将所述第一标识移至第二显示区域中;The response module 83 is configured to move the first mark to the second display area in response to the selection operation;
第一处理模块84,用于从所述第二显示区域中的各标识对应的网络中选择至少一个第一目标网络进行网络连接。The first processing module 84 is configured to select at least one first target network from the networks corresponding to each identifier in the second display area for network connection.
可选地,所述电子设备80还包括:Optionally, the electronic device 80 further includes:
第二处理模块,用于在所述第一目标网络满足预设条件的情况下,断开所述第一目标网络,并从所述第二显示区域中的各标识对应的网络中选择除所述第一目标网络以外的第二目标网络进行网络连接。The second processing module is configured to disconnect the first target network when the first target network meets a preset condition, and select the network corresponding to each identifier in the second display area. The second target network other than the first target network is connected to the network.
可选地,所述第一处理模块84,包括:Optionally, the first processing module 84 includes:
获取单元,用于获取允许连接的预设网络类型;The obtaining unit is used to obtain the preset network type allowed to be connected;
第一处理单元,用于根据所述预设网络类型,从所述第二显示区域中的各标识对应的网络中选择至少一个第一目标网络进行网络连接。The first processing unit is configured to select at least one first target network from the networks corresponding to the identifiers in the second display area for network connection according to the preset network type.
可选地,所述预设网络类型包括以下其中一项:Optionally, the preset network type includes one of the following:
移动通信运营商数据网络的单连接类型;Single connection type of mobile communication operator's data network;
无线局域网络的单连接类型;Single connection type of wireless local area network;
移动通信运营商数据网络与无线局域网络的双连接类型;The dual connection type of mobile communication operator's data network and wireless local area network;
不同频段的两种无线局域网络的双连接类型;Dual connection types of two wireless local area networks in different frequency bands;
同一频段的两种无线局域网络的双连接类型。The dual connection type of two wireless local area networks in the same frequency band.
可选地,所述预设网络类型为不同频段的两种无线局域网络的双连接类型,所述第一处理模块84,包括:Optionally, the preset network types are dual connection types of two wireless local area networks in different frequency bands, and the first processing module 84 includes:
第二处理单元,用于在所述电子设备已与第三目标网络连接的情况下,从所述第二显示区域中的各标识对应的网络中选择一个第一目标网络进行网络连接;A second processing unit, configured to select a first target network for network connection from the networks corresponding to the identifiers in the second display area when the electronic device is already connected to the third target network;
其中,所述第三目标网络为第一频段的无线局域网络,所述第一目标网络为第二频段的无线局域网络。Wherein, the third target network is a wireless local area network in a first frequency band, and the first target network is a wireless local area network in a second frequency band.
电子设备80能够实现图1至图7的方法实施例中电子设备实现的各个过程,为避免重复,这里不再赘述。The electronic device 80 can implement the various processes implemented by the electronic device in the method embodiments of FIGS. 1 to 7. To avoid repetition, details are not described herein again.
综上所述,本发明实施例中,通过显示模块81在所述电子设备的第一显示区域显示候选网络标识,并通过接收模块82接收用户对所述候选网络标识中第一标识的选择操作,并通过响应模块83将所述第一标识移至第二显示区域中,第一处理模块84从所述第二显示区域中的各标识对应的网络中选择至少一个第一目标网络进行网络连接,不仅可以同时显示数据网络和无线局域网络,还能将数据网络和无线网络两种类型网络作为候选网络进行选择灵活调整网络连接的方式;并且,在第一目标网络满足预设条件的情况下,判定第一目标网络的信号较差,需要断开信号较差的第一目标网络,并根据所述第一目标网络的优先级的顺序,从所述第二显示区域中的各标识对应的网络中选择除所述第一目标网络以外的第二目标网络进行网络连接,避免电子设备连接的网络信号质量差导致网络连接不可用的问题,提升用户体验。In summary, in the embodiment of the present invention, the candidate network identifier is displayed in the first display area of the electronic device through the display module 81, and the user's selection operation of the first identifier in the candidate network identifier is received through the receiving module 82 , And move the first identifier to the second display area through the response module 83, and the first processing module 84 selects at least one first target network from the networks corresponding to each identifier in the second display area for network connection , Not only can display the data network and wireless local area network at the same time, but also select the data network and wireless network as candidate networks to choose the way to flexibly adjust the network connection; and, when the first target network meets the preset conditions , It is determined that the signal of the first target network is poor, and the first target network with poor signal needs to be disconnected, and according to the order of the priority of the first target network, from the corresponding identifiers in the second display area A second target network other than the first target network is selected in the network for network connection, so as to avoid the problem of poor network signal quality connected to the electronic device leading to unavailability of the network connection, and improve user experience.
图9为实现本发明各个实施例的一种电子设备的硬件结构示意图,该电子900包括但不限于:射频单元901、网络模块902、音频输出单元903、输入单元904、传感器905、显示单元906、用户输入单元907、接口单元908、存储器909、处理器910、以及电源911等部件。本领域技术人员可以理解,图9中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。9 is a schematic diagram of the hardware structure of an electronic device implementing various embodiments of the present invention. The electronic 900 includes but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, and a display unit 906 , The user input unit 907, the interface unit 908, the memory 909, the processor 910, and the power supply 911 and other components. Those skilled in the art can understand that the structure of the electronic device shown in FIG. 9 does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout. In the embodiment of the present invention, electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
其中,处理器910,用于Among them, the processor 910 is used for
在所述电子设备的第一显示区域显示候选网络标识,所述候选网络包括移动通信运营商数据网络和无线局域网络;Displaying a candidate network identifier in the first display area of the electronic device, where the candidate network includes a mobile communication operator data network and a wireless local area network;
接收用户对所述候选网络标识中第一标识的选择操作;Receiving a user's selection operation of the first identifier in the candidate network identifiers;
响应于所述选择操作,将所述第一标识移至第二显示区域中;In response to the selection operation, moving the first mark to the second display area;
从所述第二显示区域中的各标识对应的网络中选择至少一个第一目标网络进行网络连接。At least one first target network is selected from the networks corresponding to the identifiers in the second display area for network connection.
可选地,所述处理器910,还用于:Optionally, the processor 910 is further configured to:
在所述第一目标网络满足预设条件的情况下,断开所述第一目标网络,并从所述第二显示区域中的各标识对应的网络中选择除所述第一目标网络以外的第二目标网络进行网络连接。In the case that the first target network meets the preset condition, disconnect the first target network, and select a network other than the first target network from the networks corresponding to the identifiers in the second display area The second target network makes a network connection.
可选地,所述处理器910具体用于:Optionally, the processor 910 is specifically configured to:
获取允许连接的预设网络类型;Get the preset network type allowed to connect;
根据所述预设网络类型,从所述第二显示区域中的各标识对应的网络中选择至少一个第一目标网络进行网络连接。According to the preset network type, at least one first target network is selected for network connection from the networks corresponding to the identifiers in the second display area.
可选地,所述预设网络类型包括以下其中一项:Optionally, the preset network type includes one of the following:
移动通信运营商数据网络的单连接类型;Single connection type of mobile communication operator's data network;
无线局域网络的单连接类型;Single connection type of wireless local area network;
移动通信运营商数据网络与无线局域网络的双连接类型;The dual connection type of mobile communication operator's data network and wireless local area network;
不同频段的两种无线局域网络的双连接类型;Dual connection types of two wireless local area networks in different frequency bands;
同一频段的两种无线局域网络的双连接类型。The dual connection type of two wireless local area networks in the same frequency band.
可选地,所述预设网络类型为不同频段的两种无线局域网络的双连接类型,所述处理器910具体用于:Optionally, the preset network types are dual connection types of two wireless local area networks in different frequency bands, and the processor 910 is specifically configured to:
在所述电子设备已与第三目标网络连接的情况下,从所述第二显示区域中的各标识对应的网络中选择一个第一目标网络进行网络连接;In the case that the electronic device has been connected to the third target network, selecting a first target network from the networks corresponding to the identifiers in the second display area for network connection;
其中,所述第三目标网络为第一频段的无线局域网络,所述第一目标网络为第二频段的无线局域网络。Wherein, the third target network is a wireless local area network in a first frequency band, and the first target network is a wireless local area network in a second frequency band.
可见,该电子设备通过处理器910在所述电子设备的第一显示区域显示候选网络标识,并接收用户对所述候选网络标识中第一标识的选择操作,将所述第一标识移至第二显示区域中,从所述第二显示区域中的各标识对应的 网络中选择至少一个第一目标网络进行网络连接,不仅可以同时显示数据网络和无线局域网络,还能将数据网络和无线网络两种类型网络作为候选网络进行选择灵活调整网络连接的方式;并且,在第一目标网络满足预设条件的情况下,判定第一目标网络的信号较差,需要断开信号较差的第一目标网络,并根据所述第一目标网络的优先级的顺序,从所述第二显示区域中的各标识对应的网络中选择除所述第一目标网络以外的第二目标网络进行网络连接,避免电子设备连接的网络信号质量差导致网络连接不可用的问题,提升用户体验。It can be seen that the electronic device displays the candidate network identifiers in the first display area of the electronic device through the processor 910, and receives the user's selection operation of the first identifier in the candidate network identifiers, and moves the first identifier to the first display area. In the second display area, at least one first target network is selected from the network corresponding to each identifier in the second display area for network connection. Not only can the data network and the wireless local area network be displayed at the same time, but also the data network and the wireless network can be displayed simultaneously. Two types of networks are selected as candidate networks to flexibly adjust the way of network connection; and, when the first target network meets the preset conditions, it is determined that the signal of the first target network is poor, and the first target network with poor signal needs to be disconnected. A target network, and according to the priority order of the first target network, select a second target network other than the first target network from the networks corresponding to each identifier in the second display area for network connection, Avoid the problem that the network connection is unavailable due to the poor quality of the network signal connected to the electronic device, and improve the user experience.
应理解的是,本发明实施例中,射频单元901可用于收发信息或通话过程中,信号的接收和发送,具体地,将来自基站的下行数据接收后,给处理器910处理;另外,将上行的数据发送给基站。通常,射频单元901包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元901还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in this embodiment of the present invention, the radio frequency unit 901 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, after receiving the downlink data from the base station, it is processed by the processor 910; Uplink data is sent to the base station. Generally, the radio frequency unit 901 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 901 can also communicate with the network and other devices through a wireless communication system.
电子设备通过网络模块902为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides users with wireless broadband Internet access through the network module 902, such as helping users to send and receive emails, browse web pages, and access streaming media.
音频输出单元903可以将射频单元901或网络模块902接收的或者在存储器909中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元903还可以提供与电子设备900执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元903包括扬声器、蜂鸣器以及受话器等。The audio output unit 903 can convert the audio data received by the radio frequency unit 901 or the network module 902 or stored in the memory 909 into an audio signal and output it as sound. Moreover, the audio output unit 903 may also provide audio output related to a specific function performed by the electronic device 900 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 903 includes a speaker, a buzzer, a receiver, and the like.
输入单元904用于接收音频或视频信号。输入单元904可以包括图形处理器(Graphics Processing Unit,GPU)9041和麦克风9042,图形处理器9041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元906上。经图形处理器9041处理后的图像帧可以存储在存储器909(或其它存储介质)中或者经由射频单元901或网络模块902进行发送。麦克风9042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元901发送到移动通信基站的格式输出。The input unit 904 is used to receive audio or video signals. The input unit 904 may include a graphics processing unit (GPU) 9041 and a microphone 9042. The graphics processor 9041 is used for the image of a still picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed. The processed image frame may be displayed on the display unit 906. The image frames processed by the graphics processor 9041 may be stored in the memory 909 (or other storage medium) or sent via the radio frequency unit 901 or the network module 902. The microphone 9042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 901 for output in the case of a telephone call mode.
电子设备900还包括至少一种传感器905,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板9061的亮度,接近传感器可在电子设备900移动到耳边时,关闭显示面板9061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器905还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The electronic device 900 further includes at least one sensor 905, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 9061 according to the brightness of the ambient light. The proximity sensor can turn off the display panel 9061 and the display panel 9061 when the electronic device 900 is moved to the ear. / Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; sensor 905 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元906用于显示由用户输入的信息或提供给用户的信息。显示单元906可包括显示面板9061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板9061。The display unit 906 is used to display information input by the user or information provided to the user. The display unit 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
用户输入单元907可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元907包括触控面板9071以及其他输入设备9072。触控面板9071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板9071上或在触控面板9071附近的操作)。触控面板9071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器910,接收处理器910发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板9071。除了触控面板9071,用户输入单元907还可以包括其他输入设备9072。具体地,其他输入设备9072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 907 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 907 includes a touch panel 9071 and other input devices 9072. The touch panel 9071, also known as the touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 9071 or near the touch panel 9071. operating). The touch panel 9071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 910, the command sent by the processor 910 is received and executed. In addition, the touch panel 9071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 9071, the user input unit 907 may also include other input devices 9072. Specifically, other input devices 9072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
进一步地,触控面板9071可覆盖在显示面板9061上,当触控面板9071检测到在其上或附近的触摸操作后,传送给处理器910以确定触摸事件的类 型,随后处理器910根据触摸事件的类型在显示面板9061上提供相应的视觉输出。虽然在图9中,触控面板9071与显示面板9061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板9071与显示面板9061集成而实现电子设备的输入和输出功能,具体此处不做限定。Further, the touch panel 9071 can be overlaid on the display panel 9061. When the touch panel 9071 detects a touch operation on or near it, it transmits it to the processor 910 to determine the type of the touch event, and then the processor 910 determines the type of the touch event according to the touch. The type of event provides corresponding visual output on the display panel 9061. Although in FIG. 9, the touch panel 9071 and the display panel 9061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 9071 and the display panel 9061 can be integrated The implementation of the input and output functions of the electronic device is not specifically limited here.
接口单元908为外部装置与电子设备900连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元908可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备900内的一个或多个元件或者可以用于在电子设备900和外部装置之间传输数据。The interface unit 908 is an interface for connecting an external device and the electronic device 900. For example, the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc. The interface unit 908 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 900 or can be used to connect the electronic device 900 to an external device. Transfer data between devices.
存储器909可用于存储软件程序以及各种数据。存储器909可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器909可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 909 can be used to store software programs and various data. The memory 909 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc. In addition, the memory 909 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
处理器910是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器909内的软件程序和/或模块,以及调用存储在存储器909内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器910可包括一个或多个处理单元;优选地,处理器910可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器910中。The processor 910 is the control center of the electronic device. It uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes software programs and/or modules stored in the memory 909, and calls data stored in the memory 909 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole. The processor 910 may include one or more processing units; preferably, the processor 910 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem The processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 910.
电子设备900还可以包括给各个部件供电的电源911(比如电池),优选地,电源911可以通过电源管理系统与处理器910逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The electronic device 900 may also include a power source 911 (such as a battery) for supplying power to various components. Preferably, the power source 911 may be logically connected to the processor 910 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
另外,电子设备900包括一些未示出的功能模块,在此不再赘述。In addition, the electronic device 900 includes some functional modules that are not shown, which will not be repeated here.
优选地,本发明实施例还提供一种电子设备,包括处理器910,存储器909,存储在存储器909上并可在所述处理器910上运行的计算机程序,该计算机程序被处理器910执行时实现上述网络连接方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present invention also provides an electronic device, including a processor 910, a memory 909, and a computer program stored on the memory 909 and running on the processor 910. When the computer program is executed by the processor 910, Each process of the foregoing network connection method embodiment is implemented, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述网络连接方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the foregoing network connection method embodiment is realized, and the same technology can be achieved. The effect, in order to avoid repetition, will not be repeated here. Wherein, the computer-readable storage medium, such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk, or optical disk, etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements that are not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention are described above with reference to the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of the present invention, many forms can be made without departing from the purpose of the present invention and the scope of protection of the claims, and they all fall within the protection of the present invention.

Claims (14)

  1. 一种网络连接方法,应用于电子设备,包括:A network connection method applied to electronic equipment, including:
    在所述电子设备的第一显示区域显示候选网络标识,所述候选网络包括移动通信运营商数据网络和无线局域网络;Displaying a candidate network identifier in the first display area of the electronic device, where the candidate network includes a mobile communication operator data network and a wireless local area network;
    接收用户对所述候选网络标识中第一标识的选择操作;Receiving a user's selection operation of the first identifier in the candidate network identifiers;
    响应于所述选择操作,将所述第一标识移至第二显示区域中;In response to the selection operation, moving the first mark to the second display area;
    从所述第二显示区域中的各标识对应的网络中选择至少一个第一目标网络进行网络连接。At least one first target network is selected from the networks corresponding to the identifiers in the second display area for network connection.
  2. 根据权利要求1所述的网络连接方法,其中,所述从所述第二显示区域中的各标识对应的网络中选择至少一个第一目标网络进行网络连接之后,所述方法还包括:The network connection method according to claim 1, wherein after the selecting at least one first target network from the networks corresponding to the identifiers in the second display area for network connection, the method further comprises:
    在所述第一目标网络满足预设条件的情况下,断开所述第一目标网络,并从所述第二显示区域中的各标识对应的网络中选择除所述第一目标网络以外的第二目标网络进行网络连接。In the case that the first target network meets the preset condition, disconnect the first target network, and select a network other than the first target network from the networks corresponding to the identifiers in the second display area The second target network makes a network connection.
  3. 根据权利要求1所述的网络连接方法,其中,所述从所述第二显示区域中的各标识对应的网络中选择至少一个第一目标网络进行网络连接,包括:The network connection method according to claim 1, wherein the selecting at least one first target network from the networks corresponding to the identifiers in the second display area for network connection comprises:
    获取允许连接的预设网络类型;Get the preset network type allowed to connect;
    根据所述预设网络类型,从所述第二显示区域中的各标识对应的网络中选择至少一个第一目标网络进行网络连接。According to the preset network type, at least one first target network is selected for network connection from the networks corresponding to the identifiers in the second display area.
  4. 根据权利要求3所述的网络连接方法,其中,所述预设网络类型包括以下其中一项:The network connection method according to claim 3, wherein the preset network type includes one of the following:
    移动通信运营商数据网络的单连接类型;Single connection type of mobile communication operator's data network;
    无线局域网络的单连接类型;Single connection type of wireless local area network;
    移动通信运营商数据网络与无线局域网络的双连接类型;The dual connection type of mobile communication operator's data network and wireless local area network;
    不同频段的两种无线局域网络的双连接类型;Dual connection types of two wireless local area networks in different frequency bands;
    同一频段的两种无线局域网络的双连接类型。The dual connection type of two wireless local area networks in the same frequency band.
  5. 根据权利要求4所述的网络连接方法,其中,所述预设网络类型为不同频段的两种无线局域网络的双连接类型,所述从所述第二显示区域中的各 标识对应的网络中选择至少一个第一目标网络进行网络连接,包括:The network connection method according to claim 4, wherein the preset network type is a dual connection type of two wireless local area networks in different frequency bands, and the network corresponding to each identifier in the second display area Selecting at least one first target network for network connection includes:
    在所述电子设备已与第三目标网络连接的情况下,从所述第二显示区域中的各标识对应的网络中选择一个第一目标网络进行网络连接;In the case that the electronic device has been connected to the third target network, selecting a first target network from the networks corresponding to the identifiers in the second display area for network connection;
    其中,所述第三目标网络为第一频段的无线局域网络,所述第一目标网络为第二频段的无线局域网络。Wherein, the third target network is a wireless local area network in a first frequency band, and the first target network is a wireless local area network in a second frequency band.
  6. 一种电子设备,包括:An electronic device including:
    显示模块,用于在所述电子设备的第一显示区域显示候选网络标识,所述候选网络包括移动通信运营商数据网络和无线局域网络;A display module, configured to display a candidate network identifier in the first display area of the electronic device, the candidate network including a mobile communication operator data network and a wireless local area network;
    接收模块,用于接收用户对所述候选网络标识中第一标识的选择操作;A receiving module, configured to receive a user's selection operation of the first identifier in the candidate network identifiers;
    响应模块,用于响应于所述选择操作,将所述第一标识移至第二显示区域中;A response module, configured to move the first mark to the second display area in response to the selection operation;
    第一处理模块,用于从所述第二显示区域中的各标识对应的网络中选择至少一个第一目标网络进行网络连接。The first processing module is configured to select at least one first target network from the networks corresponding to each identifier in the second display area for network connection.
  7. 根据权利要求6所述的电子设备,还包括:The electronic device according to claim 6, further comprising:
    第二处理模块,用于在所述第一目标网络满足预设条件的情况下,断开所述第一目标网络,并从所述第二显示区域中的各标识对应的网络中选择除所述第一目标网络以外的第二目标网络进行网络连接。The second processing module is configured to disconnect the first target network when the first target network meets a preset condition, and select the network corresponding to each identifier in the second display area. The second target network other than the first target network is connected to the network.
  8. 根据权利要求6所述的电子设备,其中,所述第一处理模块,包括:The electronic device according to claim 6, wherein the first processing module comprises:
    获取单元,用于获取允许连接的预设网络类型;The obtaining unit is used to obtain the preset network type allowed to be connected;
    第一处理单元,用于根据所述预设网络类型,从所述第二显示区域中的各标识对应的网络中选择至少一个第一目标网络进行网络连接。The first processing unit is configured to select at least one first target network from the networks corresponding to the identifiers in the second display area for network connection according to the preset network type.
  9. 根据权利要求8所述的电子设备,其中,所述预设网络类型包括以下其中一项:The electronic device according to claim 8, wherein the preset network type includes one of the following:
    移动通信运营商数据网络的单连接类型;Single connection type of mobile communication operator's data network;
    无线局域网络的单连接类型;Single connection type of wireless local area network;
    移动通信运营商数据网络与无线局域网络的双连接类型;The dual connection type of mobile communication operator's data network and wireless local area network;
    不同频段的两种无线局域网络的双连接类型;Dual connection types of two wireless local area networks in different frequency bands;
    同一频段的两种无线局域网络的双连接类型。The dual connection type of two wireless local area networks in the same frequency band.
  10. 根据权利要求9所述的电子设备,其中,所述预设网络类型为不同 频段的两种无线局域网络的双连接类型,所述第一处理模块,包括:The electronic device according to claim 9, wherein the preset network types are dual connection types of two wireless local area networks with different frequency bands, and the first processing module comprises:
    第二处理单元,用于在所述电子设备已与第三目标网络连接的情况下,从所述第二显示区域中的各标识对应的网络中选择一个第一目标网络进行网络连接;A second processing unit, configured to select a first target network for network connection from the networks corresponding to the identifiers in the second display area when the electronic device is already connected to the third target network;
    其中,所述第三目标网络为第一频段的无线局域网络,所述第一目标网络为第二频段的无线局域网络。Wherein, the third target network is a wireless local area network in a first frequency band, and the first target network is a wireless local area network in a second frequency band.
  11. 一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至5中任一项所述的网络连接方法的步骤。An electronic device, comprising a processor, a memory, and a computer program stored on the memory and capable of running on the processor, the computer program being executed by the processor to implement any of claims 1 to 5 One of the steps of the network connection method.
  12. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5中任一项所述的网络连接方法的步骤。A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the network connection method according to any one of claims 1 to 5 are realized .
  13. 一种计算机程序产品,其中,所述程序产品被存储在非易失的存储介质中,所述程序产品被至少一个处理器执行以实现如权利要求1-5中任一项所述的网络连接方法的步骤。A computer program product, wherein the program product is stored in a nonvolatile storage medium, and the program product is executed by at least one processor to realize the network connection according to any one of claims 1-5 Method steps.
  14. 一种电子设备,其中,所述电子设备用于执行如权利要求1-5中任一项所述的网络连接方法的步骤。An electronic device, wherein the electronic device is used to execute the steps of the network connection method according to any one of claims 1-5.
PCT/CN2020/131082 2019-11-28 2020-11-24 Network connection method and electronic device WO2021104246A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201911192989.X 2019-11-28
CN201911192989.XA CN110972234B (en) 2019-11-28 2019-11-28 Network connection method and electronic equipment

Publications (1)

Publication Number Publication Date
WO2021104246A1 true WO2021104246A1 (en) 2021-06-03

Family

ID=70032283

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/131082 WO2021104246A1 (en) 2019-11-28 2020-11-24 Network connection method and electronic device

Country Status (2)

Country Link
CN (1) CN110972234B (en)
WO (1) WO2021104246A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110972234B (en) * 2019-11-28 2022-01-04 维沃移动通信有限公司 Network connection method and electronic equipment
CN111641999B (en) * 2020-05-29 2021-11-16 联想(北京)有限公司 Electronic equipment and signal processing method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080064401A1 (en) * 2006-09-13 2008-03-13 Nokia Corporation Vertical handover
CN105050163A (en) * 2015-08-24 2015-11-11 小米科技有限责任公司 Method and device for network connection
CN109151942A (en) * 2017-06-27 2019-01-04 宇龙计算机通信科技(深圳)有限公司 A kind of network insertion switching method, device and mobile terminal
CN109495939A (en) * 2019-01-25 2019-03-19 努比亚技术有限公司 Method for switching network, device, mobile terminal and computer readable storage medium
CN110972234A (en) * 2019-11-28 2020-04-07 维沃移动通信有限公司 Network connection method and electronic equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677645B (en) * 2012-09-11 2017-06-27 联想(北京)有限公司 A kind of candidate object display method and device
CN104503682A (en) * 2014-11-07 2015-04-08 联发科技(新加坡)私人有限公司 Method for processing screen display window and mobile terminal
CN104540184B (en) * 2014-12-15 2018-09-25 小米科技有限责任公司 Equipment networking method and device
CN107589928A (en) * 2017-08-02 2018-01-16 宇龙计算机通信科技(深圳)有限公司 Double screen displaying method of terminal, device, terminal and computer-readable recording medium
CN108449757B (en) * 2018-03-13 2021-06-01 Oppo广东移动通信有限公司 Network connection control method and related product
CN108595074A (en) * 2018-04-28 2018-09-28 北京小米移动软件有限公司 Status bar operating method, device and computer readable storage medium
CN109407920B (en) * 2018-09-27 2021-05-25 维沃移动通信有限公司 Status icon display method, status icon processing method and related equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080064401A1 (en) * 2006-09-13 2008-03-13 Nokia Corporation Vertical handover
CN105050163A (en) * 2015-08-24 2015-11-11 小米科技有限责任公司 Method and device for network connection
CN109151942A (en) * 2017-06-27 2019-01-04 宇龙计算机通信科技(深圳)有限公司 A kind of network insertion switching method, device and mobile terminal
CN109495939A (en) * 2019-01-25 2019-03-19 努比亚技术有限公司 Method for switching network, device, mobile terminal and computer readable storage medium
CN110972234A (en) * 2019-11-28 2020-04-07 维沃移动通信有限公司 Network connection method and electronic equipment

Also Published As

Publication number Publication date
CN110972234A (en) 2020-04-07
CN110972234B (en) 2022-01-04

Similar Documents

Publication Publication Date Title
WO2021004350A1 (en) Transmitting antenna switching method and terminal device
WO2021104246A1 (en) Network connection method and electronic device
CN110413168B (en) Icon management method and terminal
CN109525710B (en) Method and device for accessing application program
WO2016197697A1 (en) Gesture control method, device and system
WO2021004317A1 (en) Transmission antenna switching method and terminal device
WO2021077908A1 (en) Parameter adjusting method and electronic device
CN109710130B (en) Display method and terminal
WO2021204045A1 (en) Audio control method and electronic device
WO2021057545A1 (en) Multi-network access method and terminal device
CN108762709B (en) Terminal control method, terminal and computer readable storage medium
CN111078186A (en) Playing method and electronic equipment
CN111083684A (en) Method for controlling electronic equipment and electronic equipment
CN109873903B (en) Display method, terminal and computer readable storage medium of similar application program
CN109067976B (en) Desktop automatic switching method, mobile terminal and computer readable storage medium
CN109522276B (en) Application icon management method, terminal and computer-readable storage medium
CN108628534B (en) Character display method and mobile terminal
CN108282759B (en) Service processing method and mobile communication terminal
CN107315523B (en) Split screen processing method, mobile terminal and computer readable storage medium
WO2021190353A1 (en) Interaction method and display device
CN113805837A (en) Audio processing method, mobile terminal and storage medium
WO2021104162A1 (en) Display method and electronic device
WO2021083090A1 (en) Message sending method and mobile terminal
CN109697008B (en) Content sharing method, terminal and computer readable storage medium
WO2020052635A1 (en) Communication method for mobile terminal, and mobile terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20892862

Country of ref document: EP

Kind code of ref document: A1