WO2019085596A1 - 控制无线保真连接的方法及装置 - Google Patents

控制无线保真连接的方法及装置 Download PDF

Info

Publication number
WO2019085596A1
WO2019085596A1 PCT/CN2018/101483 CN2018101483W WO2019085596A1 WO 2019085596 A1 WO2019085596 A1 WO 2019085596A1 CN 2018101483 W CN2018101483 W CN 2018101483W WO 2019085596 A1 WO2019085596 A1 WO 2019085596A1
Authority
WO
WIPO (PCT)
Prior art keywords
wifi device
wifi
mobile terminal
virtual
user system
Prior art date
Application number
PCT/CN2018/101483
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 WO2019085596A1 publication Critical patent/WO2019085596A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • 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
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • H04W76/32Release of transport tunnels
    • 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

Definitions

  • the present disclosure relates to the field of communications, and in particular to a method and apparatus for controlling a wireless fidelity connection.
  • an Android-based multi-user system has begun to enter a large number of formal use stages.
  • users can create multiple users on the mobile terminal according to actual needs.
  • the existing multi-user system controls the hardware peripherals of the system to be shared. When a user turns on/off a hardware peripheral, all users running on the current system will be affected at the same time.
  • Wireless-Fideity (wifi) devices there is only one wifi network card device on the existing mobile phone terminal. When a user performs the switching operation of the wifi device, it will affect the normal use of another user. . Therefore, the use control of the wifi device in the existing multi-user system mode cannot be isolated.
  • Embodiments of the present disclosure provide a method and apparatus for controlling a wireless fidelity connection to at least solve the problem of controlling the incompatibility of a wifi function of a multi-user system in the related art.
  • a method of controlling a wireless fidelity connection comprising: a mobile terminal receiving an input signal of a current user system, wherein the mobile terminal is provided with a plurality of virtual ones corresponding to a plurality of user systems
  • the wireless fidelity wifi device controls the virtual wifi device corresponding to the current user system according to the input signal.
  • the real wifi device of the mobile terminal is closed.
  • the mobile terminal opens the real wifi device of the mobile terminal after receiving an input signal of the current user system for opening the virtual wifi device;
  • the virtual wifi device corresponding to the current user system.
  • the mobile terminal before the mobile terminal receives the input signal of the current user system, setting at least one of the following: an internet protocol address IP address of the plurality of virtual wifi devices, and an IP forwarding of the plurality of virtual wifi devices and the real wifi device rule.
  • controlling the virtual wifi device corresponding to the current user system according to the input signal includes: authenticating according to the operation of the current user system The input signal of the wifi device turns the real wifi device on or off.
  • an apparatus for controlling a wireless fidelity connection which is applied to a mobile terminal, and includes: a receiving module configured to receive an input signal of a current user system, where the mobile terminal is configured with multiple a plurality of virtual wireless fidelity wifi devices corresponding to the user systems; the control module is configured to control the virtual wifi device corresponding to the current user system according to the input signal.
  • the device further includes: the control module is further configured to: after determining that all virtual wifi devices corresponding to the plurality of user systems are closed, shutting down the real wifi device of the mobile terminal.
  • the device includes: the receiving module is further configured to: when the real wifi device of the mobile terminal is in a closed state, receive an input signal used by the current user system to open the virtual wifi device; the control module further Set to open the real wifi device of the mobile terminal, and open the virtual wifi device corresponding to the current user system.
  • a storage medium comprising a stored program, wherein the program is executed to perform the method described in any of the above embodiments.
  • a processor for running a program wherein the program is executed to perform the method described in any of the above embodiments.
  • a virtual wifi device in a mobile terminal of a multi-user system, a virtual wifi device, or a virtual wifi network card, is provided corresponding to each user system, and an input signal for controlling a wifi connection such as opening or closing of a certain user system is received.
  • the virtual wifi device corresponding to the user system is controlled accordingly, instead of directly operating the real wifi device of the mobile terminal as in the related art.
  • FIG. 1 is a block diagram showing a hardware structure of a mobile terminal for controlling a method of wireless fidelity connection according to an embodiment of the present disclosure
  • FIG. 2 is a flow chart of a method of controlling a wireless fidelity connection in accordance with an embodiment of the present disclosure
  • FIG. 3 is a block diagram showing the system structure of a wifi device isolation control according to a preferred embodiment
  • FIG. 4 is a schematic flowchart of processing of a user wifi device virtualization processing module according to a preferred embodiment
  • FIG. 5 is a schematic flowchart of processing of a virtual wifi device state management module according to a preferred embodiment of the present disclosure
  • FIG. 6 is a process flow diagram of a wifi device control module in accordance with a preferred embodiment of the present disclosure.
  • FIG. 1 is a hardware structural block diagram of a mobile terminal for controlling a method of wireless fidelity connection according to an embodiment of the present disclosure.
  • the mobile terminal 10 may include one or more (only one shown) processor 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA).
  • FIG. 1 is merely illustrative and does not limit the structure of the above electronic device.
  • the mobile terminal 10 may also include more or fewer components than those shown in FIG. 1, or have a different configuration than that shown in FIG.
  • the memory 104 can be used to store software programs and modules of application software, such as program instructions/modules corresponding to methods for controlling wireless fidelity connections in the embodiments of the present disclosure, by the processor 102 running software programs and modules stored in the memory 104, Thereby performing various functional applications and data processing, that is, implementing the above method.
  • Memory 104 may include high speed random access memory, and may also include non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • memory 104 may further include memory remotely located relative to processor 102, which may be connected to mobile terminal 10 over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Transmission device 106 is for receiving or transmitting data via a network.
  • the above-described network specific example may include a wireless network provided by a communication provider of the mobile terminal 10.
  • the transmission device 106 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet.
  • the transmission device 106 can be a Radio Frequency (RF) module for communicating with the Internet wirelessly.
  • NIC Network Interface Controller
  • RF Radio Frequency
  • FIG. 2 is a flowchart of a method for controlling a wireless fidelity connection according to an embodiment of the present disclosure. As shown in FIG. Including the following steps:
  • Step S202 the mobile terminal receives an input signal of the current user system, where the mobile terminal is provided with a plurality of virtual wireless fidelity wifi devices corresponding to the plurality of user systems;
  • Step S204 controlling the virtual wifi device corresponding to the current user system according to the input signal.
  • a virtual wifi device in a mobile terminal of a multi-user system, a virtual wifi device, or a virtual wifi network card, is provided corresponding to each user system, and an input signal for controlling a wifi connection such as opening or closing of a certain user system is received.
  • the virtual wifi device corresponding to the user system is controlled accordingly, instead of directly operating the real wifi device of the mobile terminal as in the related art.
  • the real wifi device of the mobile terminal is closed.
  • the mobile terminal receives the input signal of the current user system for opening the virtual wifi device, after opening the real wifi device of the mobile terminal, Then open the virtual wifi device corresponding to the current user system.
  • the mobile terminal before receiving the input signal of the current user system, sets at least one of the following: an IP address of the multiple virtual wifi devices, an IP forwarding rule of the multiple virtual wifi devices and the real wifi device.
  • the real wifi device of the mobile terminal is turned on or off.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present disclosure which is essential or contributes to the related art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM).
  • the instructions include a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present disclosure.
  • a device for controlling the wireless fidelity connection is further provided, and the device is used to implement the foregoing embodiments and preferred embodiments, and details are not described herein.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • an apparatus for controlling a wireless fidelity connection which is applied to a mobile terminal, including:
  • a receiving module configured to receive an input signal of a current user system, where the mobile terminal is configured with multiple virtual wireless fidelity wifi devices corresponding to multiple user systems;
  • control module configured to control, according to the input signal, a virtual wifi device corresponding to the current user system.
  • the device further includes: the control module is further configured to: after determining that all virtual wifi devices corresponding to the multiple user systems are closed, shutting down the real wifi device of the mobile terminal.
  • the device includes: the receiving module is further configured to: when the real wifi device of the mobile terminal is in a closed state, receive an input signal used by the current user system to open the virtual wifi device; the control module further A real wifi device for opening the mobile terminal, and a virtual wifi device corresponding to the current user system.
  • a multi-user operating system can be classified into a single-user operating system and a multi-user operating system according to the number of users who use the system at the same time.
  • a single-user operating system means that it can only be used by one user at a time.
  • One user enjoys all the hardware and software resources of the system by himself, and if multiple users are allowed to use at the same time, it is called a multi-user operating system.
  • Multi-users in Android are similar to multi-users in the PC operating system. They can support multiple users to use the system.
  • the settings of different users are different, and the applications and application data installed by different users are different.
  • the hardware-related settings in the system are shared, such as network settings, and the background process running by the user before the user switches can continue to run.
  • Virtualization is a kind of resource management technology that abstracts and transforms various computer resources such as servers, networks, memory and storage, and breaks the uncuttable obstacles between physical structures. Users can apply these resources in a better way than the original configuration.
  • virtualization technology is mainly used to solve the re-use of physical hardware, transparently underlying physical hardware, and thus maximize the use of physical hardware.
  • the preferred embodiment of the present disclosure introduces wifi network card virtualization support in the existing mobile terminal multi-user system scenario, and implements mapping binding between the wifi virtual network card and the user system.
  • a wifi device management control system is designed to control the concurrent control of virtual and real wifi devices under each user system. Under the control and management of the system, each user system can no longer directly operate the real physical wifi network card, but can only operate its corresponding virtual network card. With the support of this management system, the wifi function under the multi-user system is well solved. Isolation control issues.
  • the present disclosure is applied to a multi-user scenario of a mobile phone terminal, and introduces a virtualization technology to solve the problem that the multi-user wifi function cannot be isolated and controlled under the existing mobile multi-user system.
  • the present disclosure proposes a method and system for implementing isolation control of a mobile terminal wifi device by network card virtualization.
  • the disclosure mainly includes three parts: a user wifi device virtualization processing module (corresponding to some functions of the control module in the above embodiment), a terminal virtual wifi device state management module (corresponding to some functions of the control module in the above embodiment), wifi Device control module (corresponding to some functions of the control module in the above embodiment).
  • FIG. 3 is a block diagram of a system structure of a wifi device isolation control according to a preferred embodiment, as shown in FIG. 3:
  • the user wifi device virtualization processing module is used to create a wifi virtual network device.
  • the module automatically creates a unique virtual wifi device for the newly created user, and simultaneously constructs the virtual wifi device. IP address and its IP forwarding rules to real wifi devices.
  • the virtual wifi device status management module is responsible for recording the usage (on/off) status of each user system virtual wifi device, and the working status of all subsequent virtual wifi devices is synchronized to the module.
  • the wifi device control module is responsible for the opening/closing operation of the real wifi device.
  • the user When the user performs the switch wifi operation, the user enters the control module first, and obtains the current state of use of all the user virtual wifi to determine whether the real operation wifi is needed. device.
  • the real wifi device When the user opens/closes the wifi operation request, the real wifi device is required to be turned on/off only when the virtual WiFi devices of all other users are in the off state. In other cases, it only updates the working status record of the virtual wifi device of the user system, and does not actually operate the real wifi device.
  • FIG. 4 is a schematic flowchart of a process of a user Wifi device virtualization processing module according to a preferred embodiment. As shown in FIG. 4, the process includes the following steps:
  • Step S401 The monitoring system creates a user system flow.
  • Step S402 Create a corresponding virtual wifi device according to the newly created user ID, and construct and record a mapping relationship between the virtual device ID and the user ID.
  • Step S403 The IP forwarding rule between the IP of the virtual wifi device and the real wifi device is constructed to ensure that the online behavior of the user system is normal.
  • FIG. 4 is an operation step before the receiving module in the foregoing embodiment receives the input signal of the current user system, that is, a corresponding virtual wifi device is established in advance for the created user system.
  • FIG. 5 is a schematic flowchart of processing of a virtual wifi device state management module according to a preferred embodiment of the present disclosure, as shown in FIG. 5:
  • Step S501 Monitor an operation event of each user system wifi device.
  • Step S502 Find the corresponding virtual wifi device ID according to the user ID of the operation request.
  • Step S503 Update and record the working (on/off) state of the virtual device.
  • FIG. 6 is a schematic diagram of a process flow of a wifi device control module according to a preferred embodiment of the present disclosure, as shown in FIG.
  • Step S601 Monitor an operation event of each user system wifi device.
  • Step S602 Acquire a working state record of all current devices through the virtual wifi device state management module.
  • Step S603 Determine whether it is necessary to operate the wifi device.
  • step S603 the following situation may be required to operate the real wifi device, for example, the current user system acquires the right to operate the real wifi device, or the current real wifi device is in the off state, and receives a certain user.
  • the system turns on the operation signal of the corresponding virtual wifi device, it is necessary to operate the real wifi device.
  • Step S604 If the real operation is not required, only the working state of the virtual wifi device at the time of the user needs to be updated and recorded.
  • Step S605 If a real operation is required, the wifi device is actually operated through the system HAL layer.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination.
  • the forms are located in different processors.
  • a processor for running a program wherein the program is executed to perform the method described in any of the above embodiments.
  • a storage medium comprising a stored program, wherein the program is executed to perform the method described in any of the above embodiments.
  • modules or steps of the present disclosure described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. As such, the disclosure is not limited to any specific combination of hardware and software.
  • the present disclosure is applicable to the field of communications, and solves the problem of inflexibility of controlling the wifi function of the multi-user system in the related art, and realizes flexible control of the respective wifi connections of the multi-user system.

