WO2019042116A1 - Network connection processing method, device and apparatus, and computer storage medium - Google Patents

Network connection processing method, device and apparatus, and computer storage medium Download PDF

Info

Publication number
WO2019042116A1
WO2019042116A1 PCT/CN2018/100208 CN2018100208W WO2019042116A1 WO 2019042116 A1 WO2019042116 A1 WO 2019042116A1 CN 2018100208 W CN2018100208 W CN 2018100208W WO 2019042116 A1 WO2019042116 A1 WO 2019042116A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
configuration file
information
access point
server
Prior art date
Application number
PCT/CN2018/100208
Other languages
French (fr)
Chinese (zh)
Inventor
吴培希
Original Assignee
上海连尚网络科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 上海连尚网络科技有限公司 filed Critical 上海连尚网络科技有限公司
Publication of WO2019042116A1 publication Critical patent/WO2019042116A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0659Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities
    • H04L41/0661Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities by reconfiguring faulty entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition

Definitions

  • the processing unit when configured to modify the connection configuration file saved by the terminal device, specifically: determining whether the user has the right to modify the connection configuration file saved by the terminal device, If yes, performing the modifying the connection configuration file saved by the terminal device.
  • FIG. 1 is a flowchart of a method for processing a network connection according to an embodiment of the present invention.
  • connection configuration file saved in the terminal device that fails to connect to the wifi network is modified.
  • this step when modifying the connection configuration file that is saved in the terminal device and the connection to the wifi network fails, it may first determine whether there is permission to modify the connection configuration file saved by the terminal device, and if so, perform modification to save the terminal device.
  • the connection profile if not, the user is prompted to modify the connection profile saved by the terminal device through the system settings of the terminal device.
  • Application A has the authority to delete the password information of the wifi network in the wificonfig file, which can be modified by the processing unit 22.
  • the application installed here may be other third networked applications, such as the third networked application B, the config created by the other third networked application, and the third party networked application A has no permission to delete, that is, the processing unit 22 cannot to modify.
  • FIG. 3 illustrates a block diagram of an exemplary computer system/server 012 suitable for use in implementing embodiments of the present invention.
  • the computer system/server 012 shown in FIG. 3 is merely an example and should not impose any limitation on the function and scope of use of the embodiments of the present invention.
  • computer system/server 012 is embodied in the form of a general purpose computing device.
  • Components of computer system/server 012 may include, but are not limited to, one or more processors or processing units 016, system memory 028, and bus 018 that connects different system components, including system memory 028 and processing unit 016.

Landscapes

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

Abstract

Provided are a network connection processing method, device and apparatus, and a computer storage medium. The network connection processing method comprises: if a terminal apparatus is detected to have failed to connect to a wireless access point due to an exception found in a connection configuration file, modifying the connection configuration file stored in the terminal apparatus. The technical solution of the present invention can prevent inefficient use of resources of a terminal apparatus, thereby improving performance of the terminal apparatus.

Description

一种网络连接的处理方法、装置、设备和计算机存储介质Method, device, device and computer storage medium for processing network connection 【技术领域】[Technical Field]
本发明涉及计算机应用技术领域,尤其涉及一种网络连接的处理方法、装置、设备和计算机存储介质。The present invention relates to the field of computer application technologies, and in particular, to a method, an apparatus, a device, and a computer storage medium for processing a network connection.
【背景技术】【Background technique】
用户在使用终端设备连接网络时,尤其在使用移动终端设备连接无线网络时,终端设备会保存所连接无线网络的密码,即终端设备会记忆网络。因此会导致以下情况的发生:当用户所输入的密码是错误时,由于该错误密码也会被终端设备保存,终端设备会使用该错误密码进行尝试连接;当所连接无线网络的密码被更改时,终端设备仍然会使用之前保存在终端设备中的密码进行尝试连接。由于上述情况,导致终端设备会使用错误密码不断地进行尝试连接无线网络,从而造成终端设备的资源浪费,并降低终端设备的性能。因此亟需提供一种能够解决上述问题的网络连接的处理方法。When a user connects to the network using a terminal device, especially when the mobile terminal device is used to connect to the wireless network, the terminal device saves the password of the connected wireless network, that is, the terminal device remembers the network. Therefore, the following occurs: when the password entered by the user is an error, since the wrong password is also saved by the terminal device, the terminal device uses the wrong password to attempt to connect; when the password of the connected wireless network is changed, The terminal device will still attempt to connect using the password previously saved in the terminal device. Due to the above situation, the terminal device continuously tries to connect to the wireless network by using the wrong password, thereby causing waste of resources of the terminal device and reducing the performance of the terminal device. Therefore, there is a need to provide a method of processing a network connection that can solve the above problems.
【发明内容】[Summary of the Invention]
有鉴于此,本发明提供了一种网络连接的处理方法、装置、设备和计算机存储介质,用于避免终端设备的资源浪费,提升终端设备的性能。In view of this, the present invention provides a method, an apparatus, a device, and a computer storage medium for processing a network connection, which are used to avoid waste of resources of the terminal device and improve performance of the terminal device.
本发明为解决技术问题所采用的技术方案是提供一种网络连接的处理方法,所述方法包括:检测到终端设备因连接配置文件异常导致连接至无线接入点失败,则修改所述终端设备保存的所述连接配置文件。The technical solution adopted by the present invention to solve the technical problem is to provide a method for processing a network connection, the method comprising: detecting that the terminal device fails to connect to the wireless access point due to an abnormal connection profile, and then modifying the terminal device The saved connection profile.
根据本发明一优选实施例,所述修改所述终端设备保存的所述连接 配置文件包括:判断是否具有修改所述终端设备保存的所述连接配置文件的权限,如果是,则执行所述修改所述终端设备保存的所述连接配置文件。According to a preferred embodiment of the present invention, the modifying the connection configuration file saved by the terminal device comprises: determining whether the permission of the connection configuration file saved by the terminal device is modified, and if yes, performing the modification The connection profile saved by the terminal device.
根据本发明一优选实施例,所述方法还包括:若不具有修改所述终端设备保存的所述连接配置文件权限,则引导用户通过所述终端设备的系统设置修改所述终端设备保存的所述连接配置文件。According to a preferred embodiment of the present invention, the method further includes: if there is no modification to the connection profile permission saved by the terminal device, guiding the user to modify the location saved by the terminal device by using the system setting of the terminal device The connection profile.
根据本发明一优选实施例,所述修改所述终端设备保存的所述连接配置文件包括:删除所述连接配置文件;或者删除所述连接配置文件中的接入信息;或者在所述连接配置文件中写入新的接入信息。According to a preferred embodiment of the present invention, the modifying the connection configuration file saved by the terminal device comprises: deleting the connection configuration file; or deleting access information in the connection configuration file; or in the connection configuration The new access information is written in the file.
根据本发明一优选实施例,修改所述终端设备保存的所述连接配置文件后,该方法还包括:从服务器中重新获取连接所述无线接入点的接入信息;或者,引导用户重新输入连接所述无线接入点的接入信息。According to a preferred embodiment of the present invention, after modifying the connection configuration file saved by the terminal device, the method further includes: re-acquiring the access information of the wireless access point from the server; or guiding the user to re-enter Connecting the access information of the wireless access point.
根据本发明一优选实施例,所述方法还包括:将所述从服务器获取的接入信息或者用户重新输入的接入信息,写入所述终端设备生成连接配置文件。According to a preferred embodiment of the present invention, the method further includes: writing the access information acquired from the server or the access information re-entered by the user to the terminal device to generate a connection configuration file.
根据本发明一优选实施例,所述从服务器中重新获取连接所述无线接入点的接入信息包括:将所述终端设备的位置信息或所述无线接入点的标识信息,发送给所述服务器;接收所述服务器依据所述终端设备的位置信息或所述无线接入点的标识信息确定并发送的连接所述无线接入点的接入信息。According to a preferred embodiment of the present invention, the re-acquiring the access information of the wireless access point from the server includes: sending location information of the terminal device or identification information of the wireless access point to the The server receives the access information of the wireless access point that is determined and sent by the server according to the location information of the terminal device or the identifier information of the wireless access point.
根据本发明一优选实施例,所述方法还包括:若无法从服务器中获取连接所述无线接入点的接入信息,则提示用户当前无线接入点不可用,或者提示用户手动输入接入信息。According to a preferred embodiment of the present invention, the method further includes: if the access information of the wireless access point cannot be obtained from the server, prompting the user that the current wireless access point is unavailable, or prompting the user to manually input the access information.
本发明为解决技术问题所采用的技术方案是提供一种网络连接的处理装置,所述装置包括:检测单元,用于检测到终端设备因连接配置文件异常导致连接至无线接入点失败,则触发处理单元;处理单元,用于 受到所述检测单元触发后,则修改所述终端设备保存的所述连接配置文件。The technical solution adopted by the present invention to solve the technical problem is to provide a network connection processing device, where the device includes: a detecting unit, configured to detect that the terminal device fails to connect to the wireless access point due to an abnormal connection profile, a triggering processing unit, configured to modify the connection configuration file saved by the terminal device after being triggered by the detecting unit.
根据本发明一优选实施例,所述处理单元在用于修改所述终端设备保存的所述连接配置文件时,具体执行:判断是否具有修改所述终端设备保存的所述连接配置文件的权限,如果是,则执行所述修改所述终端设备保存的所述连接配置文件。According to a preferred embodiment of the present invention, when the processing unit is configured to modify the connection configuration file saved by the terminal device, specifically: determining whether the user has the right to modify the connection configuration file saved by the terminal device, If yes, performing the modifying the connection configuration file saved by the terminal device.
根据本发明一优选实施例,所述处理单元还用于执行:若不具有修改所述终端设备保存的所述连接配置文件的权限,则引导用户通过所述终端设备的系统设置修改所述终端设备保存的所述连接配置文件。According to a preferred embodiment of the present invention, the processing unit is further configured to: if there is no permission to modify the connection configuration file saved by the terminal device, guide the user to modify the terminal by using a system setting of the terminal device The connection profile saved by the device.
根据本发明一优选实施例,所述处理单元在修改所述终端设备保存的所述连接配置文件时,具体执行:删除所述连接配置文件;或者删除所述连接配置文件中的接入信息;或者在所述连接配置文件中写入新的接入信息。According to a preferred embodiment of the present invention, the processing unit, when modifying the connection configuration file saved by the terminal device, specifically: deleting the connection configuration file; or deleting access information in the connection configuration file; Or write new access information in the connection profile.
根据本发明一优选实施例,在修改所述终端设备保存的所述连接配置文件后,所述装置还包括获取单元,用于执行:从服务器中重新获取连接所述无线接入点的接入信息;或者,引导用户重新输入连接所述无线接入点的接入信息。According to a preferred embodiment of the present invention, after modifying the connection configuration file saved by the terminal device, the device further includes an obtaining unit, configured to: re-acquire access from the server to connect the wireless access point Information; or, directing the user to re-enter the access information connected to the wireless access point.
根据本发明一优选实施例,所述获取单元还用于执行:将所述从服务器获取的接入信息或者用户重新输入的接入信息,写入所述终端设备生成连接配置文件。According to a preferred embodiment of the present invention, the obtaining unit is further configured to: write the access information acquired by the server or the access information re-entered by the user into the terminal device to generate a connection configuration file.
根据本发明一优选实施例,所述获取单元从服务器获取连接所述无线接入点的接入信息时,具体执行:所述终端设备的位置信息或所述无线接入点的标识信息,发送给所述服务器;接收所述服务器依据所述终端设备的位置信息或所述无线接入点的标识信息确定并发送的连接所述无线接入点的接入信息。According to a preferred embodiment of the present invention, when the acquiring unit acquires the access information of the wireless access point from the server, the acquiring unit specifically performs: sending the location information of the terminal device or the identifier information of the wireless access point, and sending Giving the server; receiving, by the server, the access information of the wireless access point determined and sent according to the location information of the terminal device or the identifier information of the wireless access point.
根据本发明一优选实施例,所述获取单元还用于执行:若无法从服 务器中获取所述无线接入点的接入信息,则提示用户当前无线接入点不可用,或者提示用户手动输入接入信息。According to a preferred embodiment of the present invention, the obtaining unit is further configured to: if the access information of the wireless access point cannot be obtained from the server, prompt the user that the current wireless access point is unavailable, or prompt the user to manually input Access information.
由以上技术方案可以看出,利用本发明所提供的技术方案,在终端设备因连接配置文件异常无法连接无线接入点时,对终端设备中所保存的连接配置文件进行修改,从而避免终端设备的资源浪费,并提高终端设备的性能。It can be seen from the above technical solution that, by using the technical solution provided by the present invention, when the terminal device cannot connect to the wireless access point due to abnormal connection profile, the connection configuration file saved in the terminal device is modified, thereby avoiding the terminal device. The resources are wasted and the performance of the terminal device is improved.
【附图说明】[Description of the Drawings]
图1为本发明一实施例提供的一种网络连接的处理方法流程图。FIG. 1 is a flowchart of a method for processing a network connection according to an embodiment of the present invention.
图2为本发明一实施例提供的一种网络连接的处理装置结构图。FIG. 2 is a structural diagram of a network connection processing apparatus according to an embodiment of the present invention.
图3为本发明一实施例提供的计算机系统/服务器的框图。FIG. 3 is a block diagram of a computer system/server according to an embodiment of the present invention.
【具体实施方式】【Detailed ways】
为了使本发明的目的、技术方案和优点更加清楚,下面结合附图和具体实施例对本发明进行详细描述。The present invention will be described in detail below with reference to the drawings and specific embodiments.
在本发明实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本发明。在本发明实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。The terms used in the embodiments of the present invention are for the purpose of describing particular embodiments only and are not intended to limit the invention. The singular forms "a", "the" and "the"
应当理解,本文中使用的术语“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that the term "and/or" as used herein is merely an association describing the associated object, indicating that there may be three relationships, for example, A and/or B, which may indicate that A exists separately, while A and B, there are three cases of B alone. In addition, the character "/" in this article generally indicates that the contextual object is an "or" relationship.
取决于语境,如在此所使用的词语“如果”可以被解释成为“在......时”或“当......时”或“响应于确定”或“响应于检测”。类似地,取决于语境,短语“如果确定”或“如果检测(陈述的条件或事件)”可以被解释成为“当确定时”或“响应于确定”或“当检测(陈述的条件或事件) 时”或“响应于检测(陈述的条件或事件)”。Depending on the context, the word "if" as used herein may be interpreted as "when" or "when" or "in response to a determination" or "in response to Detection". Similarly, depending on the context, the phrase "if determined" or "if detected (conditions or events stated)" may be interpreted as "when determined" or "in response to determination" or "when detected (stated condition or event) ) or "in response to a test (condition or event stated)".
本发明的核心思想在于,在终端设备连接无线接入点时,检测到终端设备因连接配置文件异常导致连接至无线接入点失败,则修改终端设备中所保存的该连接配置文件。其中,无线接入点主要为诸如提供接入wifi网络的AP、终端设备热点等。为了方便描述,本发明的后续实施例均以接入wifi网络为例进行描述。The core idea of the present invention is to modify the connection configuration file saved in the terminal device when the terminal device connects to the wireless access point and detects that the terminal device fails to connect to the wireless access point due to abnormal connection profile. The wireless access point is mainly an AP that provides access to the wifi network, a hotspot of the terminal device, and the like. For convenience of description, the subsequent embodiments of the present invention are described by taking an access wifi network as an example.
本发明实施例涉及的连接配置文件异常可以是诸如密码等验证信息错误,还可以是其他信息错误。在本发明后续实施例中均以密码错误为例进行描述。The connection profile abnormality involved in the embodiment of the present invention may be a verification information error such as a password, and may also be other information errors. In the subsequent embodiments of the present invention, password errors are taken as an example for description.
图1为本发明一实施例提供的一种网络连接的处理方法流程图,如图1中所示,所述方法包括:FIG. 1 is a flowchart of a method for processing a network connection according to an embodiment of the present invention. As shown in FIG. 1, the method includes:
在101中,对终端设备连接wifi网络的状况进行检测。In 101, the status of the terminal device connected to the wifi network is detected.
本发明实施例中涉及的终端设备可以包括但不限于诸如:智能移动终端、智能家居设备、网络设备、可穿戴式设备、智能医疗设备、PC(个人计算机)等具有wifi网络连接功能的设备。其中智能移动设备可以包括诸如手机、平板电脑、笔记本电脑、PDA(个人数字助理)、互联网汽车等。智能家居设备可以包括智能家电设备,诸如智能电视、智能空调、智能热水器、智能冰箱、智能空气净化器等等。网络设备可以包括诸如交换机、服务器等。可穿戴式设备可以包括诸如智能手表、智能眼镜、智能手环、虚拟现实设备、增强现实设备、混合现实设备(即可以支持虚拟现实和增强现实的设备)等等。智能医疗设备可以包括诸如智能体温计、智能血压仪、智能血糖仪等等。The terminal device involved in the embodiment of the present invention may include, but is not limited to, a device having a wifi network connection function, such as a smart mobile terminal, a smart home device, a network device, a wearable device, a smart medical device, a PC (personal computer). The smart mobile device may include, for example, a mobile phone, a tablet computer, a notebook computer, a PDA (Personal Digital Assistant), an Internet car, and the like. Smart home devices may include smart home appliances such as smart TVs, smart air conditioners, smart water heaters, smart refrigerators, smart air purifiers, and the like. Network devices may include, for example, switches, servers, and the like. Wearable devices may include, for example, smart watches, smart glasses, smart bracelets, virtual reality devices, augmented reality devices, mixed reality devices (ie, devices that can support virtual reality and augmented reality), and the like. Intelligent medical devices may include, for example, smart thermometers, smart blood pressure meters, smart blood glucose meters, and the like.
另外,需要说明的是,本发明所提供方法的的执行主体可以是位于终端设备的应用,或者还可以为位于本地终端的应用中的插件或软件开发工具包(Software Development Kit,SDK)等功能单元。其中应用可以是系统应用,也可以是第三方应用。In addition, it should be noted that the execution body of the method provided by the present invention may be an application located in the terminal device, or may be a plug-in or a software development kit (SDK) in an application of the local terminal. unit. The application can be a system application or a third-party application.
其中,终端设备使用连接配置文件保存用户连接过的wifi网络的标识信息和密码信息,例如,在连接配置文件config中记录无线网络的SSID(Service Set Identifier,服务集标识)和密码信息的对应关系。其中连接配置文件可以是应用级别的,也可以是系统级别的。举例来说,手机中的连接配置文件wificonfig文件会对用户所连接过的wifi网络的SSID和密码进行保存。当手机在检测到有wifi网络时,根据用户所选择的wifi网络的SSID在wificonfig文件中找到对应的密码信息以进行连接。还可以根据手机所检测到的wifi网络的SSID,在wificonfig文件中查找该SSID所对应的密码信息以进行尝试连接。The terminal device uses the connection configuration file to store the identification information and password information of the wifi network that the user has connected. For example, the correspondence between the SSID (Service Set Identifier) and the password information of the wireless network is recorded in the connection configuration file config. . The connection profile can be application level or system level. For example, the connection profile wificonfig file in the phone saves the SSID and password of the wifi network that the user has connected to. When the mobile phone detects that there is a wifi network, the corresponding password information is found in the wificonfig file according to the SSID of the wifi network selected by the user to connect. It is also possible to find the password information corresponding to the SSID in the wificonfig file according to the SSID of the wifi network detected by the mobile phone to try to connect.
当终端设备连接wifi网络时,可以通过调用预设函数检测终端设备连接wifi网络的状态,即通过调用预设函数能够确定该连接配置文件是否异常。例如,手机中安装的第三方连网应用,可以通过调用getReason()函数获取网络连接失败的原因、通过调用isConnected()函数判断是否连接网络、通过调用getType()函数获取网络类型等。上述预设函数可以采用现有技术,在此不进行赘述。终端设备连接wifi网络失败时,可以包括以下几种情况:密码错误、IP地址冲突、网络自身或路由器问题等。上述被调用的函数可以预先对上述各种情况设置不同的标识信息,根据被调用函数所返回的标识信息,能够得到终端设备连接wifi网络失败具体是由哪种情况所引起的,即根据被调用函数返回的标识信息,能够得到该连接配置文件中的异常信息是什么。When the terminal device is connected to the wifi network, the state of the terminal device connected to the wifi network can be detected by calling a preset function, that is, by calling a preset function, it can be determined whether the connection configuration file is abnormal. For example, a third-party networking application installed in a mobile phone can obtain the cause of the network connection failure by calling the getReason() function, determine whether to connect to the network by calling the isConnected() function, and obtain the network type by calling the getType() function. The foregoing preset function may be a prior art and will not be described herein. When the terminal device fails to connect to the wifi network, it can include the following conditions: password error, IP address conflict, network itself or router problem. The above-mentioned called function may set different identification information in advance for the above various situations, and according to the identification information returned by the called function, it may be caused by the failure of the terminal device to connect to the wifi network, which is caused by the situation, that is, according to the called The identification information returned by the function can obtain the abnormal information in the connection configuration file.
在102中,检测到终端设备因连接配置文件异常导致连接wifi网络失败,则修改终端设备中所保存的连接该wifi网络失败的连接配置文件。In 102, if it is detected that the terminal device fails to connect to the wifi network due to the connection profile abnormality, the connection configuration file saved in the terminal device that fails to connect to the wifi network is modified.
如上面所述,终端设备连接wifi网络失败的情况可以存在多种,但本申请中仅关心因密码错误导致连接至wifi网络失败的情况,即连接配置文件异常是由连接配置文件中的密码信息所导致。As described above, there may be multiple cases where the terminal device fails to connect to the wifi network, but in this application, only the connection failure to the wifi network due to a password error is considered, that is, the connection configuration file abnormality is the password information in the connection configuration file. Caused by.
在本步骤中,在修改终端设备中所保存的连接该wifi网络失败的连 接配置文件时,可以首先判断是否具有修改终端设备保存的连接配置文件的权限,如果是,则执行修改终端设备中保存的连接配置文件;如果否,则引导用户通过终端设备的系统设置修改终端设备所保存的连接配置文件。In this step, when modifying the connection configuration file that is saved in the terminal device and the connection to the wifi network fails, it may first determine whether there is permission to modify the connection configuration file saved by the terminal device, and if so, perform modification to save the terminal device. The connection profile; if not, the user is prompted to modify the connection profile saved by the terminal device through the system settings of the terminal device.
在修改终端设备中所保存的连接配置文件时,可以删除连接配置文件,即对终端设备在连接wifi网络失败时的连接配置文件进行删除;也可以为删除连接配置文件中的接入信息,即删除连接配置文件中的密码信息;还可以为在连接配置文件中写入新的接入信息,即在连接配置文件中写入新的密码信息。其中,配置文件中的接入信息即为连接wifi网络的验证信息,例如密码信息。When modifying the connection configuration file saved in the terminal device, the connection configuration file may be deleted, that is, the connection configuration file when the terminal device fails to connect to the wifi network is deleted; or the access information in the connection configuration file may be deleted, that is, Delete the password information in the connection profile; you can also write new access information in the connection profile, that is, write new password information in the connection profile. The access information in the configuration file is the authentication information, such as password information, connected to the wifi network.
其中,对于保存密码信息的连接配置文件config而言,若该config是执行本方法的应用所创建的应用级别的连接配置文件,则该应用通常具有修改该config的权限。但若该config是系统级别的连接配置文件,或者为其他的第三方连网应用所创建的连接配置文件,则通常该第三方连网应用不具有修改该config的权限。例如,若手机中保存有某wifi网络的SSID和密码信息的wificonfig文件,并且该wificonfig文件是由手机中所安装的应用,例如第三方连网应用A所创建的,即认为该第三方连网应用A具有修改wificonfig文件中该wifi网络的密码信息的权限,这里安装的应用,可以是其他第三连网应用,比如第三连网应用B,其他第三连网应用创建的config,第三方连网应用A无权限删除。Wherein, for the connection configuration file config storing the password information, if the config is an application-level connection configuration file created by the application executing the method, the application usually has the right to modify the config. However, if the config is a system-level connection profile or a connection profile created for other third-party networking applications, the third-party networking application usually does not have permission to modify the config. For example, if the wificonfig file of the SSID and password information of a wifi network is stored in the mobile phone, and the wificonfig file is created by an application installed in the mobile phone, such as a third-party network application A, the third party is considered to be connected to the network. Application A has the right to modify the password information of the wifi network in the wificonfig file. The application installed here may be other third network application, such as the third network application B, the config created by the other third network application, and the third party. Networked application A has no permission to delete.
还存在一种情况,即执行本方法的应用预先获取了对连接配置文件config的修改权限,例如,系统对该应用进行了修改config(或者具体为删除该config中密码信息)的预授权。该预授权可以发生在应用安装时,或者发生在该应用第一次需要修改config中的密码信息之前。该预授权也可以在用户干预下实现,例如向用户展现预授权的提示信息,用户确认后即可进行上述预授权。There is also a case where the application executing the method obtains the modification permission of the connection configuration file config in advance, for example, the system performs a pre-authorization on the application to modify the config (or specifically delete the password information in the config). This pre-authorization can occur at the time of application installation or before the application first needs to modify the password information in the config. The pre-authorization can also be implemented under the intervention of the user, for example, the user is presented with the pre-authorization prompt information, and the pre-authorization can be performed after the user confirms.
在修改终端设备中所保存的连接配置文件时,可以利用该wifi网络的SSID与密码信息的对应关系,在终端设备保存密码信息的连接配置文件中,根据所要删除密码信息的wifi网络的SSID,删除对应该SSID的wifi网络的密码信息。When modifying the connection configuration file saved in the terminal device, the correspondence between the SSID and the password information of the wifi network may be utilized, and in the connection configuration file in which the terminal device stores the password information, according to the SSID of the wifi network of the password information to be deleted, Delete the password information of the wifi network corresponding to the SSID.
在103中,重新获取该wifi网络的接入信息,使得终端设备利用重新获取的接入信息尝试连接该wifi网络。In 103, the access information of the wifi network is re-acquired, so that the terminal device attempts to connect to the wifi network by using the re-acquired access information.
在步骤102修改连接配置文件后,例如删除连接配置文件中的该wifi网络的密码信息后,可以重新获取该wifi网络的密码信息,从而使得终端设备重新尝试连接该wifi网络。After the connection configuration file is modified in step 102, for example, the password information of the wifi network in the connection configuration file is deleted, the password information of the wifi network can be re-acquired, so that the terminal device re-attempts to connect to the wifi network.
可选地,重新获取该wifi网络的密码信息时,可以为通过无线网络或者有线网络,从服务器中获取该wifi网络的密码信息。其中,无线网络为不同于该wifi网络的无线网络,例如可以为其他名称的wifi网络、GPRS网络、4G网络等。笔记本电脑、计算机等还可以通过有线网络,从服务器中获取该wifi网络的密码信息。还可以通过引导用户重新输入该wifi网络的密码信息,即在终端设备删除连接配置文件中该wifi网络的密码信息后,提示用户手动输入该wifi网络的新的密码信息。Optionally, when the password information of the wifi network is re-acquired, the password information of the wifi network may be obtained from the server through a wireless network or a wired network. The wireless network is a wireless network different from the wifi network, and may be, for example, a wifi network of another name, a GPRS network, a 4G network, or the like. The laptop, the computer, etc. can also obtain the password information of the wifi network from the server through the wired network. The user can also re-enter the password information of the wifi network by prompting the user to prompt the user to manually input the new password information of the wifi network after the terminal device deletes the password information of the wifi network in the connection configuration file.
在重新获取该wifi网络的密码信息后,将所获得的该密码信息写入连接配置文件中,即在终端设备中完成使用重新获得的密码信息替换已删除的密码信息。After re-acquiring the password information of the wifi network, the obtained password information is written into the connection configuration file, that is, the deleted password information is replaced in the terminal device by using the re-acquired password information.
具体地,终端设备通过服务器获取该wifi网络的密码信息时,可以采用但不限于如下方式:Specifically, when the terminal device acquires the password information of the wifi network through the server, the following manner may be adopted:
第一种方式:终端设备将wifi网络的标识信息上报给服务器,其中wifi网络的标识信息可以包括网络名称、网络标识(例如上述的SSID等)或网络的Mac地址等。在服务器侧可以预先保存有各wifi网络的标识信息及其对应的密码信息,服务器可以根据终端上报的标识信息向该终端设备发送对应的密码信息。The first mode: the terminal device reports the identification information of the wifi network to the server, where the identification information of the wifi network may include a network name, a network identifier (such as the SSID mentioned above), or a Mac address of the network. The server side may pre-store the identification information of each wifi network and its corresponding password information, and the server may send corresponding password information to the terminal device according to the identification information reported by the terminal.
第二种方式:终端设备将自身的位置信息上报给服务器,在服务器侧可以预先保存有各wifi网络的位置信息,wifi网络的位置信息可以体现为:wifi网络接入设备(例如AP)的位置信息,还可以体现为wifi网络的覆盖范围。然后由服务器将距离终端设备位置最近的wifi网络的密码信息发送给该终端设备,或者将覆盖该终端设备位置的wifi网络的密码信息发送给该终端设备。The second mode: the terminal device reports the location information of the terminal to the server, and the location information of each wifi network can be pre-stored on the server side. The location information of the wifi network can be reflected as: the location of the wifi network access device (for example, an AP). Information can also be reflected in the coverage of the wifi network. Then, the server sends the password information of the wifi network closest to the location of the terminal device to the terminal device, or sends the password information of the wifi network covering the location of the terminal device to the terminal device.
第三种方式:终端设备将wifi网络的标识信息和自身的位置信息上报给服务器,然后由服务器将距离终端设备最近的该wifi网络的标识信息所对应的密码信息发送给该终端设备,或者将覆盖该终端设备位置的该wifi网络的标识信息所对应的密码信息发送给该终端设备。The third mode: the terminal device reports the identification information of the wifi network and the location information of the wifi network to the server, and then the server sends the password information corresponding to the identification information of the wifi network closest to the terminal device to the terminal device, or The password information corresponding to the identification information of the wifi network that covers the location of the terminal device is sent to the terminal device.
若终端设备无法通过服务器获得对应wifi网络的密码信息,则提示用户当前所连接的wifi网络不可用,或者提示用户手动输入该wifi网络的密码信息。If the terminal device cannot obtain the password information of the corresponding wifi network through the server, the user is prompted that the currently connected wifi network is unavailable, or prompts the user to manually input the password information of the wifi network.
通过以上描述,列举一个本发明所描述实施例的应用场景:Through the above description, an application scenario of the described embodiment of the present invention is enumerated:
终端设备尝试连接网络名称为A的wifi网络,该终端设备所安装并运行的应用,以第三方连网应用A为例,检测终端设备对wifi网络A的连接状况信息。若检测到该终端设备由于连接配置文件中的密码错误无法连接至wifi网络A时,则使用本发明实施例所提供的方法,第三方连网应用A删除该终端设备已保存的由第三连网应用A创建的连接配置文件中对应wifi网络A的密码信息,并通过服务器重新获取wifi网络A的密码信息,在将重新获取的密码信息写入连接配置文件中后,终端设备尝试重新连接wifi网络A。这样就避免了由于终端设备保存的wifi网络A的密码信息错误却依旧频繁地使用错误密码尝试连接网络,降低了对终端设备资源的浪费以及对终端设备性能的影响。The terminal device attempts to connect to the wifi network whose network name is A. The application installed and running by the terminal device uses the third-party network application A as an example to detect the connection status information of the terminal device to the wifi network A. If it is detected that the terminal device cannot be connected to the wifi network A due to a password error in the connection configuration file, the method provided by the embodiment of the present invention is used, and the third-party network application A deletes the third connection that has been saved by the terminal device. The connection profile created by the network application A corresponds to the password information of the wifi network A, and the password information of the wifi network A is re-acquired by the server. After the re-acquired password information is written into the connection configuration file, the terminal device attempts to reconnect the wifi. Network A. In this way, the password information of the wifi network A saved by the terminal device is avoided, but the wrong password is still frequently used to try to connect to the network, which reduces the waste of the terminal device resources and the impact on the performance of the terminal device.
鉴于本发明的核心思想,图2给出本发明一实施例所提供的网络连接的处理装置结构图,如图2中所示,所述装置包括:检测单元21、处理单 元22以及获取单元23。In view of the core idea of the present invention, FIG. 2 is a structural diagram of a processing device for network connection according to an embodiment of the present invention. As shown in FIG. 2, the device includes: a detecting unit 21, a processing unit 22, and an obtaining unit 23. .
检测单元21,用于对终端设备连接wifi网络的状况进行检测。The detecting unit 21 is configured to detect a situation in which the terminal device is connected to the wifi network.
其中,终端设备使用连接配置文件保存用户连接过的wifi网络的标识信息和密码信息。例如,在连接配置文件config中记录无线网络的SSID(Service Set Identifier,服务集标识)和密码信息的对应关系。其中连接配置文件可以是应用级别的,也可以是系统级别的。举例来说,手机中的连接配置文件wificonfig文件会对用户所连接过的wifi网络的SSID和密码进行保存。当手机在检测到有wifi网络时,可以为根据用户所选择的wifi网络的SSID在wificonfig文件中找到对应的密码信息以进行连接。还可以为根据手机所检测到的wifi网络的SSID,在wificonfig文件中查找该SSID所对应的密码信息以进行尝试连接。The terminal device uses the connection configuration file to save the identification information and password information of the wifi network that the user has connected. For example, the correspondence between the SSID (Service Set Identifier) and the password information of the wireless network is recorded in the connection configuration file config. The connection profile can be application level or system level. For example, the connection profile wificonfig file in the phone saves the SSID and password of the wifi network that the user has connected to. When the mobile phone detects that there is a wifi network, it can find the corresponding password information in the wificonfig file according to the SSID of the wifi network selected by the user to connect. It is also possible to find the password information corresponding to the SSID in the wificonfig file according to the SSID of the wifi network detected by the mobile phone to try to connect.
当终端设备进行wifi网络的连接时,检测单元21可以通过调用预设函数检测终端设备的wifi网络的连接状态,即通过调用预设函数确定该wifi网络的连接配置文件是否异常。例如,可以通过调用getReason()函数获取网络连接失败的原因、通过调用isConnected()函数判断是否连接网络、通过调用getType()函数获取网络类型等。上述预设函数可以采用现有技术,在此不进行赘述。终端设备连接wifi网络失败时,可以包括以下几种情况:密码错误、IP地址冲突、网络自身或路由器问题等。上述被调用的函数可以预先对上述各种情况设置不同的标识信息,根据被调用函数所返回的标识信息,能够得到终端设备连接wifi网络失败具体是由哪种情况所引起的,即根据被调用函数返回的标识信息,检测单元21能够得到连接wifi网络失败的连接配置文件中的异常信息是什么。When the terminal device performs the connection of the wifi network, the detecting unit 21 may detect the connection state of the wifi network of the terminal device by calling a preset function, that is, determining whether the connection configuration file of the wifi network is abnormal by calling a preset function. For example, you can get the cause of the network connection failure by calling the getReason() function, determine whether to connect to the network by calling the isConnected() function, and obtain the network type by calling the getType() function. The foregoing preset function may be a prior art and will not be described herein. When the terminal device fails to connect to the wifi network, it can include the following conditions: password error, IP address conflict, network itself or router problem. The above-mentioned called function may set different identification information in advance for the above various situations, and according to the identification information returned by the called function, it may be caused by the failure of the terminal device to connect to the wifi network, which is caused by the situation, that is, according to the called The identification information returned by the function, the detecting unit 21 can obtain what the abnormality information in the connection profile failed to connect to the wifi network.
处理单元22,用于检测到终端设备因连接配置文件异常导致连接至wifi网络失败,则修改终端设备中所保存的连接该wifi网络失败的连接配置文件。The processing unit 22 is configured to detect that the terminal device fails to connect to the wifi network due to the connection profile abnormality, and then modify the connection configuration file saved in the terminal device to connect to the wifi network.
如上面所述,终端设备连接wifi网络失败的情况可以存在多种,但本 申请中仅关心因密码错误导致连接wifi网络失败的情况,即连接配置文件异常是由连接配置文件中的密码信息所导致的。As described above, there may be multiple cases in which the terminal device fails to connect to the wifi network, but in this application, only the connection failure of the wifi network due to a password error is concerned, that is, the connection configuration file abnormality is determined by the password information in the connection configuration file. Caused.
处理单元22在用于修改终端设备中所保存的连接wifi网络失败的连接配置文件时,可以首先判断是否具有修改终端设备保存的连接配置文件的权限,如果是,则处理单元22执行修改终端设备中保存的连接配置文件;如果否,则处理单元22引导用户通过终端设备的系统设置修改终端设备所保存的连接配置文件。When the processing unit 22 is configured to modify the connection configuration file of the connection wifi network that is saved in the terminal device, it may first determine whether there is permission to modify the connection configuration file saved by the terminal device, and if so, the processing unit 22 performs the modification of the terminal device. The saved connection profile is saved; if not, the processing unit 22 directs the user to modify the connection profile saved by the terminal device through the system settings of the terminal device.
处理单元22在用于修改终端设备中所保存的连接配置文件时,可以删除连接配置文件,即对终端设备在连接wifi网络失败时的连接配置文件进行删除;也可以为删除连接配置文件中的接入信息,即删除连接配置文件中的密码信息;还可以为在连接配置文件中写入新的接入信息,即在连接配置文件中写入新的密码信息。其中,配置文件中的接入信息即为连接wifi网络的验证信息,例如密码信息。When the processing unit 22 is configured to modify the connection configuration file saved in the terminal device, the connection configuration file may be deleted, that is, the connection configuration file when the terminal device fails to connect to the wifi network is deleted; or the connection configuration file may be deleted. Access information, that is, delete the password information in the connection profile; you can also write new access information in the connection profile, that is, write new password information in the connection profile. The access information in the configuration file is the authentication information, such as password information, connected to the wifi network.
其中,对于保存密码信息的连接配置文件config而言,若该config是执行本方法的应用所创建的应用级别的连接配置文件,则该应用通常具有修改该config的权限。但若该config是系统级别的连接配置文件,或者为其他的第三方连网应用所创建的连接配置文件,则通常该第三方连网应用不具有修改该config的权限。例如,若手机中保存有某wifi网络的SSID和密码信息的wificonfig文件,并且该wificonfig文件是由手机中所安装的应用,例如第三方连网应用A所创建的,即认为该第三方连网应用A具有删除wificonfig文件中该wifi网络的密码信息的权限,可以由处理单元22对其进行修改。这里安装的应用,可以是其他第三连网应用,比如第三连网应用B,其他第三连网应用创建的config,第三方连网应用A则无权限删除,即处理单元22无法对其进行修改。Wherein, for the connection configuration file config storing the password information, if the config is an application-level connection configuration file created by the application executing the method, the application usually has the right to modify the config. However, if the config is a system-level connection profile or a connection profile created for other third-party networking applications, the third-party networking application usually does not have permission to modify the config. For example, if the wificonfig file of the SSID and password information of a wifi network is stored in the mobile phone, and the wificonfig file is created by an application installed in the mobile phone, such as a third-party network application A, the third party is considered to be connected to the network. Application A has the authority to delete the password information of the wifi network in the wificonfig file, which can be modified by the processing unit 22. The application installed here may be other third networked applications, such as the third networked application B, the config created by the other third networked application, and the third party networked application A has no permission to delete, that is, the processing unit 22 cannot to modify.
还存在一种情况,即执行本方法的应用预先获取了对连接配置文件config的修改权限,例如,系统对该应用进行了修改config(或者具体为 删除该config中密码信息)的预授权。该预授权可以发生在应用安装时,或者发生在该应用第一次需要修改config中的密码信息之前。该预授权也可以在用户干预下实现,例如向用户展现预授权的提示信息,用户确认后即可进行上述预授权。处理单元22可以对获取了预授权的连接配置文件config中的密码信息进行修改。There is also a case where the application executing the method obtains the modification permission of the connection configuration file config in advance, for example, the system performs a pre-authorization on the application to modify the config (or specifically delete the password information in the config). This pre-authorization can occur at the time of application installation or before the application first needs to modify the password information in the config. The pre-authorization can also be implemented under the intervention of the user, for example, the user is presented with the pre-authorization prompt information, and the pre-authorization can be performed after the user confirms. The processing unit 22 can modify the password information in the connection configuration file config that has obtained the pre-authorization.
在处理单元22修改终端设备中所保存的连接配置文件时,可以通过利用该wifi网络的SSID与密码信息的对应关系,在终端设备保存密码信息的连接配置文件中,根据所要删除密码信息的wifi网络的SSID,删除对应该SSID的wifi网络的密码信息。When the processing unit 22 modifies the connection configuration file saved in the terminal device, the wifi of the password information to be deleted may be used in the connection configuration file in which the terminal device stores the password information by using the correspondence between the SSID and the password information of the wifi network. The SSID of the network deletes the password information of the wifi network corresponding to the SSID.
获取单元23,用于重新获取该wifi网络的接入信息,使得终端设备利用重新获取的接入信息尝试连接该wifi网络。The obtaining unit 23 is configured to re-acquire access information of the wifi network, so that the terminal device attempts to connect to the wifi network by using the re-acquired access information.
在处理单元22修改连接配置文件后,例如删除连接配置文件中的该wifi网络的密码信息后,可以由获取单元23重新获取该wifi网络的密码信息,从而使得终端设备重新尝试连接至该wifi网络。After the processing unit 22 modifies the connection configuration file, for example, deletes the password information of the wifi network in the connection configuration file, the acquisition unit 23 can re-acquire the password information of the wifi network, so that the terminal device re-attempts to connect to the wifi network. .
可选地,获取单元23在重新获取该wifi网络的密码信息时,可以为通过无线网络或者有线网络,从服务器中获取该wifi网络的密码信息。其中,无线网络为不同于该wifi的无线网络,可以为其他名称的wifi网络、GPRS网络、4G网络等。笔记本电脑、计算机等还可以通过有线网络,从服务器中获取该wifi网络的密码信息。还可以通过引导用户重新输入该wifi网络的密码信息,即在终端设备删除连接配置文件中该wifi网络的密码信息后,提示用户手动输入该wifi网络的新的密码信息。Optionally, the obtaining unit 23 may obtain the password information of the wifi network from the server by using a wireless network or a wired network when re-acquiring the password information of the wifi network. The wireless network is a wireless network different from the wifi, and may be a wifi network, a GPRS network, a 4G network, or the like of other names. The laptop, the computer, etc. can also obtain the password information of the wifi network from the server through the wired network. The user can also re-enter the password information of the wifi network by prompting the user to prompt the user to manually input the new password information of the wifi network after the terminal device deletes the password information of the wifi network in the connection configuration file.
在重新获取该wifi网络的密码信息后,获取单元23还用于执行:将所获得的密码信息写入连接配置文件中,即在终端设备中使用该密码信息替换已删除的密码信息,并使用该重新获得的密码信息尝试连接wifi网络。After re-acquiring the password information of the wifi network, the obtaining unit 23 is further configured to: write the obtained password information into the connection configuration file, that is, replace the deleted password information with the password information in the terminal device, and use The retrieved password information attempts to connect to the wifi network.
具体地,获取单元23在用于终端设备通过服务器获取该wifi网络的 密码信息时,可以采用但不限于如下方式:Specifically, the obtaining unit 23 may be used in the following manner when the terminal device obtains the password information of the wifi network through the server:
第一种方式:终端设备将wifi网络的标识信息上报给服务器,其中wifi网络的标识信息可以包括网络名称、网络标识(例如上述的SSID等)或网络的Mac地址等。在服务器侧可以预先保存有各wifi网络的标识信息及其对应的密码信息,服务器可以根据终端上报的标识信息向该终端设备发送对应的密码信息。The first mode: the terminal device reports the identification information of the wifi network to the server, where the identification information of the wifi network may include a network name, a network identifier (such as the SSID mentioned above), or a Mac address of the network. The server side may pre-store the identification information of each wifi network and its corresponding password information, and the server may send corresponding password information to the terminal device according to the identification information reported by the terminal.
第二种方式:终端设备将自身的位置信息上报给服务器,在服务器侧可以预先保存有各wifi网络的位置信息,wifi网络的位置信息可以体现为:wifi网络接入设备(例如AP)的位置信息,还可以体现为wifi网络的覆盖范围。然后由服务器将距离终端设备位置最近的wifi网络的密码信息发送给该终端设备,或者将覆盖该终端设备位置的wifi网络的密码信息发送给该终端设备。The second mode: the terminal device reports the location information of the terminal to the server, and the location information of each wifi network can be pre-stored on the server side. The location information of the wifi network can be reflected as: the location of the wifi network access device (for example, an AP). Information can also be reflected in the coverage of the wifi network. Then, the server sends the password information of the wifi network closest to the location of the terminal device to the terminal device, or sends the password information of the wifi network covering the location of the terminal device to the terminal device.
第三种方式:终端设备将wifi网络的标识信息和自身的位置信息上报给服务器,然后由服务器将距离终端设备最近的该wifi网络的标识信息所对应的密码信息发送给该终端设备,或者将覆盖该终端设备位置的该wifi网络的标识信息所对应的密码信息发送给该终端设备。The third mode: the terminal device reports the identification information of the wifi network and the location information of the wifi network to the server, and then the server sends the password information corresponding to the identification information of the wifi network closest to the terminal device to the terminal device, or The password information corresponding to the identification information of the wifi network that covers the location of the terminal device is sent to the terminal device.
若终端设备无法通过服务器获得对应wifi网络的密码信息,则获取单元23提示用户当前所连接的wifi网络不可用,或者提示用户手动输入该wifi网络的密码信息。If the terminal device cannot obtain the password information of the corresponding wifi network through the server, the obtaining unit 23 prompts the user that the currently connected wifi network is unavailable, or prompts the user to manually input the password information of the wifi network.
图3示出了适于用来实现本发明实施方式的示例性计算机系统/服务器012的框图。图3显示的计算机系统/服务器012仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。FIG. 3 illustrates a block diagram of an exemplary computer system/server 012 suitable for use in implementing embodiments of the present invention. The computer system/server 012 shown in FIG. 3 is merely an example and should not impose any limitation on the function and scope of use of the embodiments of the present invention.
如图3所示,计算机系统/服务器012以通用计算设备的形式表现。计算机系统/服务器012的组件可以包括但不限于:一个或者多个处理器或者处理单元016,系统存储器028,连接不同系统组件(包括系统存储器028和处理单元016)的总线018。As shown in FIG. 3, computer system/server 012 is embodied in the form of a general purpose computing device. Components of computer system/server 012 may include, but are not limited to, one or more processors or processing units 016, system memory 028, and bus 018 that connects different system components, including system memory 028 and processing unit 016.
总线018表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(ISA)总线,微通道体系结构(MAC)总线,增强型ISA总线、视频电子标准协会(VESA)局域总线以及外围组件互连(PCI)总线。 Bus 018 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of a variety of bus structures. For example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA Bus, a Video Electronics Standards Association (VESA) local bus, and peripheral component interconnects ( PCI) bus.
计算机系统/服务器012典型地包括多种计算机系统可读介质。这些介质可以是任何能够被计算机系统/服务器012访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。Computer system/server 012 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by computer system/server 012, including volatile and non-volatile media, removable and non-removable media.
系统存储器028可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(RAM)030和/或高速缓存存储器032。计算机系统/服务器012可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统034可以用于读写不可移动的、非易失性磁介质(图3未显示,通常称为“硬盘驱动器”)。尽管图3中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如CD-ROM,DVD-ROM或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线018相连。存储器028可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本发明各实施例的功能。 System memory 028 can include computer system readable media in the form of volatile memory, such as random access memory (RAM) 030 and/or cache memory 032. Computer system/server 012 may further include other removable/non-removable, volatile/non-volatile computer system storage media. By way of example only, storage system 034 can be used to read and write non-removable, non-volatile magnetic media (not shown in Figure 3, commonly referred to as a "hard disk drive"). Although not shown in FIG. 3, a disk drive for reading and writing to a removable non-volatile disk (such as a "floppy disk"), and a removable non-volatile disk (such as a CD-ROM, DVD-ROM) may be provided. Or other optical media) read and write optical drive. In these cases, each drive can be coupled to bus 018 via one or more data medium interfaces. Memory 028 can include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of various embodiments of the present invention.
具有一组(至少一个)程序模块042的程序/实用工具040,可以存储在例如存储器028中,这样的程序模块042包括——但不限于——操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块042通常执行本发明所描述的实施例中的功能和/或方法。Program/utility 040 having a set (at least one) of program modules 042, which may be stored, for example, in memory 028, such program module 042 includes, but is not limited to, an operating system, one or more applications, other programs Modules and program data, each of these examples or some combination may include an implementation of a network environment. Program module 042 typically performs the functions and/or methods of the embodiments described herein.
计算机系统/服务器012也可以与一个或多个外部设备014(例如键 盘、指向设备、显示器024等)通信,在本发明中,计算机系统/服务器012与外部雷达设备进行通信,还可与一个或者多个使得用户能与该计算机系统/服务器012交互的设备通信,和/或与使得该计算机系统/服务器012能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口022进行。并且,计算机系统/服务器012还可以通过网络适配器020与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器020通过总线018与计算机系统/服务器012的其它模块通信。应当明白,尽管图中未示出,可以结合计算机系统/服务器012使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。The computer system/server 012 can also be in communication with one or more external devices 014 (eg, a keyboard, pointing device, display 024, etc.), in which the computer system/server 012 communicates with an external radar device, and can also A plurality of devices that enable a user to interact with the computer system/server 012, and/or any device (eg, a network card, modem, etc.) that enables the computer system/server 012 to communicate with one or more other computing devices Communication. This communication can take place via an input/output (I/O) interface 022. Also, computer system/server 012 can also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) via network adapter 020. As shown, network adapter 020 communicates with other modules of computer system/server 012 via bus 018. It should be understood that although not shown in the figures, other hardware and/or software modules may be utilized in connection with computer system/server 012, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, Tape drives and data backup storage systems.
处理单元016通过运行存储在系统存储器028中的程序,从而执行各种功能应用以及数据处理,例如实现一种网络连接的处理方法,可以包括:The processing unit 016, by executing the program stored in the system memory 028, performs various function applications and data processing, for example, a method for processing a network connection, which may include:
检测到终端设备因连接配置文件异常导致连接无线接入点失败,则修改所述终端设备保存的所述连接配置文件。If the terminal device fails to connect to the wireless access point due to the connection profile abnormality, the connection configuration file saved by the terminal device is modified.
上述的计算机程序可以设置于计算机存储介质中,即该计算机存储介质被编码有计算机程序,该程序在被一个或多个计算机执行时,使得一个或多个计算机执行本发明上述实施例中所示的方法流程和/或装置操作。例如,被上述一个或多个处理器执行的方法流程,可以包括:The computer program described above may be provided in a computer storage medium encoded with a computer program that, when executed by one or more computers, causes one or more computers to perform the embodiment of the invention described above Method flow and/or device operation. For example, the method flow executed by one or more of the above processors may include:
检测到终端设备因连接配置文件异常导致连接无线接入点失败,则修改所述终端设备保存的所述连接配置文件。If the terminal device fails to connect to the wireless access point due to the connection profile abnormality, the connection configuration file saved by the terminal device is modified.
随着时间、技术的发展,介质含义越来越广泛,计算机程序的传播途径不再受限于有形介质,还可以直接从网络下载等。可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是——但不限 于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。With the development of time and technology, the meaning of media is more and more extensive. The transmission route of computer programs is no longer limited by tangible media, and can also be downloaded directly from the network. Any combination of one or more computer readable media can be utilized. The computer readable medium can be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (non-exhaustive lists) of computer readable storage media include: electrical connections having one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read only memory (ROM), Erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium can be any tangible medium that can contain or store a program, which can be used by or in connection with an instruction execution system, apparatus or device.
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括——但不限于——电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer readable signal medium may include a data signal that is propagated in the baseband or as part of a carrier, carrying computer readable program code. Such propagated data signals can take a variety of forms including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing. The computer readable signal medium can also be any computer readable medium other than a computer readable storage medium, which can transmit, propagate, or transport a program for use by or in connection with the instruction execution system, apparatus, or device. .
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于——无线、电线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a computer readable medium can be transmitted by any suitable medium, including but not limited to wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言或其组合来编写用于执行本发明操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言-诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言-诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for performing the operations of the present invention may be written in one or more programming languages, or a combination thereof, including an object oriented programming language - such as Java, Smalltalk, C++, and also conventional. Procedural programming language - such as the "C" language or a similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer, partly on the remote computer, or entirely on the remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (eg, using an Internet service provider to access the Internet) connection).
通过本发明所提供的技术方案,在终端设备因连接配置文件异常而无法连接无线接入点时,修改终端设备中所保存的连接配置文件,从而避免终端设备的资源浪费,提高终端设备的性能。The technical solution provided by the present invention modifies the connection configuration file saved in the terminal device when the terminal device cannot connect to the wireless access point due to the connection configuration file abnormality, thereby avoiding waste of resources of the terminal device and improving performance of the terminal device. .
在本发明所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In the several embodiments provided by the present invention, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division, and the actual implementation may have another division manner.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium. The above software functional unit is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to perform the methods of the various embodiments of the present invention. Part of the steps. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. .
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明保护的范围之内。The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalents, improvements, etc., which are made within the spirit and principles of the present invention, should be included in the present invention. Within the scope of protection.

Claims (18)

  1. 一种网络连接的处理方法,其特征在于,所述方法包括:A method for processing a network connection, characterized in that the method comprises:
    检测到终端设备因连接配置文件异常导致连接无线接入点失败,则修改所述终端设备保存的所述连接配置文件。If the terminal device fails to connect to the wireless access point due to the connection profile abnormality, the connection configuration file saved by the terminal device is modified.
  2. 根据权利要求1所述的方法,其特征在于,所述修改所述终端设备保存的所述连接配置文件包括:The method according to claim 1, wherein the modifying the connection profile saved by the terminal device comprises:
    判断是否具有修改所述终端设备保存的所述连接配置文件的权限,如果是,则执行所述修改所述终端设备保存的所述连接配置文件。Determining whether there is permission to modify the connection configuration file saved by the terminal device, and if yes, performing the modifying the connection configuration file saved by the terminal device.
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括:The method of claim 2, wherein the method further comprises:
    若不具有修改所述终端设备保存的所述连接配置文件的权限,则引导用户通过所述终端设备的系统设置修改所述终端设备保存的所述连接配置文件。If the permission of the connection configuration file saved by the terminal device is not modified, the user is guided to modify the connection configuration file saved by the terminal device by using the system setting of the terminal device.
  4. 根据权利要求1所述的方法,其特征在于,所述修改所述终端设备保存的所述连接配置文件包括:The method according to claim 1, wherein the modifying the connection profile saved by the terminal device comprises:
    删除所述连接配置文件;或者Delete the connection profile; or
    删除所述连接配置文件中的接入信息;或者Delete the access information in the connection profile; or
    在所述连接配置文件中写入新的接入信息。New access information is written in the connection profile.
  5. 根据权利要求1所述的方法,其特征在于,修改所述终端设备保存的所述连接配置文件后,该方法还包括:The method according to claim 1, wherein after modifying the connection configuration file saved by the terminal device, the method further includes:
    从服务器中重新获取连接所述无线接入点的接入信息;或者,Retrieving access information of the wireless access point from the server; or
    引导用户重新输入连接所述无线接入点的接入信息。The user is guided to re-enter the access information connected to the wireless access point.
  6. 根据权利要求5所述的方法,其特征在于,所述方法还包括:The method of claim 5, wherein the method further comprises:
    将所述从服务器获取的接入信息或者用户重新输入的接入信息,写入所述终端设备生成连接配置文件。The access information acquired from the server or the access information re-entered by the user is written into the terminal device to generate a connection profile.
  7. 根据权利要求5所述的方法,其特征在于,所述从服务器中重新 获取连接所述无线接入点的接入信息包括:The method according to claim 5, wherein the re-acquiring access information of the wireless access point from the server comprises:
    将所述终端设备的位置信息或所述无线接入点的标识信息,发送给所述服务器;Sending the location information of the terminal device or the identifier information of the wireless access point to the server;
    接收所述服务器依据所述终端设备的位置信息或所述无线接入点的标识信息确定并发送的连接所述无线接入点的接入信息。Receiving, by the server, the access information of the wireless access point determined and sent according to the location information of the terminal device or the identifier information of the wireless access point.
  8. 根据权利要求5所述的方法,其特征在于,所述方法还包括:The method of claim 5, wherein the method further comprises:
    若无法从服务器中获取连接所述无线接入点的接入信息,则提示用户当前无线接入点不可用,或者提示用户手动输入无线接入点的接入信息。If the access information of the wireless access point cannot be obtained from the server, the user is prompted to use the current wireless access point, or the user is prompted to manually input the access information of the wireless access point.
  9. 一种网络连接的处理装置,其特征在于,所述装置包括:A processing device for network connection, characterized in that the device comprises:
    检测单元,用于检测到终端设备因连接配置文件异常导致连接无线接入点失败,则触发处理单元;a detecting unit, configured to detect that the terminal device fails to connect to the wireless access point due to an abnormal connection profile, triggering the processing unit;
    处理单元,用于受到所述检测单元触发后,修改所述终端设备保存的所述连接配置文件。The processing unit is configured to modify the connection configuration file saved by the terminal device after being triggered by the detecting unit.
  10. 根据权利要求9所述的装置,其特征在于,所述处理单元在用于修改所述终端设备保存的所述连接配置文件时,具体执行:The device according to claim 9, wherein the processing unit is configured to: when modifying the connection configuration file saved by the terminal device:
    判断是否具有修改所述终端设备保存的所述连接配置文件的权限,如果是,则执行所述修改所述终端设备保存的所述连接配置文件。Determining whether there is permission to modify the connection configuration file saved by the terminal device, and if yes, performing the modifying the connection configuration file saved by the terminal device.
  11. 根据权利要求10所述的装置,其特征在于,所述处理单元还用于执行:The apparatus according to claim 10, wherein the processing unit is further configured to:
    若不具有修改所述终端设备保存的所述连接配置文件,则引导用户通过所述终端设备的系统设置修改所述终端设备保存的所述连接配置文件。If the connection configuration file saved by the terminal device is not modified, the user is guided to modify the connection configuration file saved by the terminal device by using the system setting of the terminal device.
  12. 根据权利要求9所述的装置,其特征在于,所述处理单元在修改所述终端设备保存的所述连接配置文件时,具体执行:The device according to claim 9, wherein the processing unit specifically performs: when modifying the connection configuration file saved by the terminal device:
    删除所述连接配置文件;或者Delete the connection profile; or
    删除所述连接配置文件中的接入信息;或者Delete the access information in the connection profile; or
    在所述连接配置文件中写入新的接入信息。New access information is written in the connection profile.
  13. 根据权利要求9所述的装置,其特征在于,在修改所述终端设备保存的所述连接配置文件后,所述装置还包括获取单元,用于执行:The device according to claim 9, wherein after modifying the connection configuration file saved by the terminal device, the device further includes an obtaining unit, configured to:
    从服务器中重新获取连接所述无线接入点的接入信息;或者,Retrieving access information of the wireless access point from the server; or
    引导用户重新输入连接所述无线接入点的接入信息。The user is guided to re-enter the access information connected to the wireless access point.
  14. 根据权利要求13所述的装置,其特征在于,所述获取单元还用于执行:The apparatus according to claim 13, wherein the obtaining unit is further configured to:
    将所述从服务器获取的接入信息或者用户重新输入的接入信息,写入所述终端设备生成连接配置文件。The access information acquired from the server or the access information re-entered by the user is written into the terminal device to generate a connection profile.
  15. 根据权利要求13所述的装置,其特征在于,所述获取单元从服务器中获取连接所述无线接入点的接入信息时,具体执行:The device according to claim 13, wherein when the obtaining unit acquires the access information of the wireless access point from the server, the specific execution is:
    将所述终端设备的位置信息或所述无线接入点的标识信息,发送给所述服务器;Sending the location information of the terminal device or the identifier information of the wireless access point to the server;
    接收所述服务器依据所述终端设备的位置信息或所述无线接入点的标识信息确定并发送的连接所述无线接入点的接入信息。Receiving, by the server, the access information of the wireless access point determined and sent according to the location information of the terminal device or the identifier information of the wireless access point.
  16. 根据权利要求13所述的装置,其特征在于,所述获取单元还用于执行:The apparatus according to claim 13, wherein the obtaining unit is further configured to:
    若无法从服务器中获取连接所述无线接入点的接入信息,则提示用户当前无线接入点不可用,或者提示用户手动输入接入信息。If the access information of the wireless access point cannot be obtained from the server, the user is prompted to use the current wireless access point, or the user is prompted to manually input the access information.
  17. 一种设备,其特征在于,所述设备包括:A device, characterized in that the device comprises:
    一个或多个处理器;One or more processors;
    存储装置,用于存储一个或多个程序,a storage device for storing one or more programs,
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-8中任一所述的方法。The one or more programs are executed by the one or more processors such that the one or more processors implement the method of any of claims 1-8.
  18. 一种包含计算机可执行指令的存储介质,所述计算机可执行指 令在由计算机处理器执行时用于执行如权利要求1-8中任一所述的方法。A storage medium comprising computer executable instructions for performing the method of any of claims 1-8 when executed by a computer processor.
