Electronic device networking processing method and electronic device

By using controllers and operating system programs in electronic devices to verify the network address and identification information of the docking station, the problem of electronic devices being unable to determine the identity of the docking station is solved, thus achieving accurate binding between the docking station and the device and network security management.

CN115766658BActive Publication Date: 2026-07-24联想开天科技有限公司
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
联想开天科技有限公司
Filing Date
2022-11-21
Publication Date
2026-07-24

AI Technical Summary

Technical Problem

In existing technologies, electronic devices cannot connect to wired networks without verifying the identity of the docking station, resulting in low network security and management efficiency.

Method used

The controller and operating system program in the electronic device verify the network address and identification information of the docking station to ensure that it meets the preset conditions before allowing it to connect to the network. This includes dual verification at the BIOS stage and the operating system stage, and identity binding or replacement is performed if the conditions are not met.

Benefits of technology

It achieves accurate binding between the docking station and electronic devices, ensuring network security and management efficiency, avoiding identity confusion, and guaranteeing online security and convenient network management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115766658B_ABST
    Figure CN115766658B_ABST
Patent Text Reader

Abstract

The application discloses a processing method for electronic device networking and an electronic device. The method comprises the following steps: in the case that a docking station is connected to the electronic device, acquiring a first network address and first identification information stored in the docking station; determining, by a first controller in the electronic device, whether the first network address and the first identification information both meet a first condition; in the case that the first network address and the first identification information both meet the first condition, allowing the first controller to connect to a network and control the electronic device to enter an operating system; based on a first program installed in the operating system, respectively determining whether the first network address and the first identification information both meet a second condition; in the case that the first network address and the first identification information both meet the second condition, allowing the docking station to connect to the network based on the operating system. The method can accurately determine the identity of the electronic device and the docking station, and ensure the network security while facilitating the network security management.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communications, and in particular to a method for networking electronic devices and an electronic device. Background Technology

[0002] Computers and other electronic devices can be connected to docking stations, enabling them to expand their functionality. For example, some laptops cannot install RJ45-based wired networks. To access the internet via a wired network, the laptop can use a docking station to connect. However, this solution cannot verify the identity of the docking station before allowing the electronic device to connect to the wired network, thus failing to determine the device's identity and hindering network security and effective management. Summary of the Invention

[0003] This application provides a method for processing network connectivity of electronic devices, including: When the docking station is connected to an electronic device, the first network address and the first identification information stored in the docking station are obtained; The first controller in the electronic device determines whether the first network address and the first identification information both meet the first condition. If it is determined that both the first network address and the first identification information meet the first condition, the first controller is allowed to connect to the network and control the electronic device to enter the operating system; Based on the first program installed in the operating system, it is determined whether the first network address and the first identification information both meet the second condition. If both the first network address and the first identification information meet the second condition, the docking station is allowed to connect to the network based on the operating system.

[0004] Optionally, the first controller stores a second network address and second identification information. The step of determining whether the first network address and the first identification information both meet the first condition through the first controller in the electronic device includes: Before the electronic device enters the operating system, the first controller compares the first network address with the second network address. If they are the same, the first network address is determined to meet the first condition, wherein the second network address is the unique network address of the electronic device. The first controller compares the first identification information with the second identification information. If they are the same, the first identification information is determined to meet the first condition, wherein the second identification information is the unique identification information of the electronic device.

[0005] Optionally, after the electronic device enters the operating system, the method further includes: If the first identification information is determined to be inconsistent with the second condition, the electronic device is prohibited from connecting to the network; or, If it is determined that the first identification information does not meet the second condition, the second identification information stored in the first controller is retrieved from the first controller based on the binding instruction using the refresh tool installed in the operating system; The second identification information is written to the expansion dock to overwrite the first identification information.

[0006] Optionally, after writing the second identification information to the docking station to overwrite the first identification information, the method further includes: Compare the first network address with the second network address stored in the first controller; If the second network address is different from the first network address, the second network address is flashed into the docking station using the refresh tool, overwriting the first network address, so as to bind the docking station to the electronic device.

[0007] Optionally, after the electronic device enters the operating system, the method further includes: If it is determined that the first network address does not meet the second condition, the electronic device is prohibited from connecting to the network; or, If it is determined that the first network address does not meet the second condition, based on the binding instruction, the second network address stored in the first controller is retrieved from the first controller using the refresh tool installed in the operating system; The second network address is written to the docking station to overwrite the first network address.