Landscapes

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

Abstract

本申请提供了一种控制无线保真连接的方法及装置,其中,在多用户系统的移动终端中,对应于每个用户系统均设置有虚拟wifi设备,或称为虚拟wifi网卡,接收到某个用户系统的打开或者关闭等控制wifi连接的输入信号,对该用户系统对应的虚拟wifi设备进行相应控制,而不是直接对移动终端的真实wifi设备进行操作。解决了控制多用户系统的wifi功能不灵活的问题,实现了灵活控制多用户系统各自的wifi连接。

Description

控制无线保真连接的方法及装置 技术领域
本公开涉及通信领域,具体而言,涉及一种控制无线保真连接的方法及装置。
背景技术
在相关技术中,基于Android的多用户系统已经开始进入大量正式使用阶段。在多用户系统框架的支持下,用户可以根据实际需要在移动终端上创建多个用户。但现有多用户系统对系统硬件外设的控制规则是共用的,即一个用户开启/关闭某个硬件外设时,当前系统上运行的所有用户都会同时被影响。以无线保真(Wireless-Fideity,简称为wifi)设备来说,现有手机终端上都只有一块wifi网卡设备,一个用户进行wifi设备的开关操作时,一定会同步影响到另外一个用户的正常使用。因此,现有多用户系统模式下对wifi设备的使用控制无法做到隔离。比如对于访客用户系统,用户可能会希望直接关闭该系统的wifi设备,但是并不希望其会影响其它正在使用wifi网络的用户系统。综上所述可以看出,在多用户系统模式下,如何实现多用户设备可隔离控制成为了目前亟待解决的一个技术难题。
针对相关技术中控制多用户系统的wifi功能不灵活的问题,目前还没有有效的解决方案。
发明内容
本公开实施例提供了一种控制无线保真连接的方法及装置,以至少解决相关技术中控制多用户系统的wifi功能不灵活的问题。
根据本公开的一个实施例,提供了一种控制无线保真连接的方法,包括:移动终端接收当前用户系统的输入信号,其中,所述移动终端设置有与多个用户系统对应的多个虚拟无线保真wifi设备;依据所述输入信号对所述当前用户系统对应的虚拟wifi设备进行控制。
可选地,在确定关闭了所述多个用户系统对应的所有虚拟wifi设备之后,关闭所述移动终端的真实wifi设备。
可选地,在所述移动终端的真实wifi设备处于关闭状态时,所述移动终端接收到当前用户系统用于打开自身虚拟wifi设备的输入信号之后,打开所述移动终端的真实wifi设备;打开所述当前用户系统对应的虚拟wifi设备。
可选地,移动终端接收当前用户系统的输入信号之前,设置以下信息至少之一:所述多个虚拟wifi设备的互联网协议地址IP地址,所述多个虚拟wifi设备与真实wifi设备的IP转发规则。
可选地,在确定当前用户系统获取操作真实wifi设备的操作权限的情况下,依据所述输入信号对所述当前用户系统对应的虚拟wifi设备进行控制包括:依据所述当前用户系统的操作真实wifi设备的输入信号打开或关闭所述真实wifi设备。
根据本公开的另一个实施例,还提供了一种控制无线保真连接的装置,应用于移动终端,包括:接收模块,设置为接收当前用户系统的输入信号,其中,移动终端设置有与多个用户系统对应的多个虚拟无线保真wifi设备;控制模块,设置为依据所述输入信号对所述当前用户系统对应的虚拟wifi设备进行控制。
可选地,所述装置还包括:所述控制模块还设置为在确定关闭了所述多个用户系统对应的所有虚拟wifi设备之后,关闭所述移动终端的真实wifi设备。
可选地,所述装置包括:所述接收模块还设置为在所述移动终端的真实wifi设备处于关闭状态时,接收当前用户系统用于打开自身虚拟wifi设备的输入信号;所述控制模块还设置为打开所述移动终端的真实wifi设备,以及打开所述当前用户系统对应的虚拟wifi设备。
根据本公开的另一个实施例,还提供了一种存储介质,所述存储介质包括存储的程序,其中,所述程序运行时执行上述实施例任一项中所述的方法。
根据本公开的另一个实施例,还提供一种处理器,所述处理器用于运行程序,其中,所述程序运行时执行上述实施例任一项中所述的方法。
通过本公开,多用户系统的移动终端中,对应于每个用户系统均设置有虚拟wifi设备,或称为虚拟wifi网卡,则接收到某个用户系统的打开或者关闭等控制wifi连接的输入信号,对该用户系统对应的虚拟wifi设备进行相应控制,而不是如相关技术中直接对移动终端的真实wifi设备进行操作。采用上述技术方案,解决了相关技术中控制多用户系统的wifi功能不灵活的问题,实现了灵活控制多用户系统各自的wifi连接。
附图说明
此处所说明的附图用来提供对本公开的进一步理解,构成本申请的一部分,本公开的示意性实施例及其说明用于解释本公开,并不构成对本公开的不当限定。在附图中:
图1是本公开实施例的一种控制无线保真连接的方法的移动终端的硬件结构框图;
图2是根据本公开实施例的控制无线保真连接的方法流程图;
图3是根据优选实施例的wifi设备隔离控制的系统结构框图;
图4是根据优选实施例的用户wifi设备虚拟化处理模块的处理流程示意图;
图5是根据本公开优选实施例的虚拟wifi设备状态管理模块的处理流程示意图;
图6是根据本公开优选实施例的wifi设备控制模块的处理流程示意图。
具体实施方式
实施例一
本申请实施例一所提供的方法实施例可以在移动终端、计算机终端或者类似的运算装置中执行。以运行在移动终端上为例,图1是本公开实施例的一种控制无线保真连接的方法的移动终端的硬件结构框图。如图1所示,移动终端10可以包括一个或多个(图中仅示出一个)处理器102(处理器102可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)、用于存储数据的存储器104、以及用于通信功能的传输装置106。本领域普 通技术人员可以理解,图1所示的结构仅为示意,其并不对上述电子装置的结构造成限定。例如,移动终端10还可包括比图1中所示更多或者更少的组件,或者具有与图1所示不同的配置。
存储器104可用于存储应用软件的软件程序以及模块,如本公开实施例中的控制无线保真连接的方法对应的程序指令/模块,处理器102通过运行存储在存储器104内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的方法。存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器104可进一步包括相对于处理器102远程设置的存储器,这些远程存储器可以通过网络连接至移动终端10。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
传输装置106用于经由一个网络接收或者发送数据。上述的网络具体实例可包括移动终端10的通信供应商提供的无线网络。在一个实例中,传输装置106包括一个网络适配器(Network Interface Controller,NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输装置106可以为射频(Radio Frequency,RF)模块,其用于通过无线方式与互联网进行通讯。
在本实施例中提供了一种运行于上述移动终端的控制无线保真连接的方法,图2是根据本公开实施例的控制无线保真连接的方法流程图,如图2所示,该流程包括如下步骤:
步骤S202,移动终端接收当前用户系统的输入信号,其中,所述移动终端设置有与多个用户系统对应的多个虚拟无线保真wifi设备;
步骤S204,依据所述输入信号对所述当前用户系统对应的虚拟wifi设备进行控制。
通过本公开,多用户系统的移动终端中,对应于每个用户系统均设置有虚拟wifi设备,或称为虚拟wifi网卡,则接收到某个用户系统的打开或者关闭等控制wifi连接的输入信号,对该用户系统对应的虚拟wifi设备进行相应控制,而不是如相关技术中直接对移动终端的真实wifi设备进行操作。采用上述技术方案,解决了相关技术中控制多用户系统的wifi功能不灵活的问题,实现了灵活控制多用户系统各自的wifi连接。
可选地,在确定关闭了所述多个用户系统对应的所有虚拟wifi设备之后,关闭所述移动终端的真实wifi设备。
可选地,在所述移动终端的真实wifi设备处于关闭状态时,所述移动终端接收到当前用户系统用于打开自身虚拟wifi设备的输入信号之后,打开所述移动终端的真实wifi设备之后,再打开所述当前用户系统对应的虚拟wifi设备。
可选地,移动终端接收当前用户系统的输入信号之前,设置以下信息至少之一:所述多个虚拟wifi设备的IP地址,所述多个虚拟wifi设备与真实wifi设备的IP转发规则。
可选地,在确定当前用户系统获取操作真实wifi设备的操作权限,且接收到所述当前用户的打开或关闭真实wifi设备的输入信号的情况下,打开或关闭所述移动终端的真实wifi设备。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本公开各个实施例所述的方法。
实施例二
在本实施例中还提供了一种控制无线保真连接的装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
根据本公开的另一个实施例,还提供了一种控制无线保真连接的装置,应用于移动终端,包括:
接收模块,用于接收当前用户系统的输入信号,其中,移动终端设置有与多个用户系统对应的多个虚拟无线保真wifi设备;
控制模块,用于依据所述输入信号对所述当前用户系统对应的虚拟wifi设备进行控制。
可选地,所述装置还包括:所述控制模块还用于在确定关闭了所述多个用户系统对应的所有虚拟wifi设备之后,关闭所述移动终端的真实wifi设备。
可选地,所述装置包括:所述接收模块还用于在所述移动终端的真实wifi设备处于关闭状态时,接收当前用户系统用于打开自身虚拟wifi设备的输入信号;所述控制模块还用于打开所述移动终端的真实wifi设备,以及打开所述当前用户系统对应的虚拟wifi设备。
下面结合本公开优选实施例进行详细说明。
在相关技术中,多用户(Multi User)操作系统,根据同一时间使用系统的用户多少,操作系统可分为单用户操作系统和多用户操作系统。单用户操作系统是指在同一时间只能由一个用户使用,一个用户独自享用系统的全部硬件和软件资源,而如果在同一时间允许多个用户同时使用,则称为多用户操作系统。Android中的多用户与PC操作系统的多用户类似,可以支持多个用户使用系统,不同用户的设置各不相同,并且不同用户安装的应用及应用数据也不相同。但是系统中和硬件相关的设置则是共用的,例如网络设置等,且用户切换后前面用户运行的后台进程还可以继续运行。
虚拟化(Virtualization)是一种资源管理技术,是将计算机的各种实体资源,如服务器、网络、内存及存储等,予以抽象、转换后呈现出来,打破实体结构间的不可切割的障碍,使用户可以比原本的组态更好的方式来应用这些资源。在实际的生产环境中,虚拟化技术主要用来解决物理硬件的重组重用,透明化底层物理硬件,从而最大化的利用物理硬件。
本公开优选实施例在现有手机终端多用户系统场景下,引入wifi网卡虚拟化支持,并实 现了wifi虚拟网卡与用户系统的映射绑定。其次,设计了一个wifi设备管理控制系统,用于对各用户系统下虚拟、真实wifi设备的并发控制管理。在该系统控制管理下,各用户系统无法再直接实际操作真实物理wifi网卡,而只能操作其对应的虚拟网卡,在这个管理系统的支持下,很好的解决了多用户系统下wifi功能的隔离控制问题。
本公开应用于手机终端多用户场景下,通过引入虚拟化技术,解决现有手机多用户系统下无法隔离控制多用户wifi功能的问题。
本公开提出了一种通过网卡虚拟化实现手机终端wifi设备隔离控制的方法及系统。本公开主要包括3部分:用户wifi设备虚拟化处理模块(相当于上述实施例中控制模块的部分功能)、终端虚拟wifi设备状态管理模块(相当于上述实施例中控制模块的部分功能)、wifi设备控制模块(相当于上述实施例中控制模块的部分功能)。
图3是根据优选实施例的wifi设备隔离控制的系统结构框图,如图3所示:
1)用户wifi设备虚拟化处理模块用于创建wifi虚拟网络设备,当系统新建一个终端用户系统时,该模块会自动为该新建用户创建一个唯一对应的虚拟wifi设备,同时构建好虚拟wifi设备的IP地址以及其到真实wifi设备的IP转发规则。
2)虚拟wifi设备状态管理模块负责记录下各用户系统虚拟wifi设备的使用(开启/关闭)状态,后续所有用户的虚拟wifi设备的工作状态都会同步到该模块中。
3)wifi设备控制模块负责进行真实wifi设备的开启/关闭操作,当用户进行开关wifi操作时会先进入到该控制模块,通过获取当前所有用户虚拟wifi的使用状态,以决定是否需要真实操作wifi设备。接收到用户开启/关闭wifi操作请求时,只有当前其它所有用户的虚拟wifi设备都属于关闭工作状态时,才需要进行真实wifi设备的开启/关闭操作。其它情况下,都只是更新用户系统虚拟wifi设备工作状态记录,并不实际去操作真实wifi设备。
图4是根据优选实施例的用户Wifi设备虚拟化处理模块的处理流程示意图,如图4所示,该流程包括以下步骤:
步骤S401:监听系统创建用户系统流程。
步骤S402:根据新建用户ID,创建对应的虚拟wifi设备,并构建、记录好虚拟设备ID与用户ID的映射关系。
步骤S403:构建好虚拟wifi设备的IP与真实wifi设备之间的IP转发规则,以保证该用户系统上网行为的正常。
需要补充的是,图4中的流程是在上述实施例中的接收模块接收当前用户系统的输入信号之前的操作步骤,即预先为创建的用户系统建立对应的虚拟wifi设备。
图5是根据本公开优选实施例的虚拟wifi设备状态管理模块的处理流程示意图,如图5所示:
步骤S501:监听各用户系统wifi设备的操作事件。
步骤S502:根据操作请求的用户ID,找到其对应的虚拟wifi设备ID。
步骤S503:更新并记录好该虚拟设备的工作(开启/关闭)状态。
图6是根据本公开优选实施例的wifi设备控制模块的处理流程示意图,如图6所示:
步骤S601:监听各用户系统wifi设备的操作事件。
步骤S602:通过虚拟wifi设备状态管理模块获取当前所有设备的工作状态记录。
步骤S603:判断是否需要真实操作wifi设备。
需要补充的是,在步骤S603中,出现以下情况可能会需要操作真实wifi设备,例如当前用户系统获取了操作真实wifi设备的权项,或者,当前真实wifi设备处于关闭状态,接收到某个用户系统打开对应的虚拟wifi设备的操作信号时,需要操作真实wifi设备。
步骤S604:若不需要真实操作,则只需要更新并记录好该用户下此时虚拟wifi设备的工作状态。
步骤S605:若需要真实操作,则通过系统HAL层真实操作wifi设备。
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。
根据本公开的另一个实施例,还提供一种处理器,所述处理器用于运行程序,其中,所述程序运行时执行上述实施例任一项中所述的方法。
实施例三
根据本公开的另一个实施例,还提供了一种存储介质,所述存储介质包括存储的程序,其中,所述程序运行时执行上述实施例任一项中所述的方法。
显然,本领域的技术人员应该明白,上述的本公开的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本公开不限制于任何特定的硬件和软件结合。
以上所述仅为本公开的优选实施例而已,并不用于限制本公开,对于本领域的技术人员来说,本公开可以有各种更改和变化。凡在本公开的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本公开的保护范围之内。
工业实用性
本公开适用于通信领域,用以解决相关技术中控制多用户系统的wifi功能不灵活的问题,实现了灵活控制多用户系统各自的wifi连接。