PCT/CN2018/100208 2017-08-31 2018-08-13 Network connection processing method, device and apparatus, and computer storage medium WO2019042116A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710767966.1A CN107786998A (en) 2017-08-31 2017-08-31 A kind of processing method of network connection, device, equipment and computer-readable storage medium
CN201710767966.1 2017-08-31

Publications (1)

Publication Number Publication Date
WO2019042116A1 true WO2019042116A1 (en) 2019-03-07

Family

ID=61437514

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/100208 WO2019042116A1 (en) 2017-08-31 2018-08-13 Network connection processing method, device and apparatus, and computer storage medium

Country Status (2)

Country Link
CN (1) CN107786998A (en)
WO (1) WO2019042116A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110784906A (en) * 2019-10-30 2020-02-11 珠海格力电器股份有限公司 Wireless network distribution method and device, storage medium and processor

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107786998A (en) * 2017-08-31 2018-03-09 上海连尚网络科技有限公司 A kind of processing method of network connection, device, equipment and computer-readable storage medium
CN109041058B (en) * 2018-08-03 2022-06-10 北京奇虎科技有限公司 WIFI hotspot connection method and device
CN110958665B (en) * 2018-09-27 2022-06-14 九阳股份有限公司 Method for accessing household appliance to router network and household appliance
CN111629421B (en) * 2020-05-20 2022-06-07 上海连尚网络科技有限公司 Method and equipment for managing wireless access point
CN111865693B (en) * 2020-07-23 2023-08-18 深圳市航天无线通信技术有限公司 Automatic correction method, device, equipment and storage medium for network terminal networking parameters
CN113660635B (en) * 2021-08-11 2022-07-08 阿波罗智联(北京)科技有限公司 Connection method, connection device, electronic device, and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103037358A (en) * 2012-12-24 2013-04-10 杭州浦禾通信技术有限公司 Network communication method and network communication system of mobile terminal based on android system
CN104320798A (en) * 2014-10-14 2015-01-28 广东翼卡车联网服务有限公司 Vehicle navigation based wireless access point network connection anomaly processing method and system
CN106488450A (en) * 2016-10-11 2017-03-08 北京小米移动软件有限公司 Connect the method and device of wireless network
CN107786998A (en) * 2017-08-31 2018-03-09 上海连尚网络科技有限公司 A kind of processing method of network connection, device, equipment and computer-readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103037358A (en) * 2012-12-24 2013-04-10 杭州浦禾通信技术有限公司 Network communication method and network communication system of mobile terminal based on android system
CN104320798A (en) * 2014-10-14 2015-01-28 广东翼卡车联网服务有限公司 Vehicle navigation based wireless access point network connection anomaly processing method and system
CN106488450A (en) * 2016-10-11 2017-03-08 北京小米移动软件有限公司 Connect the method and device of wireless network
CN107786998A (en) * 2017-08-31 2018-03-09 上海连尚网络科技有限公司 A kind of processing method of network connection, device, equipment and computer-readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110784906A (en) * 2019-10-30 2020-02-11 珠海格力电器股份有限公司 Wireless network distribution method and device, storage medium and processor

