CN111586891B - Network connection method, device, electronic equipment and medium - Google Patents

Network connection method, device, electronic equipment and medium Download PDF

Info

Publication number
CN111586891B
CN111586891B CN202010365723.7A CN202010365723A CN111586891B CN 111586891 B CN111586891 B CN 111586891B CN 202010365723 A CN202010365723 A CN 202010365723A CN 111586891 B CN111586891 B CN 111586891B
Authority
CN
China
Prior art keywords
network
display
alias
information
name
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202010365723.7A
Other languages
Chinese (zh)
Other versions
CN111586891A (en
Inventor
魏念
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Shangxiang Network Technology Co ltd
Original Assignee
Shanghai Shangxiang Network Technology Co ltd
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 Shanghai Shangxiang Network Technology Co ltd filed Critical Shanghai Shangxiang Network Technology Co ltd
Priority to CN202010365723.7A priority Critical patent/CN111586891B/en
Publication of CN111586891A publication Critical patent/CN111586891A/en
Application granted granted Critical
Publication of CN111586891B publication Critical patent/CN111586891B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Abstract

The application discloses a network connection method, a network connection device, electronic equipment and a network connection medium. By applying the technical scheme of the application, after the client acquires the communication protocol transmission containing the alias field, the alias field is used for generating the alias name, the alias name is used for replacing the original network name to be used as the existing network display name of the network, and after a new alias name is acquired subsequently, the new alias name and the historical alias name are directly replaced. Therefore, the problem that all the intelligent devices connected previously are disconnected once the network name is changed in the related art is solved.

Description

Network connection method, device, electronic equipment and medium
Technical Field
The present application relates to communications technologies, and in particular, to a method, an apparatus, an electronic device, and a medium for network connection.
Background
Due to the rise of the communications era and society, smart devices have been continuously developed with the use of more and more users.
With the rapid development of the communication era, people use intelligent devices to connect networks, which has become a normal state. In the related art, there are cases where a plurality of intelligent devices are simultaneously connected to one network. For example, in an office scenario, there may be a plurality of employees' mobile terminals simultaneously connected to a wireless network where a company is located. Or in an outdoor scene, the mobile phones of multiple users are connected with the WIFI hotspot of one user at the same time.
However, in the related art, in the case that a plurality of devices are simultaneously connected to a network, once a network user changes the network name, an event that all the previously connected smart devices are disconnected occurs, which also greatly reduces the experience of the user in browsing the network.
Disclosure of Invention
The embodiment of the application provides a network connection method, a network connection device, electronic equipment and a network connection medium, and is used for solving the problem that all previously connected intelligent equipment are disconnected once a network name is changed in the related art.
According to an aspect of an embodiment of the present application, there is provided a network connection method, including:
acquiring a preset communication protocol, wherein the preset communication protocol comprises a service set identification field, an alias field and a display identification, the display identification is used for indicating a client to display a preset network display name, and the alias field is used for replacing an original network name of a display target network by the client;
when detecting that a connection request aiming at the target network sent by a target client exists, carrying out validity verification on the connection request of the target network;
and when the validity verification aiming at the connection request is determined to pass, realizing data communication with the target client by utilizing the preset communication protocol.
Optionally, in another embodiment based on the foregoing method of the present application, the implementing data communication with the target client by using the preset communication protocol includes:
sending the alias field to the target client by using a preset communication protocol containing the display identifier;
when a modified name request generated based on modified information is acquired, the modified information is sent to the target client by using a preset communication protocol containing the display identifier, the modified information is carried in the alias field, and the modified credit replaces the alias field to serve as a network display name of the target network.
Optionally, in another embodiment based on the foregoing method of the present application, the implementing data communication with the target client by using the preset communication protocol includes:
acquiring a first display rule identifier, wherein the first display rule identifier is used for indicating the target client to display the preset network display name in a preset time range and/or a preset geographical area;
adding the first display rule identifier to the preset communication protocol;
and realizing data communication with the target client by utilizing the preset communication protocol added with the first display rule identifier.
Optionally, in another embodiment based on the foregoing method of the present application, the implementing data communication with the target client by using the preset communication protocol includes:
acquiring a second display rule identifier, wherein the second display rule identifier is used for indicating the target client to display the preset network display name to communication equipment with a network address at a preset communication address;
adding the second display rule identifier to the preset communication protocol;
and realizing data communication with the target client by using the preset communication protocol added with the second display rule identifier.
Optionally, in another embodiment based on the foregoing method of the present application, after the taking the first alias information as the network exhibit name of the target network, the method includes:
acquiring a third display rule identifier, wherein the third display rule identifier is used for limiting the number of communication devices connected with the target network;
adding the third display rule identifier to the preset communication protocol;
and realizing data communication with the target client by using a preset communication protocol added with the third display rule identifier.
Optionally, in another embodiment based on the foregoing method of the present application, before the legality verification is performed on the connection request of the target network, the method further includes:
acquiring distribution network information aiming at the target network, wherein the distribution network information comprises the service set identification field, password information and the alias field;
acquiring a biological characteristic parameter of a target user, wherein the biological characteristic parameter corresponds to at least one of a face characteristic parameter, an iris characteristic parameter and a fingerprint characteristic parameter, and the target user is a user initiating the distribution network request;
and when a verification passing message generated based on the biological characteristic parameters is received, the service set identification field, the password information and the alias field are subjected to associated binding.
Optionally, in another embodiment based on the foregoing method of the present application, after the associating and binding the SSID information, the password information, and the alias field, the method further includes:
and adding the alias field into the preset communication protocol, and realizing data communication with the target client by using the preset communication protocol added with the alias field.
Optionally, in another embodiment based on the foregoing method of the present application, after the obtaining of the request for the modified name generated based on the modified information, the method further includes:
and generating an event notification, wherein the event notification is used for informing the target client of the existence of the event of the name modification request in a preset mode.
And sending the modification information and the event notification to the target client by using a preset communication protocol containing the display identifier.
According to an aspect of the embodiments of the present application, there is provided a network connection method, applied to a client, including:
when detecting that a request for target network connection under the condition of being equipped with a preset communication protocol passes, acquiring an alias field transmitted by a server through the preset communication protocol, wherein the preset communication protocol comprises a display identifier, and the display identifier is used for indicating the client to display a preset network display name;
based on the alias field, acquiring first alias information, wherein the alias information is used for replacing and displaying an original network name of the target network;
and based on the display identification, taking the first alias information as a network display name of the target network and displaying the network display name.
Optionally, in another embodiment based on the foregoing method of the present application, after the taking and displaying the first alias information as a network exhibition name of the target network, the method further includes:
acquiring the modification information transmitted by the server through the preset communication protocol, wherein the modification information is used for modifying the network display name of the target network, and the modification information is information carried in the alias field;
acquiring second alias information based on the modification information;
and based on the display identification, taking the second alias information as the network display name of the target network and displaying the network display name.
Optionally, in another embodiment based on the foregoing method of the present application, after the obtaining the first alias information based on the alias field, the method further includes:
detecting whether a display rule identifier exists in the preset communication network protocol or not;
and when the display rule identifier is determined to exist, based on the display rule identifier and the display identifier, the first alias information is used as the network display name of the target network and is displayed.
According to another aspect of the embodiments of the present application, there is provided an electronic device including:
a memory for storing executable instructions; and
a display for displaying with the memory to execute the executable instructions to perform the operations of any of the above described network connection methods.
According to yet another aspect of the embodiments of the present application, a computer-readable storage medium is provided for storing computer-readable instructions, which when executed perform the operations of any of the above-mentioned network connection methods.
In the application, the server side can realize data exchange with the target client side by using a communication protocol containing the alias field and the display identifier, and after the client side receives the alias field, the client side generates corresponding alias information based on the alias field and uses the alias information as a network display name of the target network. And when a new alias field sent by the server is subsequently received, the alias information generated by the new alias field replaces the original alias information. By applying the technical scheme of the application, the alias name can be used as the existing network display name of the network by replacing the original network name after the alias name is obtained, and the new alias name and the historical alias name can be directly replaced after a new alias name is obtained subsequently. Therefore, the problem that all the intelligent devices connected previously are disconnected once the network name is changed in the related art is solved.
The technical solution of the present application is further described in detail by the accompanying drawings and examples.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description, serve to explain the principles of the application.
The present application may be more clearly understood from the following detailed description with reference to the accompanying drawings, in which:
FIG. 1 is a schematic diagram of a network connection system according to the present application;
fig. 2 is a schematic diagram of a server network connection method proposed in the present application;
FIG. 3 is a diagram of a device interface presented in the present application;
fig. 4 is a schematic diagram of a network connection method of a client according to the present application;
FIGS. 5a-5c are diagrams of the device interface presented in the present application;
fig. 6 is a schematic flow chart of a network connection proposed in the present application;
FIGS. 7-8 are schematic structural diagrams of network-connected electronic devices according to the present application;
fig. 9 is a schematic structural diagram of an electronic device according to the present application.
Detailed Description
Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the present application unless specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the application, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
In addition, technical solutions between the various embodiments of the present application may be combined with each other, but it must be based on the realization of the technical solutions by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination of technical solutions should be considered to be absent and not within the protection scope of the present application.
It should be noted that all the directional indicators (such as upper, lower, left, right, front and rear … …) in the embodiment of the present application are only used to explain the relative position relationship between the components, the motion situation, etc. in a specific posture (as shown in the drawings), and if the specific posture is changed, the directional indicator is changed accordingly.
A method for making a network connection according to an exemplary embodiment of the present application is described below in conjunction with fig. 1-6. It should be noted that the following application scenarios are merely illustrated for the convenience of understanding the spirit and principles of the present application, and the embodiments of the present application are not limited in this respect. Rather, embodiments of the present application may be applied to any scenario where applicable.
Fig. 1 shows a schematic diagram of an exemplary system architecture 100 to which a video processing method or a video processing apparatus of an embodiment of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include one or more of terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation. For example, server 105 may be a server cluster comprised of multiple servers, or the like.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may be various electronic devices having a display screen, including but not limited to smart phones, tablet computers, portable computers, desktop computers, and the like.
The terminal apparatuses 101, 102, 103 in the present application may be terminal apparatuses that provide various services. For example, when detecting that a request for target network connection under a preset communication protocol passes through, a user obtains an alias field transmitted by a server through the preset communication protocol by using a terminal device 103 (which may also be the terminal device 101 or 102), where the preset communication protocol includes a display identifier, and the display identifier is used to instruct the client to display a preset network display name; acquiring first alias information based on the alias field, wherein the alias information is used for replacing and displaying an original network name of the target network; and based on the display identification, taking the first alias information as a network display name of the target network and displaying the network display name.
It should be noted that the method for network connection provided in the embodiment of the present application may be executed by one or more of the terminal devices 101, 102, and 103, and/or the server 105, and accordingly, the apparatus for network connection provided in the embodiment of the present application is generally disposed in the corresponding terminal device, and/or the server 105, but the present application is not limited thereto.
The application also provides a network connection method, a network connection device, a target terminal and a medium.
Fig. 2 schematically shows a flowchart of a method for network connection according to an embodiment of the present application. As shown in fig. 2, the method is applied to a server, and includes:
s101, a preset communication protocol is obtained, the preset communication protocol comprises a service set identification field, an alias field and a display identification, the display identification is used for indicating a client to display a preset network display name, and the alias field is used for enabling the client to replace an original network name of a display target network.
First, the present application does not specifically limit the target network. In one possible implementation, the target network may be a WIFI WIreless network (WIreless FIdelity) based on 802.1X protocol. Wi-Fi is an IEEE-defined industry Standard for Wireless network communications (IEEE 802.11). Which defines the medium access control layer (MAC layer) and the physical layer. The physical layer defines two wireless frequency modulation modes and an infrared transmission mode which work on an ISM frequency band of 2.4GHz, and the total data transmission rate is designed to be 2 Mbits. Communication between two devices can be performed in a free and direct (ad hoc) manner, and can also be performed under the coordination of a Base Station (BS) or an Access Point (AP).
When a user uses a certain intelligent device for the first time, the intelligent device needs to be connected with a distribution network, namely, the intelligent device is connected with a WIFI network, and then local or remote operation, control, checking and other operations can be carried out. Furthermore, in order to prevent others from surfing the internet or only hope that a part of specific people connect to their own network, the user may take a measure of periodically changing the network name, but this situation may cause an event that all the previously connected smart devices cannot connect to the network. At this time, a plurality of users are required to operate one by one, and the network distribution is performed on all the connected intelligent devices one by one again. When the number of the intelligent devices in the house is large, the time is more consumed, the trouble is more caused, and the user experience and the use are greatly influenced. It can be understood that when the number of the intelligent devices with disconnected networks is large, the method can greatly consume the operation time of the user, and further reduce the user experience.
In order to solve the above-mentioned problem, the present application may obtain a preset communication protocol including a service set identifier field, an alias field, and a display identifier. As can be appreciated, the alias field is used to generate corresponding alias information. And the alias information may be used to replace the original network name of the exposed target network. It should be noted that the display identifier in the preset communication protocol of the present application may be null or not null. For example, when the display identification is empty, the client may be instructed not to display the alias field but to display the original network name. Further, when the display identifier is not empty, the client may be instructed to display the alias name corresponding to the alias field.
S102, when detecting that the connection request aiming at the target network sent by the target client exists, carrying out validity verification on the connection request aiming at the target network.
When the connection request sent by the target client and aiming at the target network is detected to pass, the validity verification can be carried out on the request. The connection request to the target network may be authenticated by detecting SSID information and password information of the service set identification field input by the user. The verification may also be performed according to parameters including biometric information of the user, which is not limited in this application.
The method for generating the alias field is not limited in the present application, and for example, the alias field may be automatically generated by the user according to the user's own needs, or the corresponding alias field may be automatically generated according to a preset generation rule, and the like.
And S103, when the validity verification aiming at the connection request is determined to pass, realizing data communication with the target client by using a preset communication protocol.
Further, when the server determines that the connection request sent by the client is a legal request, the server may utilize the communication protocol including the alias field and the display identifier to implement data exchange with the target client.
In the application, the server side can realize data exchange with the target client side by using a communication protocol containing the alias field and the display identifier, and after the client side receives the alias field, the client side generates corresponding alias information based on the alias field and uses the alias information as a network display name of the target network. And when a new alias field sent by the server is subsequently received, the alias information generated by the new alias field replaces the original alias information. By applying the technical scheme of the application, the alias name can be used as the existing network display name of the network by replacing the original network name after the alias name is obtained, and the new alias name and the historical alias name can be directly replaced after a new alias name is obtained subsequently. Therefore, the problem that all the intelligent devices connected previously are disconnected once the network name is changed in the related art is solved.
Optionally, in a possible implementation manner of the present application, in S103 (implementing data communication with the target client by using the preset communication protocol), the following steps may be implemented:
sending the alias field to the client by using a preset communication protocol containing the display identifier;
when a modification name request generated based on modification information is acquired, the modification information is sent to a target client by using a preset communication protocol containing a display identifier, the modification information is used for replacing an alias field as a network display name of a target network, and the modification information is used for replacing the alias field as the network display name of the target network.
Firstly, in the process that a server side realizes data communication with a target client side by using a preset communication protocol, the alias field needs to be sent to the target client side, so that the client side generates corresponding second alias information according to modification information carried by the alias field and displays the alias information in place of an original network name of a target network.
Further, when the server receives a request for a modification name, which may be generated for a user, for example, the modification information may be sent to the target client. And the client generates corresponding second alias information according to the modification information and displays the alias information instead of the first alias information of the target network.
The method for generating the alias field and modifying the information is not specifically limited in the present application, and may be generated for the same user or different users, for example.
Further optionally, in a possible embodiment of the present application, in S103 (implementing data communication with the target client by using the preset communication protocol), the data communication may be implemented by any one or more of the following three manners:
the first mode is as follows:
acquiring a first display rule identifier, wherein the first display rule identifier is used for indicating a target client to display a preset network display name in a preset time range and/or a preset geographical area;
adding the first display rule identifier into a preset communication protocol;
and realizing data communication with the target client by utilizing the preset communication protocol added with the first display rule identifier.
Further, in the present application, the server may perform detection to determine whether a corresponding first display rule identifier for indicating that the target client is in a preset time range and/or a preset geographical area displays a preset network display name exists in the communication protocol.
After the first display rule identifier is determined to exist, the client can be indicated by using the display rule to specifically display the alias information. Whether to present the first alias information may be selected, for example, according to whether other terminal devices are located in a preset geographical area. Or, it may also be selected whether to display the first alias information or not according to whether the current time is within a preset time range.
The preset time range is not specifically limited, and may be, for example, a certain time range specified every day, or a time range such as a working day or a holiday. In addition, the preset geographic area is not specifically limited in the present application, and may be, for example, an area located near an office, an area near a network initiator, or the like.
The second mode is as follows:
acquiring a second display rule identifier, wherein the second display rule identifier is used for indicating the target client to display a preset network display name to the communication equipment with the network address at a preset communication address;
adding the second display rule identifier into a preset communication protocol;
and realizing data communication with the target client by using the preset communication protocol added with the second display rule identifier.
Further, in the application, the server may perform detection to determine whether a second display rule identifier corresponding to a communication device, which is used to instruct the target client to display a preset network display name to the network address at the preset communication address, exists in the communication protocol.
After the second display rule identifier is determined to exist, the client can be indicated by the display rule to specifically display the alias information. Whether the first alias information is presented to the other terminal device may be decided, for example, according to whether the communication address of the other terminal device belongs to a preset communication address.
The preset communication address is not specifically limited in the present application, and may be, for example, a communication address based on a certain operator, or a communication address on a preset network white list, or a communication address based on a certain manufacturer, and the like.
The third mode is as follows:
acquiring a third display rule identifier, wherein the third display rule identifier is used for limiting the number of communication equipment connected with a target network;
adding the third display rule identifier into a preset communication protocol;
and realizing data communication with the target client by utilizing the preset communication protocol added with the third display rule identifier.
Further, in the present application, the server may perform detection to determine whether the communication protocol is identified by a third presentation rule for limiting the number of the communication devices connected to the target network.
After the third display rule identifier is determined to exist, in order to ensure that the communication efficiency of the target network is always smooth, the network display name of the target network is prohibited to be displayed when the indication client detects that the network communication quality in the network is too low and/or the number of the connected communication devices is excessive, so that the purpose of limiting the number of the communication devices connected with the target network is achieved.
Further optionally, in a possible implementation manner of the present application, before S102 (performing validity verification on the connection request of the target network), the following steps may be implemented:
acquiring distribution network information aiming at a target network, wherein the distribution network information comprises a service set identification field, password information and an alias field;
acquiring a biological characteristic parameter of a target user, wherein the biological characteristic parameter corresponds to at least one of a face characteristic parameter, an iris characteristic parameter and a fingerprint characteristic parameter, and the target user is a user initiating a distribution network request;
and when receiving the verification passing message generated based on the biological characteristic parameters, performing association binding on the service set identification field, the password information and the alias field.
Still further, after the SSID information, the password information, and the alias field are associated and bound, the method further includes:
and adding the alias field into the preset communication protocol, and realizing data communication with the target client by using the preset communication protocol added with the alias field.
Further, in the process of acquiring the alias field, the present application may first determine whether the user currently generating the alias field qualifies accordingly. The validity of the distribution network information (i.e., the service set identification field SSID and the password information of the target network) input by the network access controller needs to be verified, and the network access controller can connect to the target network only when the distribution network information is determined to be valid information. In addition, in order to further determine whether the user is qualified to set the alias field, the application may further obtain the corresponding biometric parameter, so that it is determined whether the user is qualified to generate the alias information subsequently according to the biometric parameter of the user.
Further, the present application may perform authentication in a manner of acquiring biometric information of a user through a pre-configured biometric information acquisition device. The information may be one of face feature information, iris feature information, and fingerprint feature information for acquiring the target user. For example, a camera and/or a fingerprint sensor or other collecting device may be used to collect biometric information (i.e., at least one of facial feature information, iris feature information, and fingerprint feature information) of a target user, and after collecting corresponding information, send the biometric information to a preset biometric information database and perform one-to-one matching using a preset neural network model. It is then determined whether the user is a user located in the biometric database that is eligible to generate alias information.
The neural network model is not specifically limited in the present application. In one approach, it may be a Convolutional Neural Network (CNN). Convolutional Neural Networks are a class of feed-forward Neural Networks (fed-forward Neural Networks) containing convolutional calculations and having a deep structure, and are one of the representative algorithms for deep learning. Furthermore, the convolutional neural network has the characteristic learning capability and can carry out translation invariant classification on the input information according to the hierarchical structure of the convolutional neural network.
Still further optionally, in another possible implementation manner of the present application, after the modification information is sent to the target client, the following steps may be further implemented:
and generating an event notification, wherein the event notification is used for informing the target client of the event of the name modification request in a preset mode.
And sending the modification information and the event notification to the target client by using a preset communication protocol containing the display identifier.
Further, after sending the modification information to the target client, each device connected to the target network can know that the network name of the device connected to the target network has changed. The method and the device can send the event notification for informing that the network display name of the target network is changed to each client connected with the target network.
In order to prevent the problem of network resource consumption caused by sending the event notification to other clients connected to the target network. The sending target of the event notification in the application should be the client currently using the first alias information as the presentation name of the target network.
It should be noted that, the present application is not limited to a specific manner of sending the event notification, and for example, the event notification may be sent in a form of a short message, or may be sent in a form of a network push message. For example, in the context of fig. 3, an interface diagram is shown for a client device in a target network that connects based on first alias information. Further, after the modification information is sent to the client device, the event notification can be sent to the client device in a form of a short message. To alert the user using the client device that the current network name has changed.
In still another embodiment of the present application, the present application further provides a method, an apparatus, a target terminal and a medium for network connection.
Fig. 4 schematically shows a flow chart of a method of network connection according to an embodiment of the present application. As shown in fig. 4, the method is applied to a client, and includes:
s201, when the fact that a request for target network connection under the condition of being equipped with a preset communication protocol passes is detected, an alias field transmitted by a server through the preset communication protocol is obtained, the preset communication protocol comprises a display identifier, and the display identifier is used for indicating a client to display a preset network display name.
First, taking a target network as a WIFI network as an example for explanation, in the related art, for example, when a user uses a certain smart device for the first time, the smart device needs to be connected to a distribution network, that is, the smart device is connected to the WIFI network, and then local or remote operations, control, and check, etc. can be performed. Furthermore, in order to prevent others from surfing the internet or only hope that a part of specific people connect to their own network, the user may take a measure of changing the network name periodically, but when the situation occurs, an event that all the previously connected intelligent devices cannot connect to the network occurs. At this time, a plurality of users are required to operate one by one, and all connected intelligent devices are respectively distributed with networks one by one again. When the number of the intelligent devices in the house is large, the time is more consumed, the trouble is more caused, and the user experience and the use are greatly influenced. It can be understood that when the number of the intelligent devices with disconnected networks is large, the method can greatly consume the operation time of the user, and further reduce the experience of the user.
In order to solve the above-mentioned problem, the present application may obtain the alias field passing through the communication protocol when the client detects that the request for the target network connection is passed through under the preset communication protocol. As can be appreciated, the alias field is used to generate corresponding alias information. And the alias information may be used to replace the original network name of the exposed target network.
S202, acquiring first alias information based on the alias field, wherein the alias information is used for replacing and displaying the original network name of the target network.
It should be noted that the present application does not specifically limit the alias information generated based on the alias field, that is, as long as the alias information can be used to replace the original network name of the network. Furthermore, the alias information can be formed by any one of letters, numbers and Chinese characters, and can also be formed by any multiple of letters, numbers and Chinese characters.
And S203, based on the display identifier, using the first alias information as the network display name of the target network and displaying the network display name.
Further, after the first alias information is acquired, the association relationship between the first alias information and the original network name of the target network may be established. Therefore, when receiving the operations of modification, deletion, binding and the like of the user aiming at the first alias information, the operation can be converted into the target network corresponding to the original network name by utilizing the corresponding relation.
In addition, in order to avoid the problem existing in the related art, when a plurality of devices are simultaneously connected to the same network and a network user changes the network name, the method has the disadvantage that all the intelligent devices connected previously are disconnected. The first alias information can be used as the network display name of the target network. It will be appreciated that only the alias information may be modified subsequently upon receipt of an instruction for a network connection without modifying the original network name. And further, the situation that the network of the connected equipment is disconnected due to the network restarting is avoided.
For example, if the original network name of the target network is "abc" and the first alias information is "communication group", the application may configure the correspondence between the first alias information ("communication group") and the original network name ("abc") of the target network in the device after acquiring the first alias information "communication group". And replaces the target network's exposure name with "communication group". It will be appreciated that other users, when they want to connect to the target network, need to connect by searching for a network with the network name "communication group".
In the application, the server side can realize data exchange with the target client side by using a communication protocol containing the alias field and the display identifier, and after the client side receives the alias field, the client side generates corresponding alias information based on the alias field and uses the alias information as a network display name of the target network. And when a new alias field sent by the server is subsequently received, the alias information generated by the new alias field replaces the original alias information. By applying the technical scheme of the application, the alias name can be used as the existing network display name of the network by replacing the original network name after the alias name is obtained, and the new alias name and the historical alias name can be directly replaced after a new alias name is obtained subsequently. Therefore, the problem that all the intelligent devices connected previously are disconnected once the network name is changed in the related art is solved.
Optionally, in one possible implementation manner of the present application, after S203 (the first alias information is used as the network exhibition name of the target network and is displayed), the following steps may be implemented:
acquiring modification information transmitted by a server through a preset communication protocol, wherein the modification information is used for modifying a network display name of a target network and is information carried in an alias field;
acquiring second alias information based on the modification information;
and based on the display identification, the second alias information is used as the network display name of the target network and is displayed.
Further, when the server receives a request for modifying a name, which may be generated for a user, for example, the application may send modification information for modifying a network presentation name of a target network to the client. The client may simply replace the first alias information with the second alias information without modifying the original network name of the target network. And furthermore, the situation that the network is restarted and all connected devices are disconnected due to the fact that the network name is modified does not occur.
It should be noted that, in the present application, replacing the first alias information with the second alias information may be to establish an association relationship between the second alias information and the original network name of the target network, and use the second alias information as the network display name of the target network.
Similarly, the generation method of the second alias information in the present application is not limited in the present application, and for example, the second alias information may be automatically generated by the user according to the self-requirement, or may be automatically generated according to a preset generation rule, and the like. In the present application, the second alias information and the first alias information should be different name information.
Further optionally, in a possible implementation manner of the present application, after S102 (obtaining the first alias information based on the alias field), the following steps may be implemented:
detecting whether a display rule identifier exists in a preset communication network protocol or not;
and when the display rule identification is determined to exist, based on the display rule identification and the display identification, the first alias information is used as the network display name of the target network and is displayed.
Further, after the first alias information is obtained, the alias information can be selectively and specifically displayed by using a preset display rule. Whether to present the first alias information may be selected, for example, based on whether other terminal devices are located in a predetermined geographic area. Or, it may also be selected whether to display the first alias information according to whether the current time is within a preset time range, or the like.
The preset time range is not specifically limited, and may be, for example, a certain time range specified every day, or a time range such as a working day or a holiday. In addition, the present application also does not specifically limit the preset geographic area, and for example, the preset geographic area may be located in a certain area near an office location, or may be located in a certain area near a network initiating device.
For example, as illustrated in fig. 5a, when the user generates the first alias information, as illustrated in fig. 5a, a corresponding first presentation rule may be further formulated. The decision when to use the first alias information as the network exposure name of the target network may be based on a time range (every weekday), for example. It is to be understood that, when the first presentation rule is configured for the first alias information, the network presentation name of the target network at each working day may be selected as the first alias information based on the first presentation rule.
Further referring to fig. 5b, as shown in fig. 5b, when the user generates the first alias information, a corresponding first presentation rule may be further formulated. The decision as to when to use the first alias information as the network exposure name of the target network may be based, for example, on a geographic area range (a range within 500 meters from the network-originating device). It is to be understood that, when the first exposure rule is configured for the first alias information, the first alias information may be selected as the network exposure name of the target network within a range within 500 meters of the network initiation device based on the first exposure rule.
Or after the first alias information is acquired, the alias information can be selectively and pertinently displayed by using other display rules.
For example, as illustrated in fig. 5c, when the user generates the first alias information, a corresponding second presentation rule may be further formulated as illustrated in fig. 5 c. For example, whether to present the second alias information to the intelligent device as the network presence name of the target network may be determined based on whether the network address of the intelligent device is a preset communication address. It can be understood that, after the second presentation rule is configured for the first alias information, the presentation of the first alias information to the terminal device whose communication address belongs to the preset communication address may be selected based on the second presentation rule.
Or, since the alias name is modified when the network name is modified in the present application. Therefore, the problem that all the intelligent devices connected previously are disconnected once the network name is changed in the prior art can be avoided. Therefore, in order to ensure the smooth operation of the target network, the application may generate the request for the revised name based on the second alias information when the network communication quality in the network is detected to be too low and/or the number of the first connected devices is excessive. For example, the second alias information may be a network name that characterizes a network name that informs other terminal devices to prohibit connection to the network.
For example, after "123" (first alias information) is used as the network exposure name of the target network, the present application may start to monitor the number of connected devices of the current target network. And when the number of the connected devices of the current target network is determined to exceed the target number, the network load rate of the current target network is determined to be too heavy, so that the application can generate a modified name request based on the network name that the number of the current connected devices is full (third alias information). It will be appreciated that the "full current number of connected devices" (third alias information) is then subsequently used as the network exposure name for the target network. So that other users can ignore connecting the target network when using the terminal equipment to connect the network.
Alternatively, when the present application uses "abv" (first alias information) as the network exhibition name of the target network, the monitoring of the network communication quality of the current target network may be started. And when the network communication quality of the current target network is determined to be lower than 5MB/s, the network load rate of the current target network is judged to be too heavy, so that the application can generate a modified name request based on the network name of 'forbidding to connect the network' (third alias information). It is understood that the "connection to this network prohibited" (third alias information) is then used as the network exposure name of the target network. So that other users can ignore connecting the target network when using the terminal equipment to connect the network.
Further, fig. 6 is used to illustrate a technical solution of network connection provided by the present application, and a target network is used as a WIFI network, as shown in fig. 6, a user is first required to obtain a preset communication protocol at a server, and synchronize related network information to the client after determining that a distribution network request generated based on an SSID and sent by the client passes through. Further, after the server side responds to the distribution network request of the target device and passes the legal verification of the distribution network information, the server side can transmit the alias field to the client side, so that the client side generates the first alias information according to the alias field and uses the first alias information as the network display name of the target network. Finally, after the server receives the modification information, the modification information can be continuously synchronized to the client, so that the client uses the alias information corresponding to the modification information as a new network display name after receiving the modification information. Thereby realizing the purpose of not influencing the disconnection of the connected equipment caused by network connection based on the change of the SSID.
In the application, the server side can realize data exchange with the target client side by using a communication protocol containing the alias field and the display identifier, and after the client side receives the alias field, the client side generates corresponding alias information based on the alias field and uses the alias information as a network display name of the target network. And when a new alias field sent by the server is subsequently received, the original alias information is replaced by the alias information generated by the new alias field. By applying the technical scheme of the application, the alias name can be used as the existing network display name of the network by replacing the original network name after the alias name is obtained, and the new alias name and the historical alias name can be directly replaced after a new alias name is obtained subsequently. Therefore, the problem that all the intelligent devices connected previously are disconnected once the network name is changed in the related art is solved.
In another embodiment of the present application, as shown in fig. 7, the present application further provides a network connection device. The device is applied to a server and comprises an acquisition module 301, a verification module 302 and a communication module 303, wherein,
an obtaining module 301, configured to obtain a preset communication protocol, where the preset communication protocol includes a service set identifier field, an alias field, and a display identifier, where the display identifier is used to instruct a client to display a preset network display name, and the alias field is used for the client to replace an original network name of a display target network;
a verification module 302, configured to perform validity verification on a connection request of a target network when detecting that there is a connection request of the target network sent by a target client;
a communication module 303 configured to, when it is determined that the validity verification for the connection request is passed, implement data communication with the target client using the preset communication protocol.
As shown in fig. 8, the present application further provides a network connection device. Wherein the device is applied in the client, and comprises a detection module 304, a verification module 305, and a communication module 306, wherein,
a detection module 304, configured to, when it is detected that a request for performing target network connection under a preset communication protocol passes, acquire an alias field transmitted by a server through the preset communication protocol, where the preset communication protocol includes a display identifier, and the display identifier is used to instruct the client to display a preset network display name;
a generating module 305 configured to obtain first alias information based on the alias field, the alias information being used to replace an original network name showing the target network;
a display module 306, configured to use the first alias information as a network display name of the target network and display the network display name based on the display identifier.
In the application, the server side can realize data exchange with the target client side by using a communication protocol containing the alias field and the display identifier, and after the client side receives the alias field, the client side generates corresponding alias information based on the alias field and uses the alias information as a network display name of the target network. And when a new alias field sent by the server is subsequently received, the alias information generated by the new alias field replaces the original alias information. By applying the technical scheme of the application, the alias name can be used as the existing network display name of the network by replacing the original network name after the alias name is obtained, and the new alias name and the historical alias name can be directly replaced after a new alias name is obtained subsequently. Therefore, the problem that all the intelligent devices connected previously are disconnected once the network name is changed in the related art is solved.
In another embodiment of the present application, the obtaining module 301 further includes:
an obtaining module 301, configured to send the alias field to the target client by using a preset communication protocol including the display identifier;
an obtaining module 301, configured to, when a modification name request generated based on modification information is obtained, send the modification information to the target client by using a preset communication protocol including the display identifier, where the modification information is information carried in the alias field, and the modification credit is used to replace the alias field as a network display name of the target network.
In another embodiment of the present application, the obtaining module 301 further includes:
an obtaining module 301, configured to obtain a first display rule identifier, where the first display rule identifier is used to instruct the target client to display the preset network display name in a preset time range and/or a preset geographic area;
an obtaining module 301, configured to add the first presentation rule identifier to the preset communication protocol;
an obtaining module 301, configured to implement data communication with the target client by using a preset communication protocol to which the first presentation rule identifier is added.
In another embodiment of the present application, the obtaining module 301 further includes:
an obtaining module 301, configured to obtain a second display rule identifier, where the second display rule identifier is used to instruct the target client to display the preset network display name to a communication device with a network address at a preset communication address;
an obtaining module 301, configured to add the second presentation rule identifier to the preset communication protocol;
an obtaining module 301, configured to implement data communication with the target client by using a preset communication protocol to which the second presentation rule identifier is added.
In another embodiment of the present application, the obtaining module 301 further includes:
an obtaining module 301, configured to obtain a third display rule identifier, where the third display rule identifier is used to limit the number of communication devices connected to the target network;
an obtaining module 301, configured to add the third presentation rule identifier to the preset communication protocol;
an obtaining module 301, configured to implement data communication with the target client by using a preset communication protocol to which the third presentation rule identifier is added.
In another embodiment of the present application, the method further comprises a verification module 302, wherein:
a verification module 302 configured to obtain distribution network information for the target network, the distribution network information including the service set identification field, password information, and the alias field;
a verification module 302 configured to obtain a biometric parameter of a target user, where the biometric parameter corresponds to at least one of a facial feature parameter, an iris feature parameter, and a fingerprint feature parameter, and the target user is a user initiating the distribution network request;
a verification module 302 configured to associatively bind the service set identification field, the cryptographic information, and the alias field when a verification pass message generated based on the biometric parameters is received.
In another embodiment of the present application, the communication module 303 further includes:
a communication module 303 configured to generate an event notification for informing the target client of the existence of the event of the modified name request in a preset manner.
A communication module 303 configured to send the modification information and the event notification to the target client by using a preset communication protocol containing the display identifier.
In another embodiment of the present application, the detecting module 304 further includes:
a detection module 304, configured to acquire the modification information transmitted by the server through the preset communication protocol, where the modification information is used to modify a network display name of the target network, and the modification information is information carried in the alias field;
a detection module 304 configured to obtain second alias information based on the modification information;
a detection module 304, configured to display the second alias information as a network exhibition name of the target network based on the display identifier.
In another embodiment of the present application, the detecting module 304 further includes:
a detection module 304, configured to detect whether there is a presentation rule identifier in the preset communication network protocol;
a detection module 304, configured to, when it is determined that the display rule identifier exists, based on the display rule identifier and the display identifier, use the first alias information as a network display name of the target network and display the network display name.
FIG. 9 is a block diagram illustrating a logical structure of an electronic device in accordance with an exemplary embodiment. For example, the electronic device 400 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 9, electronic device 400 may include one or more of the following components: a processor 401 and a memory 402.
Processor 401 may include one or more processing cores, such as a 4-core processor, an 8-core processor, or the like. The processor 401 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 401 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 401 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing content required to be displayed on the display screen. In some embodiments, the processor 401 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 402 may include one or more computer-readable storage media, which may be non-transitory. Memory 402 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in the memory 402 is configured to store at least one instruction for execution by the processor 401 to implement the interactive special effect calibration method provided by the method embodiments of the present application.
In some embodiments, the electronic device 400 may further optionally include: a peripheral interface 403 and at least one peripheral. The processor 401, memory 402 and peripheral interface 403 may be connected by bus or signal lines. Each peripheral may be connected to the peripheral interface 403 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 404, touch screen display 405, camera 406, audio circuitry 407, positioning components 408, and power supply 409.
The peripheral interface 403 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 401 and the memory 402. In some embodiments, processor 401, memory 402, and peripheral interface 403 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 401, the memory 402 and the peripheral interface 403 may be implemented on a separate chip or circuit board, which is not limited by this embodiment.
The Radio Frequency circuit 404 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 404 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 404 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 404 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 404 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 404 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 405 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 405 is a touch display screen, the display screen 405 also has the ability to capture touch signals on or above the surface of the display screen 405. The touch signal may be input to the processor 401 as a control signal for processing. At this point, the display screen 405 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display screen 405 may be one, providing the front panel of the electronic device 400; in other embodiments, the display screen 405 may be at least two, respectively disposed on different surfaces of the electronic device 400 or in a folded design; in still other embodiments, the display screen 405 may be a flexible display screen disposed on a curved surface or a folded surface of the electronic device 400. Even further, the display screen 405 may be arranged in a non-rectangular irregular pattern, i.e. a shaped screen. The Display screen 405 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and other materials.
The camera assembly 406 is used to capture images or video. Optionally, camera assembly 406 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 406 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuit 407 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 401 for processing, or inputting the electric signals to the radio frequency circuit 404 for realizing voice communication. For stereo capture or noise reduction purposes, the microphones may be multiple and disposed at different locations of the electronic device 400. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 401 or the radio frequency circuit 404 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, audio circuitry 407 may also include a headphone jack.
The positioning component 408 is used to locate the current geographic Location of the electronic device 400 for navigation or LBS (Location Based Service). The Positioning component 408 may be a Positioning component based on the GPS (Global Positioning System) of the united states, the beidou System of china, the graves System of russia, or the galileo System of the european union.
The power supply 409 is used to supply power to the various components in the electronic device 400. The power source 409 may be alternating current, direct current, disposable or rechargeable. When power source 409 comprises a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery can also be used to support fast charge technology.
In some embodiments, the electronic device 400 also includes one or more sensors 410. The one or more sensors 410 include, but are not limited to: acceleration sensor 411, gyro sensor 412, pressure sensor 413, fingerprint sensor 414, optical sensor 415, and proximity sensor 416.
The acceleration sensor 411 may detect the magnitude of acceleration in three coordinate axes of a coordinate system established with the electronic apparatus 400. For example, the acceleration sensor 411 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 401 may control the touch display screen 405 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 411. The acceleration sensor 411 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 412 may detect a body direction and a rotation angle of the electronic device 400, and the gyro sensor 412 may cooperate with the acceleration sensor 411 to acquire a 3D motion of the user on the electronic device 400. From the data collected by the gyro sensor 412, the processor 401 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization while shooting, game control, and inertial navigation.
The pressure sensor 413 may be disposed on a side bezel of the electronic device 400 and/or an underlying layer of the touch display screen 405. When the pressure sensor 413 is arranged on the side frame of the electronic device 400, a holding signal of the user to the electronic device 400 can be detected, and the processor 401 performs left-right hand identification or shortcut operation according to the holding signal collected by the pressure sensor 413. When the pressure sensor 413 is disposed at the lower layer of the touch display screen 405, the processor 401 controls the operability control on the UI interface according to the pressure operation of the user on the touch display screen 405. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 414 is used for collecting a fingerprint of the user, and the processor 401 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 414, or the fingerprint sensor 414 identifies the identity of the user according to the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, processor 401 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings, etc. The fingerprint sensor 414 may be disposed on the front, back, or side of the electronic device 400. When a physical button or vendor Logo is provided on the electronic device 400, the fingerprint sensor 414 may be integrated with the physical button or vendor Logo.
The optical sensor 415 is used to collect the ambient light intensity. In one embodiment, the processor 401 may control the display brightness of the touch display screen 405 based on the ambient light intensity collected by the optical sensor 415. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 405 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 405 is turned down. In another embodiment, the processor 401 may also dynamically adjust the shooting parameters of the camera assembly 406 according to the ambient light intensity collected by the optical sensor 415.
Proximity sensor 416, also known as a distance sensor, is typically disposed on the front panel of electronic device 400. The proximity sensor 416 is used to capture the distance between the user and the front of the electronic device 400. In one embodiment, the processor 401 controls the touch display screen 405 to switch from the bright screen state to the dark screen state when the proximity sensor 416 detects that the distance between the user and the front surface of the electronic device 400 gradually decreases; when the proximity sensor 416 detects that the distance between the user and the front of the electronic device 400 is gradually increased, the processor 401 controls the touch display screen 405 to switch from the breath screen state to the bright screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 9 does not constitute a limitation of the electronic device 400, and may include more or fewer components than those shown, or combine certain components, or employ a different arrangement of components.
In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium, such as the memory 404, comprising instructions executable by the processor 420 of the electronic device 400 to perform the above-described method of network connectivity, the method comprising: acquiring a preset communication protocol, wherein the preset communication protocol comprises a service set identification field, an alias field and a display identification, the display identification is used for indicating a client to display a preset network display name, and the alias field is used for replacing an original network name of a display target network by the client; when detecting that a connection request aiming at the target network sent by a target client exists, carrying out validity verification on the connection request of the target network; and when the validity verification aiming at the connection request is determined to pass, realizing data communication with the target client by utilizing the preset communication protocol. Optionally, the instructions may also be executed by the processor 420 of the electronic device 400 to perform other steps involved in the exemplary embodiments described above. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided an application/computer program product comprising one or more instructions executable by the processor 420 of the electronic device 400 to perform the above-described method of network connectivity, the method comprising: acquiring a preset communication protocol, wherein the preset communication protocol comprises a service set identification field, an alias field and a display identification, the display identification is used for indicating a client to display a preset network display name, and the alias field is used for replacing an original network name of a display target network by the client; when detecting that a connection request aiming at the target network sent by a target client exists, carrying out validity verification on the connection request of the target network; and when the validity verification aiming at the connection request is determined to pass, realizing data communication with the target client by utilizing the preset communication protocol. Optionally, the instructions may also be executable by the processor 420 of the electronic device 400 to perform other steps involved in the exemplary embodiments described above.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (11)

1. A network connection method is applied to a server side and comprises the following steps:
acquiring a preset communication protocol, wherein the preset communication protocol comprises a service set identification field, an alias field and a display identification, the display identification is used for indicating a client to display a preset network display name, and the alias field is used for replacing an original network name of a display target network by the client;
when detecting that a connection request aiming at the target network sent by a target client exists, carrying out validity verification on the connection request of the target network;
when the validity verification aiming at the connection request is determined to pass, realizing data communication with the target client by utilizing the preset communication protocol;
wherein the implementing data communication with the target client by using the preset communication protocol includes:
sending the alias field to the target client by using a preset communication protocol containing the display identifier;
when a modified name request generated based on modified information is acquired, sending the modified information to the target client by using a preset communication protocol containing the display identifier, wherein the modified information is information carried in the alias field, and the modified information is used for replacing the alias field as a network display name of the target network.
2. The method of claim 1, wherein said utilizing the predetermined communication protocol to effect data communication with the target client comprises:
acquiring a first display rule identifier, wherein the first display rule identifier is used for indicating the target client to display the preset network display name in a preset time range and/or a preset geographical area;
adding the first display rule identifier to the preset communication protocol;
and realizing data communication with the target client by utilizing the preset communication protocol added with the first display rule identifier.
3. The method of claim 1 or 2, wherein the using the preset communication protocol to achieve data communication with the target client comprises:
acquiring a second display rule identifier, wherein the second display rule identifier is used for indicating the target client to display the preset network display name to communication equipment with a network address at a preset communication address;
adding the second display rule identifier to the preset communication protocol;
and realizing data communication with the target client by using the preset communication protocol added with the second display rule identifier.
4. The method of claim 1 or 2, wherein the using the preset communication protocol to achieve data communication with the target client comprises:
acquiring a third display rule identifier, wherein the third display rule identifier is used for limiting the number of communication devices connected with the target network;
adding the third display rule identifier to the preset communication protocol;
and realizing data communication with the target client by using the preset communication protocol added with the third display rule identifier.
5. The method of claim 1, wherein prior to the legality verifying the connection request to the target network, further comprising:
acquiring distribution network information aiming at the target network, wherein the distribution network information comprises the service set identification field, password information and the alias field;
acquiring a biological characteristic parameter of a target user, wherein the biological characteristic parameter corresponds to at least one of a face characteristic parameter, an iris characteristic parameter and a fingerprint characteristic parameter, and the target user is a user initiating a distribution network request;
and when a verification passing message generated based on the biological characteristic parameters is received, the service set identification field, the password information and the alias field are subjected to associated binding.
6. The method of claim 5, wherein after the associatively binding the service set identification field, password information, and alias field, further comprising:
and adding the alias field into the preset communication protocol, and realizing data communication with the target client by using the preset communication protocol added with the alias field.
7. The method of claim 1, wherein after the obtaining of the modification name request generated based on the modification information, further comprising:
generating an event notification, wherein the event notification is used for informing the target client of the existence of the event of the name modification request in a preset mode;
and sending the modification information and the event notification to the target client by using a preset communication protocol containing the display identifier.
8. A network connection method is applied to a client and comprises the following steps:
when detecting that a request for target network connection under the condition of being equipped with a preset communication protocol passes, acquiring an alias field transmitted by a server through the preset communication protocol, wherein the preset communication protocol comprises a display identifier, and the display identifier is used for indicating the client to display a preset network display name;
based on the alias field, acquiring first alias information, wherein the alias information is used for replacing and displaying an original network name of the target network;
based on the display identification, the first alias information is used as a network display name of the target network and is displayed;
wherein, after the taking and displaying the first alias information as the network display name of the target network, the method further comprises:
acquiring modification information transmitted by the server through the preset communication protocol, wherein the modification information is used for modifying the network display name of the target network, and the modification information is information carried in the alias field;
acquiring second alias information based on the modification information;
and based on the display identification, taking the second alias information as the network display name of the target network and displaying the network display name.
9. The method of claim 8, further comprising, after said obtaining first alias information based on the alias field:
detecting whether a display rule identifier exists in the preset communication network protocol or not;
and when the display rule identifier is determined to exist, based on the display rule identifier and the display identifier, the first alias information is used as the network display name of the target network and is displayed.
10. An electronic device, comprising:
a memory for storing executable instructions; and the number of the first and second groups,
a processor for display with the memory to execute the executable instructions to perform the operations of the method of any of claims 1-9 for network connectivity.
11. A computer-readable storage medium storing computer-readable instructions that, when executed, perform the operations of the method of any of claims 1-9.
CN202010365723.7A 2020-04-30 2020-04-30 Network connection method, device, electronic equipment and medium Active CN111586891B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010365723.7A CN111586891B (en) 2020-04-30 2020-04-30 Network connection method, device, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010365723.7A CN111586891B (en) 2020-04-30 2020-04-30 Network connection method, device, electronic equipment and medium

Publications (2)

Publication Number Publication Date
CN111586891A CN111586891A (en) 2020-08-25
CN111586891B true CN111586891B (en) 2022-07-01

Family

ID=72127631

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010365723.7A Active CN111586891B (en) 2020-04-30 2020-04-30 Network connection method, device, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN111586891B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110049525A (en) * 2019-04-08 2019-07-23 Oppo广东移动通信有限公司 Method for connecting network, device, electronic equipment and medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ES2798773T3 (en) * 2012-07-06 2020-12-14 Nokia Solutions & Networks Oy Adding Service Set Identifier or Access Point Name to WLAN for Cellular Signaling Messages
CN105323757B (en) * 2014-06-27 2020-09-15 中兴通讯股份有限公司 Anti-network-rubbing wireless routing equipment and method
CN107567072A (en) * 2016-07-01 2018-01-09 中兴通讯股份有限公司 A kind of WIFI hot spot information amending method and device
CN108834197A (en) * 2018-05-29 2018-11-16 四川斐讯全智信息技术有限公司 A kind of system and method for automatic synchronization WLAN title and password

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110049525A (en) * 2019-04-08 2019-07-23 Oppo广东移动通信有限公司 Method for connecting network, device, electronic equipment and medium

Also Published As

Publication number Publication date
CN111586891A (en) 2020-08-25

Similar Documents

Publication Publication Date Title
CN108833607B (en) Physical address acquisition method, device and readable medium
CN110795236B (en) Method, device, electronic equipment and medium for adjusting capacity of server
CN110636477B (en) Device connection method, device, terminal and storage medium
CN110278464B (en) Method and device for displaying list
CN110944374B (en) Communication mode selection method and device, electronic equipment and medium
CN112965683A (en) Volume adjusting method and device, electronic equipment and medium
CN110784370B (en) Method and device for testing equipment, electronic equipment and medium
CN110996305B (en) Method and device for connecting Bluetooth equipment, electronic equipment and medium
CN111770556B (en) Network connection method, device, electronic equipment and medium
CN111031170A (en) Method, apparatus, electronic device and medium for selecting communication mode
CN110881212A (en) Method and device for saving power of equipment, electronic equipment and medium
CN111131392A (en) Method, device, electronic equipment and medium for processing message
CN111881423B (en) Method, device and system for authorizing restricted function use
CN108837509B (en) method for configuring setting parameters of virtual scene, computer device and storage medium
CN111198922A (en) Game resource management method and device based on block chain
CN111586891B (en) Network connection method, device, electronic equipment and medium
CN110708582B (en) Synchronous playing method, device, electronic equipment and medium
CN111064657B (en) Method, device and system for grouping concerned accounts
CN111010732A (en) Network registration method, device, electronic equipment and medium
CN111148181A (en) Method, apparatus, electronic device and medium for using 5G communication network
CN111158780A (en) Method, device, electronic equipment and medium for storing application data
CN110968549A (en) File storage method and device, electronic equipment and medium
CN110933237A (en) Call method, device, electronic equipment and medium
CN112988254A (en) Method, device and equipment for managing hardware equipment
CN111191254A (en) Access verification method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20210414

Address after: 200131 Zone E, 9th floor, No.1 Lane 666, zhangheng Road, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai

Applicant after: Shanghai Shangxiang Network Technology Co.,Ltd.

Address before: 201306 N2025 room 24, 2 New Town Road, mud town, Pudong New Area, Shanghai

Applicant before: SHANGHAI LIANSHANG NETWORK TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant