WO2022062182A1 - 通信连接方法、装置、存储介质及电子设备 - Google Patents

通信连接方法、装置、存储介质及电子设备 Download PDF

Info

Publication number
WO2022062182A1
WO2022062182A1 PCT/CN2020/134093 CN2020134093W WO2022062182A1 WO 2022062182 A1 WO2022062182 A1 WO 2022062182A1 CN 2020134093 W CN2020134093 W CN 2020134093W WO 2022062182 A1 WO2022062182 A1 WO 2022062182A1
Authority
WO
WIPO (PCT)
Prior art keywords
sim card
network
terminal device
request
tariff package
Prior art date
Application number
PCT/CN2020/134093
Other languages
English (en)
French (fr)
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
Application filed by 宇龙计算机通信科技(深圳)有限公司 filed Critical 宇龙计算机通信科技(深圳)有限公司
Publication of WO2022062182A1 publication Critical patent/WO2022062182A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/60Subscription-based services using application servers or record carriers, e.g. SIM application toolkits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Definitions

  • the present invention relates to the field of communication technologies, and in particular, to a communication connection method, an apparatus, a storage medium and an electronic device.
  • wireless fidelity Wireless Fidelity, WiFi
  • WiFi Wireless Fidelity
  • 3G Third generation mobile networks
  • 4G fourth generation mobile communication technology
  • 5G fifth generation mobile communication technology
  • SIM Subscriber Identity Module
  • the embodiments of the present application provide a communication connection method, device, storage medium and electronic device, which can reasonably select the SIM card and reduce the usage fee of the SIM card.
  • the technical solution is as follows:
  • an embodiment of the present application provides a communication connection method, including:
  • an embodiment of the present application provides a communication connection device, and the device includes:
  • the receiving module is used to receive the WiFi wireless fidelity connection request from the terminal device;
  • a determining module configured to determine the tariff package and network rate of each SIM card in the multiple SIM cards in response to the WiFi connection request
  • a selection module configured to select a target SIM card among the plurality of SIM cards based on the tariff package and the network rate
  • a connection module configured to establish a WiFi connection with the terminal device according to the target SIM card.
  • an embodiment of the present application provides a computer storage medium, where the computer storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the above method steps.
  • an embodiment of the present application provides an electronic device, including: a memory and a processor; wherein, the memory stores a computer program, and the computer program is adapted to be loaded by the processor and execute the above method steps .
  • the AP device selects the most suitable SIM card to transmit data by determining the tariff package and network rate of each SIM card, reducing the usage fee and cost of the SIM card.
  • FIG. 1 is a schematic diagram of a communication system architecture provided by an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of a communication connection method provided by an embodiment of the present application.
  • FIG. 3 is another schematic flowchart of a communication connection method provided by an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of a communication connection device provided by an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • the embodiments of the present application may be applied to wireless communication systems.
  • the wireless communication systems mentioned in the embodiments of the present application include but are not limited to 4th generation mobile networks (4G) mobile communication systems and next-generation mobile communication systems.
  • 4G 4th generation mobile networks
  • eMBB Enhanced Mobile Broad Band
  • URLLC URLLC
  • mMTC Massive Machine-Type Communications
  • terminal devices include, but are not limited to, a mobile station (Mobile Station, MS), a mobile terminal device (Mobile Terminal), a mobile phone (Mobile Phone), a mobile phone (handset), and a portable device (portable). equipment), etc.
  • the terminal equipment may communicate with one or more core networks via a Radio Access Network (RAN), for example, the terminal equipment may be a mobile phone (or called a "cellular" phone), A computer with a communication function, etc.
  • the terminal device may also be a portable, pocket-sized, hand-held, computer-built-in or vehicle-mounted mobile device or device.
  • RAN Radio Access Network
  • FIG. 1 is a schematic diagram of the architecture of a communication system provided by the present application.
  • the communication system 01 includes a network device 101, a multi-card wireless access (Access Point, AP) device 102, and a terminal device 103; when the communication system 01 includes a core network, the network device 101 can also be connected to the core network. .
  • the network device 101 may also communicate with an Internet Protocol (IP) network 200, such as the Internet (internet), a private IP network, or other data networks, and the like.
  • IP Internet Protocol
  • the network device 101 provides services for the tracker 102 and the terminal device 104 within the coverage area.
  • the network device 101 provides wireless access to the AP device 102 and the terminal device 103 within the coverage area of the network device 101 .
  • the AP device 102 and the terminal device 103 can also communicate with each other.
  • the network device 101 may be a device for communicating with end devices and trackers.
  • the network device may be a relay station, an access point, a vehicle-mounted device, and the like.
  • the network device may also be a terminal device that functions as a base station.
  • the AP device 102 can be used as a wireless switch of the wireless network, also known as a wireless access node. It is a bridge for communication between the wireless network and the wired network, and is the core device for building a wireless local area network.
  • the network device 101 and the terminal within the coverage of the AP signal Devices 103 can communicate with each other just like it is.
  • the AP device can transmit data with the network device 101 through the SIM card, and can transmit data with the terminal device 103 through WiFi or a network cable.
  • the method may include the following steps:
  • a connection request refers to a request to transmit data through a WiFi connection.
  • the AP device periodically broadcasts the Beacon frame signal of the beacon.
  • the terminal device receives the Beacon frame signal by scanning and then sends an authentication request to the AP device.
  • the authentication request is to prevent unauthorized terminal devices from accessing.
  • the AP device responds to the authentication request and judges After the AP device satisfies the association condition, it sends an association request to the terminal device, and the terminal device sends a WiFi connection request to the AP device in response to the association request.
  • a SIM card refers to the user identification card of a digital cellular communication device, and is the main component of the device connecting to a wireless network.
  • Different SIM cards have different tariff packages, such as free packages, monthly packages, and metered packages.
  • the network speed refers to the ideal network speed of the SIM card.
  • the theoretical network speed of the second generation mobile communication technology (2G) is 150kbps
  • the theoretical network speed of 3G is 1-6Mbps
  • the theoretical network speed of 4G is 10-100Mbps.
  • Converted to a download speed of 1.5-10M/s the peak theoretical transmission speed of a 5G network can reach 10GB per second.
  • a 1GB file can be downloaded in 1-3 seconds, basically no more than 10 GB/s.
  • the AP device can send a registration request to the network device, receive a registration response based on the registration request, and parse the registration response to obtain the tariff package and network rate of each SIM card.
  • the registration request refers to a request including its own information sent by the AP device when it connects to the network device, such as: IP address, SIM card type, and signal frequency band.
  • the registration response refers to the related information of the SIM card in the AP device determined based on the AP device's own information after the network device receives the registration request, such as the SIM card's tariff package and network speed.
  • S203 Select a target SIM card from the multiple SIM cards based on the tariff package and the network rate.
  • a WiFi connection refers to a connection form in which data is transmitted in the form of WiFi signals. After the AP device determines the target SIM card, it uses the target SIM card to transmit data with the network device, and transmits the data to the terminal device in the form of a data packet through a WiFi connection.
  • receiving a WiFi wireless fidelity connection request from a terminal device responding to the WiFi connection request, determining the tariff package and network rate of each SIM card in the multiple SIM cards, based on the tariff package and the The network rate selects a target SIM card from the plurality of SIM cards, and establishes a WiFi connection with the terminal device according to the target SIM card.
  • the AP device selects the most suitable SIM card to transmit data by determining the tariff package and network rate of each SIM card, reducing the usage fee and cost of the SIM card.
  • the communication connection method may include the following steps:
  • the Beacon frame signal refers to a signal that is periodically broadcast by the AP and contains basic parameter information of the AP to announce the existence of the AP.
  • the terminal device scans the Beacon frame signal, it parses the Beacon frame signal, reads the relevant information, such as the network name, signal strength, encryption and authentication method of the AP device, and then sends an authentication request to the AP device, and the AP device determines whether Meet the certification conditions.
  • the AP device determines whether the authentication conditions are met, and sends the result to the terminal device as an association request.
  • the terminal device parses the association request. If the AP device determines that the authentication conditions are met, it sends a WiFi connection. The request is sent to the AP device; if the AP device determines that the authentication conditions are not met, it will not send a WiFi connection request.
  • the IMSI is an identification code that is used to distinguish different users in a cellular network and is not repeated in all cellular networks.
  • the AP device can send a tariff package request instruction to the operator's server to determine the tariff package of the SIM card corresponding to the IMSI identification code. Send "0000" to 10086, Telecom SIM card send "108" to 10001.
  • the AP device sends a tariff package request command to the operator server, it will receive a reply message from the operator server.
  • the tariff package corresponding to the SIM card can be determined, for example: free wireless data package, 80 yuan monthly package Wireless data packages and metered packages of 0.05 yuan per megabyte of data.
  • S305 Obtain the operator identifier of the SIM card, and query the network rate corresponding to the operator identifier according to the mapping relationship.
  • the SIM cards of different operators have different identifiers, and the AP device can determine the operator by reading the SIM card, such as: Mobile 3G, Telecom 4G and China Unicom 5G and other identifiers.
  • the network speed refers to the theoretical network speed of the SIM card.
  • the theoretical network speed of the 2G SIM card is 150kbps
  • the theoretical network speed of the 3G SIM card is 1-6Mbps
  • the theoretical network speed of the 4G SIM card is 10-100Mbps, which is equivalent to the download speed. 1.5-10M/s.
  • the network rate of the SIM card can be determined by the AP device through the operator identifier of the SIM card. For example, if the AP device determines that it belongs to the SIM card of China Unicom 4G by reading the SIM card, the network rate is 10-100Mbps.
  • the terminal device calculates the evaluation value according to the tariff package of the SIM card and the weight of the network device, and determines the SIM card with the largest evaluation value as the target SIM card.
  • P represents the evaluation value
  • w1 represents the weight of the tariff package
  • w2 represents the weight of the network rate
  • F represents the quantized value of the tariff package
  • w2 represents the quantized value of the network rate
  • w1+w2 1
  • F and S are natural numbers greater than 1.
  • the AP device selects the No. 1 SIM card as the target SIM card.
  • the AP device determines the target SIM card, it performs cell scanning, and after the cell connection conditions are met, the cell connection is performed, and the target SIM card can be used to transmit data with the network device.
  • the connection between the AP device and the terminal device refers to obtaining full access rights to the network.
  • the AP device receives the network registration signal from the terminal device, so that the Media Access Control Address (MAC) of the terminal device can be connected to the AP device. the switch port to form the connection. After that, the AP device can transmit the data to the terminal device in the form of data packets through the WiFi connection.
  • MAC Media Access Control Address
  • a data packet refers to that in a packet-switched network, a single message is divided into multiple data blocks, and the data packet contains the address information of the sender and the receiver. These packets are then transported across one or more networks along different paths and reassembled at the destination.
  • the AP device receives the data packet from the network device, checks the IP address of the data packet, and sends the data packet to the corresponding terminal device based on the IP address. If the AP finds the destination network, it forwards the data packet from the indicated next-hop IP address or outgoing interface; if there is no destination network but there is a default route, it forwards the data from the next-hop IP address or outgoing interface indicated by the default route. The packet is forwarded; otherwise, the AP discards the packet.
  • a beacon frame signal is broadcast, an authentication request based on the Beacon frame signal is received from the terminal device, an association request is sent based on the authentication request, and an authentication request based on the association request is received from the terminal device.
  • WiFi connection request send a tariff package request instruction to the operator server based on the IMSI of the SIM card, receive a reply message of the tariff package request instruction, and read the reply message corresponding to the SIM card to obtain
  • the largest described SIM card is used as the target SIM card, establishes a WiFi connection with the terminal device according to the target SIM card, receives the data packet from the network device, checks the IP address of the data packet, based on the The IP address sends the data packet to the corresponding terminal device.
  • the AP device selects the most suitable SIM card to transmit data by determining the tariff package and network rate of each SIM card, reducing the usage fee and cost of the SIM card.
  • FIG. 4 shows a schematic structural diagram of a communication connection apparatus provided by an exemplary embodiment of the present application, hereinafter referred to as control apparatus 4 .
  • the control device 4 can be implemented as all or a part of the terminal through software, hardware or a combination of the two. include:
  • a receiving module 401 configured to receive a WiFi wireless fidelity connection request from a terminal device
  • a determination module 402 configured to respond to the WiFi connection request and determine the tariff package and network rate of each SIM card in the multiple SIM cards;
  • a selection module 403, configured to select a target SIM card from the multiple SIM cards based on the tariff package and the network rate;
  • the connection module 404 is configured to establish a WiFi connection with the terminal device according to the target SIM card.
  • the receiving module 401 further includes:
  • the association unit is configured to broadcast a beacon Beacon frame signal; receive an authentication request from a terminal device based on the Beacon frame signal; send an association request based on the authentication request; receive a WiFi connection request from the terminal device based on the association request.
  • the determining module 402 further includes:
  • an acquisition unit configured to send a tariff package request instruction to an operator server based on the IMSI international mobile subscriber identity of the SIM card; receive a reply message of the tariff package request instruction; read the reply message corresponding to the SIM card Obtain the tariff package; and/or obtain the operator identifier of the SIM card; query the network rate corresponding to the operator identifier according to the mapping relationship.
  • the selection module 403 further includes:
  • the calculation unit is also used to calculate the evaluation value of the SIM card according to the following formula:
  • P w1 ⁇ F+w2 ⁇ S; wherein, P represents the evaluation value, w1 represents the weight of the tariff package, w2 represents the weight of the network rate, F represents the quantized value of the tariff package, and w2 represents the The quantized value of the network rate, w1, w2 ⁇ [0,1], F and S are natural numbers greater than 1; the SIM card with the largest evaluation value is taken as the target SIM card.
  • connection module 404 further includes:
  • a sending unit configured to receive a data packet from a network device; check the IP address of the data packet; and send the data packet to the corresponding terminal device based on the IP address.
  • the device 4 can be a field-programmable gate array (FPGA), an application-specific integrated chip, a system on chip (SoC), a central processing unit (central processor unit, CPU) for realizing related functions, A network processor (NP), a digital signal processing circuit, a microcontroller (MCU), and a programmable logic device (PLD) or other integrated chips can also be used.
  • FPGA field-programmable gate array
  • SoC system on chip
  • CPU central processing unit
  • NP network processor
  • MCU microcontroller
  • PLD programmable logic device
  • a beacon frame signal is broadcast, an authentication request based on the Beacon frame signal is received from the terminal device, an association request is sent based on the authentication request, and an authentication request based on the association request is received from the terminal device.
  • WiFi connection request send a tariff package request instruction to the operator server based on the IMSI of the SIM card, receive a reply message of the tariff package request instruction, and read the reply message corresponding to the SIM card to obtain
  • the largest described SIM card is used as the target SIM card, establishes a WiFi connection with the terminal device according to the target SIM card, receives the data packet from the network device, checks the IP address of the data packet, based on the The IP address sends the data packet to the corresponding terminal device.
  • the AP device selects the most suitable SIM card to transmit data by determining the tariff package and network rate of each SIM card, reducing the usage fee and cost of the SIM card.
  • An embodiment of the present application further provides a computer storage medium, where the computer storage medium can store multiple instructions, and the instructions are suitable for being loaded by a processor and executing the above method steps.
  • the computer storage medium can store multiple instructions, and the instructions are suitable for being loaded by a processor and executing the above method steps.
  • FIG. 2 For a specific execution process, see FIG. 2 or The specific description of the embodiment shown in FIG. 3 will not be repeated here.
  • the present application also provides a computer program product, the computer program product stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the template control method according to each of the above embodiments.
  • the electronic device 5 may include: at least one processor 501 , at least one network interface 504 , user interface 503 , memory 505 , and at least one communication bus 502 .
  • the communication bus 502 is used to realize the connection and communication between these components.
  • the user interface 503 may include a display screen (Display) and a camera (Camera), and the optional user interface 503 may also include a standard wired interface and a wireless interface.
  • Display display screen
  • Camera Camera
  • the optional user interface 503 may also include a standard wired interface and a wireless interface.
  • the network interface 504 may optionally include a standard wired interface and a wireless interface (eg, a WI-FI interface).
  • the processor 501 may include one or more processing cores.
  • the processor 501 uses various excuses and lines to connect various parts in the entire terminal 500, and executes the terminal by running or executing the instructions, programs, code sets or instruction sets stored in the memory 505, and calling the data stored in the memory 505. 500 of various functions and processing data.
  • the processor 501 may adopt at least one of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA).
  • DSP Digital Signal Processing
  • FPGA field programmable gate array
  • PROM programmable logic array
  • PLA programmable logic array
  • a hardware form is implemented.
  • the processor 501 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU), a modem, and the like.
  • the CPU mainly handles the operating system, user interface, and application programs; the GPU is used for rendering and drawing of the content that needs to be displayed on the display screen; the modem is used to handle wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 501, but is implemented by a single chip.
  • the memory 505 may include random access memory (Random Access Memory, RAM), or may include read-only memory (Read-Only Memory).
  • the memory 505 includes a non-transitory computer-readable storage medium.
  • Memory 505 may be used to store instructions, programs, codes, sets of codes, or sets of instructions.
  • the memory 505 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), Instructions and the like used to implement the above method embodiments; the storage data area may store the data and the like involved in the above method embodiments.
  • the memory 505 can optionally also be at least one storage device located away from the aforementioned processor 501 .
  • the memory 505 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a communication connection application program.
  • the user interface 503 is mainly used to provide an input interface for the user and obtain the data input by the user; and the processor 501 can be used to call the communication connection application program stored in the memory 505, and specifically Do the following:
  • the processor 501 performs the receiving of the WiFi Wi-Fi connection request from the terminal device, including:
  • a WiFi connection request based on the association request is received from the terminal device.
  • the processor 501 performs the determining of the tariff plan and network rate of each SIM card in the plurality of SIM cards, including:
  • the network rate corresponding to the operator identifier is queried according to the mapping relationship.
  • the processor 501 performs the determining of the tariff plan and network rate of each SIM card in the plurality of SIM cards, including:
  • the processor 501 performs the determining and selecting a target SIM card from the plurality of SIM cards based on the tariff package and the network rate, including:
  • P represents the evaluation value
  • w1 represents the weight of the tariff package
  • w2 represents the weight of the network rate
  • F represents the quantized value of the tariff package
  • w2 represents the quantized value of the network rate
  • F and S are natural numbers greater than 1;
  • the SIM card with the largest evaluation value is taken as the target SIM card.
  • the processor 501 after the processor 501 performs the determining and establishing the WiFi connection with the terminal device according to the target SIM card, the processor 501 further includes:
  • the data packet is sent to the corresponding terminal device based on the IP address.
  • the SIM card is used as a target SIM card, establishes a WiFi connection with the terminal device according to the target SIM card, receives a data packet from a network device, checks the IP address of the data packet, and based on the IP address Send the data packet to the corresponding terminal device.
  • the AP device selects the most suitable SIM card to transmit data by determining the tariff package and network rate of each SIM card, reducing the usage fee and cost of the SIM card.
  • the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. During execution, the processes of the embodiments of the above-mentioned methods may be included.
  • the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, or a random storage memory, and the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请公开了一种通信连接方法、装置、存储介质及电子设备,属于通信技术领域。所述通信连接包括:接收来自终端设备的WiFi无线保真连接请求,响应所述WiFi连接请求,确定所述多个SIM卡中各个SIM卡的资费套餐和网络速率,基于所述资费套餐和所述网络速率在所述多个SIM卡中选择目标SIM卡,根据所述目标SIM卡与所述终端设备建立WiFi连接。故本申请中AP设备通过确定每张SIM卡的资费套餐和网络速率,选择最合适的SIM卡来传输数据,减少SIM卡使用资费,降低成本。