[0008] Optionally, allowing the docking station to connect to the network based on the operating system when both the first network address and the first identification information meet the second condition includes: The docking station is controlled to communicate with the outside network based on the first network address.

[0009] Optionally, obtaining the first network address and first identification information stored in the docking station includes: The first controller identifies the first network address and the first identification information in the expansion dock; The first network address and the first identification information are stored in the memory of the first controller.

[0010] Alternatively, the method may further include: If it is determined that at least one of the first network address and the first identification information does not meet the first condition, the first controller is prohibited from connecting to the network.

[0011] This application also provides an electronic device, including: The acquisition module is configured to acquire a first network address and a first identification information stored in the expansion dock when the expansion dock is connected to an electronic device; The first processing module is configured to determine, through the first controller in the electronic device, whether the first network address and the first identification information both meet the first condition; If it is determined that both the first network address and the first identification information meet the first condition, the first controller is allowed to connect to the network and control the electronic device to enter the operating system; The second processing module is configured to determine, based on a first program installed in the operating system, whether the first network address and the first identification information both meet the second condition. If both the first network address and the first identification information meet the second condition, the docking station is allowed to connect to the network based on the operating system.

[0012] This application also provides an electronic device, including a processor and a memory, wherein the memory stores an executable program, and the processor processes the executable program to perform the steps of the method described above.

[0013] The electronic device network processing method of this application embodiment can identify the identity of the docking station connected to the electronic device, thereby binding the compatible docking station to the electronic device. When the electronic device uses the docking station for network operations, the identities of the electronic device and the docking station can be accurately determined, and appropriate network monitoring can be provided based on these identities, ensuring internet security while facilitating network security management. Attached Figure Description

[0014] Figure 1 A flowchart illustrating a method for connecting an electronic device to the network according to an embodiment of this application; Figure 2 Examples of embodiments of this application Figure 1 A flowchart of an implementation of step S200; Figure 3 This is a flowchart illustrating an implementation of the processing method according to an embodiment of this application; Figure 4 This is a flowchart illustrating another implementation of the processing method described in this application. Figure 5 This is a flowchart illustrating yet another implementation of the processing method described in this application. Figure 6 Examples of embodiments of this application Figure 1 A flowchart of an implementation of step S100; Figure 7 A flowchart illustrating a specific embodiment of the processing method described in this application; Figure 8 This is a structural block diagram of the electronic device according to an embodiment of this application; Figure 9 This is a structural block diagram of another electronic device according to an embodiment of this application. Detailed Implementation

[0015] Various embodiments and features of this application are described herein with reference to the accompanying drawings.

[0016] It should be understood that various modifications can be made to the embodiments described herein. Therefore, the above description should not be considered as limiting, but merely as an example of embodiments. Other modifications within the scope and spirit of this application will be apparent to those skilled in the art.

[0017] The accompanying drawings, which are included in and form part of this specification, illustrate embodiments of the present application and, together with the general description of the present application given above and the detailed description of the embodiments given below, serve to explain the principles of the present application.

[0018] These and other features of this application will become apparent from the following description of preferred forms of embodiments given as non-limiting examples, with reference to the accompanying drawings.

[0019] It should also be understood that although this application has been described with reference to some specific examples, those skilled in the art can certainly implement many other equivalent forms of this application.

[0020] The above and other aspects, features and advantages of this application will become more apparent when taken in conjunction with the accompanying drawings and in view of the following detailed description.

[0021] Specific embodiments of this application are described thereafter with reference to the accompanying drawings; however, it should be understood that the claimed embodiments are merely examples of this application, which can be implemented in various ways. Well-known and / or repeated functions and structures are not described in detail to avoid unnecessary or redundant details that could obscure the application. Therefore, the specific structural and functional details claimed herein are not intended to be limiting, but merely serve as the basis and representative basis for the claims to teach those skilled in the art to use this application in a variety of substantially any suitable detailed structures.

[0022] This specification may use the phrases “in one embodiment,” “in another embodiment,” “in yet another embodiment,” or “in other embodiments,” all of which may refer to one or more of the same or different embodiments according to this application.

