Method and device for accessing 5G wireless equipment to router
By using an image acquisition device in the router for identity authentication, the problem of unauthorized access to the network when connecting 5G devices is solved, and the security of the router is improved.
Patent Information
- Application Number
- CN202410933995.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2044-07-12
AI Technical Summary
When 5G devices connect to the router, leaking Wifi passwords causes unauthorized devices to access the network at will, causing router security risks.
By configuring an image acquisition device in the router, receiving access requests from 5G devices, ingesting physiological characteristics of the target user, performing identity authentication, and controlling the device to access the network only when the authentication is passed.
Ensure that only holders can access the network, avoid unauthorized devices, and reduce the security risks of the router.
Smart Images

Figure CN119052890A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of network communication technology, and in particular to a method and apparatus for accessing a 5G wireless device to a router. Background Art
[0002] With the continuous development of communication equipment, 5G devices have become an indispensable tool in the daily lives of more and more users, and routers are important devices for realizing information transmission between these 5G devices.
[0003] In related technologies, 5G devices usually need to be connected to a router via Wifi, so that after the user enters the correct Wifi password, the router can complete the user's identity authentication operation and control the 5G device to access the network.
[0004] However, in the process of accessing the network through the above connection method, once the 5G device leaks the Wifi password, other unauthorized devices can access the network at will, which will lead to technical problems such as greater security risks for the router. Summary of the invention
[0005] The main purpose of this application is to provide a method and apparatus for accessing a 5G wireless device to a router, aiming to solve the technical problem that routers in related technologies have great security risks.
[0006] To achieve the above objectives, the present application proposes a method for a 5G wireless device to access a router, the method being applied to a router equipped with an image acquisition device, the method comprising:
[0007] Receive an access request from a target 5G device, and determine a target authentication object corresponding to the target 5G device based on the access request;
[0008] Capturing a first target image containing the target authentication object through the image acquisition device, and extracting physiological features of the target user contained in the first target image;
[0009] Determine an authentication result corresponding to the target authentication object based on the physiological characteristics of the target user, wherein the authentication result includes authentication pass and authentication fail;
[0010] When it is determined that the authentication result is that the authentication is passed, the target 5G device is controlled to access the preset target network.
[0011] In one embodiment, the step of obtaining the authentication result corresponding to the target authentication object based on the physiological characteristics of the target user includes:
[0012] Acquire a plurality of preset baseline physiological characteristics;
[0013] Comparing the target user's physiological characteristics with the plurality of reference physiological characteristics to obtain a plurality of first comparison results;
[0014] Determining whether the plurality of reference physiological characteristics include a target reference physiological characteristic based on the plurality of first comparison results, wherein the target reference physiological characteristic is a reference physiological characteristic that is consistent with the physiological characteristic of the target user;
[0015] If it is determined that the target reference physiological feature is included in the plurality of reference physiological features, determining that the authentication result corresponding to the target authentication object is the authentication passed;
[0016] If it is determined that the target reference physiological feature is not included in the plurality of reference physiological features, then the authentication result corresponding to the target authentication object is determined to be the authentication failure.
[0017] In one embodiment, the step of controlling the target 5G device to access a preset target network includes:
[0018] Reading device identification information contained in the access request;
[0019] Constructing a target communication channel corresponding to the target 5G device based on the device identification information, and generating a first address parameter according to the device identification information;
[0020] The first address parameter is sent to the target 5G device through the target communication channel to control the target 5G device to access the preset target network according to the first address parameter.
[0021] In one embodiment, the target network includes a plurality of preset sub-network environments;
[0022] After the step of reading the device identification information contained in the access request, the method further includes:
[0023] Determine the access device type corresponding to the target 5G device according to the device identification information;
[0024] Based on the access device type, a target subnetwork environment is selected in multiple preset subnetwork environments, and the target 5G device is controlled to access the target subnetwork environment.
[0025] In one embodiment, the step of selecting a target sub-network environment in a plurality of the preset sub-network environments based on the access device type includes:
[0026] Determine a device type matching rule corresponding to each of the plurality of preset sub-network environments, and determine a reference device type corresponding to each of the device type matching rules;
[0027] Comparing the access device type with a plurality of the reference device types to identify a target device type among the plurality of the reference device types;
[0028] The preset sub-network environment corresponding to the target device type is determined as the target sub-network environment.
[0029] In one embodiment, after the step of controlling the target 5G device to access the target sub-network environment, the method further includes:
[0030] Obtain the network access log of the target 5G device, and determine whether the target 5G device has a security risk based on the network access log;
[0031] If it is determined that the target 5G device has the security risk, obtaining a preset second address parameter;
[0032] The second address parameter is sent to the target 5G device to control the target 5G device to switch from the target sub-network environment to a preset isolated network environment.
[0033] In addition, to achieve the above-mentioned purpose, the present application also proposes a 5G wireless device access router device, the 5G wireless device access router device is applied to a router equipped with an image acquisition device, and the device includes:
[0034] A target determination module is used to receive an access request from a target 5G device and determine a target authentication object corresponding to the target 5G device based on the access request;
[0035] A feature acquisition module, used to capture a first target image containing the target authentication object through the image acquisition device, and extract physiological features of the target user contained in the first target image;
[0036] An authentication execution module, used to determine an authentication result corresponding to the target authentication object based on the physiological characteristics of the target user, wherein the authentication result includes authentication pass and authentication fail;
[0037] The device access module is used to control the target 5G device to access a preset target network when it is determined that the authentication result is that the authentication is passed.
[0038] In addition, to achieve the above-mentioned purpose, the present application also proposes a router, which includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the computer program is configured to implement the steps of the method for 5G wireless device accessing a router as described above.
[0039] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the method for accessing a 5G wireless device to a router as described above are implemented.
[0040] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the steps of the method for 5G wireless device accessing a router as described above.
[0041] The method for 5G wireless device accessing a router provided in an embodiment of the present application is applied to a router equipped with an image acquisition device, by receiving an access request issued by a target 5G device, and determining a target authentication object corresponding to the target 5G device based on the access request; capturing a first target image containing the target authentication object through the image acquisition device, and extracting physiological features of a target user contained in the first target image; determining an authentication result corresponding to the target authentication object based on the physiological features of the target user, wherein the authentication result includes authentication passed and authentication failed; and when it is determined that the authentication result is the authentication passed, controlling the target 5G device to access a preset target network.
[0042] In this embodiment, when the router is running, it first receives an access request from the target 5G device that needs to access the network, and determines the target authentication object that needs to be authenticated and holds the target 5G device based on the access request. After that, the router calls the image acquisition device configured by itself to shoot the target authentication object, thereby capturing a first target image including the target authentication object. The router then processes the first target image to extract the physiological characteristics of the target user contained in the first target image. After that, the router performs an identity authentication operation based on the physiological characteristics of the target user, thereby determining the authentication result of the target authentication object. Finally, when the router determines that the authentication result is authentication passed, it determines that the target authentication object is a user with access rights, and the router thereby controls the target 5G device to access the preset target network.
[0043] In this way, the present application solves the technical problem that routers in the related art have great security risks. That is, the present application collects the physiological characteristics of the user holding the 5G device when the router receives an access request sent by the 5G device, and performs an identity authentication operation based on the physiological characteristics to determine whether the user has access rights. This ensures that the 5G device will be controlled to access the network only when the user himself has access rights, thereby preventing other unauthorized devices from being able to access the network at will when the Wifi password is leaked, thereby achieving the technical effect of reducing the security risks of the router. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0045] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0046] Figure 1 A flowchart of a method for accessing a 5G wireless device to a router according to a first embodiment of the present invention;
[0047] Figure 2 A brief flowchart of the method for accessing a router to a 5G wireless device in this application;
[0048] Figure 3 A flow chart of Embodiment 2 of the method for accessing a 5G wireless device to a router provided in the present application;
[0049] Figure 4 This is a schematic diagram of the module structure of a 5G wireless device access router device according to an embodiment of the present application;
[0050] Figure 5 This is a schematic diagram of the device structure of the hardware operating environment involved in the method for 5G wireless device accessing a router in an embodiment of the present application.
[0051] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0052] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0053] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0054] In this embodiment, for the convenience of description, the following description is made by taking a router internally configured with an image acquisition device, a communication module and a storage module as the execution subject.
[0055] Based on the above-mentioned router, the overall concept of the method for 5G wireless device accessing the router of the present application is proposed here.
[0056] With the continuous development of communication equipment, 5G devices have become an indispensable tool in the daily lives of more and more users, and routers are important devices for realizing information transmission between these 5G devices. In related technologies, 5G devices usually need to be connected to the router via Wifi, so that after the user enters the correct Wifi password, the router can complete the user's identity authentication operation and control the 5G device to access the network. However, in the process of accessing the network through the above connection method, once the 5G device leaks the Wifi password, other unauthorized devices can access the network at will, which leads to technical problems such as routers with greater security risks.
[0057] In response to the above phenomenon, the present application provides a method for a 5G wireless device to access a router, and the method is applied to a router equipped with an image acquisition device, and the method includes: receiving an access request issued by a target 5G device, and determining a target authentication object corresponding to the target 5G device based on the access request; capturing a first target image containing the target authentication object through the image acquisition device, and extracting physiological characteristics of a target user contained in the first target image; determining an authentication result corresponding to the target authentication object based on the physiological characteristics of the target user, wherein the authentication result includes authentication passed and authentication failed; when it is determined that the authentication result is the authentication passed, controlling the target 5G device to access a preset target network.
[0058] In this way, the present application solves the technical problem that routers in the related art have great security risks. That is, the present application collects the physiological characteristics of the user holding the 5G device when the router receives an access request sent by the 5G device, and performs an identity authentication operation based on the physiological characteristics to determine whether the user has access rights. This ensures that the 5G device will be controlled to access the network only when the user himself has access rights, thereby preventing other unauthorized devices from being able to access the network at will when the Wifi password is leaked, thereby achieving the technical effect of reducing the security risks of the router.
[0059] Based on the overall concept of the method for accessing a 5G wireless device to a router in the present application, the embodiment of the present application provides a method for accessing a 5G wireless device to a router, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the method for 5G wireless device accessing a router in the present application.
[0060] In this embodiment, the method for accessing a router with a 5G wireless device is applied to a router equipped with an image acquisition device, and the method for accessing a router with a 5G wireless device includes steps S10 to S40:
[0061] Step S10: receiving an access request from a target 5G device, and determining a target authentication object corresponding to the target 5G device based on the access request;
[0062] In this embodiment, when the router is running, it first receives an access request from the target 5G device, and the router reads the access request to determine the location information of the target 5G device based on the access request. At the same time, the router calls the image acquisition device to shoot the target 5G device to obtain a second target image including multiple users. The router determines the user holding the target 5G device among multiple users based on the location information and the second target image, and then determines the user holding the target 5G device as the target authentication object that needs to perform identity authentication operation.
[0063] Exemplarily, for example, when a user is near a router and controls the target 5G device he holds to send a network access request to the router, the router first receives the access request issued by the target 5G device and reads the network access request to determine the location information of the target 5G device in the house based on the network access request. The router calls its own configured image acquisition device to take a picture of the house, thereby capturing a second target image including all users in the house. The router then screens multiple users contained in the second target image based on the location information to screen out users with target 5G devices from multiple users, and then determines the user holding the target 5G device as the target authentication object for which an identity authentication operation needs to be performed.
[0064] Step S20: capturing a first target image containing the target authentication object through the image acquisition device, and extracting physiological features of the target user contained in the first target image;
[0065] It should be noted that the physiological characteristics of the target user are characteristic parameters that can indicate the identity information of the user, and may specifically be facial features or iris features, etc. It is understandable that the present application does not limit the specific type of the physiological characteristics of the target user.
[0066] In this embodiment, after determining the target authentication object, the router calls the image acquisition device configured by itself to photograph the target authentication object, thereby capturing a first target image including the target authentication object. The router then processes the first target image to extract the physiological characteristics of the target user contained in the first target image that can indicate the identity information of the target authentication object.
[0067] Exemplarily, for example, after the router determines the target authentication object on which the identity authentication operation needs to be performed, the router calls the image acquisition device configured by itself to photograph the target authentication object, thereby capturing a first target image including the target authentication object. The router then inputs the first target image into the image processing module configured by itself, and the image processing module processes the first target image to extract the facial features of the target user contained in the first target image that can indicate the identity information of the target authentication object.
[0068] Step S30: determining an authentication result corresponding to the target authentication object based on the physiological characteristics of the target user, wherein the authentication result includes authentication pass and authentication fail;
[0069] In this embodiment, after obtaining the physiological characteristics of the target user, the router performs an identity authentication operation based on the physiological characteristics of the target user, thereby determining whether the authentication result corresponding to the target authentication object is authentication passed or authentication failed.
[0070] In a feasible implementation manner, the above step S30 may specifically include steps S301 to S305:
[0071] Step S301: obtaining a plurality of preset baseline physiological characteristics;
[0072] Step S302: Compare the target user's physiological characteristics with the plurality of reference physiological characteristics to obtain a plurality of first comparison results;
[0073] Step S303: determining whether the plurality of reference physiological characteristics include a target reference physiological characteristic based on the plurality of first comparison results, wherein the target reference physiological characteristic is a reference physiological characteristic that is consistent with the physiological characteristic of the target user;
[0074] Step S304: if it is determined that the target reference physiological feature is included in the plurality of reference physiological features, determining that the authentication result corresponding to the target authentication object is the authentication passed;
[0075] Step S305: If it is determined that the target reference physiological feature is not included in the plurality of reference physiological features, then the authentication result corresponding to the target authentication object is determined to be the authentication failure.
[0076] It should be noted that the baseline physiological characteristics are pre-stored in the storage module of the router and are used to indicate the physiological characteristics of the identity information corresponding to the user who has been authorized to access. It can be understood that there are many ways to obtain the baseline physiological characteristics, and this application does not limit this.
[0077] In this embodiment, after obtaining the physiological characteristics of the target user, the router first reads the storage module configured by itself to obtain multiple preset baseline physiological characteristics. Then, the router compares the obtained physiological characteristics of the target user with the multiple baseline physiological characteristics respectively to obtain multiple first comparison results. Then, the router determines whether the multiple baseline physiological characteristics include the baseline physiological characteristics consistent with the physiological characteristics of the target user according to the multiple first comparison results. Then, if the router determines that the multiple baseline physiological characteristics include the target baseline physiological characteristics, it determines that the target authentication object is a user who has registered identity information, and thus determines that the authentication result corresponding to the target authentication object is successful authentication. If the router determines that the multiple baseline physiological characteristics do not include the target baseline physiological characteristics, it determines that the target authentication object has not registered identity information, and thus determines that the authentication result corresponding to the target authentication object is failed authentication.
[0078] Exemplarily, for example, after obtaining the target user facial features corresponding to the target authentication object, the router first reads the storage module configured by itself to obtain the pre-stored reference facial features corresponding to multiple users who have registered identity information and obtained access rights. After that, the router compares the obtained target user facial features with multiple reference facial features respectively to obtain multiple first comparison results. Then, when the router determines that a comparison result among the multiple first comparison results is that the target user facial features match the reference facial features, it determines that there is a target reference facial feature consistent with the target user facial feature in each reference facial feature. The router thereby determines that the user holding the target 5G device is a user who has obtained access rights, and determines that the target 5G device can access the preset target network, and then determines that the authentication result corresponding to the target authentication object is authentication passed. Similarly, when the router determines that multiple first comparison results are that the target user facial features and the reference facial features do not match, it determines that there is no target reference facial feature in the multiple reference facial features. The router thereby determines that the user holding the target 5G device is a user who has not obtained access rights, and determines that the target 5G device cannot access the target network, and then determines that the authentication result corresponding to the target authentication object is authentication failed.
[0079] In addition, in this embodiment and another embodiment, after determining the authentication result corresponding to the target authentication object according to the first target image, the router may further obtain the user fingerprint feature of the target authentication object through the fingerprint collection device configured by itself, and compare the user fingerprint feature with the preset multiple reference fingerprint features to obtain multiple second comparison results. After that, when the router determines that any one of the multiple first comparison results is a match between the target user's facial feature and the reference facial feature, and any one of the multiple second comparison results is a match between the user fingerprint feature and the reference fingerprint feature, the router determines that the user holding the target 5G device is a user who has obtained the access right, and determines that the authentication result corresponding to the target authentication object is authentication passed. When it is determined that the multiple first comparison results are all that the target user's facial feature and the reference facial feature do not match, and / or the multiple second comparison results are all that the user fingerprint feature and the reference fingerprint feature do not match, the router determines that the user holding the target 5G device is a user who has not obtained the access right, and determines that the authentication result corresponding to the target authentication object is authentication failed.
[0080] Step S40: When it is determined that the authentication result is that the authentication is passed, controlling the target 5G device to access a preset target network;
[0081] In this embodiment, when the router determines that the authentication result corresponding to the target authentication object is authentication passed, it builds a target communication channel between the target 5G device and controls the target 5G device to access the preset target network through the target communication channel.
[0082] Exemplarily, for example, when the router determines that the authentication result corresponding to the target authentication object is authentication passed, the router first constructs an encryption key shared between the target 5G device through a preset key exchange protocol, and performs a key certificate exchange operation with the target 5G device to exchange encryption keys and digital certificates respectively. After determining that the target 5G device has completed the verification operation of the encryption key and digital certificate, the router determines the encryption communication parameters corresponding to the target 5G device, and constructs a target communication channel corresponding to the target 5G device based on the encryption communication parameters. The router then assigns a first IP address parameter to the target 5G device through the target communication channel, so that the target 5G device can access the preset target network based on the first IP address parameter.
[0083] It should be noted that the encrypted communication parameters are encryption algorithms that match the target 5G device. The encrypted communication parameters can be pre-stored in the storage module by the technician so that the router can obtain them by accessing the storage module when needed. It is understandable that this application does not limit the acquisition method and specific content of the encryption algorithm. In addition, the specific processing process of the router constructing the target communication channel based on the encryption algorithm is a prior art, so it will not be repeated here.
[0084] In a feasible implementation manner, the step of “controlling the target 5G device to access a preset target network” in the above step S40 may specifically include steps S401 to S403:
[0085] Step S401: reading the device identification information contained in the access request;
[0086] Step S402: constructing a target communication channel corresponding to the target 5G device based on the device identification information, and generating a first address parameter according to the device identification information;
[0087] Step S403: Send the first address parameter to the target 5G device through the target communication channel to control the target 5G device to access the preset target network according to the first address parameter.
[0088] In this embodiment, when the router determines that the authentication result corresponding to the target authentication object is authentication passed, the router first reads the access request sent by the target 5G device to determine the device identification information contained in the access request. After that, the router determines the encrypted communication parameters corresponding to the target 5G device based on the device identification information, and builds a target communication channel between the target 5G device and the target 5G device based on the encrypted communication parameters. At the same time, the router generates a first address parameter corresponding to the target 5G device based on the device identification information. Finally, the router sends the first address parameter to the target 5G device through the target communication channel, so that the target 5G device can access the preset target network based on the first address parameter.
[0089] Exemplarily, for example, when the router determines that the authentication result corresponding to the target authentication object is authentication passed, the router first reads the above-mentioned access request to obtain the device identification information corresponding to the target 5G device carried in the access request. After that, the router determines the key exchange protocol corresponding to the target 5G device based on the device identification information. The router thereby constructs an encryption key and a digital certificate based on the key exchange protocol, and sends the encryption key and the digital certificate to the target 5G device for the target 5G device to verify the encryption key and the digital certificate. After receiving the verification result returned by the target 5G device, the router determines the encryption algorithm and other encryption communication parameters corresponding to the target 5G device based on the device identification information, and constructs a target communication channel between itself and the target 5G device based on the encryption communication parameters. At the same time, the router generates a first IP address matching the device identification information based on the preset DHCP (Dynamic Host Configuration Protocol). Finally, the router sends the first IP address to the target 5G device through the target communication channel, so that the target 5G device can access the preset target network according to the first IP address.
[0090] In this embodiment, the router first receives an access request from the target 5G device when it is running, and the router reads the access request to determine the location information of the target 5G device based on the access request. At the same time, the router calls the image acquisition device to shoot the target 5G device to obtain a second target image including multiple users. The router determines the user holding the target 5G device among multiple users based on the location information and the second target image, and then determines the user holding the target 5G device as the target authentication object that needs to perform an identity authentication operation. After that, the router calls the image acquisition device configured by itself to shoot the target authentication object, thereby capturing a first target image including the target authentication object. The router then processes the first target image to extract the target user's physiological characteristics contained in the first target image that can indicate the identity information of the target authentication object. After that, the router performs an identity authentication operation based on the target user's physiological characteristics, thereby determining whether the authentication result corresponding to the target authentication object is authentication passed or authentication failed. Finally, when the router determines that the authentication result corresponding to the target authentication object is authentication passed, it constructs a target communication channel between the router and the target 5G device, and controls the target 5G device to access the preset target network through the target communication channel.
[0091] In this way, the present application solves the technical problem that routers in the related art have great security risks. That is, the present application collects the physiological characteristics of the user holding the 5G device when the router receives an access request sent by the 5G device, and performs an identity authentication operation based on the physiological characteristics to determine whether the user has access rights. This ensures that the 5G device will be controlled to access the network only when the user himself has access rights, thereby preventing other unauthorized devices from being able to access the network at will when the Wifi password is leaked, thereby achieving the technical effect of reducing the security risks of the router.
[0092] Based on the first embodiment of the present application, the second embodiment of the present application is proposed here. In the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction and will not be repeated later. On this basis, the target network contains multiple preset sub-network environments, please refer to Figure 3 , Figure 3 A flow chart of the second embodiment of the method for accessing a 5G wireless device to a router is provided in the present application, as shown in FIG. Figure 3 As shown, after the above step S401, the method for accessing a router by a 5G wireless device of the present application may further include steps A10 to A20:
[0093] Step A10: Determine the access device type corresponding to the target 5G device according to the device identification information;
[0094] Step A20: Select a target sub-network environment in a plurality of preset sub-network environments based on the access device type, and control the target 5G device to access the target sub-network environment.
[0095] In this embodiment, after determining the device identification information corresponding to the target 5G device, the router can also first determine the access device type corresponding to the target 5G device based on the device identification information. After that, the router determines the target sub-network environment that matches the access device type in the multiple preset sub-network environments contained in the target network, and constructs a second communication channel between the target sub-network environment and the target 5G device, and then controls the target 5G device to access the target sub-network environment through the second communication channel, so that the target 5G device can access the Internet in the target sub-network environment.
[0096] Exemplarily, for example, after determining the device identification information corresponding to the target 5G device, the router further determines that the device access type corresponding to the target 5G device is a guest device based on the device identification information. After that, the router screens multiple preset sub-network environments such as the guest network environment, office network environment, and home network environment contained in the target network based on the device access type, thereby determining the guest network environment as the target sub-network environment that matches the device access type among the preset multiple sub-network environments. The router determines the encryption algorithms corresponding to the target 5G device and the guest network environment respectively based on the device identification information, and builds a second communication channel between the target 5G device and the guest network environment based on the encryption algorithm. At the same time, the router generates a third IP address that matches the device identification information based on the preset DHCP, sends the third IP address to the target 5G device through the second communication channel, and applies ACL to the guest network environment to enable the target 5G device to access the guest network environment and limit the resources and network services that the target 5G device can access in the guest network environment.
[0097] In this way, the router can determine the device access type of the 5G device, and then assign the 5G device to different environments according to the different device access types, further improving the security of the router.
[0098] In a feasible implementation manner, the step of "targeting a sub-network environment in a plurality of preset sub-network environments based on the access device type" in the above step A20 may specifically include steps A201 to A203:
[0099] Step A201: determining device type matching rules corresponding to each of the plurality of preset sub-network environments, and determining reference device types corresponding to each of the device type matching rules;
[0100] Step A202: Compare the access device type with a plurality of the reference device types to identify a target device type among the plurality of the reference device types;
[0101] Step A203: Determine the preset sub-network environment corresponding to the target device type as the target sub-network environment.
[0102] In this embodiment, after determining the access device type corresponding to the target 5G device, the router first determines the device type matching rules corresponding to each of the multiple preset sub-network environments contained in the target network, and determines the reference device type contained in the multiple device type matching rules. After that, the router compares the obtained access device type with the multiple reference device types respectively, thereby determining the target device type that is consistent with the access device type among the multiple reference device types. Finally, the router determines that the preset sub-network environment corresponding to the target device type is the target sub-network environment.
[0103] Exemplarily, for example, after determining that the access device type corresponding to the target 5G device is a guest device type, the router first determines the device type matching rules corresponding to multiple preset sub-network environments such as the guest network environment, home network environment, and office network environment contained in the target network, thereby determining the benchmark device type corresponding to the guest network environment as the guest device type, and determining the benchmark device type corresponding to the home network environment as the home device type, and determining the benchmark device type corresponding to the office network environment as the office device type based on the device type matching rules. Afterwards, the router compares the obtained access device type with multiple benchmark device types respectively, thereby determining the target device type that is consistent with the access device type among the guest device type, home device type, and office device type. Finally, when the router determines that the target device type is a guest device type, the router determines the guest network environment corresponding to the guest device type as the target sub-network environment.
[0104] In this way, the router can determine the device access type of the 5G device, and then assign the 5G device to different environments according to the different device access types, further improving the security of the router.
[0105] Based on the first embodiment and / or the second embodiment of the present application, the third embodiment of the present application is proposed here. In the third embodiment of the present application, the same or similar contents as the above embodiments can be referred to the above introduction, and will not be repeated later. On this basis, after the above step A20, the method for accessing a router by a 5G wireless device of the present application may also include steps B10 to B30:
[0106] Step B10: Obtain the network access log of the target 5G device, and determine whether the target 5G device has a security risk based on the network access log;
[0107] Step B20: If it is determined that the target 5G device has the security risk, obtaining a preset second address parameter;
[0108] Step B30: Send the second address parameter to the target 5G device to control the target 5G device to switch from the target sub-network environment to the preset isolated network environment.
[0109] In this embodiment, after controlling the target 5G device to access the target sub-network environment, the router further detects the target 5G device to obtain the network access log generated by the target 5G device when sending and receiving data. The router then determines whether the target 5G device has a security risk based on the network access log. Afterwards, if the router determines that the target 5G device has a security risk, it obtains the second address parameter corresponding to the preset isolated network environment. Finally, the router sends the second address parameter to the target 5G device through the above-mentioned second communication channel, so that the target 5G device can access the isolated network environment based on the second address parameter.
[0110] Exemplarily, for example, after controlling the target 5G device to access the guest network environment, the router further detects the target 5G device to obtain the network access log generated by the target 5G device in the guest network environment. The router then compares the network access log with multiple preset abnormal network logs, and when it is determined that there is an abnormal network log matching the network access log among the multiple abnormal network logs, it is determined that there is a security risk in the target 5G device. After that, the router obtains the second IP address corresponding to the preset isolated network environment, and sends the second IP address to the target 5G device through the second communication channel mentioned above, so that the target 5G device can access the isolated network environment that runs separately. At the same time, the router adds ACL to the isolated network environment to limit the resources and network services that the target 5G device can access in the isolated network environment.
[0111] In this way, when the router detects that there is a security risk in the target 5G device, it can immediately switch the target 5G device to a separately running isolated network environment, thereby avoiding risks to the main network and further improving the security of the router.
[0112] For example, in order to help understand the implementation process of the 5G wireless device access router method obtained by combining this embodiment with the above embodiments, please refer to Figure 2 , Figure 2 A brief flow chart of a method for a 5G wireless device to access a router is provided, specifically:
[0113] In this embodiment, the router first receives an access request sent by the target 5G device, and reads the access request to determine the location information of the target 5G device. The router thereby controls the image acquisition device configured by itself to capture a second target image including multiple users, and screens the multiple users included in the second target image based on the location information, thereby determining the target user holding the target 5G device among the multiple users, and determining the target user as the target authentication object that needs to perform an identity authentication operation. After that, the router calls the image acquisition device to shoot the target authentication object, thereby capturing a first target image including the target authentication object, and extracting the facial features of the target user included in the first target image. The router thereby compares the facial features of the target user with multiple preset reference facial features to obtain multiple first comparison results, and determines the authentication result corresponding to the target authentication object based on the multiple first comparison results. After that, the router determines the authentication result. If the authentication is successful, the device identification information contained in the access request is read, and the access device type corresponding to the target 5G device is determined based on the device identification information. The router then determines the target subnetwork environment that matches the access device type based on the multiple subnetwork environments contained in the target network, and builds a communication channel between the target subnetwork environment and the target 5G device. At the same time, the router assigns a corresponding IP address to the target 5G device, and sends the IP address to the target 5G device through the communication channel, so that the target 5G device can access the target subnetwork environment. Finally, the router collects the network access logs generated by the target 5G device in the target subnetwork environment, and determines whether the target 5G device has security risks based on the network access logs. When the router determines that the target 5G device has security risks, it controls the target 5G device to switch from the target subnetwork environment to the isolated network environment, so that the target 5G device can run in the isolated network environment.
[0114] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the method of 5G wireless device accessing a router in the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0115] This application also provides a 5G wireless device access router device, please refer to Figure 4 The 5G wireless device access router device is applied to a router equipped with an image acquisition device, including:
[0116] A target determination module 10 is used to receive an access request from a target 5G device and determine a target authentication object corresponding to the target 5G device based on the access request;
[0117] The feature acquisition module 20 is used to capture a first target image containing the target authentication object through the image acquisition device, and extract the target user's physiological features contained in the first target image;
[0118] An authentication execution module 30, configured to determine an authentication result corresponding to the target authentication object based on the physiological characteristics of the target user, wherein the authentication result includes authentication pass and authentication fail;
[0119] The device access module 40 is used to control the target 5G device to access a preset target network when it is determined that the authentication result is that the authentication is passed.
[0120] In a feasible implementation manner, the authentication execution module 30 is further configured to:
[0121] Acquire a plurality of preset baseline physiological characteristics;
[0122] Comparing the target user's physiological characteristics with the plurality of reference physiological characteristics to obtain a plurality of first comparison results;
[0123] Determining whether the plurality of reference physiological characteristics include a target reference physiological characteristic based on the plurality of first comparison results, wherein the target reference physiological characteristic is a reference physiological characteristic that is consistent with the physiological characteristic of the target user;
[0124] If it is determined that the target reference physiological feature is included in the plurality of reference physiological features, determining that the authentication result corresponding to the target authentication object is the authentication passed;
[0125] If it is determined that the target reference physiological feature is not included in the plurality of reference physiological features, then the authentication result corresponding to the target authentication object is determined to be the authentication failure.
[0126] In a feasible implementation manner, the device access module 40 is further configured to:
[0127] Reading device identification information contained in the access request;
[0128] Constructing a target communication channel corresponding to the target 5G device based on the device identification information, and generating a first address parameter according to the device identification information;
[0129] The first address parameter is sent to the target 5G device through the target communication channel to control the target 5G device to access the preset target network according to the first address parameter.
[0130] In a feasible implementation manner, the device access module 40 is further configured to:
[0131] After the step of reading the device identification information contained in the access request, the method further includes:
[0132] Determine the access device type corresponding to the target 5G device according to the device identification information;
[0133] Based on the access device type, a target subnetwork environment is selected in multiple preset subnetwork environments, and the target 5G device is controlled to access the target subnetwork environment.
[0134] In a feasible implementation manner, the device access module 40 is further configured to:
[0135] Determine a device type matching rule corresponding to each of the plurality of preset sub-network environments, and determine a reference device type corresponding to each of the device type matching rules;
[0136] Comparing the access device type with a plurality of the reference device types to identify a target device type among the plurality of the reference device types;
[0137] The preset sub-network environment corresponding to the target device type is determined as the target sub-network environment.
[0138] In a feasible implementation manner, the device access module 40 is further configured to:
[0139] Obtain the network access log of the target 5G device, and determine whether the target 5G device has a security risk based on the network access log;
[0140] If it is determined that the target 5G device has the security risk, obtaining a preset second address parameter;
[0141] The second address parameter is sent to the target 5G device to control the target 5G device to switch from the target sub-network environment to a preset isolated network environment.
[0142] The 5G wireless device access router device provided by the present application adopts the 5G wireless device access router method in the above embodiment, which can solve the technical problem that the router in the related technology has a large security risk. Compared with the prior art, the beneficial effects of the 5G wireless device access router device provided by the present application are the same as the beneficial effects of the 5G wireless device access router method provided by the above embodiment, and the other technical features of the 5G wireless device access router device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0143] The present application provides a router, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method for a 5G wireless device to access a router in the above-mentioned embodiment 1.
[0144] Reference below Figure 5 , which shows a schematic diagram of the structure of a router suitable for implementing the embodiment of the present application. The router in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The router shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0145] like Figure 5 As shown, the router may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the router are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the router to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a router with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.
[0146] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0147] The router provided by the present application adopts the method of 5G wireless device accessing the router in the above embodiment, which can solve the technical problem of the router having a large security risk in the related technology. Compared with the prior art, the beneficial effects of the router provided by the present application are the same as the beneficial effects of the method of 5G wireless device accessing the router provided by the above embodiment, and the other technical features in the router are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0148] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0149] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0150] The present application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, and the computer-readable program instructions are used to execute the method for 5G wireless device accessing a router in the above-mentioned embodiment.
[0151] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0152] The computer-readable storage medium may be included in the router; or may exist independently without being installed in the router.
[0153] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the router, the router receives an access request issued by the target 5G device, and determines the target authentication object corresponding to the target 5G device based on the access request; captures a first target image containing the target authentication object through the image acquisition device, and extracts the physiological characteristics of the target user contained in the first target image; determines the authentication result corresponding to the target authentication object based on the physiological characteristics of the target user, wherein the authentication result includes authentication passed and authentication failed; when it is determined that the authentication result is the authentication passed, controls the target 5G device to access the preset target network.
[0154] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0155] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0156] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0157] The readable storage medium provided in this application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned method for 5G wireless devices to access routers, and can solve the technical problem that routers in related technologies have great security risks. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the method for 5G wireless devices to access routers provided in the above-mentioned embodiments, and will not be repeated here.
[0158] The present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the method for 5G wireless device accessing a router as described above.
[0159] The computer program product provided by this application can solve the technical problem that routers in related technologies have great security risks. Compared with the prior art, the beneficial effects of the computer program product provided by this application are the same as the beneficial effects of the method for 5G wireless device accessing a router provided in the above embodiment, and will not be repeated here.
[0160] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A method for accessing a router with a 5G wireless device, characterized in that: The method is applied to a router equipped with an image acquisition device, and the method comprises: Receive an access request from a target 5G device, and determine a target authentication object corresponding to the target 5G device based on the access request; Capturing a first target image containing the target authentication object through the image acquisition device, and extracting physiological features of the target user contained in the first target image; Determine an authentication result corresponding to the target authentication object based on the physiological characteristics of the target user, wherein the authentication result includes authentication pass and authentication fail; When it is determined that the authentication result is that the authentication is passed, the target 5G device is controlled to access the preset target network.
2. The method according to claim 1, characterized in that The step of obtaining the authentication result corresponding to the target authentication object based on the physiological characteristics of the target user includes: Acquire a plurality of preset baseline physiological characteristics; Comparing the target user's physiological characteristics with the plurality of reference physiological characteristics to obtain a plurality of first comparison results; Determining whether the plurality of reference physiological characteristics include a target reference physiological characteristic based on the plurality of first comparison results, wherein the target reference physiological characteristic is a reference physiological characteristic that is consistent with the physiological characteristic of the target user; If it is determined that the target reference physiological feature is included in the plurality of reference physiological features, determining that the authentication result corresponding to the target authentication object is the authentication passed; If it is determined that the target reference physiological feature is not included in the plurality of reference physiological features, then the authentication result corresponding to the target authentication object is determined to be the authentication failure.
3. The method according to claim 2, characterized in that The step of controlling the target 5G device to access a preset target network includes: Reading device identification information contained in the access request; Constructing a target communication channel corresponding to the target 5G device based on the device identification information, and generating a first address parameter according to the device identification information; The first address parameter is sent to the target 5G device through the target communication channel to control the target 5G device to access the preset target network according to the first address parameter.
4. The method according to claim 3, characterized in that The target network includes multiple preset sub-network environments; After the step of reading the device identification information contained in the access request, the method further includes: Determine the access device type corresponding to the target 5G device according to the device identification information; Based on the access device type, a target subnetwork environment is selected in multiple preset subnetwork environments, and the target 5G device is controlled to access the target subnetwork environment.
5. The method according to claim 4, characterized in that The step of selecting a target sub-network environment in a plurality of preset sub-network environments based on the access device type comprises: Determine a device type matching rule corresponding to each of the plurality of preset sub-network environments, and determine a reference device type corresponding to each of the device type matching rules; Comparing the access device type with a plurality of the reference device types to identify a target device type among the plurality of the reference device types; The preset sub-network environment corresponding to the target device type is determined as the target sub-network environment.
6. The method according to claim 4, characterized in that After the step of controlling the target 5G device to access the target sub-network environment, the method further includes: Obtain the network access log of the target 5G device, and determine whether the target 5G device has a security risk based on the network access log; If it is determined that the target 5G device has the security risk, obtaining a preset second address parameter; The second address parameter is sent to the target 5G device to control the target 5G device to switch from the target sub-network environment to a preset isolated network environment.
7. A 5G wireless device access router device, characterized in that: The 5G wireless device access router device is applied to a router equipped with an image acquisition device, and the device includes: A target determination module is used to receive an access request from a target 5G device and determine a target authentication object corresponding to the target 5G device based on the access request; A feature acquisition module, used to capture a first target image containing the target authentication object through the image acquisition device, and extract physiological features of the target user contained in the first target image; An authentication execution module, used to determine an authentication result corresponding to the target authentication object based on the physiological characteristics of the target user, wherein the authentication result includes authentication pass and authentication fail; The device access module is used to control the target 5G device to access a preset target network when it is determined that the authentication result is that the authentication is passed.
8. A router, characterized in that: The router comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the method for a 5G wireless device to access a router as claimed in any one of claims 1 to 6.
9. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the method for accessing a 5G wireless device to a router as described in any one of claims 1 to 6 are implemented.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the method for a 5G wireless device to access a router as claimed in any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Routing device, network access method and device of communication terminal
CN105791139A
Authorized network access method and device
CN106454829A
Router intranet access method, system and equipment and readable storage medium
CN112291279A
Face identification router
CN204392290U
Method for accessing network, and control terminal and router
WO2018095372A1