Description

通信连接方法、装置、存储介质及电子设备 技术领域
本发明涉及通信技术领域,具体涉及一种通信连接方法、装置、存储介质及电子设备。
背景技术
目前,随着无线通信时代的到来,无线保真(Wireless Fidelity,WiFi)作为一种最常见、应用范围最广的无线通信技术已经深入到家庭、企业、工厂等等社会各个角落。现有技术中使用第三代移动通信技术(3th generation mobile networks,3G)/第四代移动通信技术(4th generation mobile networks,4G)/第五代移动通信技术(5th generation mobile networks,5G)多用户身份识别模块(Subscriber Identity Module,SIM)路由器来连接英特网中各局域网、广域网等,可以在高速移动、信号衰弱、人员密集、无网线环境、城市安防及单兵作战等场景下始终为用户提供稳定的通讯保障。当前多卡路由器采用聚合方式加载所有SIM卡模块来连接终端设备,不考虑实际传输数据需求量大小和SIM卡资费情况,导致使用效率过低,SIM卡使用资费过高,整体成本过大。
发明内容
本申请实施例提供了一种通信连接方法、装置、存储介质及电子设备,可合理选择SIM卡,减少SIM卡使用资费。所述技术方案如下:
第一方面,本申请实施例提供了一种通信连接方法,包括:
接收来自终端设备的WiFi无线保真连接请求;
响应所述WiFi连接请求,确定所述多个SIM卡中各个SIM卡的资费套餐和网络速率;
基于所述资费套餐和所述网络速率在所述多个SIM卡中选择目标SIM卡;
根据所述目标SIM卡与所述终端设备建立WiFi连接。
第二方面,本申请实施例提供了一种通信连接装置,所述装置包括:
接收模块,用于接收来自终端设备的WiFi无线保真连接请求;
确定模块,用于响应所述WiFi连接请求,确定所述多个SIM卡中各个SIM卡的资费套餐和网络速率;
选择模块,用于基于所述资费套餐和所述网络速率在所述多个SIM卡中选择目标SIM卡;
连接模块,用于根据所述目标SIM卡与所述终端设备建立WiFi连接。
第三方面,本申请实施例提供了一种计算机存储介质,所述计算机存储介质存储有多条指令,所述指令适于由处理器加载并执行上述的方法步骤。
第四方面,本申请实施例提供了一种电子设备,包括:存储器和处理器;其中,所述存储器存储有计算机程序,所述计算机程序适用于由所述处理器加载并执行上述的方法步骤。
本申请一些实施例提供的技术方案带来的有益效果至少包括:
上述通信连接方法、装置、存储介质及电子设备工作时,接收来自终端设备的WiFi无线保真连接请求,响应所述WiFi连接请求,确定所述多个SIM卡中各个SIM卡的资费套餐和网络速率,基于所述资费套餐和所述网络速率在所述多个SIM卡中选择目标SIM卡,根据所述目标SIM卡与所述终端设备建立WiFi连接。在工作过程中,AP设备通过确定每张SIM卡的资费套餐和网络速率,选择最合适的SIM卡来传输数据,减少SIM卡使用资费,降低成本。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请实施例提供的一种通信系统架构示意图;
图2是本申请实施例提供的一种通信连接方法的流程示意图;
图3是本申请实施例提供的一种通信连接方法的另一流程示意图;
图4是本申请实施例提供的一种通信连接装置的结构示意图;
图5是本申请实施例提供的一种电子设备的结构示意图。
具体实施方式
为了使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施例方式作进一步地详细描述。
下面的描述设计附图时,除非另有表示,不同附图中的相同数字表示相同的或相似的要素。以下示例性实施例中描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。
在本申请的描述中,需要理解的是,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本申请中的具体含义。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。
本申请实施例可以应用于无线通信系统,需要说明的是,本申请实施例提及的无线通信系统包括但不限于第四代移动通信(4th generation mobile networks,4G)移动通信系统以及下一代移动通信系统的三大应用场景增强型移动宽带(Enhanced Mobile Broad Band,eMBB)、URLLC以及大规模机器通信(Massive Machine-Type Communications,mMTC)。
在本申请实施例中,终端设备(terminal device)包括但不限于移动台(Mobile Station,MS)、移动终端设备(Mobile Terminal)、移动电话(Mobile Telephone)、手机(handset)及便携设备(portable equipment)等,该终端设备可以经无线接入网(Radio Access Network,RAN)与一个或多个核心网进 行通信,例如,终端设备可以是移动电话(或称为“蜂窝”电话)、具有无线通信功能的计算机等,终端设备还可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置或设备。
图1为本申请提供的一种通信系统架构示意图。
请参见图1,通信系统01包括网络设备101、多卡无线接入(Access Point,AP)设备102、终端设备103;当通信系统01包括核心网时,该网络设备101还可以与核心网相连。网络设备101还可以与互联网协议(Internet Protocol,IP)网络200进行通信,例如,因特网(internet),私有的IP网,或其它数据网等。网络设备101为覆盖范围内的追踪器102和终端设备104提供服务。例如,参见图1,网络设备101为网络设备101覆盖范围内的AP设备102和终端设备103提供无线接入。另外,AP设备102与终端设备103之间还可以互相通信。
网络设备101可以是用于与终端设备和追踪器进行通信的设备。该网络设备可以是中继站、接入点、车载设备等。在终端设备对终端设备(Device to Device,D2D)通信系统中,该网络设备还可以是担任基站功能的终端设备。
AP设备102可以用于无线网络的无线交换机,也称无线访问节点,是无线网络和有线网络之间沟通的桥梁,是组建无线局域网的核心设备,在AP信号覆盖范围内的网络设备101和终端设备103可以通过它就像相互通信。AP设备可以通过SIM卡与网络设备101传输数据,可以通过WiFi或者网线与终端设备103传输数据。
在下述方法实施例中,为了便于说明,仅以各步骤的执行主体为AP设备进行介绍说明。
下面将结合附图2至图3,对本申请实施例提供的通信连接方法进行详细介绍。
请参见图2,为本申请实施例提供了一种通信连接方法的流程示意图。所述方法可以包括以下步骤:
S201、接收来自终端设备的WiFi无线保真连接请求。
一般的,连接请求是指通过WiFi的连接来传输数据的请求。AP设备周期性广播信标Beacon帧信号,终端设备通过扫描接收Beacon帧信号后发送认证请求给AP设备,认证请求是为了防未经授权的终端设备进行访问,AP设备响应所述认证请求,判断AP设备满足关联条件后,发送关联请求给终端设备,终端设备响应于关联请求发送WiFi连接请求给AP设备。
S202、响应所述WiFi连接请求,确定所述多个SIM卡中各个SIM卡的资费套餐和网络速率。
一般的,SIM卡是指数字蜂窝通信设备的用户识别卡,是设备连接到无线网络的主要组成部分,不同SIM卡有不同的资费套餐,例如:免费套餐、包月套餐和计量套餐等。网络速率是指SIM卡的理想网速,例如:二代移动通信技术(2th generation mobile networks,2G)理论网速是150kbps,3G理论网速是1-6Mbps,4G理论网速是10-100Mbps,折合下载速度1.5-10M/s,5G网络的峰值理论传输速度可达每秒10GB,在5G网络环境比较好的情况下,1GB的文件1-3秒就能下完,基本上不会超过10秒,不同运营商和网络类型的SIM卡有不同网络速率。AP设备接收到来自终端设备的WiFi连接请求后,可以向网络设备发送注册请求,接收基于所述注册请求的注册响应,解析所述注册响应得到所述各个SIM卡的资费套餐和网络速率。其中,注册请求是指AP设备连接网络设备时所发送的包含自身信息的请求,例如:IP地址、SIM卡类型和信号频段等。注册响应是指网络设备接收到注册请求后,基于AP设备自身信息,确定的AP设备中的SIM卡的相关信息,例如:SIM卡的资费套餐和网络速率等。
S203、基于所述资费套餐和所述网络速率在所述多个SIM卡中选择目标SIM卡。
一般的,AP设备确定所述多个SIM卡中各个SIM卡的资费套餐和网络速率后,可以根据P=w1×F+w2×S公式计算所述各个SIM卡的评估值,其中,P表示所述SIM卡的评估值,w1表示所述资费套餐的权重,w2表示所述网络 速率的权重,F表示所述资费套餐的量化值,w2表示所述网络速率的量化值,w1,w2∈[0,1],F和S为大于1的自然数,最后取评估值最大的的所述SIM卡作为目标SIM卡。
S204、根据所述目标SIM卡与所述终端设备建立WiFi连接。
一般的,WiFi连接是指通过WiFi信号的形式传输数据的连接形式。AP设备确定目标SIM卡后,使用目标SIM卡与网络设备传输数据,将数据以数据包的形式通过WiFi连接形式传输到终端设备。
由上述内容可知,接收来自终端设备的WiFi无线保真连接请求,响应所述WiFi连接请求,确定所述多个SIM卡中各个SIM卡的资费套餐和网络速率,基于所述资费套餐和所述网络速率在所述多个SIM卡中选择目标SIM卡,根据所述目标SIM卡与所述终端设备建立WiFi连接。在工作过程中,AP设备通过确定每张SIM卡的资费套餐和网络速率,选择最合适的SIM卡来传输数据,减少SIM卡使用资费,降低成本。
请参见图3,为本申请实施例提供了一种通信连接方法的另一流程示意图。该通信连接方法可以包括以下步骤:
S301、广播信标Beacon帧信号,接收来自终端设备基于所述Beacon帧信号的认证请求。
一般的,Beacon帧信号是指有AP设备周期性广播的包含AP设备基本参数信息的用来宣布AP设备存在的信号。终端设备扫描到Beacon帧信号后,解析Beacon帧信号,读取相关信息,例如:AP设备的网络名称、信号强度、加密和认证方式等,之后发送认证请求到AP设备,由AP设备来判断是否满足认证条件。
S302、基于所述认证请求发送关联请求,接收来自终端设备基于所述关联请求的WiFi连接请求。
一般的,AP设备接收到来自终端设备的认证请求后,进行判断是否满足认证条件,会将结果以关联请求发送到终端设备,终端设备解析关联请求,若 AP设备判断满足认证条件,发送WiFi连接请求到AP设备;若AP设备判断不满足认证条件,则不会发送WiFi连接请求。
S303、基于所述SIM卡的IMSI国际移动用户识别码向运营商服务器发送资费套餐请求指令。
一般的,IMSI是用于区分蜂窝网络中不同用户的、在所有蜂窝网络中不重复的识别码。AP设备可以读取SIM卡的IMSI识别码后,向运营商服务器发送资费套餐请求指令来确定对应IMSI识别码的SIM卡的资费套餐,例如:联通SIM卡发送“2081”至10010,移动SIM卡发送“0000”至10086,电信SIM卡发送“108”至10001。
S304、接收所述资费套餐请求指令的回复消息,读取所述SIM卡对应的所述回复消息得到所述资费套餐。
一般的,AP设备向运营商服务器发送资费套餐请求指令后会接收到来自运营商服务器的回复消息,读取回复消息可以确定SIM卡对应的资费套餐情况,例如:免费无线流量套餐、80元包月无线流量套餐和每兆流量0.05元的计量套餐等。
S305、获取SIM卡的运营商标识,根据映射关系查询所述运营商标识对应的网络速率。
一般的,不同运营商的SIM卡有不同标识,AP设备可以通过读取SIM卡来确定所属运营商,例如:移动3G、电信4G和联通5G等标识。网络速率是指SIM卡的理论网速,例如:2G的SIM卡理论网速是150kbps,3G的SIM卡理论网速是1-6Mbps,4G的SIM卡理论网速是10-100Mbps,折合下载速度1.5-10M/s。AP设备可以通过SIM卡的运营商标识来确定的SIM卡的网络速率,例如:AP设备通过读取SIM卡确定所属为联通4G的SIM卡,则网络速率为10-100Mbps。
S306、根据P=w1×F+w2×S公式计算所述SIM卡的评估值,取评估值最大的的所述SIM卡作为目标SIM卡。
一般的,终端设备是根据SIM卡的资费套餐和网络设备的权重来计算出 评估值,确定评估值最大的作为目标SIM卡。其中,P表示所述评估值,w1表示所述资费套餐的权重,w2表示所述网络速率的权重,F表示所述资费套餐的量化值,w2表示所述网络速率的量化值,w1,w2∈[0,1],w1+w2=1,F和S为大于1的自然数。例如:将免费无线流量套餐的量化值设置为9,将80元包月无线流量套餐的量化值设置为6和每兆流量0.05元的计量套餐的量化值设置为3,将网络速率为1-10Mbps范围的量化值设置为3,将网络速率为10-50Mbps范围的量化值设置为6,将网络速率为50-100Mbps范围的量化值设置为9,一号SIM卡的资费套餐和网络设备分别为无线流量套餐和70Mbps,二号SIM卡的资费套餐和网络设备分别为80元包月无线流量套餐和30Mbps,三号SIM卡的资费套餐和网络设备分别为兆流量0.05元的计量套餐和7Mbps,假设设置权重平均,则w1取值为0.5,w2取值为0.5,则计算出评估值分别为9、6和3,那么AP设备选择将一号SIM卡作为目标SIM卡。
S307、根据所述目标SIM卡与所述终端设备建立WiFi连接。
一般的,AP设备确定目标SIM卡后,进行小区扫描,满足小区连接条件后,进行小区连接,就可以使用目标SIM卡与网络设备传输数据。AP设备与终端设备进行连接是指获得网络的完全访问权,例如:AP设备接收来自终端设备的网络注册信号,让终端设备的媒体访问控制地址(Media Access Control Address,MAC)得以与AP设备连接的交换端口形成连接。之后AP设备可以将数据以数据包的形式通过WiFi连接形式与终端设备进行传输。
S308、接收来自网络设备的数据包,查看所述数据包的IP网际互连协议地址,基于所述IP地址将所述数据包发送给对应的所述终端设备。
一般的,数据包是指在包交换网络里,单个消息被划分为多个的数据块,数据包包含发送者和接收者的地址信息。这些包然后沿着不同的路径在一个或多个网络中传输,并且在目的地重新组合。AP设备接收来自网络设备的数据包,查看所述数据包的IP网际互连协议地址,基于所述IP地址将所述数据包发送给对应的所述终端设备。AP设备如果找到目的网络,就从指示的下一跳IP地址或送出接口将数据包转发出去;如果没有目的网络但有默认路由,就 从默认路由指示的下一跳IP地址或送出接口将数据包转发出去;否则,AP将数据包丢弃。
本申请实施例的方案在执行时,广播信标Beacon帧信号,接收来自终端设备基于所述Beacon帧信号的认证请求,基于所述认证请求发送关联请求,接收来自终端设备基于所述关联请求的WiFi连接请求,基于所述SIM卡的IMSI国际移动用户识别码向运营商服务器发送资费套餐请求指令,接收所述资费套餐请求指令的回复消息,读取所述SIM卡对应的所述回复消息得到所述资费套餐,获取SIM卡的运营商标识,根据映射关系查询所述运营商标识对应的网络速率,根据P=w1×F+w2×S公式计算所述SIM卡的评估值,取评估值最大的的所述SIM卡作为目标SIM卡,根据所述目标SIM卡与所述终端设备建立WiFi连接,接收来自网络设备的数据包,查看所述数据包的IP网际互连协议地址,基于所述IP地址将所述数据包发送给对应的所述终端设备。在工作过程中,AP设备通过确定每张SIM卡的资费套餐和网络速率,选择最合适的SIM卡来传输数据,减少SIM卡使用资费,降低成本。
下述为本申请装置实施例,可以用于执行本申请方法实施例。对于本申请装置实施例中未披露的细节,请参照本申请方法实施例。
请参见图4,其示出了本申请一个示例性实施例提供的通信连接装置的结构示意图,以下简称控制装置4。控制装置4可以通过软件、硬件或者两者的结合实现成为终端的全部或一部分。包括:
接收模块401,用于接收来自终端设备的WiFi无线保真连接请求;
确定模块402,用于响应所述WiFi连接请求,确定所述多个SIM卡中各个SIM卡的资费套餐和网络速率;
选择模块403,用于基于所述资费套餐和所述网络速率在所述多个SIM卡中选择目标SIM卡;
连接模块404,用于根据所述目标SIM卡与所述终端设备建立WiFi连接。
可选地,所述接收模块401,还包括:
关联单元,用于广播信标Beacon帧信号;接收来自终端设备基于所述Beacon帧信号的认证请求;基于所述认证请求发送关联请求;接收来自终端设备基于所述关联请求的WiFi连接请求。
可选地,所述确定模块402,还包括:
获取单元,用于基于所述SIM卡的IMSI国际移动用户识别码向运营商服务器发送资费套餐请求指令;接收所述资费套餐请求指令的回复消息;读取所述SIM卡对应的所述回复消息得到所述资费套餐;和/或获取SIM卡的运营商标识;根据映射关系查询所述运营商标识对应的网络速率。
可选地,所述选择模块403,还包括:
计算单元,还用于根据如下公式计算所述SIM卡的评估值:
P=w1×F+w2×S;其中,P表示所述评估值,w1表示所述资费套餐的权重,w2表示所述网络速率的权重,F表示所述资费套餐的量化值,w2表示所述网络速率的量化值,w1,w2∈[0,1],F和S为大于1的自然数;取评估值最大的的所述SIM卡作为目标SIM卡。
可选地,所述连接模块404,还包括:
发送单元,用于接收来自网络设备的数据包;查看所述数据包的IP网际互连协议地址;基于所述IP地址将所述数据包发送给对应的所述终端设备。
本申请实施例和图2至图3的方法实施例基于同一构思,其带来的技术效果也相同,具体过程可参照图2至图3的方法实施例的描述,此处不再赘述。
所述装置4可以为实现相关功能的现场可编程门阵列(field-programmable gate array,FPGA),专用集成芯片,系统芯片(system on chip,SoC),中央处理器(central processor unit,CPU),网络处理器(network processor,NP),数字信号处理电路,微控制器(micro controller unit,MCU),还可以采用可编程控制器(programmable logic device,PLD)或其他集成芯片。
本申请实施例的方案在执行时,广播信标Beacon帧信号,接收来自终端设备基于所述Beacon帧信号的认证请求,基于所述认证请求发送关联请求,接收来自终端设备基于所述关联请求的WiFi连接请求,基于所述SIM卡的IMSI国际移动用户识别码向运营商服务器发送资费套餐请求指令,接收所述 资费套餐请求指令的回复消息,读取所述SIM卡对应的所述回复消息得到所述资费套餐,获取SIM卡的运营商标识,根据映射关系查询所述运营商标识对应的网络速率,根据P=w1×F+w2×S公式计算所述SIM卡的评估值,取评估值最大的的所述SIM卡作为目标SIM卡,根据所述目标SIM卡与所述终端设备建立WiFi连接,接收来自网络设备的数据包,查看所述数据包的IP网际互连协议地址,基于所述IP地址将所述数据包发送给对应的所述终端设备。在工作过程中,AP设备通过确定每张SIM卡的资费套餐和网络速率,选择最合适的SIM卡来传输数据,减少SIM卡使用资费,降低成本。
本申请实施例还提供了一种计算机存储介质,所述计算机存储介质可以存储有多条指令,所述指令适于由处理器加载并执行如上述的方法步骤,具体执行过程可以参见图2或图3所示实施例的具体说明,在此不进行赘述。
本申请还提供了一种计算机程序产品,该计算机程序产品存储有至少一条指令,所述至少一条指令由所述处理器加载并执行以实现如上各个实施例所述的模板的控制方法。
请参见图5,为本申请实施例提供了一种电子设备的结构示意图。如图5所示,所述电子设备5可以包括:至少一个处理器501,至少一个网络接口504,用户接口503,存储器505,至少一个通信总线502。
其中,通信总线502用于实现这些组件之间的连接通信。
其中,用户接口503可以包括显示屏(Display)、摄像头(Camera),可选用户接口503还可以包括标准的有线接口、无线接口。
其中,网络接口504可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。
其中,处理器501可以包括一个或者多个处理核心。处理器501利用各种借口和线路连接整个终端500内的各个部分,通过运行或执行存储在存储器505内的指令、程序、代码集或指令集,以及调用存储在存储器505内的数据, 执行终端500的各种功能和处理数据。可选的,处理器501可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器501可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示屏所需要显示的内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器501中,单独通过一块芯片进行实现。
其中,存储器505可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。可选的,该存储器505包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器505可用于存储指令、程序、代码、代码集或指令集。存储器505可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现上述各个方法实施例的指令等;存储数据区可存储上面各个方法实施例中涉及到的数据等。存储器505可选的还可以是至少一个位于远离前述处理器501的存储装置。如图5所示,作为一种计算机存储介质的存储器505中可以包括操作系统、网络通信模块、用户接口模块以及通信连接应用程序。
在图5所示的电子设备500中,用户接口503主要用于为用户提供输入的接口,获取用户输入的数据;而处理器501可以用于调用存储器505中存储的通信连接应用程序,并具体执行以下操作:
接收来自终端设备的WiFi无线保真连接请求;
响应所述WiFi连接请求,确定所述多个SIM卡中各个SIM卡的资费套餐和网络速率;
基于所述资费套餐和所述网络速率在所述多个SIM卡中选择目标SIM卡;
根据所述目标SIM卡与所述终端设备建立WiFi连接。
在一个实施例中,处理器501执行所述接收来自终端设备的WiFi无线保真连接请求,包括:
广播信标Beacon帧信号;
接收来自终端设备基于所述Beacon帧信号的认证请求;
基于所述认证请求发送关联请求;
接收来自终端设备基于所述关联请求的WiFi连接请求。
在一个实施例中,处理器501执行所述确定所述多个SIM卡中各个SIM卡的资费套餐和网络速率,包括:
基于所述SIM卡的IMSI国际移动用户识别码向运营商服务器发送资费套餐请求指令;
接收所述资费套餐请求指令的回复消息;
读取所述SIM卡对应的所述回复消息得到所述资费套餐;和/或
获取SIM卡的运营商标识;
根据映射关系查询所述运营商标识对应的网络速率。
在一个实施例中,处理器501执行所述确定所述多个SIM卡中各个SIM卡的资费套餐和网络速率,包括:
向网络设备发送注册请求;
接收基于所述注册请求的注册响应;
解析所述注册响应得到所述各个SIM卡的资费套餐和网络速率。
在一个实施例中,处理器501执行所述确定所述基于所述资费套餐和所述网络速率在所述多个SIM卡中选择目标SIM卡,包括:
根据如下公式计算所述SIM卡的评估值:
P=w1×F+w2×S;
其中,P表示所述评估值,w1表示所述资费套餐的权重,w2表示所述网络速率的权重,F表示所述资费套餐的量化值,w2表示所述网络速率的量化值,w1,w2∈[0,1],F和S为大于1的自然数;
取评估值最大的的所述SIM卡作为目标SIM卡。
在一个实施例中,处理器501执行所述确定所述根据所述目标SIM卡与所述终端设备建立WiFi连接之后,还包括:
接收来自网络设备的数据包;
查看所述数据包的IP网际互连协议地址;
基于所述IP地址将所述数据包发送给对应的所述终端设备。
本申请实施例的技术构思和图2或图3的技术构思相同,具体过程可参照图2或图3的方法实施例,此处不再赘述。
在本申请实施例中,广播信标Beacon帧信号,接收来自终端设备基于所述Beacon帧信号的认证请求,基于所述认证请求发送关联请求,接收来自终端设备基于所述关联请求的WiFi连接请求,基于所述SIM卡的IMSI国际移动用户识别码向运营商服务器发送资费套餐请求指令,接收所述资费套餐请求指令的回复消息,读取所述SIM卡对应的所述回复消息得到所述资费套餐,获取SIM卡的运营商标识,根据映射关系查询所述运营商标识对应的网络速率,根据P=w1×F+w2×S公式计算所述SIM卡的评估值,取评估值最大的的所述SIM卡作为目标SIM卡,根据所述目标SIM卡与所述终端设备建立WiFi连接,接收来自网络设备的数据包,查看所述数据包的IP网际互连协议地址,基于所述IP地址将所述数据包发送给对应的所述终端设备。在工作过程中,AP设备通过确定每张SIM卡的资费套餐和网络速率,选择最合适的SIM卡来传输数据,减少SIM卡使用资费,降低成本。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体或随机存储记忆体等。
以上所揭露的仅为本申请较佳实施例而已,当然不能以此来限定本申请之权利范围,因此依本申请权利要求所作的等同变化,仍属本申请所涵盖的范围。