[0023] This application discloses a method for networking an electronic device. This method can be applied to electronic devices such as computers. The electronic device can be connected to a docking station, which can expand the functionality of the electronic device. For example, the docking station has a network card that can convert network data transmitted based on a first protocol to a second protocol. The docking station can be associated with and used by the electronic device, while an unassociated docking station cannot be used by the electronic device.

[0024] This processing method verifies the docking station using a first controller in the electronic device and a first program in the operating system, thereby determining whether the docking station is associated with the electronic device. If the association is confirmed, the docking station is allowed to connect to the network, enabling the electronic device to transmit network data. Furthermore, the docking station's identity can be determined during the analysis process, allowing the identification information of the electronic device when it accesses the internet through the docking station, thus facilitating network security management.

[0025] The processing method will be described in detail below with reference to the accompanying drawings. Figure 1 This is a flowchart of a method for connecting an electronic device to the internet, as described in an embodiment of this application. Figure 1 As shown and combined Figure 7 The method includes the following steps: S100: When the expansion dock is connected to an electronic device, obtain the first network address and the first identification information stored in the expansion dock.

[0026] For example, a docking station can have a device that extends functionality. When connected to an electronic device, it enables the electronic device to have corresponding extended functions. The docking station can connect to a wired network, such as an RJ45-based wired network. It also includes a processing module on the docking station that handles specific communication protocols and can connect to devices with specific interfaces, allowing those devices to interact with the electronic device via the docking station.

[0027] The docking station stores a first network address and first identification information. The first network address is the network address required for network communication by the docking station. This first network address is unique and can thus identify the docking station's identity for network communication, such as the docking station's MAC address. The first identification information is the docking station's own hardware identifier, including the manufacturer ID (VID) and product ID (PID). This first identification information is also unique and can identify the docking station.

[0028] The first network address and the first identification information can be stored in a specific memory of the docking station. When the docking station is connected to an electronic device, the electronic device can obtain the first network address and the first identification information by accessing the specific memory.

[0029] S200, the first controller in the electronic device determines whether the first network address and the first identification information both meet the first condition.

[0030] For example, the first controller can be an operating system-independent controller. For instance, the first controller can be the basic input / output system (BIOS) of an electronic device, which can operate before the operating system is started.

[0031] The first controller can obtain the first network address and first identification information of the expansion dock, and then perform analysis. For example, the first controller can copy the first network address and first identification information into the registers in the BIOS, and then analyze the first network address and first identification information to determine whether they meet the first condition.

[0032] The first condition can be a condition for the first controller to authenticate the first network address and the first identification information according to actual needs. This includes determining whether the first network address and the first identification information conform to specific content. For example, determining whether the first network address is the same as a second network address pre-stored by the first controller, and determining whether the first identification information is the same as a second identification information pre-stored by the first controller. If both are the same, it is confirmed that the first network address and the first identification information both meet the first condition. Thus, it can be preliminarily determined that the docking station is associated with an electronic device, allowing the first controller to connect to the network.

[0033] S300: If it is determined that both the first network address and the first identification information meet the first condition, the first controller is allowed to connect to the network and control the electronic device to enter the operating system.

[0034] For example, determining that both the first network address and the first identification information meet the first condition can be done by determining that the first network address is the same as the second network address pre-stored by the first controller, and determining that the first identification information is the same as the second identification information pre-stored by the first controller. The second network address is the network address of the docking station pre-stored by the first controller that is associated with (and compatible with) the electronic device, and the second identification information can also be the identification information of the docking station pre-stored by the first controller that is compatible with the electronic device.

[0035] If both the first network address and the first identification information meet the first condition, the first controller can be allowed to connect to the network. For example, allowing the BIOS to connect to the network allows the BIOS to use the network for operations such as performing updates or sending messages to external devices.

[0036] Furthermore, if it is determined that both the first network address and the first identification information meet the first condition, the electronic device is allowed to enter the operating system, thereby enabling the operating system to further determine the compatibility of the docking station and allowing the user to access the Internet through the operating system.

[0037] S400, based on the first program installed in the operating system, determine whether the first network address and the first identification information both meet the second condition.

[0038] For example, in this embodiment, the docking station can be further authenticated based on the operating system. The second condition can be, as needed, a condition where the operating system authenticates the first network address and the first identification information. This includes determining whether the first network address and the first identification information conform to specific content through a first program in the operating system.