Also Published As

Publication number Publication date
CN107786998A (en) 2018-03-09

Similar Documents

Publication Publication Date Title
WO2019042116A1 (en) Network connection processing method, device and apparatus, and computer storage medium
EP3486901B1 (en) Voice wakeup method, cloud server and computer-readable medium
US20220053068A1 (en) Methods, apparatuses and computer storage media for applet state synchronization
WO2020187121A1 (en) Applet start method, device, and computer storage medium
JP5989249B2 (en) Reducing wireless reconnection time for computing devices
US20220043901A1 (en) Method of data transfer between hosted applications
WO2021036877A1 (en) Information processing method, device, and computer storage medium
US20220214932A1 (en) Methods, devices and computer storage media for inter-mini program platform communication
US20140282983A1 (en) Single certificate service system and operational method thereof
WO2018205168A1 (en) Method and device for inputting verification code
WO2019141192A1 (en) Wi-fi connection method, computer device and storage medium
US20220245005A1 (en) Methods, devices and computer storage media for inter-mini program platform discovery
WO2021013247A1 (en) Method and device for running applet, and computer storage medium
US20200260277A1 (en) Method for wireless access authentication
WO2019072214A1 (en) Method and device for sharing wifi hotspot and storage medium
CN110084035B (en) Electronic device and method for suggesting a response guide when a rejection occurs
CN109495549B (en) Method, equipment and computer storage medium for application pull alive
US11115357B2 (en) Method, a device and a storage medium of forwarding voice information in instant messaging
CN107832874A (en) A kind of weather based reminding method, device, equipment and computer-readable recording medium
US20180337922A1 (en) Method and device for controlling smart device, server and storage medium
CN110826036A (en) User operation behavior safety identification method and device and electronic equipment
WO2019136685A1 (en) Method and apparatus for network selection by terminal, and computer device and storage medium
CN110881224B (en) Network long connection method, device, equipment and storage medium
CN113961836A (en) Page jump method and device, electronic equipment and storage medium
US10958726B2 (en) Method of synchronizing device list in a smart network system, apparatus, and computer storage medium thereof

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

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

Country of ref document: EP

Kind code of ref document: A1