Claims (10)

  1. 一种通信连接方法,其特征在于,所述方法应用于设置有多个SIM用户身份识别模块卡的AP无线接入点设备,所述方法包括:
    接收来自终端设备的WiFi无线保真连接请求;
    响应所述WiFi连接请求,确定所述多个SIM卡中各个SIM卡的资费套餐和网络速率;
    基于所述资费套餐和所述网络速率在所述多个SIM卡中选择目标SIM卡;
    根据所述目标SIM卡与所述终端设备建立WiFi连接。
  2. 根据权利要求1所述方法,其特征在于,所述接收来自终端设备的WiFi无线保真连接请求,包括:
    广播信标Beacon帧信号;
    接收来自终端设备基于所述Beacon帧信号的认证请求;
    基于所述认证请求发送关联请求;
    接收来自终端设备基于所述关联请求的WiFi连接请求。
  3. 根据权利要求1所述方法,其特征在于,所述确定所述多个SIM卡中各个SIM卡的资费套餐和网络速率,包括:
    基于所述SIM卡的IMSI国际移动用户识别码向运营商服务器发送资费套餐请求指令;
    接收所述资费套餐请求指令的回复消息;
    读取所述SIM卡对应的所述回复消息得到所述资费套餐;和/或
    获取SIM卡的运营商标识;
    根据映射关系查询所述运营商标识对应的网络速率。
  4. 根据权利要求1所述方法,其特征在于,所述确定所述多个SIM卡中各个SIM卡的资费套餐和网络速率,包括:
    向网络设备发送注册请求;
    接收基于所述注册请求的注册响应;
    解析所述注册响应得到所述各个SIM卡的资费套餐和网络速率。
  5. 根据权利要求1所述方法,其特征在于,所述基于所述资费套餐和所述网络速率在所述多个SIM卡中选择目标SIM卡,包括:
    根据如下公式计算所述SIM卡的评估值:
    P=w1×F+w2×S;
    其中,P表示所述评估值,w1表示所述资费套餐的权重,w2表示所述网络速率的权重,F表示所述资费套餐的量化值,w2表示所述网络速率的量化值,w1,w2∈[0,1],F和S为大于1的自然数;
    取评估值最大的的所述SIM卡作为目标SIM卡。
  6. 根据权利要求1所述方法,其特征在于,所述根据所述目标SIM卡与所述终端设备建立WiFi连接之后,还包括:
    接收来自网络设备的数据包;
    查看所述数据包的IP网际互连协议地址;
    基于所述IP地址将所述数据包发送给对应的所述终端设备。
  7. 根据权利要求1所述方法,其特征在于,所述SIM卡为:第五代移动通信技术5GSIM卡、第四代移动通信技术4GSIM卡或第三代移动通信技术3GSIM卡。
  8. 一种通信连接装置,其特征在于,包括:
    接收模块,用于接收来自终端设备的WiFi无线保真连接请求;
    确定模块,用于响应所述WiFi连接请求,确定所述多个SIM卡中各个SIM卡的资费套餐和网络速率;
    选择模块,用于基于所述资费套餐和所述网络速率在所述多个SIM卡中选择目标SIM卡;
    连接模块,用于根据所述目标SIM卡与所述终端设备建立WiFi连接。
  9. 一种计算机存储介质,其特征在于,所述计算机存储介质存储有多条指令,所述指令适于由处理器加载并执行如权利要求1~7任意一项的方法步骤。
  10. 一种电子设备,其特征在于,包括:存储器和处理器;其中,所述存储器存储有计算机程序,所述计算机程序适用于由所述处理器加载并执行如权利要求1~7任意一项的方法步骤。
