Network access point switching method and device, electronic equipment and storage medium

文档序号:472668 发布日期:2021-12-31 浏览:8次 中文

阅读说明:本技术 一种网络接入点切换方法、装置、电子设备及存储介质 (Network access point switching method and device, electronic equipment and storage medium ) 是由 张朝矮 于 2021-09-01 设计创作,主要内容包括:本申请公开了一种网络接入点切换方法、装置、电子设备及存储介质。其中,所述方法包括:确定待访问应用的接入点类型是否为专用接入点;如果确定待访问应用的接入点类型不是专用接入点,则切换接入点至非专用接入点;如果确定待访问应用的接入点类型是专用接入点,则根据配置信息切换接入点至专用接入点。上述方法能够解决现有技术中用户在使用专用应用与非专用应用时需要频繁手动切换接入点,操作体验差的问题。(The application discloses a network access point switching method and device, electronic equipment and a storage medium. Wherein the method comprises the following steps: determining whether the type of the access point of the application to be accessed is a special access point; if the access point type of the application to be accessed is determined not to be the special access point, switching the access point to the non-special access point; and if the type of the access point of the application to be accessed is determined to be the special access point, switching the access point to the special access point according to the configuration information. The method can solve the problem that in the prior art, when the user uses the special application and the non-special application, the access point needs to be frequently and manually switched, and the operation experience is poor.)

1. A network access point switching method is characterized in that whether the type of an access point to be accessed and applied is a special access point is determined;

if the access point type of the application to be accessed is determined not to be the special access point, switching the access point to the non-special access point;

and if the type of the access point of the application to be accessed is determined to be the special access point, switching the access point to the special access point according to the configuration information.

2. The method of claim 1, wherein the step of switching the access point to the dedicated access point according to the configuration information comprises:

determining whether the special access point information of the application to be accessed exists in the configuration information;

if the configuration information is determined to be free from the special access point information of the application to be accessed, configuring and storing the special access point information of the application to be accessed to the configuration information, and switching to a special access point according to the special access point information of the application to be accessed;

and if the configuration information is determined to have the special access point information of the application to be accessed, switching to a special access point according to the special access point information of the application to be accessed in the configuration information.

3. The method according to claim 2, wherein the step of configuring and saving the dedicated access point information of the application to be accessed to the configuration information and switching to the dedicated access point according to the dedicated access point information of the application to be accessed comprises:

and if the current access point is the special access point, not switching.

4. The method according to claim 2, wherein the step of switching to a dedicated access point according to the dedicated access point information of the application to be accessed in the configuration information if it is determined that the dedicated access point information of the application to be accessed exists in the configuration information comprises:

and if the current access point is the special access point, not switching.

5. The method of claim 1, wherein the configuration information is stored in a server.

6. The method of claim 1, wherein if it is determined that the access point type of the application to be accessed is not a dedicated access point, the step of switching the access point to the non-dedicated access point comprises: and if the current access point is a non-dedicated access point, not switching.

7. The method of claim 1, wherein the configuration information is stored by encryption.

8. A network access point switching apparatus, comprising:

an identification unit: determining whether the type of the access point of the application to be accessed is a special access point;

a storage unit: configuring and storing the special access point information of the application to be accessed to configuration information;

a switching unit: if the access point type of the application to be accessed is determined not to be the special access point, switching the access point to the non-special access point;

if the type of the access point of the application to be accessed is determined to be the special access point, switching the access point to the special access point according to the configuration information;

a display unit: and displaying the application.

9. An electronic device comprising a memory and a processor, the memory configured to store one or more computer instructions, wherein the one or more computer instructions, when executed by the processor, implement the network access point handover method of any of claims 1 to 7.

10. A computer-readable storage medium in which a program is stored, wherein the program, when executed by a computer, implements the network access point handover method according to any one of claims 1 to 7.

Technical Field

The present invention relates to the field of network technologies, and in particular, to a method and an apparatus for switching a network access point, an electronic device, and a storage medium.

Background

With the popularization of intelligent terminals, many companies develop and use their own application software, some companies can log in the application of the company only by using a special network access point for the data security of the application software, after a user selects to use a network by using the special network access point, only the user can log in and use the special software application, other software applications cannot be used, when the user needs to log in other software, the user needs to manually enter the network to switch the access point, the operation is troublesome, and the manual selection of the access point has certain misoperation, the user clicks other access points, and the use speed of the internet data is influenced.

