Broadband equipment acceptance method, device, equipment, medium and program product
Automated acceptance of broadband equipment through preset classification models and text recognition models solves the problems of low acceptance efficiency and high cost in passive optical networks, achieves fast and accurate device type classification and port occupancy detection, and improves acceptance accuracy and efficiency.
Patent Information
- Application Number
- CN202410666430.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-27
- Publication Date
- 2024-10-18
AI Technical Summary
The resource information of optical splitters and fiber distribution boxes in existing passive optical networks has been invisible and uncontrollable for a long time, resulting in low efficiency and high cost of broadband equipment acceptance, and the accuracy of intelligent identification of QR code labels is poor, especially when the QR code is dirty. The recognition rate decreases when it is dirty or missing.
Using the preset classification model and text recognition model, by obtaining the target image of the broadband device, perform device type classification and text recognition, combine the device image and text information, automatically determine the port occupancy, compare with the local database information to obtain the acceptance results, and achieve Automated acceptance.
The acceptance of broadband equipment can be completed quickly and accurately without manual participation, which improves the efficiency and accuracy of acceptance, reduces costs, and combines equipment type detection and text recognition to improve recognition accuracy.
Smart Images

Figure CN118798707A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of image processing technology, and in particular, relates to a method, apparatus, device, medium and program product for broadband equipment acceptance. Background Art
[0002] The passive optical network consists of a central unit, a remote unit, a passive optical splitter in the middle and a fiber optic network.
[0003] Due to the passive characteristics of the splitter and its physical access point fiber box, the basic resource information and network topology information of the splitter and fiber box are invisible and uncontrollable for a long time, and need to be manually inspected and accepted, which leads to low efficiency and high cost. Summary of the invention
[0004] The embodiments of the present application provide a method, apparatus, device, medium and program product for broadband equipment acceptance, which solves the problem of low acceptance efficiency and high cost due to the need for manual acceptance of broadband equipment.
[0005] In a first aspect, an embodiment of the present application provides a method for broadband equipment acceptance, including:
[0006] Acquire target images of multiple broadband devices, where the target images include device style information of the multiple broadband devices;
[0007] Using a preset classification model, classify the device style information to obtain the target device type to which the broadband device belongs;
[0008] Using a preset text recognition model, recognize text on a first-type broadband device to obtain target text content, wherein the first-type broadband device is a broadband device whose target device type is a first type;
[0009] Determining the number of occupied ports of the second-type broadband devices according to the connection relationship between the second-type broadband devices, wherein the second-type broadband devices are broadband devices whose target device type is the second type;
[0010] Compare the target text information and port occupancy quantity with the data information in the local database to obtain the acceptance result.
[0011] In a possible embodiment of the first aspect 1, the preset classification model includes a network layer and a prediction layer; using the preset classification model, classifying the device style information to obtain the target device type to which the broadband device belongs, includes:
[0012] The device style information is input into the network layer, and the network layer is used to extract and expand the features of the device style information, and the style features of the broadband device are output;
[0013] The style features are input into the prediction layer, the prediction layer is used to classify the style features, and the target device type to which the broadband device belongs is output.
[0014] In a possible embodiment of the first aspect 1, before classifying the device style information using a preset classification model to obtain the target device type to which the broadband device belongs, the method further includes:
[0015] Acquire first sample data in different scenarios, the first sample data including information of historical images and information of historical labels, the historical images including historical device style information of multiple historical broadband devices, and the historical labels being device type labels to which the historical broadband devices belong;
[0016] Using the initial classification model, the historical equipment style information is classified to predict the historical equipment type to which the historical broadband equipment belongs;
[0017] Determine the classification error of the initial classification model according to the difference index between the historical device type and the historical label to which the same historical broadband device belongs;
[0018] According to the classification error, the initial classification model is corrected to obtain the preset classification model.
[0019] In a possible embodiment of the first aspect 1, the preset classification model includes a first weight coefficient of the style features of the first type of broadband devices and a second weight coefficient of the style features of the second type of broadband devices, and the first weight coefficient is smaller than the second weight coefficient.
[0020] In a possible embodiment of the first aspect 1, the first type of broadband equipment includes a fiber splitter box and an optical splitter; using a preset text recognition model, recognizing text on the first type of broadband equipment to obtain target text content includes:
[0021] Using a preset text recognition model, the text on the fiber splitting box body in the target image is recognized to obtain the first type of text content and the second type of text content on the fiber splitting box body, wherein the first type of text content and the second type of text content are formed in different ways;
[0022] The preset text recognition model is used to recognize the text on the spectrometer housing in the target image to obtain the third type of text content on the spectrometer housing.
[0023] In a possible embodiment of the first aspect 1, before using a preset text recognition model to recognize text on the first type of broadband device to obtain target text content, the method further includes:
[0024] Acquire second sample data, the second sample data including historical text and historical text content, the historical text including first-category historical text and second-category historical text on the historical fiber splitter box body, and third-category historical text on the historical splitter housing;
[0025] Based on the second sample data, the initial text recognition model is modified to obtain a preset text recognition model.
[0026] In a possible embodiment of the first aspect 1, the second type of broadband device includes a splitter port, an optical fiber head and a pigtail; and determining the number of occupied ports of the second type of broadband device according to the connection relationship between the second type of broadband devices includes:
[0027] In the target image, when the target splitter port, the optical fiber head and the pigtail are connected in sequence, determining that the occupation state of the target splitter port is an occupied state;
[0028] According to the occupation status of the target splitter port, the port occupation quantity of the splitter port is determined.
[0029] Based on the same inventive concept, in a second aspect, an embodiment of the present application further provides a device for broadband equipment acceptance, including:
[0030] An acquisition module, used for acquiring target images of multiple broadband devices, wherein the target images include device style information of the multiple broadband devices;
[0031] A classification module, used to classify the device style information using a preset classification model to obtain the target device type to which the broadband device belongs;
[0032] A text recognition module, used to recognize text on a first-type broadband device using a preset text recognition model to obtain target text content, wherein the first-type broadband device is a broadband device whose target device type is the first type;
[0033] A determination module, used to determine the number of occupied ports of the second type of broadband devices according to the connection relationship between the second type of broadband devices, wherein the second type of broadband devices are broadband devices whose target device type is the second type;
[0034] The comparison module is used to compare the target text information and the port occupancy quantity with the data information in the local database to obtain the acceptance result.
[0035] Based on the same inventive concept, in the third aspect, an embodiment of the present application also provides a device for broadband equipment acceptance, the device comprising a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, it implements the method for broadband equipment acceptance in the first aspect, or any possible implementation method in the first aspect.
[0036] Based on the same inventive concept, in the fourth aspect, an embodiment of the present application further provides a computer storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the method for broadband device acceptance in the first aspect, or any possible implementation method in the first aspect, is implemented.
[0037] Based on the same inventive concept, in the fifth aspect, an embodiment of the present application also provides a computer program product. When the instructions in the computer program product are executed by the processor of the device, the device can execute the method for broadband device acceptance in the first aspect, or any possible implementation method of the first aspect.
[0038] The method, apparatus, device, medium and program product for broadband device acceptance of the embodiment of the present application, the method obtains a target image, the target image includes device style information of multiple broadband devices to be accepted, and then uses a preset classification model to classify the device style information of multiple broadband devices to be accepted, so as to obtain the target device type to which each broadband device in the image belongs, so as to classify the broadband devices by device type, and then uses a preset text recognition model to recognize the text on the broadband device with the target device type of the first type, so as to obtain the target text content, and according to the connection relationship between the broadband devices with the target device type of the second type, the number of ports occupied by the broadband device with the target device type of the second type can be determined, and then the target text information and the number of ports occupied are compared with the data information in the local database, so as to obtain the acceptance result, if the target text information and the number of ports occupied are consistent with the data information in the local database, the acceptance result is qualified, otherwise the acceptance result is unqualified. No manual acceptance is required, so the acceptance efficiency is improved, and the acceptance cost is reduced, and the device type detection and text recognition of the device image are combined to identify the device information in multiple directions, so as to improve the recognition accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Other features, objects and advantages of the present application will become more apparent by reading the following detailed description of non-limiting embodiments with reference to the accompanying drawings, in which the same or similar reference numerals represent the same or similar features and the accompanying drawings are not drawn to scale.
[0040] Figure 1 This is a flow chart of a method for broadband equipment acceptance provided by an embodiment of the present application;
[0041] Figure 2 This is another flow chart of the method for broadband equipment acceptance provided by the embodiment of the present application;
[0042] Figure 3 This is another flow chart of the method for broadband equipment acceptance provided by the embodiment of the present application;
[0043] Figure 4 It is a field installation diagram of a wall-mounted plastic fiber distribution box in the broadband equipment acceptance method provided in an embodiment of the present application;
[0044] Figure 5 It is a field installation diagram of the optical splitter in the method for acceptance of broadband equipment provided in an embodiment of the present application;
[0045] Figure 6 It is a structural schematic diagram of a device for broadband equipment acceptance provided in an embodiment of the present application;
[0046] Figure 7 It is a structural schematic diagram of a device for broadband device acceptance provided in an embodiment of the present application. DETAILED DESCRIPTION
[0047] The features and exemplary embodiments of various aspects of the present application will be described in detail below. 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 and specific embodiments. It should be understood that the specific embodiments described herein are only configured to explain the present application and are not configured to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0048] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0049] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0050] It is obvious to those skilled in the art that various modifications and changes can be made in the present application without departing from the spirit or scope of the present application. Therefore, the present application is intended to cover modifications and changes of the present application that fall within the scope of the corresponding claims (technical solutions for protection) and their equivalents. It should be noted that the implementation methods provided in the embodiments of the present application can be combined with each other without contradiction.
[0051] Before describing the technical solutions provided by the embodiments of the present application, in order to facilitate the understanding of the embodiments of the present application, the present application first specifically describes the problems existing in the related art:
[0052] The passive optical network consists of a central unit, a remote unit, a passive optical splitter in the middle, and a fiber optic network. Due to the passive characteristics of the optical splitter and its physical access point fiber splitter box, the basic resource information and network topology information of the optical splitter and fiber splitter box are invisible and uncontrollable for a long time, and need to be inspected and accepted manually, which has the problems of low efficiency and high cost.
[0053] In some related technologies, broadband equipment can be accepted through intelligent recognition of QR code labels, but the acceptance method is too simple and the acceptance result is not accurate enough. When the QR code is dirty or missing, the recognition rate will be reduced or it will be completely unrecognizable, resulting in poor acceptance accuracy.
[0054] Based on this, the embodiments of the present application provide a method, apparatus, device, medium and program product for broadband equipment acceptance, which can solve the problems of low efficiency, high cost and poor accuracy in related technologies when accepting broadband equipment.
[0055] The method for broadband equipment acceptance provided in the embodiment of the present application is described in detail below with reference to the accompanying drawings.
[0056] Figure 1 : is a schematic diagram of a method flow of broadband equipment acceptance provided by an embodiment of the present application, such as Figure 1 As shown, the method may include steps S110 to S150.
[0057] S110, acquiring a target image of a plurality of broadband devices, wherein the target image includes device style information of the plurality of broadband devices.
[0058] The multiple broadband devices refer to multiple broadband devices to be accepted.
[0059] The target image is an image obtained by controlling a camera to capture multiple broadband devices to be inspected, and the image includes style information of the broadband devices.
[0060] Specifically, when accepting multiple broadband devices, the multiple broadband devices to be accepted can be photographed by controlling the camera device to obtain a target image, and the broadband devices can be accepted subsequently by analyzing the device style information of the broadband devices in the target image.
[0061] S120, classifying the device style information using a preset classification model to obtain the target device type to which the broadband device belongs.
[0062] Among them, the preset classification model is a classification model obtained through training, which can be used to identify and classify each broadband device in the target image, and can determine the device type to which each broadband device to be accepted in the target image belongs.
[0063] Specifically, the trained preset classification model can be used to identify and classify the device style information of the broadband devices to be accepted in the target image, thereby obtaining the target device type to which each broadband device to be accepted in the target image belongs, that is, the preset classification model can be used to know which device type the broadband device in the target image belongs.
[0064] S130, using a preset text recognition model to recognize text on a first type of broadband device to obtain target text content, wherein the first type of broadband device is a broadband device whose target device type is a first type.
[0065] Among them, the preset text recognition model is a text recognition model obtained through training, which has domain characteristics and can recognize domain text more accurately.
[0066] The first type of broadband equipment is broadband equipment with a relatively large physical volume, and occupies a relatively large area in the target image, such as fiber splitter boxes, optical splitters and other broadband equipment.
[0067] Specifically, the trained preset text recognition model can be used to recognize the text information marked on the first type of broadband device to obtain the target text content, that is, the text content on the broadband device can be recognized by the preset text recognition model.
[0068] S140, determining the number of occupied ports of the second-type broadband devices according to the connection relationship between the second-type broadband devices, wherein the second-type broadband devices are broadband devices whose target device type is the second type.
[0069] Among them, the second type of broadband equipment is a broadband equipment with relatively small physical size.
[0070] Specifically, the number of occupied ports of the second-type broadband devices may be determined according to the connection relationship between the plurality of second-type broadband devices.
[0071] In some embodiments, the second type of broadband device includes a splitter port, an optical fiber head and a pigtail; step S140 determines the number of occupied ports of the second type of broadband device according to the connection relationship between the second type of broadband devices, including steps S1401 and S1402.
[0072] S1401: In a target image, when a target optical splitter port, an optical fiber head, and a pigtail are sequentially connected, determining that an occupied state of the target optical splitter port is an occupied state.
[0073] S1402: Determine the port occupation quantity of the optical splitter port according to the occupation status of the target optical splitter port.
[0074] Among them, the second type of broadband equipment may include small broadband devices such as splitter ports, fiber optic heads and pigtails.
[0075] Specifically, in the target image, the occupancy status of each port of the splitter is determined by analyzing whether the target splitter port, the optical fiber head and the pigtail are electrically connected in sequence, and then the port occupancy quantity of the splitter port can be determined according to the occupancy status of the target splitter port. In the embodiment of the present application, after identifying the device type of each broadband device, the port occupancy quantity of the splitter port can be quickly and accurately obtained according to the connection relationship between the splitter port, the optical fiber head and the pigtail, without manual participation, thereby improving the efficiency and accuracy of acceptance.
[0076] S150, comparing the target text information and the port occupancy quantity with the data information in the local database to obtain an acceptance result.
[0077] Among them, the data information in the local database is the data information recorded by the system and can be used as the acceptance benchmark.
[0078] Specifically, the target text information and the number of occupied ports identified from the target image are compared with the data information in the local database to obtain the acceptance result. For example, if the target text information and the number of occupied ports are consistent with the data information in the local database, the acceptance result is qualified, and if they are inconsistent, the acceptance result is unqualified.
[0079] According to the broadband device acceptance method of the embodiment of the present application, by acquiring a target image, the target image includes device style information of multiple broadband devices to be accepted, and then using a preset classification model to classify the device style information of multiple broadband devices to be accepted, the target device type to which each broadband device in the image belongs can be obtained, so that the broadband devices can be classified by device type, and then the preset text recognition model is used to recognize the text on the broadband device with the target device type of the first type, and the target text content can be obtained, and according to the connection relationship between the broadband devices with the target device type of the second type, the number of ports occupied by the broadband device with the target device type of the second type can be determined, and then the target text information and the number of ports occupied are compared with the data information in the local database to obtain the acceptance result. If the target text information and the number of ports occupied are consistent with the data information in the local database, the acceptance result is qualified, otherwise the acceptance result is unqualified. No manual acceptance is required, which improves the acceptance efficiency and reduces the acceptance cost. In addition, the device type detection and text recognition of the device image are combined to identify the device information in multiple directions, thereby improving the recognition accuracy.
[0080] The following describes the specific process of using the preset classification model to classify the device style information in step S120 to obtain the target device type to which the broadband device belongs.
[0081] In some embodiments, the preset classification model includes a network layer and a prediction layer; step S120 uses the preset classification model to classify the device style information to obtain the target device type to which the broadband device belongs, which may include steps S1201 and S1202.
[0082] S1201, input device style information into the network layer, use the network layer to extract and expand features of the device style information, and output the style features of the broadband device.
[0083] Among them, the network layer is mainly used for extracting and expanding style features, and can extract the key style features of each broadband device in the target image.
[0084] Specifically, a target image including device style information of multiple broadband devices to be accepted is input into a network layer of a preset classification model, and the network layer can be used to extract and expand features of the device style information, thereby outputting key style features of each broadband device to be accepted in the target image.
[0085] S1202, inputting the style features into the prediction layer, using the prediction layer to classify the style features, and outputting the target device type to which the broadband device belongs.
[0086] Among them, the prediction layer is mainly used to classify and predict the key style features of broadband devices, and determine which device type each broadband device in the target image has the highest probability of belonging to. For example, the similarity between the key style features of each broadband device and the multiple style common features can be calculated through the style common features corresponding to multiple device types obtained through training, and the device type corresponding to the maximum similarity is the target broadband type to which the broadband device belongs.
[0087] Specifically, the key style features are input into the prediction layer of the preset classification model, and the prediction layer can be used to perform classification prediction on the key style features of each broadband device to determine which device type each broadband device in the target image has the highest probability of belonging to. The device type with the highest probability is the target device type to which the broadband device belongs, and the target device type to which the broadband device belongs is output.
[0088] In an embodiment of the present application, the network layer of the preset classification model can be used to extract the key style features of each broadband device to be accepted in the target image, and then the prediction layer can be used to predict the device type of the broadband device based on the key style features of each broadband device. Thus, the preset classification model can be used to classify the broadband devices to be accepted in the target image, and the target device type to which the broadband device belongs can be quickly and accurately obtained.
[0089] The specific training process of the preset classification model is introduced below.
[0090] In some embodiments, Figure 2 As shown, before classifying the device style information using a preset classification model in step S120 to obtain the target device type to which the broadband device belongs, the method for broadband device acceptance further includes steps S161 to S164.
[0091] S161, obtaining first sample data in different scenarios, the first sample data including information of historical images and information of historical labels, the historical images including historical device style information of multiple historical broadband devices, and the historical labels being device type labels to which the historical broadband devices belong.
[0092] Among them, the first sample data is sample data used to train a preset classification model. The first sample data can be divided into two parts, one for training the model and the other for correcting the model. The first sample data is historical images and historical labels obtained by photographing qualified broadband devices in different scenarios. For example, qualified broadband devices can be photographed from multiple directions and angles under different usage environments, different usage times, different lighting conditions, etc., so as to obtain a sufficiently rich sample set, which can improve the robustness of the classification model trained by the data set and improve the adaptability of the application link to various broadband devices, different angles, and lighting.
[0093] In one example, in a scenario where a broadband device has defects such as being blocked or partially damaged, the broadband device is photographed to obtain historical images that are added to the first sample data to participate in the training of the classification model, thereby improving the accuracy of the model.
[0094] Specifically, first sample data is obtained, that is, historical images with historical device style information of multiple historical broadband devices in different scenarios, and device type labels to which each historical broadband device in the historical images belongs, so that supervised training can be performed on the initial classification model.
[0095] S162, using the initial classification model, classify the historical device style information, and predict the historical device type to which the historical broadband device belongs.
[0096] The initial classification model is a classification model before correction, which is obtained by training the first part of sample data. For example, the historical equipment style information in the first part of sample data is classified, that is, the historical equipment style information with the same historical label is classified into one category, and then the common style features and feature extraction rules of the same category are learned, for example, the feature extraction rules may include expressions of activation functions, so that the model parameters can be adjusted and the initial classification model can be trained.
[0097] Specifically, the initial classification model can be used to classify and predict the historical device style information in the second part of the sample data, and the historical device type to which the historical broadband device in the second part of the sample data belongs can be predicted, that is, the prediction result of the initial classification model can be obtained.
[0098] S163, determining a classification error of the initial classification model according to a difference index between the historical device type and the historical label to which the same historical broadband device belongs.
[0099] Specifically, the "prediction result of the initial classification model on the historical device type to which the historical broadband devices in the second part of the sample data belong" is compared with the "historical labels in the second part of the sample data" to obtain a difference indicator between the two. For example, the loss function value can be calculated based on the loss function, thereby determining the prediction error of the initial classification model.
[0100] S164, correcting the initial classification model according to the classification error to obtain a preset classification model.
[0101] Specifically, after the prediction error of the initial classification model is obtained, the initial classification model can be corrected until the prediction error converges, so that the preset classification model can be trained.
[0102] In an embodiment of the present application, by photographing broadband devices of known device types in multiple usage scenarios, multiple directions, and multiple angles, sample images of the same broadband device in different usage environments, different directions, different angles, and different usage times can be collected, and a multi-dimensional sample set can be obtained. The robustness of the classification model trained by the data set can be improved, and the adaptability of the application link to various types of broadband devices, different angles, and lighting can be improved.
[0103] It should be noted that the inventors have found that due to the different volumes of each broadband device, when multiple broadband devices appear in the same image, it is easy to ignore devices with relatively small areas. Therefore, an attention mechanism can be introduced to magnify and identify small broadband devices in the image, thereby enhancing data and improving classification accuracy.
[0104] In some embodiments, the preset classification model may include a first weight coefficient of the style feature of the first type of broadband device and a second weight coefficient of the style feature of the second type of broadband device, and the first weight coefficient is smaller than the second weight coefficient.
[0105] Specifically, an attention mechanism can be introduced when training a preset classification model, so that the weight of the second type of broadband device (small broadband device) is greater than the weight of the first type of broadband device (large broadband device). In the embodiment of the present application, by introducing the attention mechanism, accurate identification of small broadband devices can be achieved, data enhancement is achieved, and classification accuracy is improved.
[0106] The following describes the usage and training process of the preset text recognition model.
[0107] In some embodiments, the first type of broadband equipment includes a fiber splitter box and an optical splitter; step S130 uses a preset text recognition model to recognize text on the first type of broadband equipment to obtain target text content, including steps S1301 and S1302.
[0108] S1301, using a preset text recognition model, recognize text on a fiber splitting box body in a target image to obtain first-category text content and second-category text content on the fiber splitting box body, wherein the first-category text content and the second-category text content are formed in different ways.
[0109] Among them, the first type of broadband equipment may include broadband equipment such as fiber splitter boxes and optical splitters.
[0110] The fiber distribution box has first and second text contents formed in different ways on the box body. For example, the forming methods may include painting, labeling, laser etching, etc. The forming method can be set according to actual needs and is not limited in the embodiment of the present application.
[0111] Specifically, after obtaining the device type of each broadband device in the target image through the preset classification model, the trained preset text recognition model can be used to identify the text on the fiber splitter box body in the target image, thereby obtaining the first type of text content and the second type of text content on the fiber splitter box body that are formed in different ways. For example, the painted text content and the label text content on the fiber splitter box body can be obtained.
[0112] S1302, using a preset text recognition model, recognize the text on the spectrometer housing in the target image to obtain the third type of text content on the spectrometer housing.
[0113] Specifically, the trained preset text recognition model can be used to recognize the text on the spectrometer housing in the target image. For example, the label text on the spectrometer housing in the target image can be recognized to obtain the label text content on the spectrometer housing.
[0114] In the embodiment of the present application, since the trained preset text recognition model has domain characteristics, the preset text recognition model can be used to accurately identify the first and second types of text content on the fiber splitter box body and the third type of text content on the splitter housing, thereby facilitating improving the acceptance accuracy.
[0115] In some embodiments, before step S130 using a preset text recognition model to recognize text on the first type of broadband device to obtain target text content, the method further includes steps S171 and S172.
[0116] S171, obtaining second sample data, the second sample data including historical text and historical text content, the historical text including the first type of historical text and the second type of historical text on the historical fiber splitter box body, and the third type of historical text on the historical splitter housing.
[0117] The second sample data is sample data used to train the text recognition model. The training process of the text recognition model belongs to supervised training.
[0118] Specifically, the first and second historical texts on the historical fiber splitter box body and the third historical texts on the historical splitter housing under different usage scenarios, usage times, orientations, and angles, as well as the corresponding historical text contents can be obtained as the second sample data.
[0119] S172, based on the second sample data, modify the initial text recognition model to obtain a preset text recognition model.
[0120] The initial text recognition model is a text recognition model to be corrected that is obtained by training with the first part of sample data of the second sample data.
[0121] Specifically, based on the second part of the sample data of the second sample data, the initial text recognition model can be corrected so that its recognition error converges, thereby obtaining a corrected preset text recognition model.
[0122] In the embodiments of the present application, by acquiring a rich set of samples under different usage environments, different usage times, different lighting conditions, etc., the robustness of the text recognition model trained by the data set can be improved, and the accuracy of the text recognition model in the application link for various broadband devices, different angles, and under different lighting conditions can be improved.
[0123] In a specific embodiment, Figure 3 As shown, the specific process of broadband equipment acceptance includes steps S01 to S06.
[0124] S01: According to the first sample data, a preset classification model is trained.
[0125] The first sample data may include sample data of various types of fiber distribution boxes.
[0126] The fiber distribution box is used to connect the wiring and lead-in lines of the user access point in the optical fiber network and provide optical cable management. For example, it can include wall-mounted plastic fiber distribution boxes and wall-mounted metal fiber distribution boxes. The wall-mounted plastic fiber distribution box is rectangular in shape with rounded corners and is made of engineering plastics. Figure 4 , for example, Figure 4 The wall-mounted fiber splitter box, 1:16 large fiber splitter box, mini fiber splitter box, etc. shown are all wall-mounted plastic fiber splitter boxes; the wall-mounted metal fiber splitter box is square in shape and is made of cold-rolled steel plate to prevent internal damage from external force or interference from other factors.
[0127] The fiber splitter box has painted text and label text. The painted text is attached to the outside of the box door and consists of letters and numbers or Chinese characters. It is used to identify the position and number of the fiber splitter box in the system to facilitate management and maintenance. For example, the painted text can be blue paint, red paint, black paint, etc.; the label text can be blue background label text, white background label text, etc.
[0128] The first sample data may also include sample data of various broadband devices such as optical splitters, optical splitter ports, optical fiber heads, and pigtails.
[0129] An optical splitter can divide an input optical signal into multiple output optical signals. Figure 5As shown, the optical splitter includes a plug-in type optical splitter and a box type optical splitter. The shell of the plug-in type optical splitter is made of ABS plastic, and the overall shape is a gray-white rectangle with a connection port at the bottom. It has a wide operating wavelength range, high reliability, and uniform light splitting, and is the most widely used; the box type optical splitter is made of plastic and looks like a black box. The optical fiber is led out from the side, with low insertion loss and good stability. However, due to the complex manufacturing process, there are labels on the surface of the splitter, which specifically describe the information of the splitter, including the upstream machine room of the splitter, the box number, the splitter number, and the number of ports.
[0130] After the first sample data is obtained, the first part of the first sample data can be used for preliminary training of the classification model, and the second part can be used for correction of the classification model, so that a preset original classification model after training can be obtained.
[0131] S02: training a preset text recognition model based on the second sample data.
[0132] Obtain second sample data, such as obtaining the first type of historical text and the second type of historical text on the historical fiber splitter box body under different usage scenarios, usage time, orientation, and angle, and the third type of historical text on the historical splitter housing, as well as the corresponding historical text content. Figure 4 and Figure 5 The painted text on the fiber splitter box, the label text on the splitter housing, etc.
[0133] By performing supervised training based on the second sample data, a preset text recognition model with domain characteristics can be obtained after training, which can more accurately recognize domain text, that is, more accurately recognize the text content on the fiber splitter box body and the splitter shell.
[0134] In one example, a text recognition model may use a convolutional recurrent neural network (CRNN), which combines a convolutional neural network (CNN) with a recurrent neural network (RNN). It can process images containing sequence information (such as letters), learn end-to-end, process input and output of arbitrary length, and detect text sequentially without the need for additional detectors or cropping techniques.
[0135] The Convolutional Recurrent Neural Network (CRNN) consists of three parts: convolutional layer, recurrent layer, and transcription layer. The convolutional layer extracts features and outputs feature maps. The recurrent layer divides the features into specific sizes and inserts them into the bidirectional long short-term memory network (Long Short-Term Memory, LSTM) or gate recurrent unit (GRU) input sequence, outputs the predicted label distribution, and the transcription layer uses the CTC loss function to convert the feature label distribution into a label sequence.
[0136] S03, obtaining target images of multiple broadband devices to be accepted.
[0137] Call the terminal camera to aim at the detection target (multiple broadband devices to be accepted) to obtain target images of multiple broadband devices to be accepted. For example, obtain target images of broadband devices such as fiber splitter boxes, optical splitters, optical splitter ports, optical fiber heads, and pigtails.
[0138] S04, using the trained preset classification model, predicting the type of each broadband device, and determining the target device type to which each broadband device belongs.
[0139] S05, using a preset text recognition model to recognize the text on the fiber splitter box and the optical splitter, and obtain the painted text content and label text content on the fiber splitter box body, and the label text content on the optical splitter housing.
[0140] For example, the acquired box paint, box label, and splitter label are sent to the preset text recognition model to extract the box paint content, box label content, and splitter label content, such as the fiber splitter box name, splitter name, and upstream device name.
[0141] S06, determining the number of occupied ports of the optical splitter according to the connection relationship between the optical splitter port, the optical fiber head and the pigtail. After identifying the optical splitter port, identifying the port occupancy of the optical splitter, if the optical splitter port is occupied, it indicates that the port is connected to a broadband device.
[0142] S07, compare the recognized text content, the number of occupied ports of the optical splitter with the system records, and generate an acceptance result. If the comparison results are consistent, the acceptance is qualified; if not, you can choose to re-recognize the image or correct the system data for re-acceptance according to the actual situation.
[0143] In the embodiment of the present application, it is possible to conduct real-time acceptance of broadband equipment through image target detection and text recognition methods based on the original operation and maintenance system of the operator without increasing the workload of front-line personnel. The program can automatically call the camera to shoot in real time, automatically detect and classify, automatically extract frames, perform data enhancement on device images and text, and perform device classification and text recognition. In the face of many interference factors such as the complex environment of the fiber splitter box and the optical splitter, the anti-interference performance can be enhanced to be suitable for equipment and label acceptance tasks, ensuring the acceptance accuracy and efficiency.
[0144] In one example, the classification model is based on a single-stage object detection algorithm (You Only Look Once, YOLOv5) and fused with an attention mechanism (swin-transformer, STR).
[0145] The single-stage target detection algorithm (You Only Look Once, YOLOv5) consists of four parts: input layer (input), backbone network layer (backbone), network layer (neck), and prediction layer (detect). The input layer (input) is mainly used to process the first sample data to improve the detection accuracy and model robustness. After processing, the image enters the backbone network layer (backbone) and network layer (neck) for image feature extraction and expansion. The prediction layer (detect) uses a loss function to improve the detection capabilities of multiple targets and occluded targets.
[0146] The attention mechanism (swin-transformer, STR) is embedded in the network layer (neck) to extract feature values, and the residual connection method is used for feature fusion, and non-maximum suppression (NMS) is used to delete redundant detection boxes. For example, the three C3 modules of the network layer (neck) are replaced by C3STR. The C3 module relies entirely on high-quality local features to detect targets in the image, and only focuses on the local part of the image. C3STR combines a convolutional neural network (CNN) and an attention mechanism (swin-transformer, STR) to capture the global features of the image. In an embodiment of the present application, when extracting features, it is possible to pay attention to the information and context of the entire picture, improve the recognition accuracy of small targets in distant scenes, and therefore use splitter ports, fiber heads, pigtails and other small broadband devices for accurate recognition.
[0147] In another example, the hardware environment for model training is configured as follows: the GPU is Nvidia V100, the memory is 32G, and the pytorch deep learning framework and the parallel computing framework CUDA10.02 are installed therein. In each group of experiments, the batch-size is set to 64, and 300 Epochs are trained. The training accuracy precision and mean average precision mAP_0.5 are used as indicators to measure the performance of the model. YOLOv5 was selected for the model comparison experiment. The training mAP of the YOLOv5 model reached 93.7%, and the training mAP of the S-YOLOv5 model fused with the attention mechanism provided in the embodiment of the present application reached 94.1%. The S-YOLOv5 model fused with the attention mechanism provided in the embodiment of the present application has a higher accuracy than the traditional single-stage target detection algorithm (You Only LookOnce, YOLOv5), simplifies the network access process, saves installation and maintenance and user time, is highly practical, and improves acceptance efficiency. It solves the problem that broadband resources need to be put into the network for a long period of time, need to be reviewed at various levels, and front-line personnel need to go back and forth to the site many times, which not only wastes a lot of manpower and material resources but also has low efficiency. In addition, compared with a single model, multi-model has richer and more complete functions, and later expansion is also relatively simple.
[0148] In another example, voice guidance can be added to the recognition process to guide installation and maintenance personnel to conduct acceptance. After the acceptance is completed, the final acceptance result is returned and a voice prompt is given for the result. This simplifies the acceptance process, reduces manual intervention, and further improves acceptance efficiency. Maintenance can be carried out at any time during the installation process.
[0149] In another example, video stream frame extraction technology can be combined to generate target images for acceptance of broadband equipment, which can improve detection efficiency and prevent image fraud.
[0150] Based on the same inventive concept, the embodiment of the present application also provides a device for broadband equipment acceptance, such as Figure 6 As shown, the device 600 may include an acquisition module 610 , a classification module 620 , a text recognition module 630 , a determination module 640 and a comparison module 650 .
[0151] An acquisition module 610 is used to acquire target images of multiple broadband devices, where the target images include device style information of the multiple broadband devices;
[0152] The classification module 620 is used to classify the device style information using a preset classification model to obtain the target device type to which the broadband device belongs;
[0153] The text recognition module 630 is used to recognize text on the first type of broadband device using a preset text recognition model to obtain target text content, wherein the first type of broadband device is a broadband device whose target device type is the first type;
[0154] A determination module 640 is used to determine the number of occupied ports of the second type of broadband devices according to the connection relationship between the second type of broadband devices, wherein the second type of broadband devices are broadband devices whose target device type is the second type;
[0155] The comparison module 650 is used to compare the target text information and the port occupancy quantity with the data information in the local database to obtain the acceptance result.
[0156] According to the broadband device acceptance device provided by the embodiment of the present application, by acquiring a target image, the target image includes device style information of multiple broadband devices to be accepted, and then using a preset classification model to classify the device style information of multiple broadband devices to be accepted, the target device type to which each broadband device in the image belongs can be obtained, so that the broadband devices can be classified by device type, and then the preset text recognition model is used to recognize the text on the broadband device with the target device type of the first type, and the target text content can be obtained, and according to the connection relationship between the broadband devices with the target device type of the second type, the number of ports occupied by the broadband device with the target device type of the second type can be determined, and then the target text information and the number of ports occupied are compared with the data information in the local database to obtain the acceptance result. If the target text information and the number of ports occupied are consistent with the data information in the local database, the acceptance result is qualified, otherwise the acceptance result is unqualified. No manual acceptance is required, which improves the acceptance efficiency and reduces the acceptance cost, and combines the device type detection and text recognition of the device image to identify the device information in multiple directions, thereby improving the recognition accuracy.
[0157] In some embodiments, the preset classification model includes a network layer and a prediction layer; the classification module is used to classify the device style information using the preset classification model to obtain the target device type to which the broadband device belongs, which can be specifically used for:
[0158] The device style information is input into the network layer, and the network layer is used to extract and expand the features of the device style information, and the style features of the broadband device are output;
[0159] The style features are input into the prediction layer, the prediction layer is used to classify the style features, and the target device type to which the broadband device belongs is output.
[0160] In some embodiments, before the classification module is used to classify the device style information using a preset classification model to obtain the target device type to which the broadband device belongs, the apparatus further includes:
[0161] The acquisition module is further used to acquire first sample data in different scenarios, the first sample data including information of historical images and information of historical labels, the historical images including historical device style information of multiple historical broadband devices, and the historical labels being device type labels to which the historical broadband devices belong;
[0162] The classification module is also used to classify the historical device style information using the initial classification model, and predict the historical device type to which the historical broadband device belongs;
[0163] The determination module is further used to determine the classification error of the initial classification model according to the difference index between the historical device type and the historical label to which the same historical broadband device belongs;
[0164] The correction module is used to correct the initial classification model according to the classification error to obtain a preset classification model.
[0165] In some embodiments, the preset classification model includes a first weight coefficient of the style feature of the first type of broadband device and a second weight coefficient of the style feature of the second type of broadband device, and the first weight coefficient is smaller than the second weight coefficient.
[0166] In some embodiments, the first type of broadband device includes a fiber splitter box and an optical splitter; the text recognition module is used to use a preset text recognition model to recognize text on the first type of broadband device to obtain target text content, and can be specifically used for:
[0167] Using a preset text recognition model, the text on the fiber splitting box body in the target image is recognized to obtain the first type of text content and the second type of text content on the fiber splitting box body, wherein the first type of text content and the second type of text content are formed in different ways;
[0168] The preset text recognition model is used to recognize the text on the spectrometer housing in the target image to obtain the third type of text content on the spectrometer housing.
[0169] In some embodiments, before the text recognition module is used to recognize text on the first type of broadband device using a preset text recognition model to obtain target text content, the device further includes:
[0170] The acquisition module is further used to acquire second sample data, the second sample data includes historical text and historical text content, the historical text includes the first type of historical text and the second type of historical text on the historical fiber splitter box body, and the third type of historical text on the historical splitter housing;
[0171] The correction module is used to correct the initial text recognition model based on the second sample data to obtain a preset text recognition model.
[0172] In some embodiments, the second type of broadband device includes a splitter port, an optical fiber head and a pigtail; the determination module is used to determine the number of occupied ports of the second type of broadband device according to the connection relationship between the second type of broadband devices, and can be specifically used to:
[0173] In the target image, when the target splitter port, the optical fiber head and the pigtail are connected in sequence, determining that the occupation state of the target splitter port is an occupied state;
[0174] According to the occupation status of the target splitter port, the port occupation quantity of the splitter port is determined.
[0175] Each module in the broadband equipment acceptance device provided in the embodiment of the present application can realize Figures 1 to 5 The functions of each step of the provided method for broadband equipment acceptance and the ability to achieve its corresponding technical effects are described briefly and will not be repeated here.
[0176] Figure 7 A schematic diagram of the hardware structure of a broadband device acceptance device provided in an embodiment of the present application is shown.
[0177] The broadband device acceptance device may include a processor 701 and a memory 702 storing computer program instructions.
[0178] Specifically, the processor 701 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0179] The memory 702 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 702 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. Where appropriate, the memory 702 may include a removable or non-removable (or fixed) medium. Where appropriate, the memory 702 may be inside or outside of a device for broadband device acceptance. In a particular embodiment, the memory 702 is a non-volatile solid-state memory.
[0180] The memory may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Therefore, generally, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to one aspect of the present disclosure.
[0181] The processor 701 implements any one of the broadband device acceptance methods in the above embodiments by reading and executing computer program instructions stored in the memory 702 .
[0182] In one example, the broadband device acceptance device may further include a communication interface 703 and a bus 704. Figure 7 As shown, the processor 701, the memory 702, and the communication interface 703 are connected via a bus 704 and communicate with each other.
[0183] The communication interface 703 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0184] The bus 704 includes hardware, software, or both, coupling the components of the broadband device acceptance device to each other. For example, but not limitation, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an InfiniBand interconnect, a Linear Predictive Coding (LPC) bus, a memory bus, a MicroChannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (Peripheral Component Interconnect-X, PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VESA Local Bus, VLB) bus, or other suitable buses or a combination of two or more of these. Where appropriate, the bus 704 may include one or more buses. Although embodiments of the present application describe and illustrate a particular bus, the present application contemplates any suitable bus or interconnect.
[0185] The device can execute the broadband device acceptance method in the embodiment of the present application based on each unit / component in the broadband device acceptance device, thereby realizing the combination Figures 1 to 5 Describes the method of broadband equipment acceptance.
[0186] In addition, in combination with the broadband device acceptance method in the above embodiment, the present application embodiment can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any broadband device acceptance method in the above embodiment is implemented.
[0187] The present application also provides a computer program product. When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes each process of implementing any one of the above-mentioned broadband device acceptance method embodiments.
[0188] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0189] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), appropriate firmware, plug-in, function card, etc. When implemented in software, the elements of the present application are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or communication link by a data signal carried in a carrier. "Machine-readable medium" may include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, read-only memory (Read-Only Memory, ROM), flash memory, erasable read-only memory (Erasable Read Only Memory, EROM), floppy disks, compact disc read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical discs, hard disks, optical fiber media, radio frequency (Radio Frequency, RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0190] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0191] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0192] The above are only specific implementation methods of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. A method for broadband equipment acceptance, characterized in that: include: Acquire a target image of a plurality of broadband devices, wherein the target image includes device style information of the plurality of broadband devices; Using a preset classification model, classify the device style information to obtain a target device type to which the broadband device belongs; Using a preset text recognition model, recognize text on a first type of broadband device to obtain target text content, wherein the first type of broadband device is a broadband device whose target device type is the first type; Determining the number of occupied ports of the second-type broadband devices according to the connection relationship between the second-type broadband devices, wherein the second-type broadband devices are broadband devices whose target device type is the second-type; The target text information and the port occupancy quantity are compared with the data information in the local database to obtain an acceptance result.
2. The method according to claim 1, characterized in that The preset classification model includes a network layer and a prediction layer; the device style information is classified by using the preset classification model to obtain the target device type to which the broadband device belongs, including: Inputting the device style information into the network layer, using the network layer to extract and expand the features of the device style information, and outputting the style features of the broadband device; The style features are input into the prediction layer, the style features are classified using the prediction layer, and the target device type to which the broadband device belongs is obtained as an output.
3. The method according to claim 1, characterized in that Before classifying the device style information by using a preset classification model to obtain the target device type to which the broadband device belongs, the method further includes: Acquire first sample data in different scenarios, the first sample data including information of historical images and information of historical labels, the historical images including historical device style information of multiple historical broadband devices, and the historical labels being device type labels to which the historical broadband devices belong; Using the initial classification model, classifying the historical device style information, and predicting the historical device type to which the historical broadband device belongs; Determining a classification error of the initial classification model according to a difference index between the historical device type to which the same historical broadband device belongs and the historical label; According to the classification error, the initial classification model is corrected to obtain a preset classification model.
4. The method according to claim 1, characterized in that The preset classification model includes a first weight coefficient of the style feature of the first type of broadband devices and a second weight coefficient of the style feature of the second type of broadband devices, and the first weight coefficient is smaller than the second weight coefficient.
5. The method according to claim 1, characterized in that The first type of broadband equipment includes a fiber splitter box and an optical splitter; the method of using a preset text recognition model to recognize text on the first type of broadband equipment to obtain target text content includes: Using a preset text recognition model, the text on the fiber splitting box body in the target image is recognized to obtain a first type of text content and a second type of text content on the fiber splitting box body, wherein the first type of text content and the second type of text content are formed in different ways; The preset text recognition model is used to recognize the text on the spectrometer housing in the target image to obtain the third type of text content on the spectrometer housing.
6. The method according to claim 5, characterized in that Before using the preset text recognition model to recognize the text on the first type of broadband device to obtain the target text content, the method further includes: Acquire second sample data, the second sample data including historical text and historical text content, the historical text including first-category historical text and second-category historical text on the historical fiber splitter box body, and third-category historical text on the historical splitter housing; Based on the second sample data, the initial text recognition model is modified to obtain a preset text recognition model.
7. The method according to any one of claims 1 to 6, characterized in that: The second type of broadband device includes a splitter port, an optical fiber head and a pigtail; and determining the number of occupied ports of the second type of broadband device according to the connection relationship between the second type of broadband devices includes: In the target image, when the target optical splitter port, the optical fiber head and the pigtail are connected in sequence, determining that the occupation state of the target optical splitter port is an occupied state; According to the occupation status of the target optical splitter port, the port occupation quantity of the optical splitter port is determined.
8. A device for broadband equipment acceptance, characterized in that: include: An acquisition module, configured to acquire target images of a plurality of broadband devices, wherein the target images include device style information of the plurality of broadband devices; A classification module, used to classify the device style information using a preset classification model to obtain a target device type to which the broadband device belongs; A text recognition module, used to recognize text on a first type of broadband device using a preset text recognition model to obtain target text content, wherein the first type of broadband device is a broadband device whose target device type is the first type; A determination module, configured to determine the number of occupied ports of the second-type broadband devices according to the connection relationship between the second-type broadband devices, wherein the second-type broadband devices are broadband devices whose target device type is the second-type; The comparison module is used to compare the target text information and the port occupancy quantity with the data information in the local database to obtain the acceptance result.
9. A device for broadband equipment acceptance, characterized in that: The device comprises: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the method for broadband device acceptance as claimed in any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the method for broadband device acceptance according to any one of claims 1 to 7 is implemented.
11. A computer program product, characterized in that When the instructions in the computer program product are executed by a processor of a device, the device is enabled to execute the method for broadband device acceptance as described in any one of claims 1 to 7.