PCT/CN2020/134093 2020-09-25 2020-12-04 通信连接方法、装置、存储介质及电子设备 WO2022062182A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011028567.1A CN114257974A (zh) 2020-09-25 2020-09-25 通信连接方法、装置、存储介质及电子设备
CN202011028567.1 2020-09-25

Publications (1)

Publication Number Publication Date
WO2022062182A1 true WO2022062182A1 (zh) 2022-03-31

Family

ID=80789423

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/134093 WO2022062182A1 (zh) 2020-09-25 2020-12-04 通信连接方法、装置、存储介质及电子设备

Country Status (2)

Country Link
CN (1) CN114257974A (zh)
WO (1) WO2022062182A1 (zh)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016161166A1 (en) * 2015-03-31 2016-10-06 Globetouch, Inc. Enhanced cloud sim
CN106604299A (zh) * 2016-10-31 2017-04-26 努比亚技术有限公司 一种实现无线通信的方法及终端
CN106792818A (zh) * 2016-12-26 2017-05-31 北京奇虎科技有限公司 基于网速的数据网络切换方法、装置和终端设备
CN107682850A (zh) * 2017-10-18 2018-02-09 影响力技术有限公司 一种软sim卡选择、获取方法及装置
US20180146361A1 (en) * 2016-11-21 2018-05-24 Globetouch, Inc. Enhanced local data services
CN110572815A (zh) * 2019-08-30 2019-12-13 宇龙计算机通信科技(深圳)有限公司 网络访问方法、装置、存储介质及终端

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106792491B (zh) * 2017-03-03 2020-05-22 北京珠穆朗玛移动通信有限公司 基于双卡的网络共享方法及移动终端
CN108260188B (zh) * 2018-02-28 2021-02-19 惠州Tcl移动通信有限公司 一种Wi-Fi连接控制方法及系统
CN110896536A (zh) * 2019-11-25 2020-03-20 深圳传音控股股份有限公司 一种sim卡控制方法、移动终端及计算机存储介质
CN111278071B (zh) * 2020-02-27 2022-04-22 中国联合网络通信集团有限公司 个人热点开启方法及系统

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016161166A1 (en) * 2015-03-31 2016-10-06 Globetouch, Inc. Enhanced cloud sim
CN106604299A (zh) * 2016-10-31 2017-04-26 努比亚技术有限公司 一种实现无线通信的方法及终端
US20180146361A1 (en) * 2016-11-21 2018-05-24 Globetouch, Inc. Enhanced local data services
CN106792818A (zh) * 2016-12-26 2017-05-31 北京奇虎科技有限公司 基于网速的数据网络切换方法、装置和终端设备
CN107682850A (zh) * 2017-10-18 2018-02-09 影响力技术有限公司 一种软sim卡选择、获取方法及装置
CN110572815A (zh) * 2019-08-30 2019-12-13 宇龙计算机通信科技(深圳)有限公司 网络访问方法、装置、存储介质及终端