Claims (10)

  1. 一种控制无线保真连接的方法,包括:
    移动终端接收当前用户系统的输入信号,其中,所述移动终端设置有与多个用户系统对应的多个虚拟无线保真wifi设备;
    依据所述输入信号对所述当前用户系统对应的虚拟wifi设备进行控制。
  2. 根据权利要求1所述的方法,其中,所述方法还包括:
    在确定关闭了所述多个用户系统对应的所有虚拟wifi设备之后,关闭所述移动终端的真实wifi设备。
  3. 根据权利要求2所述的方法,其中,在所述移动终端的真实wifi设备处于关闭状态时,所述移动终端接收到当前用户系统用于打开自身虚拟wifi设备的输入信号之后,所述方法还包括:
    打开所述移动终端的真实wifi设备;
    打开所述当前用户系统对应的虚拟wifi设备。
  4. 根据权利要求1所述的方法,其中,移动终端接收当前用户系统的输入信号之前,所述方法还包括:
    设置以下信息至少之一:所述多个虚拟wifi设备的互联网协议地址IP地址,所述多个虚拟wifi设备与真实wifi设备的IP转发规则。
  5. 根据权利要求1所述的方法,其中,在确定当前用户系统获取操作真实wifi设备的操作权限的情况下,依据所述输入信号对所述当前用户系统对应的虚拟wifi设备进行控制包括:
    依据所述当前用户系统的操作真实wifi设备的输入信号打开或关闭所述真实wifi设备。
  6. 一种控制无线保真连接的装置,应用于移动终端,包括:
    接收模块,设置为接收当前用户系统的输入信号,其中,移动终端设置有与多个用户系统对应的多个虚拟无线保真wifi设备;
    控制模块,设置为依据所述输入信号对所述当前用户系统对应的虚拟wifi设备进行控制。
  7. 根据权利要求6所述的装置,其中,所述装置还包括:
    所述控制模块还设置为在确定关闭了所述多个用户系统对应的所有虚拟wifi设备之后,关闭所述移动终端的真实wifi设备。
  8. 根据权利要求7所述的装置,其中,所述装置还包括:
    所述接收模块还设置为在所述移动终端的真实wifi设备处于关闭状态时,接收当前用户系统用于打开自身虚拟wifi设备的输入信号;
    所述控制模块还设置为打开所述移动终端的真实wifi设备,以及打开所述当前用户系统对应的虚拟wifi设备。
  9. 一种存储介质,其中,所述存储介质包括存储的程序,其中,所述程序运行时执行上述权利要求1至5任一项中所述的方法。
  10. 一种处理器,其中,所述处理器用于运行程序,其中,所述程序运行时执行上述权利要求1至5任一项中所述的方法。