Therefore, a method for solving the manual handover of the network access point according to different software usage is needed to improve the user experience.

Disclosure of Invention

The invention mainly aims to provide a network access point switching method, a network access point switching device, electronic equipment and a storage medium, and aims to solve the problem that in the prior art, when a user uses a special application and a non-special application, the access point needs to be frequently and manually switched, and the operation experience is poor.

In a first aspect, the present invention provides a network access point handover method, including:

determining whether the type of the access point of the application to be accessed is a special access point;

if the access point type of the application to be accessed is determined not to be the special access point, switching the access point to the non-special access point;

and if the type of the access point of the application to be accessed is determined to be the special access point, switching the access point to the special access point according to the configuration information. Optionally, the device information of the access device is a device identification number of the access device.

Optionally, the step of switching the access point to the dedicated access point according to the configuration information includes:

determining whether the special access point information of the application to be accessed exists in the configuration information;

if the configuration information is determined to be free from the special access point information of the application to be accessed, configuring and storing the special access point information of the application to be accessed to the configuration information, and switching to a special access point according to the special access point information of the application to be accessed;

and if the configuration information is determined to have the special access point information of the application to be accessed, switching to a special access point according to the special access point information of the application to be accessed in the configuration information.

Optionally, if it is determined that the dedicated access point information of the application to be accessed does not exist in the configuration information, configuring and storing the dedicated access point information of the application to be accessed to the configuration information, and switching to the dedicated access point according to the dedicated access point information of the application to be accessed includes:

and if the current access point is the special access point, not switching.

Optionally, if it is determined that the dedicated access point information of the application to be accessed exists in the configuration information, the step of switching to the dedicated access point according to the dedicated access point information of the application to be accessed in the configuration information includes:

and if the current access point is the special access point, not switching.

Optionally, the configuration information is stored in a server.

Optionally, if it is determined that the access point type of the application to be accessed is not the dedicated access point, the step of switching the access point to the non-dedicated access point includes:

and if the current access point is a non-dedicated access point, not switching.

Optionally, the configuration information is stored by encryption.

According to a second aspect of the embodiments of the present invention, there is provided a network access point switching apparatus, including:

an identification unit: determining whether the type of the access point of the application to be accessed is a special access point;

a storage unit: configuring and storing the special access point information of the application to be accessed to configuration information;

a switching unit: if the access point type of the application to be accessed is determined not to be the special access point, switching the access point to the non-special access point;

if the type of the access point of the application to be accessed is determined to be the special access point, switching the access point to the special access point according to the configuration information;

a display unit: and displaying the application.

According to a third aspect of embodiments of the present invention, the present invention provides an electronic device, including a memory and a processor, where the memory is configured to store one or more computer instructions, and the one or more computer instructions, when executed by the processor, implement the network access point handover method according to any one of the first aspect.

According to a fourth aspect of the embodiments of the present invention, there is provided a storage medium in which a program is stored, the program implementing the network access point switching method according to any one of the first aspect described above when executed by a computer.

Compared with the prior art, one or more embodiments in the above scheme can have the following advantages or beneficial effects:

the invention enables the user to automatically switch the access point when using the special application and the non-special application by storing the special application access point information configured by the user in advance, thereby effectively solving the problem that the user needs to frequently and manually switch the access point when using the special application and the non-special application in the prior art and having poor operation experience.

Drawings

In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious to those skilled in the art that other drawings can be obtained based on these drawings without inventive labor.

Fig. 1 is a schematic flowchart of a network access point switching method according to an embodiment of the present invention;

fig. 2 is a schematic flowchart of another network access point handover method according to an embodiment of the present invention;

fig. 3 is a schematic diagram of a network access point switching apparatus according to an embodiment of the present invention.

Detailed Description

The following detailed description of the embodiments of the present invention will be provided with reference to the accompanying drawings and examples, so that how to apply the technical means to solve the technical problems and achieve the corresponding technical effects can be fully understood and implemented. The embodiments of the present invention and the features of the embodiments can be combined with each other without conflict, and the formed technical solutions are within the scope of the present invention.

Example one

As shown in fig. 1, an embodiment of the present invention provides a network access point handover method, including the following steps S101 to S103:

step S101: it is determined whether the access point type of the application to be accessed is a dedicated access point.

