How to use the equipment online, export management equipment, target equipment and related devices
By receiving and processing the online request of the target device in the exit management device, generating binding information and activating the device, the problem of autonomous online and configuration of network devices is solved, the automatic activation of the device and the matching of business configuration is achieved, and the user experience and operation are improved. Dimension efficiency reduces operation and maintenance costs.
Patent Information
- Application Number
- CN202211491353.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-25
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2042-11-25
AI Technical Summary
The existing technology is difficult to realize the independent online and configuration of network equipment, resulting in poor user experience and high operation and maintenance costs, especially when batch equipment delivery and failure replacement, the on-site configuration of channel technicians is required.
By receiving the online request of the target device, generating the target binding information, and activate the device with the cooperation of the exit management device to automatically transmit the service configuration. Users can replace the device and activate it themselves, simplifying operations and reducing operation and maintenance costs.
The automatic activation of target equipment and business configuration matching are achieved, which reduces the workload and mismatch rate of channel technicians, improves user experience and operation and maintenance efficiency, and reduces operation and maintenance costs.
Smart Images

Figure CN115941777B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of Internet of Things technology, and in particular to a method for using a device online, an export management device, a target device, and related apparatuses. Background Art
[0002] At present, most users have weak information technology (IT) capabilities for network equipment, making it difficult for network equipment provided by basic network service providers to be independently delivered to users for self-configuration and use. Therefore, the current sales method of network equipment is often channel agency. Specifically, when the equipment product needs to be delivered to the user, the channel technician will go to the user to deploy the basic network of the product to realize the communication service between the product and the corresponding network or other network equipment.
[0003] However, network strategies such as VLAN (Virtual Local Area Network) need to be configured one by one, which makes it easy for channel technicians to miss or misconfigure network connections when delivering large quantities of products. At the same time, in the process of misconfiguration or adding or replacing equipment, channel technicians are still required to restore or deploy configurations on site, resulting in high costs and poor user experience in the later operation and maintenance process.
[0004] In view of this, it is necessary to provide effective solutions to deal with the above problems. Summary of the invention
[0005] The embodiments of the present application provide a method for using an online device, an export management device, a target device and related apparatuses to improve the efficiency of online operation and maintenance of the target device.
[0006] A first aspect of an embodiment of the present application provides a method for using a device online, which is applied to an export management device, including:
[0007] Receiving an online request from a target device connected to a target port, and returning response information to the target device based on the online request, so that the target device is activated under the operation of the egress management device according to the response information, wherein the target port is a device access network port of a branch line where the egress management device is located;
[0008] Obtaining device connection status experienced by the export management device before reaching the activated target device;
[0009] Generate target binding information corresponding to the target port according to the device connection status, wherein the target binding information includes a combination of identifiers between the target port and each device of the export management device;
[0010] According to the target binding information, the target service configuration is sent to the activated target device through the target port.
[0011] A second aspect of an embodiment of the present application provides a method for using a device online, which is applied to a target device accessing a target port, wherein the target port is a device access network port of a branch line where an export management device is located, and includes:
[0012] Sending an online request to the egress management device, and receiving response information sent by the egress management device based on the online request;
[0013] The target device is activated in cooperation with the egress management device according to the response information, so that the egress management device transmits the target service configuration to the activated target device through the target port according to the generated target binding information.
[0014] A third aspect of an embodiment of the present application provides an export management device, including: a first acquisition unit, a first sending unit, and a generation unit;
[0015] The first acquisition unit is used to receive an online request from a target device connected to a target port;
[0016] The first sending unit is used to return response information to the target device based on the online request, so that the target device is activated under the operation of the egress management device according to the response information, and the target port is a device access network port of the branch line where the egress management device is located;
[0017] The first acquisition unit is further used to acquire the device connection status experienced by the export management device before connecting to the activated target device;
[0018] The generating unit is used to generate target binding information corresponding to the target port according to the device connection status, wherein the target binding information includes a combination of identifiers between the target port and each device of the export management device;
[0019] The first sending unit is used to send the target service configuration to the activated target device through the target port according to the target binding information.
[0020] A fourth aspect of an embodiment of the present application provides a target device, including:
[0021] A sending unit, used for sending an online request;
[0022] A second sending unit, used to send an online request to the egress management device;
[0023] A second acquisition unit, configured to receive response information sent by the egress management device based on the online request;
[0024] The processing unit is used to cooperate with the egress management device to activate the target device according to the response information, so that the egress management device transmits the target service configuration to the activated target device through the target port according to the generated target binding information.
[0025] A fifth aspect of the embodiment of the present application provides an export management device, including:
[0026] A first central processing unit, a first memory and a first input and output interface;
[0027] The first memory is a short-term storage first memory or a permanent storage first memory;
[0028] The first central processing unit is configured to communicate with the first memory and execute instruction operations in the first memory to perform the method described in any specific implementation manner of the first aspect of the embodiment of the present application.
[0029] A sixth aspect of an embodiment of the present application provides a target device, including:
[0030] A second central processing unit, a second memory and a second input and output interface;
[0031] The second memory is a temporary storage second memory or a permanent storage second memory;
[0032] The second central processing unit is configured to communicate with the second memory and execute instruction operations in the second memory to perform the method described in any specific implementation manner of the second aspect of the embodiment of the present application.
[0033] A seventh aspect of an embodiment of the present application provides a computer-readable storage medium, comprising instructions, which, when executed on a computer, enable the computer to execute a method as described in any specific implementation of the first aspect or the second aspect of the embodiment of the present application.
[0034] An eighth aspect of an embodiment of the present application provides a computer program product comprising instructions or a computer program. When the computer program product runs on a computer, the computer executes a method as described in the first aspect of the embodiment of the present application, any specific implementation of the first aspect, the second aspect, or any specific implementation of the second aspect.
[0035] It can be seen from the above technical solutions that the embodiments of the present application have at least the following advantages:
[0036] After the target device's online request is received by the export management device, the target device can be automatically activated with the cooperation of the export management device, avoiding the repetitive operation process of activating the target devices one by one when they go online, and reducing the delivery workload and mismatch rate of channel technicians for batch target devices.
[0037] In addition, the target service configuration is transmitted in a matching manner according to the target binding information, which helps the target service configuration not to be associated and matched with the target device itself, but to be associated and matched with the target port of the target device. Therefore, when the target device fails and needs to be replaced, the user replaces the original device with the new target device and connects it to the target port, and the new target device can be automatically activated and used normally. The operation is simple, and the user can put the target device into use by himself without waiting for the channel technician to go to the site for configuration, thereby effectively saving the labor cost and operation and maintenance time in the channel service and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0039] Figure 1 A flowchart of a method for using the device online according to an embodiment of the present application;
[0040] Figure 2a Another flowchart of the method for using the device online according to the embodiment of the present application;
[0041] Figure 2b A schematic diagram of an activation process of a target device in an embodiment of the present application;
[0042] Figure 3 A network topology diagram of the method for using the device online in the embodiment of the present application;
[0043] Figure 4 A schematic diagram of the structure of the export management device of the embodiment of the present application;
[0044] Figure 5 A schematic diagram of the structure of the target device of the embodiment of the present application;
[0045] Figure 6 A schematic diagram of the structure of the export management device of the embodiment of the present application;
[0046] Figure 7 A schematic diagram of the structure of the target device of the embodiment of the present application. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.
[0048] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims and drawings of the present application are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0049] In the following description, "one specific implementation" or "one embodiment" and the like are used to describe a subset of all possible implementations, but it is understood that "one specific implementation" or "one embodiment" may be the same subset or different subsets of all possible implementations, and may be combined with each other without conflict. In the following description, a plurality of terms refers to at least two.
[0050] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0051] The nouns and terms involved in the embodiments of the present application will be explained below. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.
[0052] 1) Wireless AP (AP, Access Point): The abbreviation of wireless access point, the full name in English is Access Point, its function is to establish a connection between the wired network and the wireless network. Figuratively speaking, the wireless access point is the bridge between the wireless network and the wired network.
[0053] 2) Gateway: The full name is Fully Connected Intelligent Gateway. Small and medium-sized enterprises and chain enterprises often use the gateway as the demarcation point between the basic network and the public network. In addition, it also provides wireless management, terminal access authentication, traffic and access control, and simple security protection functions;
[0054] 3) LAN side devices: devices connected to the local area network (LAN) side of a gateway or switch, which may include switches (SW, Switch), wireless access points, Internet of Things (IOT, Internet of Things) devices, user terminals and other target devices.
[0055] To facilitate understanding and explanation, some specific possible implementation examples will be provided below. In actual applications, the implementation contents of these examples can be combined and implemented as needed according to the corresponding functional principles and application logic; among them, the gateway will be used as the export management device, and the target device or the LAN side device will be used to exemplify the specific implementation contents of this application.
[0056] See also Figure 1 The present application provides an embodiment of a method for using a device online, and the embodiment includes the following steps:
[0057] 10. The target device connected to the target port sends an online request to the export management device.
[0058] The target port is the device access network port of the branch line where the export management device is located, such as the LAN port export of the gateway or the LAN port export of the switch downstream of the gateway. In actual operation, the operator (such as the user) can connect the target device to the target port with the network cable according to the plan, and then power on and enable the target device (or LAN side device) so that the target device broadcasts an online request to the export management device.
[0059] 11. The export management device receives the online request.
[0060] The egress management device receives an online request from a target device connected to a target port. The online request (or activation request) may carry an activation message of the target device, and the activation message may include request authentication information for verification by the egress management device, such as one or more of the following request authentication information of the target device: media access control address (MAC, MediaAccessControlAddress) address, IP address, device hardware model, software version number, activation timestamp, unique information identifier (such as token identifier). The unique information identifier may be preset by the device supplier when it leaves the factory, and may be used to identify whether the target device is produced by the manufacturer.
[0061] 12. The export management device returns a response message to the target device.
[0062] After receiving the online request sent by the target device, the egress management device can return response information to the target device based on the online request, so that the target device can be activated under the operation of the egress management device according to the response information. Specifically, the target device can be activated and take effect on the egress management device, so that the egress management device at this time has the ability to manage the target device, such as transmitting the target service configuration to it accordingly; it can be understood that the activated target device can be characterized as being formally incorporated into the basic network of the egress management device, and can realize the service function of local area communication.
[0063] 13. The target device receives the response information and is activated.
[0064] After receiving the response information sent by the exit management device, the target device can be activated under the operation of the exit management device according to the response information.
[0065] 14. The export management device obtains the device connection status.
[0066] Specifically, the exit management device obtains the device connection status experienced before the exit management device reaches the activated target device, so as to know which devices are connected in the branch line before the exit management device reaches the activated target device.
[0067] 15. The export management device generates target binding information.
[0068] The export management device generates target binding information corresponding to the target port according to the device connection status. The target binding information includes the identification combination between the devices from the target port to the export management device; for example, the target binding information may include the device identification ID of each device from the target port to the export management device.
[0069] 16. Send the target service configuration to the activated target device through the target port.
[0070] Specifically, according to the target binding information, the target service configuration is sent to the activated target device through the target port. In some specific examples, the target service configuration can be issued by the gateway, and the target service configuration issued by the gateway for the activated and effective target device includes wireless service configuration information and / or wired service configuration information, such as network policy information such as virtual local area network (VLAN, Virtual Local Area Network), and the target service configuration can be used to regulate the communication parameters between the gateway and the target device. For example, the wireless service configuration may include: at least one of the wireless network configuration, wireless radio frequency configuration and wireless security configuration, which mainly controls the name of the wireless radio frequency signal, radio frequency related parameters or wireless security functions; the wired service configuration may include: at least one of the switch port configuration, communication configuration, routing configuration and security configuration, which mainly controls the switch network port parameters, network port traffic forwarding direction or switch traffic security.
[0071] On the basis of step 15, the operation of step 16 can be understood as associating and binding the target binding information and the target business configuration, or it can be regarded as the target business configuration specifically matching the target port to which it belongs, wherein the target port is associated with the target binding information, so that any target device connected to the target port can receive the target business configuration without having to worry about whether the new target device (new device) can be easily and successfully activated and put into use on the export management device if it is replaced with a new target device (new device), so that it can be put into use normally; therefore, it can be seen that the application embodiment opens up the number of target devices that can be put into use online, and effectively supports more than one target device to be put into use online.
[0072] In summary, after the target device's online request is received by the export management device, the target device can be automatically activated and take effect with the cooperation of the export management device, avoiding the repetitive operation process of activating the target devices one by one when they are online, and reducing the delivery workload and mismatch rate of batch target devices by channel technicians. In addition, the target business configuration is transmitted in a matching manner according to the target binding information, which helps the target business configuration not to be associated and matched with the target device itself, but to be associated and matched with the target port of the target device. Therefore, when the target device fails and needs to be replaced, the user replaces the original device with the new target device and connects it to the target port to automatically activate and use the new target device normally. The operation is simple, and the user can put the target device into use by himself without waiting for the channel technician to go to the site for configuration, thereby effectively saving the labor cost and operation and maintenance time in the channel service and improving the user experience.
[0073] See also Figures 2a to 3 The present application provides another embodiment of a method for using a device online, the embodiment comprising the following steps:
[0074] 20. The target device connected to the target port sends an online request to the export management device.
[0075] 21. The export management device receives the online request.
[0076] 22. The export management device returns a response message to the target device.
[0077] 23. The target device receives the response information and is activated.
[0078] In some specific examples, the online request carries the request authentication information of the target device, and the specific implementation process of activating the target device may include:
[0079] The export management device verifies the request authentication information carried in the online request, and returns response information (response information or called activation permission response) to the target device after the request authentication information verification is passed. The request authentication information can be recorded in the form of an activation message; after the target device receives the activation permission response, the export management device cooperates with the target device to establish a long connection channel between the target port and the export management device to indicate that the target device is successfully activated. The long connection channel is used to transmit the target service configuration to the target device through the target port.
[0080] Specifically, after the gateway monitors the activation message sent by the LAN side device, the gateway verifies the request authentication information therein to determine whether the LAN side device is allowed to be activated to the gateway, for example, the gateway verifies whether the physical address of the LAN side device is correct, whether the unique information identifier is legal, whether the corresponding hardware model and / or software version is allowed to be activated, whether the activation timestamp has timed out, etc. After the gateway verifies the request authentication information of the LAN side device successfully, it sends an activation permission response (the activation permission response can be called a response message) to the LAN side device to indicate that the LAN side device is allowed to be activated by the gateway; illustratively, after the LAN side device is activated to the gateway, it can be included in the activated device list by the gateway to indicate that the gateway at this time has the ability to manage the LAN side device.
[0081] After receiving the activation permission response, the target device can cooperate with the gateway to establish a long connection channel such as a data channel and a control channel. Specifically, after receiving the activation permission response, the LAN side device can send a tunnel establishment request to the gateway, and according to the response information carried in the activation permission response, such as the information of the gateway and other upstream devices, cooperate with the export management device to establish a long connection channel, so that the LAN side device can officially take effect on the gateway's basic network and realize local area communication services.
[0082] In some specific examples, the target service configuration sent by the gateway to the activated and effective target device includes wireless service configuration information and / or wired service configuration information.
[0083] 24. The export management device obtains the device connection status.
[0084] In some specific examples, the activated target device may send a topology protocol message to the egress management device, so that the egress management device can analyze and obtain the device connection status used to generate the target binding information. Specifically, the topology protocol message may be actively constructed by the target device.
[0085] Therefore, the specific implementation process of step 24 may include:
[0086] The export management device receives the topology protocol message sent by the activated target device, and queries the switching device that the topology protocol message passes through during the transmission to the export management device, so as to analyze the network topology used to represent the device connection status. Specifically, the export management device can generate a network topology based on a topology production protocol such as the Session Description Protocol (SDP) to characterize the device connection status of the entire network or the branch where the export management device is located. In some specific examples, the export management device can also deploy the activated target device and the target service configuration configured for it to the aforementioned network topology to obtain Figure 3 The network topology structure shown in the figure is shown in the figure, and the target service configuration is saved according to the port on the egress management device side, so that the target service configuration is eventually sent to the target device accordingly.
[0087] It should be noted that Figure 3 The network topology structure shown is only one of the schematic diagrams. The actual topology is generated according to the user topology. Different user device scales will result in different topology levels. The larger the user device scale, the more corresponding topology levels will be.
[0088] 25. Generate target binding information.
[0089] In some specific examples, after the egress management device obtains the network topology used to represent the device connection status, the specific implementation process of step 25 may include:
[0090] Obtain the attribute information corresponding to each level of switching equipment in the network topology, and generate target binding information based on the attribute information.
[0091] Specifically, when the attribute information includes the network port information of the switching device (which may include a gateway device) such as the device ID, the process of generating the target binding information based on the attribute information may include: using a hashing algorithm such as a message digest algorithm (MD5 algorithm) or a hash-based message authentication code (HMAC, Hash-based Message Authentication Code) algorithm to convert the network port information corresponding to each upstream switching device of the target device to splice and obtain the target binding information of the target device.
[0092] Exemplarily, the egress management device may first identify the automatically activated target device, specifically which type of device is the following (i.e., different forms of target devices are distinguished): switch, wireless access point, user PC, wireless terminal, etc., wherein the switch may also identify the number of its network ports (or ports or LAN ports) as needed, so as to analyze which LAN side devices are connected to it; then, the egress management device may identify the target device according to the following types of devices: Figure 3 The device connection status and device form shown in the figure use the MD5 algorithm to concatenate the IDs of the upper-layer device network ports of the target device into a string as the target binding information, for example:
[0093] The target binding information of the target device at the fourth level = gateway network port ID + first-level device LAN port ID + second-level device LAN port ID + third-level device LAN port ID, where the gateway can be regarded as a top-level switching device.
[0094] In addition, in some specific examples, the above attribute information may also include the factory identification of the exchange device and / or the device model of the target device; therefore, in the actual scenario where the factory identification is required, Figure 3 The correspondence between the export management device and the plug-and-play target device shown can be: "a certain layer target device model" corresponds to the associated "target binding information = factory identification + network port ID of each upper layer device (including the top-level gateway) of the target device"; wherein, the factory identification is also called a fixed value, which can specifically be the unique information identification of the target device (switch or access point); of course, the device model of the target device can be added in the same way to generate different target binding information and enhance the device security performance.
[0095] 26. Send the target service configuration to the activated target device through the target port.
[0096] In actual applications, the export management device can associate and bind the target binding information and the target business configuration, and the target binding information can uniquely mark the corresponding target port. The target business configuration is associated with the configuration identifier, so that when replacing the target device, it is not necessary to re-execute operations such as configuring the target binding information. The new target device can be activated and used normally by connecting the new target device to the aforementioned target port, thereby replacing the previous target device; wherein, the new device is connected to the LAN side port originally connected to the old device (that is, the target port bound with the target binding information) by directly unplugging the network cable of the old device and plugging it into the port of the new device. For example, when the original target device is damaged, the clerk (who can be regarded as the user) can contact the supplier to mail the new target device to the store, and the clerk will replace the original device and directly connect the new device to the target port access position of the original device (that is, wiring), so that the new device can be directly activated and used after powering on, without having to configure the target binding information again or wait for the channel service staff to arrive.
[0097] It can be seen from the above description that when the target device is replaced later (new for old), the operation process of steps 24 to 25 can be omitted, so that the new target device can conveniently and effectively inherit and use the originally configured long connection channel, reduce the door-to-door service cost of channel technicians, and show the plug-and-play advantage of the equipment in the converged network. It should be noted that the model and other form information of the new and old target devices that are plug-and-play should be compatible and recognized by the export management equipment, and these form information can be set by the equipment supplier.
[0098] In addition, when it is necessary to add target devices, that is, to add equipment points, the points can be visually added to the branch line where the export management device is located. The channel technician can remotely control the gateway to configure another target binding information for the newly added equipment, so that the newly generated target binding information can match the target port added by the store, making it convenient for the store staff to activate the newly added equipment by themselves.
[0099] In summary, the embodiments of the present application can effectively reduce the activation workload and mismatching rate of batch target devices by channel technicians. In addition, the binding between the target binding information and the target service configuration makes the target service configuration not associated with the target device itself, but associated with the target port of the target device; therefore, when the target device fails and needs to be replaced or added, the user connects the power to replace the original device or connects the new device to the target port, and the new target device can be automatically activated and used normally. The operation is simple, and the user can put the target device into use by himself, thereby saving the labor cost and operation and maintenance time in the channel service, and reducing the complexity of the equipment delivery and operation and maintenance process.
[0100] The operations of steps 20 to 26 are similar to those of steps 10 to 16, and are not described in detail. The above mainly describes the device online use method of the present application. The following will specifically describe the export management device and target device used in the device online use method. When the device online use method is implemented, it can be implemented as follows: Figure 4 or Figure 5 The device side operating instructions described are implemented.
[0101] An example of an egress management device is provided below. Figure 4 , the export management device includes: a first acquisition unit 401, a first sending unit 402, and a generation unit 403;
[0102] The first acquisition unit 401 is used to receive an online request from a target device connected to a target port;
[0103] The first sending unit 402 is used to return response information to the target device based on the online request, so that the target device is activated under the operation of the egress management device according to the response information, and the target port is the device access network port of the branch line where the egress management device is located;
[0104] The first acquisition unit 401 is also used to acquire the device connection status experienced by the export management device before reaching the activated target device;
[0105] A generating unit 403 is used to generate target binding information corresponding to the target port according to the device connection status, wherein the target binding information includes a combination of identifiers between the target port and each device of the egress management device;
[0106] The first sending unit 402 is configured to send the target service configuration to the activated target device through the target port according to the target binding information.
[0107] Optionally, the first acquiring unit 401 is specifically configured to:
[0108] Receive topology protocol messages sent by activated target devices;
[0109] Query the switching devices that the topology protocol message passes through when it is transmitted to the egress management device, so as to analyze and obtain the network topology used to represent the device connection status;
[0110] The generating unit 403 is specifically used for:
[0111] Obtain the attribute information corresponding to each level of switching equipment in the network topology, and generate target binding information based on the attribute information.
[0112] Optionally, when the attribute information includes network port information of the switching device, the generating unit 403 is specifically configured to:
[0113] A hash algorithm is used to convert the network port information corresponding to each uplink switching device of the target device to obtain the target binding information of the target device.
[0114] Optionally, when the online request carries an activation message sent by the target device, the first sending unit 402 is specifically configured to:
[0115] Verify the request authentication information contained in the activation message, and return an activation permission response to the target device after the request authentication information is verified;
[0116] After the target device receives the activation permission response, cooperate with the target device to establish a long connection channel between the target port and the export management device to indicate that the target device is successfully activated. The long connection channel is used to transmit the target service configuration to the activated target device through the target port.
[0117] In the embodiment of the present application, the operations performed by each unit of the export management device are the same as those described above. Figures 1 to 3 The operation of the export management device described in any of the illustrated method embodiments is similar and will not be described in detail here.
[0118] An example implementation on the target device side is provided below. Figure 5 , the target devices include:
[0119] The second sending unit 501 is used to send an online request to the egress management device;
[0120] The second acquisition unit 502 is used to receive response information sent by the egress management device based on the online request;
[0121] The processing unit 503 is used to cooperate with the egress management device to activate the target device according to the response information, so that the egress management device transmits the target service configuration to the activated target device through the target port according to the generated target binding information.
[0122] Optionally, the processing unit 503 is further configured to send a topology protocol message to the egress management device, so that the egress management device can analyze and obtain device connection status for generating target binding information.
[0123] In the embodiment of the present application, the operations performed by each unit of the target device are the same as those described above. Figures 1 to 3 The target device operation described in any of the illustrated method embodiments is similar and will not be described in detail here.
[0124] See also Figure 6The export management device 600 of the embodiment of the present application may include one or more first central processing units (CPU) 601 and a first memory 605, in which one or more application programs or data are stored.
[0125] The first memory 605 may be a volatile memory or a persistent memory. The program stored in the first memory 605 may include one or more modules, each of which may include a series of instruction operations in the online refund device for the monthly parking card. Furthermore, the first central processor 601 may be configured to communicate with the first memory 605 and execute a series of instruction operations in the first memory 605 on the exit management device 600.
[0126] The export management device 600 may also include one or more first power supplies 602, one or more first wired or wireless network interfaces 603, one or more first input and output interfaces 604, and / or one or more operating systems, such as Windows Server TM, Mac OS X TM, Unix TM, Linux TM, FreeBSD TM, etc.
[0127] The CPU 601 can execute Figures 1 to 3 The operations performed by the export management device in any of the method embodiments shown will not be described in detail here.
[0128] See also Figure 7 The target device 700 of the embodiment of the present application may include one or more second central processing units (CPU) 701 and a second memory 706, and one or more application programs or data are stored in the second memory 706.
[0129] The second memory 706 may be a volatile memory or a persistent memory. The program stored in the second memory 706 may include one or more modules, each of which may include a series of instruction operations in the online refund device for the monthly parking card. Furthermore, the second central processor 701 may be configured to communicate with the second memory 706 and execute a series of instruction operations in the second memory 706 on the target device 700.
[0130] The target device 700 may also include one or more second power supplies 702, one or more second wired or wireless network interfaces 703, one or more second input and output interfaces 704, and / or one or more operating systems, such as Windows Server TM, Mac OS X TM, Unix TM, Linux TM, FreeBSD TM, etc.
[0131] The second CPU 701 can execute Figures 1 to 3 The operations performed by the target device in any of the method embodiments shown will not be described in detail.
[0132] The present application provides a computer-readable storage medium, including instructions, which, when executed on a computer, enable the computer to execute the above-mentioned Figures 1 to 3 Any method described in any of the illustrated method embodiments.
[0133] The present application provides a computer program product comprising instructions or computer programs. When the computer program product is run on a computer, the computer is enabled to execute the above Figures 1 to 3 Any method described in any of the illustrated method embodiments.
[0134] It is understood that in various embodiments of the present application, the sequence number of each step does not mean the order of execution, and the execution order of each step should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0135] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system or device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0136] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, each functional unit in each embodiment of the present application may be integrated into a processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware or in the form of software functional units.
[0137] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product (computer program product) is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a business server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, read-only memory), random access memory (RAM, random access memory), disk or optical disk and other media that can store program code.
Claims
1. A method for using a device online, It is characterized in that Applied to export management equipment, including: Receiving an online request from a target device connected to a target port, and returning response information to the target device based on the online request, so that the target device is activated under the operation of the egress management device according to the response information, wherein the target port is a device access network port of a branch line where the egress management device is located; Obtaining the device connection status experienced by the export management device before reaching the activated target device; Generate target binding information corresponding to the target port according to the device connection status, the target binding information includes an identification combination between the target port and each device of the export management device, and the target binding information is used to uniquely mark the corresponding target port; According to the target binding information, the target service configuration is sent to the activated target device through the target port.
2. The method for using the device online according to claim 1, It is characterized in that The obtaining of the device connection status experienced by the export management device before connecting to the activated target device includes: Receive topology protocol messages sent by activated target devices; Querying the switching device that the topology protocol message passes through during transmission to the egress management device, so as to analyze and obtain a network topology for representing the connection status of the device; The generating the target binding information corresponding to the target port according to the device connection status includes: Acquire attribute information corresponding to each level of switching equipment in the network topology, and generate the target binding information according to the attribute information.
3. The method for using the device online according to claim 2, It is characterized in that When the attribute information includes the network port information of the switching device, generating the target binding information according to the attribute information includes: A hash algorithm is used to convert the network port information corresponding to each uplink switching device of the target device to obtain the target binding information of the target device.
4. The method for using the device online according to claim 1, It is characterized in that The online request carries the request authentication information of the target device, and the process of activating the target device includes: Verifying the requested authentication information, and returning the response information to the target device after the requested authentication information is verified; After the target device receives the response information, a long connection channel is established between the target port and the export management device in cooperation with the target device to indicate that the target device is successfully activated. The long connection channel is used to transmit the target service configuration to the activated target device through the target port.
5. A method for using a device online, It is characterized in that The target device to be used for accessing the target port, where the target port is the device access network port of the branch line where the export management device is located, includes: Sending an online request to the egress management device, and receiving response information sent by the egress management device based on the online request; The target device is activated in cooperation with the export management device according to the response information, so that the export management device transmits the target service configuration to the activated target device through the target port according to the generated target binding information, and the target binding information is used to uniquely mark the corresponding target port.
6. The method for using the device online according to claim 5, It is characterized in that After activating the target device in cooperation with the export management device according to the response information, the method further includes: A topology protocol message is sent to the egress management device, so that the egress management device can analyze and obtain the device connection status used to generate the target binding information.
7. An export management device, It is characterized in that include: A first acquiring unit, a first sending unit, and a generating unit; The first acquisition unit is used to receive an online request from a target device connected to a target port; The first sending unit is used to return response information to the target device based on the online request, so that the target device is activated under the operation of the egress management device according to the response information, and the target port is a device access network port of the branch line where the egress management device is located; The first acquisition unit is further used to acquire the device connection status experienced by the export management device before connecting to the activated target device; The generating unit is used to generate target binding information corresponding to the target port according to the device connection status, wherein the target binding information includes an identification combination between the target port and each device of the export management device, and the target binding information is used to uniquely mark the corresponding target port; The first sending unit is used to send the target service configuration to the activated target device through the target port according to the target binding information.
8. A target device, It is characterized in that include: A second sending unit, used to send an online request to the egress management device; A second acquisition unit, configured to receive response information sent by the egress management device based on the online request; A processing unit is used to cooperate with the export management device to activate the target device according to the response information, so that the export management device transmits the target service configuration to the activated target device through the target port according to the generated target binding information, and the target binding information is used to uniquely mark the corresponding target port.
9. An export management device, It is characterized in that include: A first central processing unit, a first memory and a first input and output interface; The first memory is a short-term storage first memory or a permanent storage first memory; The first central processing unit is configured to communicate with the first memory and execute instructions in the first memory to perform the method according to any one of claims 1 to 4.
10. A target device, It is characterized in that include: A second central processing unit, a second memory and a second input and output interface; The second memory is a temporary storage second memory or a permanent storage second memory; The second central processing unit is configured to communicate with the second memory and execute instructions in the second memory to perform the method of claim 5 or 6.
11. A computer-readable storage medium, It is characterized in that The method comprises instructions, which, when executed on a computer, cause the computer to execute the method according to any one of claims 1 to 6.
12. A computer program product comprising instructions or a computer program, It is characterized in that When the computer program product is run on a computer, the computer is caused to execute the method according to any one of claims 1 to 6.
