WO2015127763A1 - 管理无线网共享软件的方法和装置 - Google Patents

管理无线网共享软件的方法和装置 Download PDF

Info

Publication number
WO2015127763A1
WO2015127763A1 PCT/CN2014/084387 CN2014084387W WO2015127763A1 WO 2015127763 A1 WO2015127763 A1 WO 2015127763A1 CN 2014084387 W CN2014084387 W CN 2014084387W WO 2015127763 A1 WO2015127763 A1 WO 2015127763A1
Authority
WO
WIPO (PCT)
Prior art keywords
wireless network
network sharing
software
sharing software
behavior
Prior art date
Application number
PCT/CN2014/084387
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 WO2015127763A1 publication Critical patent/WO2015127763A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/52Program synchronisation; Mutual exclusion, e.g. by means of semaphores
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Definitions

  • the present invention relates to the field of computer technologies, and in particular, to a method and apparatus for managing wireless network sharing software. Background technique
  • WiFi Wi-Fi Alliance
  • WiFi Wi-Fi Alliance
  • AP Access Point
  • WiFi Wireless Fidelity
  • a wireless network adapter that is not connected to the network in the computer can be connected to the network through a network adapter connected to the network.
  • Network sharing function if there are WiFi sharing software from multiple different vendors on the same computer, these WiFi sharing software will conflict due to competing resources.
  • multiple WiFi sharing softwares can establish different AP hotspots at the same time, but the wireless network adapter can only establish one AP hotspot, causing conflicts.
  • the technical problem to be solved by the embodiments of the present invention is to provide a method and device for managing wireless network sharing software, which can avoid conflicts initiated by multiple wireless network sharing software due to competitive resources, and improve stability of wireless network sharing. And provide users with the option to share software for the wireless network to enhance the user experience.
  • an embodiment of the present invention provides a method for managing a wireless network sharing software, including: intercepting a wireless network sharing behavior performed by at least one wireless network sharing software;
  • the target wireless network sharing software is allowed to perform the wireless network sharing behavior.
  • an embodiment of the present invention further provides an apparatus for managing wireless network sharing software, including:
  • a wireless network sharing behavior intercepting module configured to intercept a wireless network sharing behavior performed by at least one wireless network sharing software
  • a target sharing software determining module configured to determine target wireless network sharing software in the at least one wireless network sharing software
  • the wireless network sharing behavior execution module is configured to allow the target wireless network sharing software to perform the wireless network sharing behavior.
  • the embodiments of the present invention have the following beneficial effects:
  • the embodiment of the present invention implements a wireless network sharing behavior of a wireless network sharing software by intercepting wireless network sharing software, and only allows a wireless network sharing software that is a target wireless network sharing software to perform a wireless network sharing behavior. Avoid conflicts between multiple wireless network sharing software due to competitive resources, improve the stability of wireless network sharing, and provide users with the right to choose software for wireless network sharing to enhance user experience.
  • Embodiments of the present invention also provide a computer readable storage medium comprising computer instructions that, when executed, cause a method of managing wireless network sharing software in accordance with an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart of a method for managing wireless network sharing software according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of another method for managing wireless network sharing software according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of another method for managing wireless network sharing software according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of an apparatus for managing wireless network sharing software according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of determining a target wireless network sharing software according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of another determining target wireless network sharing software according to an embodiment of the present invention. detailed description
  • FIG. 1 is a schematic flow chart of a method for managing wireless network sharing software according to an embodiment of the present invention.
  • the process of managing the wireless network sharing software in this embodiment as shown in the figure may include:
  • the wireless network sharing software includes other software such as WiFi sharing software.
  • the embodiment of the present invention mainly introduces the WiFi sharing software as an object.
  • the wireless network sharing behavior includes two types: 1. Creating an AP (Access Point) hotspot, and then transmitting a connectable WiFi signal; 2. Setting a network share, even if the wireless network adapter that is not connected to the network is connected The network adapter entering the network accesses the network.
  • AP Access Point
  • the device of the present invention intercepts the wireless network sharing behavior when one or more WiFi sharing software is detected to create an AP hotspot or set a network sharing behavior. For example, the device of the present invention intercepts this behavior when detecting that multiple WiFi sharing software creates an AP hotspot, that is, prevents all WiFi sharing software from creating an AP hotspot.
  • the specific method for detecting the WiFi sharing software to create an AP hotspot or setting the network share may include: Method 1: The device of the present invention utilizes a kernel of the terminal in the Windows system to monitor characteristics of all applications, and obtain a current application running time. The parameter value of the NT kernel function is called, and it is determined whether the parameter value matches the preset judgment value. If yes, it is determined that the current application is a WiFi sharing software and an AP hotspot is created or a network share is set.
  • the device of the present invention acquires the first parameter value of the NtAlpcSendWaitReceivePort NT kernel function when the kernel drives the RPC (Remote Procedure Call Protocol) scheduling task, and determines whether the first parameter value is The set judgment value is consistent, and if so, it is determined that the WiFi sharing software is creating an AP hotspot or setting a network share.
  • RPC Remote Procedure Call Protocol
  • Method 2 The device of the present invention utilizes the characteristics of the corresponding task function when the process in the Windows system executes the corresponding task, acquires the current task function, and determines whether the current task function is a function related to creating an AP hotspot or setting a network share. If yes, it is determined that there is a WiFi sharing software process in the process of creating an AP hotspot or setting a network.
  • the device of the present invention can be based on, for example, the EnableSharing function of the INetSharingConfiguration interface, WlanHo stedNetworkS tartU sing, WlanHostedNetworkForceSto, etc. (Application Programming Interface, application Program Programming Interface) Function to determine if there is a WiFi sharing software in creating an AP hotspot or setting up a network share.
  • S102 Determine target wireless network sharing software in the at least one wireless network sharing software.
  • the device of the present invention determines one of the WiFi sharing softwares that are intercepted as the target WiFi sharing software.
  • the device of the present invention can pop up a selection window to the user through the display screen, and the user selects one of the intercepted WiFi sharing software as the target WiFi sharing software, and the device of the present invention acquires the user's selection, and then determines the target WiFi sharing software.
  • a specific implementation manner of popping the selection window to the user through the display screen refer to a schematic diagram of determining the target wireless network sharing software shown in FIG. 5 or FIG. 6.
  • a dialog box as shown in FIG. 5 pops up, and the user clicks “OK” to select the WiFi sharing software as the target WiFi sharing software.
  • the dialog box shown in Figure 5 can be popped up in turn, and the user selects in turn, with the WiFi sharing software pointed to by the last click of the "OK" dialog box.
  • Target WiFi sharing software can also only pop up the dialog box shown in Figure 6, after the user selects one and clicks "OK", the selected WiFi sharing software will be the target WiFi sharing software.
  • the Windows system may be performing a WiFi sharing software to create an AP hotspot or setting a network sharing behavior.
  • the device of the present invention needs to intercept the WiFi sharing software and the current WiFi sharing.
  • the software identifies one as the target WiFi shareware. For example: Since the response time of the AP hotspot created by different WiFi sharing software exists, the first responding WiFi sharing software may have been determined as the target WiFi sharing software, and when the responding WiFi sharing software creates an AP hotspot, the device of the present invention will be Re-determine a target WiFi shareware in the first and last responding WiFi shareware.
  • the device of the present invention can directly select a WiFi sharing software preset or defaulted by the user as the target WiFi sharing software.
  • the device of the present invention will save the set selection method, and then directly determine the target WiFi sharing software next time.
  • the device of the present invention allows the target WiFi sharing software to perform the act of creating an AP hotspot or setting a network share, and then the Windows system will run the target WiFi sharing software to create an AP hotspot or set up a network share.
  • the device of the present invention determines whether the current WiFi sharing software is the target WiFi sharing software, and if so, does not operate, and if not, stops the current
  • the WiFi sharing software creates an AP hotspot or sets the behavior of the network share, while performing the target WiFi sharing software performs the act of creating an AP hotspot or setting a network share.
  • the embodiment of the present invention can only determine the target wireless network by intercepting the wireless network sharing behavior of the wireless network sharing software.
  • the sharing software wireless network sharing software performs a wireless network sharing behavior method to avoid conflicts initiated by multiple wireless network sharing software due to competitive resources, improve the stability of wireless network sharing, and provide users with wireless network sharing software. The choice to enhance the user experience.
  • 2 is a schematic flowchart of another method for managing wireless network sharing software in an embodiment of the present invention, which may include:
  • the apparatus of the present invention obtains parameter values of NT kernel functions that are called when all applications are running.
  • the device of the present invention acquires the first parameter value of the NT kernel function of NtAlpcSendWaitReceivePort when the kernel drives the RPC (Remote Procedure Call Protocol) scheduling task.
  • RPC Remote Procedure Call Protocol
  • S202 Determine, according to the parameter value, a wireless network sharing behavior performed by the wireless network sharing software.
  • the wireless network sharing software includes other software such as WiFi sharing software.
  • the embodiment of the present invention mainly introduces the WiFi sharing software as an object.
  • the wireless network sharing behavior includes two types: 1. Creating an AP (Access Point) hotspot, and then transmitting a connectable WiFi signal; 2. Setting a network share, even if the wireless network adapter that is not connected to the network passes through The network adapter entering the network accesses the network.
  • AP Access Point
  • the device of the present invention can monitor the characteristics of all applications in the kernel of the Windows system, and determine whether the parameter value matches the preset judgment value. If yes, determine that the current application is WiFi sharing software. Create an AP hotspot or set up a network share.
  • the device of the present invention determines whether the first parameter value matches the preset judgment value according to the first parameter value of the NtAlpcSendWaitReceivePort NT kernel function, and if yes, determines that the WiFi sharing software is creating the AP hotspot. Or set up a network share.
  • the device of the present invention intercepts the wireless network sharing behavior when it is known that one or more WiFi sharing software creates an AP hotspot or sets a network sharing behavior. For example, the device of the present invention intercepts this behavior when detecting that multiple WiFi sharing software creates an AP hotspot, that is, prevents all WiFi sharing software from creating an AP hotspot.
  • the device of the present invention determines one of the captured WiFi sharing software as the target WiFi sharing software.
  • the device of the present invention can pop up a selection window to the user through the display screen, and the user selects one of the intercepted WiFi sharing software as the target WiFi sharing software, and the device of the present invention acquires the user's selection, and then determines the target WiFi sharing software.
  • the specific implementation manner of popping the selection window to the user through the display screen may refer to FIG. 5 or FIG. 6 is a schematic diagram of determining a target wireless network sharing software.
  • a dialog box as shown in FIG. 5 pops up, and the user clicks “OK” to select the WiFi sharing software as the target WiFi sharing software.
  • the dialog box shown in Figure 5 can be popped up in turn, and the user selects in turn, with the WiFi sharing software pointed to by the last click of the "OK" dialog box.
  • Target WiFi sharing software can also only pop up the dialog box shown in Figure 6, after the user selects one and clicks "OK", the selected WiFi sharing software will be the target WiFi sharing software.
  • the Windows system may be performing a WiFi sharing software to create an AP hotspot or setting a network sharing behavior.
  • the device of the present invention needs to intercept the WiFi sharing software and the current WiFi sharing.
  • the software identifies one as the target WiFi shareware. For example: Since the response time of the AP hotspot created by different WiFi sharing software exists, the first responding WiFi sharing software may have been determined as the target WiFi sharing software, and when the responding WiFi sharing software creates an AP hotspot, the device of the present invention will be Re-determine a target WiFi shareware in the first and last responding WiFi shareware.
  • the device of the present invention can directly select a WiFi sharing software preset or defaulted by the user as the target WiFi sharing software.
  • the device of the present invention will save the set selection mode, and then directly determine the target WiFi sharing software next time.
  • the device of the present invention allows the target WiFi sharing software to perform the act of creating an AP hotspot or setting a network share, and then the Windows system will run the target WiFi sharing software to create an AP hotspot or set up a network share.
  • the device of the present invention determines whether the current WiFi sharing software is the target WiFi sharing software, and if so, does not operate, and if not, stops the current
  • the WiFi sharing software creates an AP hotspot or sets the behavior of the network share, while performing the target WiFi sharing software performs the act of creating an AP hotspot or setting a network share.
  • the wireless network sharing behavior of the wireless network sharing software is learned and intercepted by the function of the application running the NT kernel function, and only the wireless network sharing software that is the target wireless network sharing software is allowed to perform the wireless network sharing behavior.
  • the method realizes avoiding conflicts between multiple wireless network sharing softwares due to competitive resources, improves stability of wireless network sharing, and provides users with the right to select software for wireless network sharing, thereby improving user experience.
  • FIG. 3 is a schematic flowchart of another method for managing wireless network sharing software according to an embodiment of the present invention, which may include: 5301, Get the task function called when the process runs.
  • the device of the present invention acquires a task function that is called when a process runs in a Windows system.
  • S302 Determine, according to the called task function, a wireless network sharing behavior performed by the wireless network sharing software.
  • the wireless network sharing software includes other software such as WiFi sharing software.
  • the embodiment of the present invention mainly introduces the WiFi sharing software as an object.
  • the wireless network sharing behavior includes two types: 1. Creating an AP (Access Point) hotspot, and then transmitting a connectable WiFi signal; 2. Setting a network share, even if the wireless network adapter that is not connected to the network is connected The network adapter entering the network accesses the network.
  • AP Access Point
  • the device of the present invention utilizes the feature that the process in the Windows system needs to invoke the corresponding task function when executing the corresponding task, and determines whether the current task function is a function related to creating an AP hotspot or setting a network share, and if yes, determining that a WiFi exists.
  • the shareware creates an AP hotspot or sets up a network share through the process.
  • the related functions may be, for example, an EnableSharing function of the INetSharingConfiguration interface, an API (Application Programming Interface) function such as WlanHo stedNetworkS tartU sing, WlanHostedNetworkForceSto, and the like.
  • an EnableSharing function of the INetSharingConfiguration interface an API (Application Programming Interface) function such as WlanHo stedNetworkS tartU sing, WlanHostedNetworkForceSto, and the like.
  • steps S303 to S305 are the same as those of steps S203 to S205 in FIG. 2, and details are not described herein again.
  • the embodiment of the present invention acquires and intercepts the wireless network sharing behavior of the wireless network sharing software by calling the characteristics of the task related function during the running of the process, and only allows the wireless network sharing software determined to be the target wireless network sharing software to perform the wireless network sharing behavior.
  • the method realizes avoiding conflicts caused by competing resources between multiple wireless network sharing softwares, improves stability of wireless network sharing, and provides users with the right to select software for wireless network sharing, thereby improving user experience.
  • FIG. 4 is a schematic structural diagram of an apparatus for managing wireless network sharing software according to an embodiment of the present invention.
  • the device for managing the wireless network sharing software in the embodiment of the present invention may include at least a wireless network sharing behavior intercepting module 410, a target sharing software determining module 420, and a wireless network sharing behavior executing module 430, where:
  • the wireless network sharing behavior intercepting module 410 is configured to intercept a wireless network sharing behavior performed by at least one wireless network sharing software.
  • the wireless network sharing software includes other software such as WiFi sharing software.
  • the embodiment of the present invention mainly introduces the WiFi sharing software as an object.
  • the wireless network sharing behavior includes two types: 1. Creating an AP (Access Point) hotspot, and then transmitting a connectable WiFi signal; 2. Setting a network share, even if the wireless network adapter that is not connected to the network is connected The network adapter entering the network accesses the network.
  • AP Access Point
  • the wireless network sharing behavior intercepting module 410 intercepts the wireless network sharing behavior.
  • the wireless network sharing behavior intercepting module 410 intercepts this behavior, that is, prevents all WiFi sharing software from creating an AP hotspot.
  • the target sharing software determining module 420 is configured to determine the target wireless network sharing software in the at least one wireless network sharing software.
  • the target sharing software determining module 420 determines one of the intercepted WiFi sharing software as the target WiFi sharing software.
  • the target sharing software determining module 420 may pop up a selection window to the user through the display screen, and the user selects one of the intercepted WiFi sharing software as the target WiFi sharing software, and the target sharing software determining module 420 acquires the user's selection, and further Determine the target WiFi sharing software.
  • the target sharing software determining module 420 For a specific implementation manner of popping the selection window to the user through the display screen, refer to a schematic diagram of determining the target wireless network sharing software shown in FIG. 5 or FIG. 6.
  • a dialog box as shown in FIG. 5 pops up, and the user clicks “OK” to select the WiFi sharing software as the target WiFi sharing software.
  • the dialog box shown in Figure 5 can be popped up in turn, and the user selects in turn, with the WiFi sharing software pointed to by the last click of the "OK" dialog box.
  • Target WiFi sharing software can also only pop up the dialog box shown in Figure 6, after the user selects one and clicks "OK", the selected WiFi sharing software will be the target WiFi sharing software.
  • the Windows system may be performing a WiFi sharing software to create an AP hotspot or set a network sharing behavior.
  • the target sharing software determining module 420 needs to intercept the WiFi sharing software and The current WiFi sharing software identifies one as the target WiFi sharing software. For example, the response time of the AP hotspots created by the different WiFi sharing software may be determined, and the first responding WiFi sharing software may have been determined as the target WiFi sharing software.
  • the target sharing software determining module 420 A target WiFi sharing software will be re-determined in the first and last responding WiFi sharing software.
  • the target sharing software determining module 420 can directly select a WiFi sharing software that is preset by the user or default as the target WiFi sharing software.
  • the target sharing software determining module 420 will save the set selection mode, and then directly determine the target WiFi in the next time. Shareware.
  • the wireless network sharing behavior execution module 430 is configured to allow the target wireless network sharing software to perform the wireless network sharing behavior.
  • the wireless network sharing behavior execution module 430 allows the target WiFi sharing software to perform the behavior of creating an AP hotspot or setting a network sharing, and then the Windows system will run the target WiFi sharing software to create an AP hotspot or set up a network. Share.
  • the wireless network sharing behavior execution module 430 determines whether the current WiFi sharing software is the target WiFi sharing software, and if so, does not operate, if not Then, the current AP sharing software creates an AP hotspot or sets the behavior of the network sharing, and performs the behavior of the target WiFi sharing software to create an AP hotspot or set the network sharing.
  • the device for managing the wireless network sharing software in the embodiment of the present invention may further include a parameter value obtaining module 440 and a first obtaining module 450, where:
  • the parameter value obtaining module 440 is configured to obtain a parameter value of the NT kernel function called when the application is running.
  • the parameter value acquisition module 440 obtains the parameter values of the NT kernel functions that are called when all the applications are running. In the specific implementation process, the parameter value obtaining module 440 obtains the first parameter value of the NtAlpcSendWaitReceivePort NT kernel function when the kernel drives the RPC (Remote Procedure Call Protocol) scheduling task.
  • RPC Remote Procedure Call Protocol
  • the first learning module 450 is configured to determine whether the parameter value is consistent with a preset determination value, and if yes, determining that the application is the wireless network sharing software and performing the wireless network sharing behavior, thereby triggering The wireless network sharing behavior intercepting module 410.
  • the first learning module 450 can monitor the characteristics of all the applications by using the kernel of the terminal in the Windows system, and determine whether the parameter value matches the preset judgment value, and if yes, determine that the current application is a WiFi share. Software and creating an AP hotspot or setting up a network share.
  • the first learning module 450 determines, according to the first parameter value of the NT kernel function of the NtAlpcSendWaitReceivePort, whether the first parameter value matches the preset judgment value, and if yes, determines that the WiFi sharing software is created. AP hotspot or set up network sharing.
  • the apparatus for managing the wireless network sharing software in the embodiment of the present invention may further include a function obtaining module 460 and a second obtaining module 470, where:
  • the function obtaining module 460 is configured to acquire a task function that is called when the process is running.
  • the function obtaining module 460 acquires a task function that is called when the process runs in the Windows system.
  • the second learning module 470 is configured to determine whether the task function is a function related to the sharing behavior of the wireless network, and if yes, determining that the wireless network sharing software performs the wireless network sharing behavior by using the process,
  • the wireless network sharing behavior intercepting module 410 is triggered.
  • the second learning module 470 utilizes the feature that the process in the Windows system needs to invoke the corresponding task function when executing the corresponding task, and determines whether the current task function is a function related to creating an AP hotspot or setting a network share, and if yes, determining There is a WiFi sharing software that creates an AP hotspot or sets up a network share through the process.
  • the related functions may be, for example, an EnableSharing function of the INetSharingConfiguration interface, an API (Application Programming Interface) function such as WlanHo stedNetworkS tartU sing, WlanHostedNetworkForceSto, and the like.
  • an EnableSharing function of the INetSharingConfiguration interface an API (Application Programming Interface) function such as WlanHo stedNetworkS tartU sing, WlanHostedNetworkForceSto, and the like.
  • the embodiment of the invention avoids the competition between multiple wireless network sharing software by intercepting the wireless network sharing behavior of the wireless network sharing software and allowing only the wireless network sharing software that is the target wireless network sharing software to perform the wireless network sharing behavior. Conflicts initiated by resources improve the stability of wireless network sharing and provide users with the option of sharing software for wireless networks to enhance the user experience.
  • Embodiments of the present invention also provide a computer readable storage medium comprising computer instructions that, when executed, cause a method of managing wireless network sharing software in accordance with an embodiment of the present invention.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