PCT/CN2018/101483 2017-10-31 2018-08-21 控制无线保真连接的方法及装置 WO2019085596A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711049928.9 2017-10-31
CN201711049928.9A CN110072234A (zh) 2017-10-31 2017-10-31 控制无线保真连接的方法及装置

Publications (1)

Publication Number Publication Date
WO2019085596A1 true WO2019085596A1 (zh) 2019-05-09

Family

ID=66331323

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/101483 WO2019085596A1 (zh) 2017-10-31 2018-08-21 控制无线保真连接的方法及装置

Country Status (2)

Country Link
CN (1) CN110072234A (zh)
WO (1) WO2019085596A1 (zh)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468986A (zh) * 2014-11-20 2015-03-25 深圳市世纪安软信息技术有限公司 手机多用户操作模式管理方法及系统
CN104573541A (zh) * 2013-10-22 2015-04-29 中兴通讯股份有限公司 终端多用户处理方法、装置及终端
CN106020942A (zh) * 2016-05-05 2016-10-12 四川安嵌科技有限公司 一种基于多系统的WiFi设备复用方法及装置

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1323520C (zh) * 2002-05-30 2007-06-27 中兴通讯股份有限公司 一种宽带接入服务器拨号测试方法
US7111303B2 (en) * 2002-07-16 2006-09-19 International Business Machines Corporation Virtual machine operating system LAN
CN1925496B (zh) * 2006-09-15 2011-06-29 杭州华三通信技术有限公司 一种具有多网卡终端设备的网络层负载分担系统和方法
US8165044B2 (en) * 2007-10-19 2012-04-24 Microsoft Corporation Maintaining multiple, simultaneous wireless network connections using a single radio
CN102110023B (zh) * 2009-12-25 2012-11-21 中国长城计算机深圳股份有限公司 一种多用户操作系统并行运行的控制方法、系统及计算机
CN102281180A (zh) * 2011-07-14 2011-12-14 冶金自动化研究设计院 应用于不同局域网的终端相互通讯的虚拟网卡通讯装置
US9008097B2 (en) * 2012-12-31 2015-04-14 Mellanox Technologies Ltd. Network interface controller supporting network virtualization
CN103532802A (zh) * 2013-10-11 2014-01-22 小米科技有限责任公司 一种网络共享的方法、装置及终端设备
CN104936315B (zh) * 2014-03-21 2019-12-20 海信集团有限公司 一种通过wifi传输数据的方法、主设备及模块设备
CN104581892B (zh) * 2014-12-05 2018-08-21 华为技术有限公司 一种终端的数据传输方法和装置
CN106231687B (zh) * 2016-09-13 2019-04-16 四川长虹电器股份有限公司 一种基于p2p技术实现智能家电设备发现的方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104573541A (zh) * 2013-10-22 2015-04-29 中兴通讯股份有限公司 终端多用户处理方法、装置及终端
CN104468986A (zh) * 2014-11-20 2015-03-25 深圳市世纪安软信息技术有限公司 手机多用户操作模式管理方法及系统
CN106020942A (zh) * 2016-05-05 2016-10-12 四川安嵌科技有限公司 一种基于多系统的WiFi设备复用方法及装置