When the intelligent device is used, such as a mobile phone and a tablet computer, when a user accesses a special application, such as an office application of a company, a special access point needs to be set for use, and when a common application, such as entertainment audio-visual software, is accessed, the special access point does not need to be set, and the common access point is used.

Step S102: switching the access point to a non-dedicated access point.

When the application to be accessed is judged to be a common application, if the application to be accessed is the audio-video entertainment application, the access point is switched to a non-special access point, namely a common normal communication network, and the audio-video entertainment application can be used.

Step S103: and switching the access point to the special access point according to the configuration information.

When the application to be accessed currently is judged to be the special application, if the application to be accessed is the office application, the access point is switched to the special access point according to the configuration information, for example, the VPN network of the company, the office application of the company can be used only after the VPN network of the company is switched, and the configuration information comprises an IP address, an access port, an access key and the like of the special access point.

Example two

As shown in fig. 2, an embodiment of the present invention provides a network access point handover method, including the following steps S201 to S206:

step S201: it is determined whether the access point type of the application to be accessed is a dedicated access point.

When the intelligent device is used, such as a mobile phone and a tablet computer, when a user accesses a special application, such as an office application of a company, a special access point needs to be set for use, and when a common application, such as entertainment audio-visual software, is accessed, the special access point does not need to be set, and the common access point is used.

Step S202: switching the access point to a non-dedicated access point.

When the application to be accessed is judged to be a common application, if the application to be accessed is the audio-video entertainment application, the access point is switched to a non-special access point, namely a common normal communication network, and the audio-video entertainment application can be used.

Step S203: and switching the access point to the special access point according to the configuration information.

When the application to be accessed currently is judged to be the special application, if the application to be accessed is the office application, the access point is switched to the special access point according to the configuration information, for example, the VPN network of the company, the office application of the company can be used only after the VPN network of the company is switched, and the configuration information comprises an IP address, an access port, an access key and the like of the special access point.

In particular, the configuration information is located in the server and stored encrypted.

Step S204: determining whether the special access point information of the application to be accessed exists in the configuration information.

If the newly installed application of the user is an office application of a company, the special access point information of the office application does not exist in the configuration information, and the application can be used only by the configuration of the user.

Step S205: and configuring and storing the special access point information of the application to be accessed to the configuration information, and switching to the special access point according to the special access point information of the application to be accessed.

If the current configuration information does not contain the special access point information of the application to be accessed, the user needs to configure and store the special access point information of the application first, and then the user can switch to the special access point.

Step S206: and switching to the special access point according to the special access point information of the application to be accessed in the configuration information.

If the special access point information of the application to be accessed exists in the current configuration information, when the user uses the application for the second time, the configuration is not needed, the configured special access point information is directly read, and the application can be used by switching to the special access point.

EXAMPLE III

As shown in fig. 3, the present invention provides a network access point switching apparatus, including:

an identification unit: determining whether the type of the access point of the application to be accessed is a special access point;

a storage unit: configuring and storing the special access point information of the application to be accessed to configuration information;

a switching unit: if the access point type of the application to be accessed is determined not to be the special access point, switching the access point to the non-special access point;

if the type of the access point of the application to be accessed is determined to be the special access point, switching the access point to the special access point according to the configuration information;

a display unit: displaying the application;

example four

The embodiment of the present invention provides an electronic device, which may be a mobile phone, a tablet computer, or the like, and includes a memory and a processor, where the memory is used to store one or more computer instructions, and when the one or more computer instructions are executed by the processor, the network access point switching method described in the foregoing embodiment is implemented.

The processor is configured to perform all or part of the steps in the network access point handover method according to the first embodiment or the second embodiment. The memory is used to store various types of data such as dedicated access point configuration information parameters and the like.

The Processor may be an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a controller, a microcontroller, a microprocessor, or other electronic components, and is configured to perform the network access point switching method in the first embodiment.

The Memory may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk.

EXAMPLE five

Each functional unit in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which 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) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program check codes, such as a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.

In the embodiments provided in the present disclosure, it should be understood that the disclosed apparatus and method may be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

It should be noted that, in the present disclosure, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Although the embodiments disclosed in the present disclosure are described above, the above description is only for the convenience of understanding the present disclosure, and is not intended to limit the present disclosure. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the disclosure as defined by the appended claims.

9页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:飞行器通信系统的交换机和相关联的飞行器通信系统及传输方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!