[0039] For example, it is determined whether the first network address is the same as the second network address pre-stored by the first controller, and whether the first identification information is the same as the second identification information pre-stored by the first controller. If they are both the same, the operating system can determine that both the first network address and the first identification information meet the second condition. On the one hand, the second network address and the second identification information can be retrieved from the BIOS, and then the first network address and the first identification information can be analyzed; on the other hand, the second network address and the second identification information pre-stored in the operating system can be retrieved, and then the first network address and the first identification information can be analyzed.

[0040] The first program in the operating system can be one or more associated programs installed within the operating system. Upon entering the operating system, the first program runs, loading the docking station and then determining whether the first network address and first identification information meet the second condition. This can be achieved by loading and identifying the docking station through a driver, and then analyzing and judging the first network address and first identification information using built-in system development programs.

[0041] S500: If it is determined that both the first network address and the first identification information meet the second condition, the docking station is allowed to connect to the network based on the operating system.

[0042] For example, both the first network address and the first identification information meet the second condition, which means that the first network address is the same as a pre-stored second network address, and the first identification information is the same as a pre-stored second identification information. When both the first network address and the first identification information meet the second condition, it can be determined that the docking station is compatible with the electronic device, and thus the docking station can be bound to the electronic device for easy use.

[0043] Electronic devices can connect to a wired network via a docking station under the operating system to access the internet. While allowing the docking station to connect to the wired network based on the operating system, it also identifies the electronic device and its associated docking station, thus facilitating network security management.

[0044] The electronic device network processing method of this application embodiment can identify the identity of the docking station connected to the electronic device, thereby binding the compatible docking station to the electronic device. When the electronic device uses the docking station for network operations, the identities of the electronic device and the docking station can be accurately determined, and appropriate network monitoring can be provided based on these identities, ensuring internet security while facilitating network security management.

[0045] In one embodiment of this application, the first controller stores a second network address and second identification information. The first controller in the electronic device determines whether both the first network address and the first identification information meet a first condition. Figure 2 As shown, it includes the following steps: S210, before the electronic device enters the operating system, the first controller compares the first network address with the second network address. If they are the same, the first network address is determined to meet the first condition, wherein the second network address is the unique network address of the electronic device.

[0046] For example, the first network address can be the MAC address of a docking station connected to the electronic device, serving as the MAC address to be authenticated. The first controller can operate independently of the operating system; for example, the first controller can be the BIOS. Before the electronic device enters the operating system, the first controller can compare the first network address with the second network address. The second network address can be a pre-set network address of the docking station associated with the electronic device; for example, the MAC address of the associated docking station is a standard MAC address, which can be the unique network address of the electronic device. The standard MAC address can be pre-stored in the BIOS. After obtaining the MAC address to be authenticated, the BIOS can compare it with the standard MAC address; if they are the same, then the MAC address to be authenticated meets the first condition.

[0047] S220, the first controller compares the first identification information with the second identification information. If they are the same, the first identification information is determined to meet the first condition, wherein the second identification information is the unique identification information of the electronic device.

[0048] Similarly, the first identification information can be the identification information of a docking station connected to the electronic device, serving as the identification information to be authenticated. The first controller can operate independently of the operating system; for example, the first controller can be the BIOS. Before the electronic device enters the operating system, the first controller can compare the first identification information with the second identification information. The second identification information can be pre-set identification information of the docking station associated with the electronic device, such as the manufacturer ID and product ID of the associated docking station. This is standard identification information and can be unique identification information for the docking station. The standard identification information can be pre-stored in the BIOS or other storage locations on the electronic device. After obtaining the identification information to be authenticated, the BIOS can compare it with the standard identification information. If they are the same, then the identification information to be authenticated is determined to meet the first condition.

[0049] In one embodiment of this application, combined with Figure 3 and Figure 7 After the electronic device enters the operating system, the method further includes the following steps: If the first identification information is determined to be inconsistent with the second condition, the electronic device is prohibited from connecting to the network; or, S600, if it is determined that the first identification information does not meet the second condition, based on the binding instruction, the second identification information stored in the first controller is retrieved from the first controller using the refresh tool installed in the operating system; S700, the second identification information is written to the expansion dock to overwrite the first identification information.

[0050] For example, on the one hand, if the first identification information does not meet the second condition, it indicates that the hardware configuration of the docking station is different from the standard identification information stored in the electronic device. This determines that the docking station currently connected to the electronic device is not associated with the electronic device, thus prohibiting the electronic device from using the currently connected docking station to access the internet. This avoids the situation where the identity of the electronic device itself conflicts with that of the docking station when the electronic device is connected to the internet, making it impossible to determine the true identity of the electronic device and leading to identity confusion for internet access operations.

[0051] On the other hand, when the first identification information does not meet the second condition, the electronic device can convert the currently connected docking station into a docking station compatible with itself, thereby ensuring consistency of identity during internet access and facilitating network security management. Specifically, a binding instruction is generated to bind the currently connected docking station to the electronic device, thus associating the docking station with the electronic device. Based on the binding instruction, a refresh tool retrieves the second identification information stored in the first controller, such as standard identification information (i.e., standard manufacturer ID and product ID), and writes this standard identification information into the currently connected docking station, overwriting the original first identification information in the docking station.

[0052] In one embodiment of this application, such as Figure 4 As shown and combined Figure 7 After writing the second identification information to the docking station to overwrite the first identification information, the method further includes the following steps: S800, compare the first network address with the second network address stored in the first controller; S900, if the second network address is different from the first network address, the second network address is flashed to the docking station using the refresh tool, overwriting the first network address, so as to bind the docking station to the electronic device.

[0053] For example, the second network address could be a standard MAC address stored in the BIOS, which could be stored during the manufacturing process of the electronic device or pre-stored by a technical professional according to actual needs. The first network address could be the MAC address to be authenticated of the docking station currently connected to the electronic device.

[0054] By comparing the MAC address to be authenticated with the standard MAC address, if they are different, it can be further determined that the currently connected docking station is not associated with the electronic device and cannot be used together. A refresh tool can be used to flash the standard MAC address into the docking station, thus overwriting the original MAC address to be authenticated. Furthermore, since the electronic device also flashes its second identification information into the docking station, overwriting the original first identification information, the docking station and the electronic device are thus bound together. In subsequent use of the docking station, the electronic device can use it as an associated device.

[0055] In one embodiment of this application, combined with Figure 5 and Figure 7 After the electronic device enters the operating system, the method further includes the following steps: If it is determined that the first network address does not meet the second condition, the electronic device is prohibited from connecting to the network; or, S1000, if it is determined that the first network address does not meet the second condition, based on the binding instruction, the second network address stored in the first controller is retrieved from the first controller using the refresh tool installed in the operating system; S2000, the second network address is written to the expansion dock to overwrite the first network address.

[0056] For example, on the one hand, after an electronic device enters the operating system, the operating system can control the electronic device. For docking stations whose first network address does not meet the second condition, the electronic device is prohibited from connecting to the network through the currently connected docking station. This avoids conflicts between the identity of the electronic device and the docking station when the electronic device connects to the network, thus preventing confusion in the identity corresponding to the internet access operation.

[0057] On the other hand, when the first network address does not meet the second condition, the electronic device can convert the currently connected docking station into one compatible with itself, thereby ensuring consistency of identity during internet access and facilitating network security management. Specifically, a binding instruction is generated to bind the currently connected docking station to the electronic device, thus associating the docking station with the electronic device. Based on the binding instruction, a refresh tool retrieves the stored second network address from the first controller, such as a standard network address (i.e., a standard MAC address), and writes this standard MAC address into the currently connected docking station, overwriting the original first network address. Furthermore, if the second identification information obtained by the operating system at this time is the same as the first identification information in the docking station, the binding operation between the docking station and the electronic device can be achieved. During subsequent use of the docking station, the electronic device can use it as an associated device.

[0058] In one embodiment of this application, allowing the docking station to connect to the network based on the operating system when both the first network address and the first identification information meet the second condition includes: The docking station is controlled to communicate with the outside network based on the first network address.

[0059] For example, when it is determined that both the first network address and the first identification information meet the second condition, the electronic device can use a docking station to connect and communicate with external devices over the network.

[0060] During network communication, since the second network address stored in the electronic device is the same as the first network address stored in the expansion dock, the electronic device can directly connect to the network through the first network address stored in the expansion dock.