Also Published As

Publication number Publication date
CN110072234A (zh) 2019-07-30

Similar Documents

Publication Publication Date Title
JP6798667B2 (ja) 動的仮想化ネットワーク機能記述子管理のためのシステムおよび方法
US10270648B2 (en) Configuration information management method, device, network element management system and storage medium
CN106471791B (zh) 用于基于移动设备的集群计算架构的方法和装置
CN111278012B (zh) 在无线网络中的设备隔离
WO2018001049A1 (zh) 一种网络边缘计算的虚拟网络功能部署方法、装置和系统
US10972362B2 (en) Network service configuration method and network management device
US20200326989A1 (en) Building pool-based m2m service layer through nfv
WO2020135355A1 (zh) 一种无线网络配置方法及装置
US10419900B2 (en) Method and apparatus for managing application terminal remotely in wireless communication system
EP2972932B1 (en) Cloud based virtual mobile device
US9967257B2 (en) Software defined network (SDN) application integrity
EP3197094B1 (en) Software upgrading method and device
CN105528272A (zh) 服务器系统及其相关的控制方法
US20180246743A1 (en) Embedded System Enabling On-Line Collaborative Migration of Software Execution Environments
US20230254383A1 (en) Operations control of network services
US11070629B2 (en) Migration notification and response messages for virtual machines
TW202008154A (zh) 基於軟體容器提供雲端服務之系統及方法
CN103138961B (zh) 服务器控制方法、被控服务器及中心控制服务器
WO2019085596A1 (zh) 控制无线保真连接的方法及装置
US11316884B2 (en) Software defined network white box infection detection and isolation
US20240114069A1 (en) System and method for data management with mobility support in distributed edge cloud
KR101471655B1 (ko) 가상 컴퓨팅 랩 환경에서의 노드 전원관리 시스템 및 그 방법
Kallioniemi Installing and Commissioning MCS Over an LTE-system
WO2016090997A1 (zh) 一种管理终端的方法、设备和系统
KR20160050897A (ko) 접속 장치 및 그의 무선랜 서비스 제공 방법

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

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

Country of ref document: EP

Kind code of ref document: A1