一种管理无线网共享软件的方法,包括:拦截至少一个无线网共享软件执行的无线网共享行为;在所述至少一个无线网共享软件中确定目标无线网共享软件;允许所述目标无线网共享软件执行所述无线网共享行为。相应地,还公开了一种管理无线网共享软件的装置。采用本方法和装置,可以实现避免多个无线网共享软件之间因竞争资源而发起的冲突,提高无线网共享的稳定性,并向用户提供针对无线网共享软件的选择权,提升用户体验。

Description

管理无线网共享软件的方法和装置
技术领域
本发明涉及计算机技术领域, 尤其涉及一种管理无线网共享软件的方法和装置。 背景技术
随着 WiFi (Wi-Fi Alliance, 无线网络通信联盟) 技术的发展与普及, 越来越多的用户 习惯通过 WiFi让终端连接网络, 因而出现了众多的 WiFi共享软件。 WiFi共享软件可以实 现使计算机对外发射 WiFi信号的 AP (Access Point, 接入点) 热点功能, 同样, 也可以实 现使计算机中未连接网络的无线网络适配器通过已连接网络的网络适配器接入网络的网络 共享功能。但是, 若同一计算机上存在多个不同供应商的 WiFi共享软件, 这些 WiFi共享软 件将会因为竞争资源而冲突。 例如: 实现 AP热点功能时, 多个 WiFi共享软件同时建立不 同的 AP热点, 但无线网络适配器只能建立一个 AP热点, 导致冲突。 又如: 实现网络共享 功能时, 多个 WiFi共享软件同时将多个不同的未连接网络的无线网络适配器通过同一个已 连接网络的网络适配器接入网络,但只有一个未连接网络的无线网络适配器能通过已连接网 络的网络适配器接入网络, 导致冲突。
目前, 一些 WiFi共享软件可通过关闭其它 WiFi共享软件的方法来解决冲突的问题, 但这类方法稳定性差, 并且用户不知情、 不可控, 降低了用户体验。 发明内容
本发明实施例所要解决的技术问题在于, 提供一种管理无线网共享软件的方法和装置, 可以实现避免多个无线网共享软件之间因竞争资源而发起的冲突, 提高无线网共享的稳定 性, 并向用户提供针对无线网共享软件的选择权, 提升用户体验。
为了解决上述技术问题, 本发明实施例提供了一种管理无线网共享软件的方法, 包括: 拦截至少一个无线网共享软件执行的无线网共享行为;
在所述至少一个无线网共享软件中确定目标无线网共享软件;
允许所述目标无线网共享软件执行所述无线网共享行为。
相应地, 本发明实施例还提供了一种管理无线网共享软件的装置, 包括:
无线网共享行为拦截模块, 用于拦截至少一个无线网共享软件执行的无线网共享行为; 目标共享软件确定模块,用于在所述至少一个无线网共享软件中确定目标无线网共享软 件;
无线网共享行为执行模块, 用于允许所述目标无线网共享软件执行所述无线网共享行 为。
实施本发明实施例, 具有如下有益效果: 本发明实施例通过拦截无线网共享软件的无线 网共享行为并仅允许确定为目标无线网共享软件的无线网共享软件执行无线网共享行为的 方法, 实现避免多个无线网共享软件之间因竞争资源而发起的冲突, 提高无线网共享的稳定 性, 并向用户提供针对无线网共享软件的选择权, 提升用户体验。
本发明实施例还提供了一种计算机可读存储介质, 包括计算机指令, 当所述计算机指 令被执行时, 使得执行根据本发明实施例的管理无线网共享软件的方法。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术 描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一 些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些 附图获得其他的附图。
图 1是本发明实施例提供的一种管理无线网共享软件的方法的流程示意图;
图 2是本发明实施例提供的另一种管理无线网共享软件的方法的流程示意图; 图 3是本发明实施例提供的另一种管理无线网共享软件的方法的流程示意图
图 4是本发明实施例提供的一种管理无线网共享软件的装置的结构示意图;
图 5是本发明实施例提供的一种确定目标无线网共享软件的示意图;
图 6是本发明实施例提供的另一种确定目标无线网共享软件的示意图。 具体实施方式
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、完整地描 述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。 基于本发明 中的实施例, 本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。
本发明实施例提供的管理无线网共享软件的方法和装置主要应用于 Windows平台上的 终端, 包括笔记本电脑、 计算机电脑等具备有无线网络适配器的终端。 图 1是本发明实施例中一种管理无线网共享软件的方法的流程示意图。如图所示本实施 例中的管理无线网共享软件的方法的流程可以包括:
S101 , 拦截至少一个无线网共享软件执行的无线网共享行为。
所述无线网共享软件包括 WiFi共享软件等其它软件,本发明实施例主要以 WiFi共享软 件为对象进行介绍。 所述无线网共享行为包括两类: 一、 创建 AP ( Access Point, 接入点) 热点, 进而发射可连接的 WiFi信号; 二、 设置网络共享, 即使未接入网络的无线网络适配 器通过已接入网络的网络适配器接入网络。
具体的, 当检测到一个或多个 WiFi共享软件创建 AP热点或设置网络共享的行为时, 本发明装置将拦截这一无线网共享行为。 例如: 本发明装置在检测到多个 WiFi共享软件创 建 AP热点时, 将拦截这一行为, 即阻止所有的 WiFi共享软件创建 AP热点。
可选的, 检测 WiFi共享软件创建 AP热点或设置网络共享的具体方法可以包括: 方法一: 本发明装置利用在 Windows系统下终端的内核可监控所有应用程序的特点, 获取当前应用程序运行时所调用的 NT内核函数的参数值, 再判断所述参数值是否与预设的 判断值相符合, 若符合, 则确定当前应用程序为 WiFi共享软件且在创建 AP热点或设置网 络共享。
具体实现过程中, 本发明装置在内核驱动 RPC (Remote Procedure Call Protocol, 远程 过程调用协议)调度任务时, 获取 NtAlpcSendWaitReceivePort这一 NT内核函数的第一个参 数值, 判断第一个参数值是否与预设的判断值相符合, 若是, 则确定存在 WiFi共享软件在 创建 AP热点或设置网络共享。
方法二: 本发明装置利用在 Windows系统中进程在执行对应任务时需调用对应的任务 函数的特点, 获取到当前任务函数, 并判断当前任务函数是否为与创建 AP热点或设置网络 共享相关的函数, 若是, 则确定存在 WiFi共享软件通过进程在创建 AP热点或设置网络共 具体实现过程中,本发明装置可根据例如 INetSharingConfiguration接口的 EnableSharing 函数, WlanHo stedNetworkS tartU sing、 WlanHostedNetworkForceSto 等 API ( Application Programming Interface, 应用程序编程接口) 函数判断是否有 WiFi共享软件在创建 AP热点 或设置网络共享。
需要指出的是, 检测方法可有多种实现方式, 以上两种检测方法只是本发明实施例提出 的两种常用实现方式。 S102, 在所述至少一个无线网共享软件中确定目标无线网共享软件。
具体的, 本发明装置在拦截到的 WiFi共享软件中确定一个作为目标 WiFi享软件。 具体实现过程中,本发明装置可通过显示屏向用户弹出选择窗口,用户在拦截到的 WiFi 共享软件中选择一个作为目标 WiFi共享软件, 本发明装置获取用户的选择, 进而确定目标 WiFi共享软件。 其中, 所述通过显示屏向用户弹出选择窗口的具体实现方式可参考图 5或 图 6所示的一种确定目标无线网共享软件的示意图。
例如: 当只拦截到一个 WiFi共享软件的创建 AP热点的行为时, 弹出如图 5所示的对 话框, 用户点击"确定"可选择这一 WiFi共享软件作为目标 WiFi共享软件。 又如: 当拦截到 多个 WiFi共享软件的创建 AP热点行为时, 可依次弹出如图 5所示的对话框, 用户依次选 择, 以最后一个点击"确定"的对话框指向的 WiFi共享软件作为目标 WiFi共享软件; 也可只 弹出如图 6所示的对话框, 用户从中选择一个后点击"确定", 所选的一个 WiFi共享软件将 作为目标 WiFi共享软件。
进一步可选的, 由于拦截到 WiFi共享软件时,可能 Windows系统已经在执行一个 WiFi 共享软件创建 AP热点或设置网络共享的行为, 此时本发明装置需要在拦截到的 WiFi共享 软件和当前 WiFi共享软件中确定一个作为目标 WiFi共享软件。 例如: 由于不同 WiFi共享 软件创建 AP热点的响应时间存在先后, 先响应的 WiFi共享软件可能已被确定为目标 WiFi 共享软件,当后响应的 WiFi共享软件创建 AP热点时,本发明装置将会在先、后响应的 WiFi 共享软件中重新确定一个目标 WiFi共享软件。
另一可选的具体实现过程, 本发明装置还可以直接选择用户预设或默认的一个 WiFi共 享软件作为目标 WiFi共享软件。
例如: 用户在如图 5或 6所示的对话框中勾选了"记住当前选择", 那么本发明装置将保 存这一设定好的选择方式, 进而在下一次直接确定目标 WiFi共享软件。
S 103, 允许所述目标无线网共享软件执行所述无线网共享行为。
具体的,本发明装置允许目标 WiFi共享软件执行创建 AP热点或设置网络共享的行为, 进而 Windows系统将运行目标 WiFi共享软件创建 AP热点或设置网络共享。
特别地, 若当前正在执行一个 WiFi共享软件的创建 AP热点或设置网络共享的行为, 本发明装置将判断当前 WiFi共享软件是否为目标 WiFi共享软件,若是,则不作操作,若否, 则停止当前 WiFi共享软件的创建 AP热点或设置网络共享的行为, 而执行目标 WiFi共享软 件执行创建 AP热点或设置网络共享的行为。
本发明实施例通过拦截无线网共享软件的无线网共享行为并仅允许确定为目标无线网 共享软件的无线网共享软件执行无线网共享行为的方法,实现避免多个无线网共享软件之间 因竞争资源而发起的冲突, 提高无线网共享的稳定性, 并向用户提供针对无线网共享软件的 选择权, 提升用户体验。 图 2是本发明实施例中另一种管理无线网共享软件的方法的流程示意图, 可以包括:
5201 , 获取应用程序运行时所调用的 NT内核函数的参数值。
具体的, 本发明装置获取所有应用程序运行时所调用的 NT内核函数的参数值。
具体实现过程中, 本发明装置在内核驱动 RPC (Remote Procedure Call Protocol, 远程 过程调用协议)调度任务时, 获取 NtAlpcSendWaitReceivePort这一 NT内核函数的第一个参 数值。
5202, 根据所述参数值确定无线网共享软件执行的无线网共享行为。
所述无线网共享软件包括 WiFi共享软件等其它软件,本发明实施例主要以 WiFi共享软 件为对象进行介绍。 所述无线网共享行为包括两类: 一、 创建 AP (Access Point, 接入点) 热点, 进而发射可连接的 WiFi信号; 二、 设置网络共享, 即使未接入网络的无线网络适配 器通过已接入网络的网络适配器接入网络。
具体的, 本发明装置利用在 Windows系统下终端的内核可监控所有应用程序的特点, 判断所述参数值是否与预设的判断值相符合, 若符合, 则确定当前应用程序为 WiFi共享软 件且在创建 AP热点或设置网络共享。
具体实现过程中,本发明装置根据 NtAlpcSendWaitReceivePort这一 NT内核函数的第一 个参数值, 判断第一个参数值是否与预设的判断值相符合, 若是, 则确定存在 WiFi共享软 件在创建 AP热点或设置网络共享。
5203, 拦截至少一个无线网共享软件执行的无线网共享行为。
具体的, 当获知一个或多个 WiFi共享软件创建 AP热点或设置网络共享的行为时, 本 发明装置将拦截这一无线网共享行为。 例如: 本发明装置在检测到多个 WiFi共享软件创建 AP热点时, 将拦截这一行为, 即阻止所有的 WiFi共享软件创建 AP热点。
5204, 在所述至少一个无线网共享软件中确定目标无线网共享软件。
具体的, 本发明装置在拦截到的 WiFi共享软件中确定一个作为目标 WiFi享软件。 具体实现过程中,本发明装置可通过显示屏向用户弹出选择窗口,用户在拦截到的 WiFi 共享软件中选择一个作为目标 WiFi共享软件, 本发明装置获取用户的选择, 进而确定目标 WiFi共享软件。 其中, 所述通过显示屏向用户弹出选择窗口的具体实现方式可参考图 5或 图 6所示的一种确定目标无线网共享软件的示意图。
例如: 当只拦截到一个 WiFi共享软件的创建 AP热点的行为时, 弹出如图 5所示的对 话框, 用户点击"确定"可选择这一 WiFi共享软件作为目标 WiFi共享软件。 又如: 当拦截到 多个 WiFi共享软件的创建 AP热点行为时, 可依次弹出如图 5所示的对话框, 用户依次选 择, 以最后一个点击"确定"的对话框指向的 WiFi共享软件作为目标 WiFi共享软件; 也可只 弹出如图 6所示的对话框, 用户从中选择一个后点击"确定", 所选的一个 WiFi共享软件将 作为目标 WiFi共享软件。
进一步可选的, 由于拦截到 WiFi共享软件时,可能 Windows系统已经在执行一个 WiFi 共享软件创建 AP热点或设置网络共享的行为, 此时本发明装置需要在拦截到的 WiFi共享 软件和当前 WiFi共享软件中确定一个作为目标 WiFi共享软件。 例如: 由于不同 WiFi共享 软件创建 AP热点的响应时间存在先后, 先响应的 WiFi共享软件可能已被确定为目标 WiFi 共享软件,当后响应的 WiFi共享软件创建 AP热点时,本发明装置将会在先、后响应的 WiFi 共享软件中重新确定一个目标 WiFi共享软件。
另一可选的具体实现过程, 本发明装置还可以直接选择用户预设或默认的一个 WiFi共 享软件作为目标 WiFi共享软件。
例如: 用户在如图 5或 6所示的对话框中勾选了"记住当前选择", 那么本发明装置将 保存这一设定好的选择方式, 进而在下一次直接确定目标 WiFi共享软件。
S205, 允许所述目标无线网共享软件执行所述无线网共享行为。
具体的,本发明装置允许目标 WiFi共享软件执行创建 AP热点或设置网络共享的行为, 进而 Windows系统将运行目标 WiFi共享软件创建 AP热点或设置网络共享。
特别地, 若当前正在执行一个 WiFi共享软件的创建 AP热点或设置网络共享的行为, 本发明装置将判断当前 WiFi共享软件是否为目标 WiFi共享软件,若是,则不作操作,若否, 则停止当前 WiFi共享软件的创建 AP热点或设置网络共享的行为, 而执行目标 WiFi共享软 件执行创建 AP热点或设置网络共享的行为。
本发明实施例通过应用程序运行需调用 NT 内核函数的特点来获知并拦截无线网共享 软件的无线网共享行为,且仅允许确定为目标无线网共享软件的无线网共享软件执行无线网 共享行为的方法, 实现避免多个无线网共享软件之间因竞争资源而发起的冲突, 提高无线网 共享的稳定性, 并向用户提供针对无线网共享软件的选择权, 提升用户体验。 图 3是本发明实施例中另一种管理无线网共享软件的方法的流程示意图, 可以包括: 5301 , 获取进程运行时所调用的任务函数。
具体的, 本发明装置获取在 Windows系统中进程运行时调用任务函数。
5302, 根据调用的所述任务函数确定无线网共享软件执行的无线网共享行为。
所述无线网共享软件包括 WiFi共享软件等其它软件,本发明实施例主要以 WiFi共享软 件为对象进行介绍。 所述无线网共享行为包括两类: 一、 创建 AP ( Access Point, 接入点) 热点, 进而发射可连接的 WiFi信号; 二、 设置网络共享, 即使未接入网络的无线网络适配 器通过已接入网络的网络适配器接入网络。
具体的, 本发明装置利用在 Windows系统中进程在执行对应任务时需调用对应的任务 函数的特点, 判断当前任务函数是否为与创建 AP热点或设置网络共享相关的函数, 若是, 则确定存在 WiFi共享软件通过进程在创建 AP热点或设置网络共享。
具体实现过程中,上述相关的函数可例如 INetSharingConfiguration接口的 EnableSharing 函数, WlanHo stedNetworkS tartU sing、 WlanHostedNetworkForceSto 等 API ( Application Programming Interface, 应用程序编程接口) 函数等。
步骤 S303~S305的内容与图 2中步骤 S203~S205的内容相同, 这里不再赘述。
本发明实施例通过进程运行时调用与任务相关的函数的特点来获知并拦截无线网共享 软件的无线网共享行为,且仅允许确定为目标无线网共享软件的无线网共享软件执行无线网 共享行为的方法, 实现避免多个无线网共享软件之间因竞争资源而发起的冲突, 提高无线网 共享的稳定性, 并向用户提供针对无线网共享软件的选择权, 提升用户体验。 图 4是本发明实施例中一种管理无线网共享软件的装置的结构示意图。如图所示本发明 实施例中的管理无线网共享软件的装置至少可以包括无线网共享行为拦截模块 410、 目标共 享软件确定模块 420以及无线网共享行为执行模块 430, 其中:
无线网共享行为拦截模块 410, 用于拦截至少一个无线网共享软件执行的无线网共享行 为。
所述无线网共享软件包括 WiFi共享软件等其它软件,本发明实施例主要以 WiFi共享软 件为对象进行介绍。 所述无线网共享行为包括两类: 一、 创建 AP ( Access Point, 接入点) 热点, 进而发射可连接的 WiFi信号; 二、 设置网络共享, 即使未接入网络的无线网络适配 器通过已接入网络的网络适配器接入网络。
具体的, 当检测到一个或多个 WiFi共享软件创建 AP热点或设置网络共享的行为时, 无线网共享行为拦截模块 410将拦截这一无线网共享行为。例如: 无线网共享行为拦截模块 410在检测到多个 WiFi共享软件创建 AP热点时, 将拦截这一行为, 即阻止所有的 WiFi共 享软件创建 AP热点。
目标共享软件确定模块 420,用于在所述至少一个无线网共享软件中确定目标无线网共 享软件。
具体的,目标共享软件确定模块 420在拦截到的 WiFi共享软件中确定一个作为目标 WiFi 享软件。
具体实现过程中, 目标共享软件确定模块 420可通过显示屏向用户弹出选择窗口, 用户 在拦截到的 WiFi共享软件中选择一个作为目标 WiFi共享软件, 目标共享软件确定模块 420 获取用户的选择, 进而确定目标 WiFi共享软件。 其中, 所述通过显示屏向用户弹出选择窗 口的具体实现方式可参考图 5或图 6所示的一种确定目标无线网共享软件的示意图。
例如: 当只拦截到一个 WiFi共享软件的创建 AP热点的行为时, 弹出如图 5所示的对 话框, 用户点击"确定"可选择这一 WiFi共享软件作为目标 WiFi共享软件。 又如: 当拦截到 多个 WiFi共享软件的创建 AP热点行为时, 可依次弹出如图 5所示的对话框, 用户依次选 择, 以最后一个点击"确定"的对话框指向的 WiFi共享软件作为目标 WiFi共享软件; 也可只 弹出如图 6所示的对话框, 用户从中选择一个后点击"确定", 所选的一个 WiFi共享软件将 作为目标 WiFi共享软件。
进一步可选的, 由于拦截到 WiFi共享软件时,可能 Windows系统已经在执行一个 WiFi 共享软件创建 AP热点或设置网络共享的行为, 此时目标共享软件确定模块 420需要在拦截 到的 WiFi共享软件和当前 WiFi共享软件中确定一个作为目标 WiFi共享软件。 例如: 由于 不同 WiFi共享软件创建 AP热点的响应时间存在先后, 先响应的 WiFi共享软件可能已被确 定为目标 WiFi共享软件, 当后响应的 WiFi共享软件创建 AP热点时, 目标共享软件确定模 块 420将会在先、 后响应的 WiFi共享软件中重新确定一个目标 WiFi共享软件。
另一可选的具体实现过程, 目标共享软件确定模块 420还可以直接选择用户预设或默认 的一个 WiFi共享软件作为目标 WiFi共享软件。
例如: 用户在如图 5或 6所示的对话框中勾选了"记住当前选择", 那么目标共享软件 确定模块 420将保存这一设定好的选择方式, 进而在下一次直接确定目标 WiFi共享软件。
无线网共享行为执行模块 430,用于允许所述目标无线网共享软件执行所述无线网共享 行为。
具体的, 无线网共享行为执行模块 430允许目标 WiFi共享软件执行创建 AP热点或设 置网络共享的行为, 进而 Windows系统将运行目标 WiFi共享软件创建 AP热点或设置网络 共享。
特别地, 若当前正在执行一个 WiFi共享软件的创建 AP热点或设置网络共享的行为, 无线网共享行为执行模块 430将判断当前 WiFi共享软件是否为目标 WiFi共享软件, 若是, 则不作操作, 若否, 则停止当前 WiFi共享软件的创建 AP热点或设置网络共享的行为, 而 执行目标 WiFi共享软件执行创建 AP热点或设置网络共享的行为。
可选的, 请参阅如图 4所示的一种管理无线网共享软件的装置的结构示意图。 如图所 示本发明实施例中的管理无线网共享软件的装置还可以包括参数值获取模块 440和第一获 知模块 450, 其中:
参数值获取模块 440, 用于获取应用程序运行时所调用的 NT内核函数的参数值。
具体的,参数值获取模块 440获取所有应用程序运行时所调用的 NT内核函数的参数值。 具体实现过程中,参数值获取模块 440在内核驱动 RPC( Remote Procedure Call Protocol, 远程过程调用协议)调度任务时, 获取 NtAlpcSendWaitReceivePort这一 NT内核函数的第一 个参数值。
第一获知模块 450, 用于判断所述参数值是否与预设的判断值相符合, 若是, 则确定所 述应用程序为所述无线网共享软件且在执行所述无线网共享行为,进而触发无线网共享行为 拦截模块 410。
具体的, 第一获知模块 450利用在 Windows系统下终端的内核可监控所有应用程序的 特点, 判断所述参数值是否与预设的判断值相符合, 若符合, 则确定当前应用程序为 WiFi 共享软件且在创建 AP热点或设置网络共享。
具体实现过程中, 第一获知模块 450根据 NtAlpcSendWaitReceivePort这一 NT内核函 数的第一个参数值, 判断第一个参数值是否与预设的判断值相符合, 若是, 则确定存在 WiFi 共享软件在创建 AP热点或设置网络共享。
另可选的, 请参阅如图 4所示的一种管理无线网共享软件的装置的结构示意图。 如图 所示本发明实施例中的管理无线网共享软件的装置还可以包括函数获取模块 460和第二获 知模块 470, 其中:
函数获取模块 460, 用于获取进程运行时所调用的任务函数。
具体的, 函数获取模块 460获取在 Windows系统中进程运行时调用任务函数。
第二获知模块 470, 用于判断所述任务函数是否为与所述无线网共享行为相关的函数, 若是, 则确定存在所述无线网共享软件通过所述进程在执行所述无线网共享行为, 进而触发 无线网共享行为拦截模块 410。 具体的, 第二获知模块 470利用在 Windows系统中进程在执行对应任务时需调用对应 的任务函数的特点, 判断当前任务函数是否为与创建 AP热点或设置网络共享相关的函数, 若是, 则确定存在 WiFi共享软件通过进程在创建 AP热点或设置网络共享。
具体实现过程中,上述相关的函数可例如 INetSharingConfiguration接口的 EnableSharing 函数, WlanHo stedNetworkS tartU sing、 WlanHostedNetworkForceSto 等 API ( Application Programming Interface, 应用程序编程接口) 函数等。
本发明实施例通过拦截无线网共享软件的无线网共享行为并仅允许确定为目标无线网 共享软件的无线网共享软件执行无线网共享行为的方法,实现避免多个无线网共享软件之间 因竞争资源而发起的冲突, 提高无线网共享的稳定性, 并向用户提供针对无线网共享软件的 选择权, 提升用户体验。 本发明实施例还提供了一种计算机可读存储介质,包括计算机指令, 当所述计算机指 令被执行时, 使得执行根据本发明实施例的管理无线网共享软件的方法。 本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计 算机程序来指令相关的硬件来完成, 所述的程序可存储于一计算机可读取存储介质中, 该程 序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、 只读存储记忆体(Read-Only Memory, ROM)或随机存储记忆体(Random Access Memory, RAM) 等。
以上所揭露的仅为本发明较佳实施例而已, 当然不能以此来限定本发明之权利范围, 因 此依本发明权利要求所作的等同变化, 仍属本发明所涵盖的范围。

Claims

权利要求书
1、 一种管理无线网共享软件的方法, 其特征在于, 所述方法包括:
拦截至少一个无线网共享软件执行的无线网共享行为;
在所述至少一个无线网共享软件中确定目标无线网共享软件;
允许所述目标无线网共享软件执行所述无线网共享行为。
2、 如权利要求 1所述的方法, 其特征在于, 所述拦截至少一个无线网共享软件执行的 无线网共享行为之前, 还包括:
获取应用程序运行时所调用的 NT内核函数的参数值;
判断所述参数值是否与预设的判断值相符合, 若是, 则确定所述应用程序为所述无线网 共享软件且在执行所述无线网共享行为。
3、 如权利要求 1所述的方法, 其特征在于, 所述拦截至少一个无线网共享软件执行的 无线网共享行为之前, 还包括:
获取进程运行时所调用的任务函数;
判断所述任务函数是否为与所述无线网共享行为相关的函数, 若是, 则确定存在所述无 线网共享软件通过所述进程在执行所述无线网共享行为。
4、 如权利要求 1-3任一项所述的方法, 其特征在于, 所述无线网共享行为包括: 创建接入热点, 进而发射可连接的 WiFi信号; 或
使未接入网络的无线网络适配器通过已接入网络的网络适配器接入网络。
5、 如权利要求 1-4任一项所述的方法, 其特征在于, 所述在所述至少一个无线网共享 软件中确定目标无线网共享软件, 包括:
获取用户当前在所述至少一个无线网共享软件中确定的目标无线网共享软件; 或 获取用户在所述至少一个无线网共享软件中预设或默认的目标无线网共享软件。
6、 一种管理无线网共享软件的装置, 其特征在于, 所述装置包括:
无线网共享行为拦截模块, 用于拦截至少一个无线网共享软件执行的无线网共享行为; 目标共享软件确定模块,用于在所述至少一个无线网共享软件中确定目标无线网共享软 件;
无线网共享行为执行模块, 用于允许所述目标无线网共享软件执行所述无线网共享行 为。
7、 如权利要求 6所述的装置, 其特征在于, 所述装置还包括:
参数值获取模块, 用于获取应用程序运行时所调用的 NT内核函数的参数值; 第一确定模块, 用于判断所述参数值是否与预设的判断值相符合, 若是, 则确定所述应 用程序为所述无线网共享软件且在执行所述无线网共享行为,进而触发无线网共享行为拦截 模块。
8、 如权利要求 6所述的装置, 其特征在于, 所述装置还包括:
函数获取模块, 用于获取进程运行时所调用的任务函数;
第二确定模块,用于判断所述任务函数是否为与所述无线网共享行为相关的函数,若是, 则确定存在所述无线网共享软件通过所述进程在执行所述无线网共享行为,进而触发无线网 共享行为拦截模块。
9、 如权利要求 6-8任一项所述的装置, 其特征在于, 所述无线网共享行为包括: 创建接入热点, 进而发射可连接的 WiFi信号; 或
使未接入网络的无线网络适配器通过已接入网络的网络适配器接入网络。
10、如权利要求 6-9任一项所述的装置,其特征在于,所述目标共享软件确定模块用于: 获取用户当前在所述至少一个无线网共享软件中确定的目标无线网共享软件; 或 获取用户在所述至少一个无线网共享软件中预设或默认的目标无线网共享软件。
11、 一种计算机可读存储介质, 包括计算机指令, 当所述计算机指令被执行时, 使得执 行权利要求 1至 5中任一项所述的管理无线网共享软件的方法。
PCT/CN2014/084387 2014-02-26 2014-08-14 管理无线网共享软件的方法和装置 WO2015127763A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410067200.9A CN103810031B (zh) 2014-02-26 2014-02-26 一种管理无线网共享软件的方法和装置
CN201410067200.9 2014-02-26