[0061] In one embodiment of this application, the step of obtaining the first network address and first identification information stored in the docking station is as follows: Figure 6 As shown, it includes: S110, the first network address and the first identification information in the expansion dock are identified through the first controller; S120, the identified first network address and the first identification information are stored in the memory of the first controller.

[0062] For example, when the electronic device is not in the operating system, the first controller can operate independently of the operating system. The first controller can identify the docking station connected to the electronic device and obtain the first network address and first identification information stored in the docking station. It can then copy the identified first network address and first identification information and store the copied file in the first controller's memory for subsequent analysis of the first network address and first identification information.

[0063] In one embodiment of this application, the method further includes: if it is determined that at least one of the first network address and the first identification information does not meet the first condition, prohibiting the first controller from connecting to the network.

[0064] For example, if at least one of the first network address and the first identification information does not meet the first condition, it indicates that the docking station currently connected to the electronic device is not associated with the electronic device and cannot be used in conjunction with it. At this time, the electronic device has not yet entered the operating system, but the first controller, such as the BIOS, can still operate, such as performing update operations. However, in this embodiment, it is necessary to disable the BIOS from connecting to the network and to prevent the BIOS from communicating with the outside world via the docking station through wired connections. This prevents the MAC address of the electronic device from conflicting with the MAC address of the docking station, thus avoiding the problem of not being able to determine the true identity of the electronic device and facilitating network management.

[0065] Based on the same inventive concept, embodiments of this application also provide an electronic device, such as... Figure 8 As shown, it includes: The acquisition module is configured to acquire a first network address and a first identification information stored in the expansion dock when the expansion dock is connected to an electronic device.

[0066] For example, a docking station can have a device that extends functionality. When connected to an electronic device, it enables the electronic device to have corresponding extended functions. The docking station can connect to a wired network, such as an RJ45-based wired network. It also includes a processing module on the docking station that handles specific communication protocols and can connect to devices with specific interfaces, allowing those devices to interact with the electronic device via the docking station.

[0067] The docking station stores a first network address and first identification information. The first network address is the network address required for network communication by the docking station. This first network address is unique and can thus identify the docking station's identity for network communication, such as the docking station's MAC address. The first identification information is the docking station's own hardware identifier, including the manufacturer ID and product ID. This first identification information is also unique and can identify the docking station.

[0068] The first network address and the first identification information can be stored in a specific memory of the expansion dock. When the expansion dock is connected to an electronic device, the acquisition module can obtain the first network address and the first identification information by accessing the specific memory.

[0069] The first processing module is configured to determine, through a first controller in the electronic device, whether the first network address and the first identification information both meet the first condition.

[0070] If both the first network address and the first identification information meet the first condition, the first controller is allowed to connect to the network and control the electronic device to enter the operating system.

[0071] For example, the first controller can be an operating system-independent controller. For instance, the first controller can be the basic input / output system (BIOS) of an electronic device, which can operate before the operating system is started.

[0072] The first controller can obtain the first network address and first identification information of the expansion dock, and then perform analysis. For example, the first processing module copies the first network address and first identification information into the register in the BIOS through the first controller, and then analyzes the first network address and first identification information to determine whether they meet the first condition.

[0073] The first condition can be a condition for the first controller to authenticate the first network address and the first identification information according to actual needs. This includes determining whether the first network address and the first identification information meet specific requirements. For example, the first processing module determines whether the first network address is the same as a second network address pre-stored by the first controller, and determines whether the first identification information is the same as the second identification information pre-stored by the first controller. If both are the same, it is confirmed that the first network address and the first identification information meet the first condition. Thus, it can be preliminarily determined that the docking station is associated with an electronic device, allowing the first controller to connect to the network.

[0074] The first processing module determines that both the first network address and the first identification information meet the first condition. This can be achieved by the first processing module determining that the first network address is the same as the second network address pre-stored by the first controller, and that the first identification information is the same as the second identification information pre-stored by the first controller. The second network address is the network address of the docking station pre-stored by the first controller that is associated with (and compatible with) the electronic device, and the second identification information can also be the identification information of the docking station pre-stored by the first controller that is compatible with the electronic device.

[0075] If the first processing module determines that both the first network address and the first identification information meet the first condition, it may allow the first controller to connect to the network. For example, allowing the BIOS to connect to the network allows the BIOS to use the network for operations such as performing updates or sending messages to external devices.