Also Published As

Publication number Publication date
CN114257974A (zh) 2022-03-29

Similar Documents

Publication Publication Date Title
CN110267327B (zh) 业务传输方法及装置
WO2013163842A1 (zh) 一种移动终端接入无线接入点的方法和无线接入点
CN111698755B (zh) 基于ursp规则的应用数据路由方法及用户设备
RU2013122949A (ru) Улучшенный способ, точка доступа, сервер и система для автоматического удаленного доступа к сетям стандарта ieee 802.11
KR102214864B1 (ko) 신호 강도 측정 방법 및 디바이스
EP3076609B1 (en) Method and device for transmitting media data
WO2018233510A1 (zh) 通信方法及装置
WO2022057119A1 (zh) 小区切换方法、装置、存储介质及电子设备
EP2672758A1 (en) Methods and apparatuses for easing Internet access by mobile stations associated with a mobile access point
WO2020164521A1 (zh) 数据包分配方法、装置、移动终端及存储介质
EP4061024A1 (en) D2d communication method, apparatus and system
CN104469764A (zh) 一种wlan组网方法及系统
CN111586602B (zh) 一种策略管理的方法及装置
WO2017008701A1 (zh) 数据传输方法、装置及用户设备
CN104968021A (zh) 一种蓝牙共享网络中的带宽控制方法和设备
WO2021204277A1 (zh) 通信方法、装置及系统
WO2017008697A1 (zh) 数据传输方法、装置、多通道路由方法及用户设备
WO2015018056A1 (zh) 业务分流方法、设备和系统
CN110392347A (zh) 数据传输方法及装置
KR102003739B1 (ko) 액세스 노드에 의한 애플리케이션 호스팅 방법 및 장치
WO2022062182A1 (zh) 通信连接方法、装置、存储介质及电子设备
CN113873491A (zh) 通信装置、系统和计算机可读存储介质
JP2015035790A (ja) 接続前情報要求を送信可能な無線端末との接続を制御する中継装置、プログラム及び方法
CN114531472B (zh) 通信方法和电子设备
WO2022057827A1 (zh) 聚合配置方法、装置及终端

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: 20955024

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20955024

Country of ref document: EP

Kind code of ref document: A1