Publications (1)

Publication Number Publication Date
WO2015127763A1 true WO2015127763A1 (zh) 2015-09-03

Family

ID=50706843

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/084387 WO2015127763A1 (zh) 2014-02-26 2014-08-14 管理无线网共享软件的方法和装置

Country Status (2)

Country Link
CN (1) CN103810031B (zh)
WO (1) WO2015127763A1 (zh)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103810031B (zh) * 2014-02-26 2017-05-10 珠海市君天电子科技有限公司 一种管理无线网共享软件的方法和装置
CN105682095A (zh) * 2015-12-24 2016-06-15 北京奇虎科技有限公司 基于局域网的无线热点控制方法和装置
CN107438060B (zh) 2016-05-28 2020-12-15 华为技术有限公司 一种网络设备中的远程过程调用方法及网络设备
CN106203092B (zh) * 2016-06-30 2019-12-10 珠海豹趣科技有限公司 一种拦截恶意程序关机的方法、装置及电子设备
CN106210051A (zh) * 2016-07-13 2016-12-07 杨跃龙 一种用户之间直接传播应用程序的方法
CN107370646B (zh) * 2017-07-19 2021-03-12 深圳Tcl数字技术有限公司 网络共享方法、电视及计算机可读存储介质
CN108307464A (zh) * 2018-02-06 2018-07-20 广东欧珀移动通信有限公司 一种WiFi功能的切换方法、装置、移动终端和计算机可读存储介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1310387A (zh) * 2000-02-21 2001-08-29 英业达股份有限公司 资源重复时的动态定位方法
CN1480855A (zh) * 2002-07-31 2004-03-10 ���µ�����ҵ��ʽ���� 信息处理终端和信息处理方法
CN101211393A (zh) * 2006-12-27 2008-07-02 国际商业机器公司 用于控制应用程序对资源的访问的信息处理设备和方法
CN102047214A (zh) * 2008-06-05 2011-05-04 高通股份有限公司 具有对用户接口的前台访问的确定性控制的无线通信装置
WO2012061771A1 (en) * 2010-11-05 2012-05-10 Qualcomm Incorporated Controlling application access to a network
CN103294590A (zh) * 2012-02-28 2013-09-11 腾讯科技(深圳)有限公司 应用程序运行中的处理方法和装置
CN103810031A (zh) * 2014-02-26 2014-05-21 珠海市君天电子科技有限公司 一种管理无线网共享软件的方法和装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2987916B1 (fr) * 2012-03-06 2014-05-09 Freebox Procede d'optimisation d'un ensemble de bibliotheques logicielles partagees, notamment pour un systeme d'exploitation ferme stocke dans le micrologiciel d'un equipement

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1310387A (zh) * 2000-02-21 2001-08-29 英业达股份有限公司 资源重复时的动态定位方法
CN1480855A (zh) * 2002-07-31 2004-03-10 ���µ�����ҵ��ʽ���� 信息处理终端和信息处理方法
CN101211393A (zh) * 2006-12-27 2008-07-02 国际商业机器公司 用于控制应用程序对资源的访问的信息处理设备和方法
CN102047214A (zh) * 2008-06-05 2011-05-04 高通股份有限公司 具有对用户接口的前台访问的确定性控制的无线通信装置
WO2012061771A1 (en) * 2010-11-05 2012-05-10 Qualcomm Incorporated Controlling application access to a network
CN103294590A (zh) * 2012-02-28 2013-09-11 腾讯科技(深圳)有限公司 应用程序运行中的处理方法和装置
CN103810031A (zh) * 2014-02-26 2014-05-21 珠海市君天电子科技有限公司 一种管理无线网共享软件的方法和装置