[0076] Furthermore, if the first processing module determines that both the first network address and the first identification information meet the first condition, the electronic device is allowed to enter the operating system. This allows the operating system to further determine the compatibility of the docking station and enables the user to access the Internet through the operating system.

[0077] The second processing module is configured to determine, based on a first program installed in the operating system, whether the first network address and the first identification information both meet the second condition.

[0078] If both the first network address and the first identification information meet the second condition, the docking station is allowed to connect to the network based on the operating system.

[0079] For example, in this embodiment, the docking station can be further authenticated based on the operating system. The second condition can be, as needed, a condition where the operating system authenticates the first network address and the first identification information. This includes determining whether the first network address and the first identification information conform to specific content through a first program in the operating system.

[0080] For example, the second processing module determines whether the first network address is the same as the second network address pre-stored by the first controller, and also determines whether the first identification information is the same as the second identification information pre-stored by the first controller. If they are both the same, the operating system can determine that both the first network address and the first identification information meet the second condition.

[0081] On the one hand, the second processing module can retrieve the second network address and the second identification information from the BIOS and then analyze the first network address and the first identification information; on the other hand, the second processing module can retrieve the second network address and the second identification information pre-stored in the operating system and then analyze the first network address and the first identification information.

[0082] The first program in the operating system can be one or more associated programs installed within the operating system. Upon entering the operating system, the first program runs, loading the docking station. The second processing module then determines whether the first network address and the first identification information meet the second condition. For example, the docking station can be loaded and identified via a driver, and the second processing module analyzes and judges the first network address and the first identification information using built-in system development programs.

[0083] Both the first network address and the first identification information meet the second condition, which means that the first network address is the same as a pre-stored second network address, and the first identification information is the same as a pre-stored second identification information. When both the first network address and the first identification information meet the second condition, the second processing module can determine that the docking station is compatible with the electronic device, and thus can bind the docking station to the electronic device for easy use.

[0084] Electronic devices can connect to a wired network via a docking station under the operating system to access the internet. The second processing module allows the docking station to connect to the wired network based on the operating system while simultaneously identifying the electronic device and its associated docking station, thus facilitating network security management.

[0085] In one embodiment of this application, the first controller stores a second network address and second identification information, and the first processing module is further configured to: Before the electronic device enters the operating system, the first controller compares the first network address with the second network address. If they are the same, the first network address is determined to meet the first condition, wherein the second network address is the unique network address of the electronic device. The first controller compares the first identification information with the second identification information. If they are the same, the first identification information is determined to meet the first condition, wherein the second identification information is the unique identification information of the electronic device.

[0086] In one embodiment of this application, after the electronic device enters the operating system, the second processing module is further configured to: If the first identification information is determined to be inconsistent with the second condition, the electronic device is prohibited from connecting to the network; or, If it is determined that the first identification information does not meet the second condition, the second identification information stored in the first controller is retrieved from the first controller based on the binding instruction using the refresh tool installed in the operating system; The second identification information is written to the expansion dock to overwrite the first identification information.

[0087] In one embodiment of this application, after the second identification information is written to the expansion dock to overwrite the first identification information, the second processing module is further configured as follows: Compare the first network address with the second network address stored in the first controller; If the second network address is different from the first network address, the second network address is flashed into the docking station using the refresh tool, overwriting the first network address, so as to bind the docking station to the electronic device.

[0088] In one embodiment of this application, after the electronic device enters the operating system, the second processing module is further configured to: If it is determined that the first network address does not meet the second condition, the electronic device is prohibited from connecting to the network; or, If it is determined that the first network address does not meet the second condition, based on the binding instruction, the second network address stored in the first controller is retrieved from the first controller using the refresh tool installed in the operating system; The second network address is written to the docking station to overwrite the first network address.

[0089] In one embodiment of this application, the second processing module is further configured as follows: The docking station is controlled to communicate with the outside network based on the first network address.

[0090] In one embodiment of this application, the acquisition module is further configured as follows: The first controller identifies the first network address and the first identification information in the expansion dock; The first network address and the first identification information are stored in the memory of the first controller.

[0091] In one embodiment of this application, the first processing module is further configured as follows: If it is determined that at least one of the first network address and the first identification information does not meet the first condition, the first controller is prohibited from connecting to the network.

[0092] Based on the same inventive concept, embodiments of this application also provide an electronic device, such as... Figure 9 As shown, it includes a processor and a memory, the memory storing an executable program, and the processor processing the executable program to perform the steps of the method described above.

[0093] The above embodiments are merely exemplary embodiments of this application and are not intended to limit this application. The scope of protection of this application is defined by the claims. Those skilled in the art can make various modifications or equivalent substitutions to this application within its substance and scope of protection, and such modifications or equivalent substitutions should also be considered to fall within the scope of protection of this application.

Claims

1. A method for networking electronic devices, comprising: When the docking station is connected to an electronic device, the first network address and the first identification information stored in the docking station are obtained; The first controller in the electronic device determines whether the first network address and the first identification information both meet the first condition. If it is determined that both the first network address and the first identification information meet the first condition, the first controller is allowed to connect to the network and control the electronic device to enter the operating system; Based on the first program installed in the operating system, it is determined whether the first network address and the first identification information both meet the second condition. If both the first network address and the first identification information meet the second condition, the docking station is allowed to connect to the network based on the operating system. After the electronic device enters the operating system, the method further includes: If it is determined that the first identification information does not meet the second condition, the second identification information stored in the first controller is retrieved from the first controller based on the binding instruction using the refresh tool installed in the operating system; The second identification information is written to the expansion dock to overwrite the first identification information.

2. The method according to claim 1, wherein the first controller stores a second network address and second identification information, and the step of determining whether the first network address and the first identification information both meet the first condition through the first controller in the electronic device includes: Before the electronic device enters the operating system, the first controller compares the first network address with the second network address. If they are the same, the first network address is determined to meet the first condition, wherein the second network address is the unique network address of the electronic device. The first controller compares the first identification information with the second identification information. If they are the same, the first identification information is determined to meet the first condition. The second identification information is the identification information of the docking station associated with the electronic device.

3. The method according to claim 1, wherein after writing the second identification information to the docking station to overwrite the first identification information, the method further includes: Compare the first network address with the second network address stored in the first controller; If the second network address is different from the first network address, the second network address is flashed into the docking station using the refresh tool, overwriting the first network address, so as to bind the docking station to the electronic device.

4. The method according to claim 1, wherein after the electronic device enters the operating system, the method further comprises: If it is determined that the first network address does not meet the second condition, the electronic device is prohibited from connecting to the network; or, If it is determined that the first network address does not meet the second condition, based on the binding instruction, the second network address stored in the first controller is retrieved from the first controller using the refresh tool installed in the operating system; The second network address is written to the docking station to overwrite the first network address.

5. The method according to claim 1, wherein allowing the docking station to connect to the network based on the operating system when both the first network address and the first identification information meet the second condition includes: The docking station is controlled to communicate with the outside network based on the first network address.

6. The method according to claim 1, wherein obtaining the first network address and first identification information stored in the docking station includes: The first controller identifies the first network address and the first identification information in the expansion dock; The first network address and the first identification information are stored in the memory of the first controller.

7. The method according to claim 1, further comprising: If it is determined that at least one of the first network address and the first identification information does not meet the first condition, the first controller is prohibited from connecting to the network.

8. An electronic device, comprising: The acquisition module is configured to acquire a first network address and a first identification information stored in the expansion dock when the expansion dock is connected to an electronic device; The first processing module is configured to determine, through the first controller in the electronic device, whether the first network address and the first identification information both meet the first condition; If it is determined that both the first network address and the first identification information meet the first condition, the first controller is allowed to connect to the network and control the electronic device to enter the operating system; The second processing module is configured to determine, based on a first program installed in the operating system, whether the first network address and the first identification information both meet the second condition. If both the first network address and the first identification information meet the second condition, the docking station is allowed to connect to the network based on the operating system. After the electronic device enters the operating system, the second processing module is further configured as follows: If it is determined that the first identification information does not meet the second condition, the second identification information stored in the first controller is retrieved from the first controller based on the binding instruction using the refresh tool installed in the operating system; The second identification information is written to the expansion dock to overwrite the first identification information.

9. An electronic device comprising a processor and a memory, the memory storing an executable program, the processor processing the executable program to perform the steps of the method as claimed in any one of claims 1 to 7.