Also Published As

Publication number Publication date
CN103810031B (zh) 2017-05-10
CN103810031A (zh) 2014-05-21

Similar Documents

Publication Publication Date Title
WO2015127763A1 (zh) 管理无线网共享软件的方法和装置
US9860680B2 (en) Automatic connection of bluetooth human interface devices
US10789096B2 (en) Client live migration for a virtual machine
EP3410759B1 (en) Method and access point for accessing network by internet-of-things device
JP5123176B2 (ja) リモートで生成されたグラフィカルウィンドウへのグラフィカルウィンドウ修正コマンドの適用
EP3635524A1 (en) Connecting multiple mobile devices to a smart home assistant account
US20170116048A1 (en) Operating Method of Routing Device, Routing Device, and Terminal Device
WO2019228344A1 (zh) 资源配置方法、装置、终端及存储介质
KR20130082073A (ko) Wi-fi 설정 및 구성을 위한 방법들 및 시스템들
KR20140123076A (ko) 디바이스 제어 방법 및 장치
US10798752B2 (en) Method and device for executing emergency call
US20140010220A1 (en) Method and apparatus for enabling wireless dockees to find and dock with a wireless docking host being used by another dockee
US9756113B2 (en) Method and apparatus of performing remote command dispatching
WO2017193926A1 (zh) 数据传输方法及装置
WO2022148050A1 (zh) 流量管理、配置流量管理策略的方法、装置、设备及介质
EP3804371A1 (en) Device for wireless communication with other devices
US9477569B2 (en) Windows rally wireless HID device
US11457483B2 (en) Managing connections between a user device and peripheral devices
EP3748492A1 (en) Downloading and launching an app on a second device from a first device
CN115883572A (zh) 外设共享方法及装置
WO2016101281A1 (zh) 一种应用交互方法、装置及终端
US20180034681A1 (en) Transmission control device, transmission control method, and transmission control program
US20230094846A1 (en) Interactive Pre-Boot Intelligence Using Adaptive Row
WO2017219488A1 (zh) 应用接收信息的方法及装置
WO2022104806A1 (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: 14883806

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 19.12.2016)

122 Ep: pct application non-entry in european phase

Ref document number: 14883806

Country of ref document: EP

Kind code of ref document: A1