Detailed Description
In order to enable those skilled in the art to better understand the technical scheme of the present application, the technical scheme provided by the present application is described in detail below with reference to the accompanying drawings.
Example embodiments will be described more fully hereinafter with reference to the accompanying drawings, but the described example embodiments may be embodied in different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the application to those skilled in the art.
As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used herein, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is to be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments and can be combined with one another without conflict.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and the present application and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein in the context of the embodiments of the application.
In order to facilitate better understanding of the embodiments of the present application, the following description will first be made of the related art.
Passive optical network (Passive Optical Network, PON): a passive optical network refers to an optical fiber distribution network (Optical distribution network, ODN) between an optical line terminal (optical LINE TERMINAL, OLT) and an optical network unit (Optical Network Unit, ONU), without any active communication equipment. One end of the OLT is upwards connected with the upper network to finish the uplink access of the PON. The upper layer network may be an internet protocol (internet protocol, IP) backbone or a public switched telephone network (public switched telephone network, PSTN). The other end of the OLT is connected with the user terminal equipment downwards through the ODN to finish the downlink transmission of the PON and realize the functions of controlling, managing, ranging and the like of the user terminal equipment. The customer premises equipment may be an ONU. One end of the user terminal equipment is upwards connected with the OLT through the ODN, and the other end of the user terminal equipment is downwards connected with other terminal equipment, such as a computer, a fixed telephone and the like. The ONU is matched with the OLT for use, so that the two-layer and three-layer functions of the Ethernet are realized, and voice, data and multimedia services are provided for users. For example, the ONU may implement selecting to receive data sent by the OLT; responding to a management command sent by the OLT, and correspondingly adjusting; caching Ethernet data of a user, and transmitting the Ethernet data to an uplink in a transmitting window distributed by an OLT; other user management functions.
Fiber to the home (Fiber To The Home, FTTH): optical fibers are installed and used directly from a central point to various buildings such as homes, apartment blocks, and businesses to provide high-speed internet access.
Fiber-to-room (Fiber to the Room, FTTR): the system consists of a master gateway device, a slave gateway device and an indoor optical fiber distributed network. FTTR based on the physical topology of the optical fiber (Point to Multiple Point, P2 MP), a main gateway device is deployed at the home/small micro-enterprise access point position and centered on the main gateway device, so as to construct the home/small micro-enterprise all-optical network. The main gateway equipment is connected with the OLT PON port to the local side, and is connected with a plurality of slave gateway equipment indoors, and the slave gateway equipment can extend to areas where users need to be deployed according to the home/small micro-enterprise layout, so that network coverage is provided for each area, and a high-quality network is realized.
Gigabit passive optical network (Gigabit-Capable PON) technology is the latest generation broadband passive optical integrated access technology based on ITU-t g.984.X standard, has numerous advantages of high bandwidth, high efficiency, large coverage, rich user interfaces and the like, and is an ideal technology for realizing broadband and integrated modification of access network services by most operators. The GPON protocol standard may implement ranging, and its ranging principle mainly relates to ranging technology and channel attenuation compensation technology. In the optical line of the GPON, the transmitting end transmits a series of optical pulse signals through the laser, and the optical pulse signals reach the receiving end through optical fiber transmission; the receiving end converts the optical signal into an electric signal by utilizing a photodiode, and the transmission time of the optical signal is measured by a timer; by measuring the transmission time of the optical signal, the transmission distance of the optical signal can be calculated.
Along with the great increase of FTTR users, telecom operators face more and more problems and difficulties in managing operation and maintenance, especially in the aspects of construction number release, operation monitoring Wi-Fi quality, user fine management and the like. Operators increasingly rely on house type diagrams in the actual rooms of the user households as material inputs for engineering installation and daily operation and maintenance management. At present, the related technology generally utilizes a manual means to statically import the user pattern diagram on the management system to serve as a management basis, and the method has low efficiency, and is difficult and inflexible to implement in the face of a group with large user pattern difference to generate the user pattern diagram.
The application provides an indoor house type graph generation method, equipment, medium and program product, which are used for solving the problems that a method for statically importing a user house type graph from a management system by using a manual means as a management basis is low in efficiency and is difficult and inflexible to implement in the face of a group with large user house type difference to generate the house type graph.
Referring to fig. 1, a flow chart of an indoor unit diagram generating method according to an embodiment of the present application is shown in fig. 1, where the indoor unit diagram generating method according to an embodiment of the present application may include, but is not limited to, steps S100 to S300:
Step S100, obtaining signal measurement data between a plurality of gateway devices, where the signal measurement data includes signal measurement values between each gateway device and other gateway devices in the room, the signal measurement values being obtained based on wireless signal measurement, and the plurality of gateway devices includes a master gateway device and at least one slave gateway device.
The gateway device provided in the embodiment of the present application may be a device capable of implementing functions such as network address conversion, filtering of data packets, and access control. The selection of the specific type of the gateway device depends on the actual condition in the user room, and factors such as the performance, the function, the compatibility, the cost and the like of the device are comprehensively considered to select the proper gateway device without excessive limitation.
Illustratively, the signal measurement may be a received signal strength Indication (RECEIVED SIGNAL STRENGTH Indication, RSSI).
In one possible embodiment, the gateway device is Wi-Fi enabled, and signal measurement data between multiple gateway devices is obtained by: each gateway device respectively initiates RSSI measurement on Wi-Fi signals of other gateway devices to obtain RSSI data corresponding to the other gateway devices; the RSSI data measured by all gateway devices constitutes signal measurement data.
It should be noted that, the signal measurement value in the embodiment of the present application is not limited to RSSI, but may be other measurement indexes of Wi-Fi signals of the gateway device, and the type of the signal measurement value in the embodiment of the present application is not excessively limited.
Step 200, obtaining distance data of master gateway equipment and slave gateway equipment, wherein the distance data of the master gateway equipment and the slave gateway equipment comprise absolute distance values between the master gateway equipment and each slave gateway equipment.
The absolute distance value between the master gateway device and the slave gateway device may be obtained by a ranging function of the GPON protocol, for example. Specifically, referring to fig. 2, a flowchart of the substep of step S200 in fig. 1 provided in an embodiment of the present application, as shown in fig. 2, when the distance measurement function based on the GPON protocol obtains distance data of the master-slave gateway device, specifically includes, but is not limited to, steps S201 to S203:
Step S201, a ranging request message is sent to each slave gateway device through the optical fiber by the master gateway device.
Step S202, receiving, by the master gateway device, ranging response messages returned by each slave gateway device via the optical fiber, wherein the ranging response messages carry time stamps, and the time stamps are used for indicating the time of receiving the ranging request messages by the slave gateway device.
Step S203, determining, by the master gateway device, an absolute distance value between the master gateway device and the slave gateway device according to the timestamp in the ranging response message.
The master gateway device is illustratively connected to each slave gateway device by an optical fiber, and the ranging request message and the ranging response message may be transmitted by optical fibers. Firstly, a master gateway device sends ranging request messages to each slave gateway device; then, when a ranging request message is received from the gateway device, recording a time stamp when the ranging request message is received; then, the slave gateway equipment returns a ranging response message carrying the time stamp to the master gateway equipment; next, the master gateway device determines a transmission time of the ranging request message according to the time stamp in the ranging response message and the time stamp when the ranging request message was transmitted, and based on the transmission time, it is able to calculate an absolute distance value between the master gateway device and the slave gateway device.
And step S300, generating a simulated house type graph according to the signal measurement data and the distance data of the master gateway equipment and the slave gateway equipment.
In the embodiment of the application, a plurality of gateway devices in a user room form FTTR networks, the gateway devices are divided into a master gateway device and a plurality of slave gateway devices, the generation of the simulated house type diagram is realized by acquiring the signal measurement data and the distance data of the master gateway device and the slave gateway device, the generation efficiency of the user house type diagram is improved, and the method can be flexibly implemented even for groups with large house type differences.
Referring to fig. 3, a flowchart of sub-steps of step S300 in fig. 1 provided in the embodiment of the present application is shown in fig. 3, and in the embodiment of the present application, an analog house type diagram is generated according to the signal measurement data and the distance data between the master gateway device and the slave gateway device, which specifically includes, but is not limited to, steps S301 to S303:
Step S301, roughly estimated relative positions among a plurality of gateway devices are determined according to the signal measurement data.
By way of example, using signal measurements between each gateway device in the signal measurement data and other gateway devices in the room, a relative position between any two gateway devices may be determined, and a coarsely estimated relative position between the plurality of gateway devices may be obtained based on the relative position between any two gateway devices. For example, the gateway device may estimate the relative distance relationship between itself and other gateway devices by measuring the wireless signal intensity of other gateway devices in the room, so that the rough estimated relative positions between the plurality of gateway devices may be simulated based on the estimated relative distance relationship between itself and other gateway devices by each gateway device.
Step S302, determining the precisely estimated relative position among a plurality of gateway devices according to the roughly estimated relative position and the distance data of the master gateway device and the slave gateway device.
By way of example, absolute distance values between the master gateway device and each slave gateway device may be obtained from master-slave gateway device distance data, and the rough estimated relative position may be corrected based on the absolute distance values between the master-slave gateway devices, thereby obtaining the fine estimated relative position between the plurality of gateway devices.
And step S303, generating a simulated house type graph according to the fine estimation relative position and the rough estimation relative position.
By way of example, according to the deviation of the precisely estimated relative position and the roughly estimated relative position, it is possible to determine the condition of the obstacle between the gateway devices, for example, whether the wall and the thickness of the wall exist, and then it is possible to generate the simulated house type map based on the precisely estimated relative position and the condition of the obstacle.
Illustratively, in step S301, determining rough estimated relative positions between a plurality of gateway devices according to the signal measurement data specifically includes:
step S301a, for any first target gateway device in a plurality of gateway devices, determining near-far relationship information between the first target gateway device and other gateway devices according to signal measurement values between the first target gateway device and other gateway devices;
step S301b, determining rough estimated relative positions between the plurality of gateway devices according to the near-far relationship information between each first target gateway device and other gateway devices.
Taking 5 gateway devices as an example, the 5 gateway devices are arranged in a user room, the 5 gateway devices comprise 1 master gateway and 4 slave gateways, the 5 gateway devices are respectively used as first target gateway devices, and the Wi-Fi function of the 5 gateway devices is utilized to obtain signal measurement values between the 5 gateway devices and other 4 gateway devices. After obtaining signal measurement values obtained by all the first target gateway devices sensing wireless signals of other gateway devices, signal measurement data is obtained, which may be referred to as table 1 below, including signal measurement values (RSSI) between each gateway device and other gateway devices in the room.
Table 1
As shown in table 1, the gateways in the first row represent first target gateway devices that initiate measurements, and each first target gateway device measures wireless Wi-Fi signals of other gateway devices in the first row to obtain RSSI relative results (signal measurement values).
From the signal measurements between the first target gateway device and the other gateway devices, a near-far relationship between the first target gateway device and the other gateway devices may be determined. For example, the higher the RSSI value between the first target gateway device and the other gateway device, the closer the relative position between the first target gateway device and the other gateway device, so that near-far relationship information between the first target gateway device and all other gateway devices can be determined, as shown in table 2:
Table 2
After obtaining the near-far relationship information between each first target gateway device and other gateway devices as shown in table 2, the rough estimated relative positions among the plurality of gateway devices can be determined for subsequent simulated house type graph generation.
For example, referring to fig. 4, a schematic diagram of roughly estimated relative positions is provided in an embodiment of the present application, as shown in fig. 4, based on near-far relationship information shown in table 2, it is possible to determine the approximate positions of each gateway device in a room, and roughly estimate the relative distances between each gateway device, to obtain roughly estimated relative positions.
In the embodiment of the application, a rough estimation relative position diagram can be generated according to the rough estimation relative positions among the plurality of gateway devices so as to represent the rough estimation relative positions among the plurality of gateway devices. Wherein the rough estimate relative position map may be shown with reference to fig. 4.
Because the roughly estimated relative position is obtained through the far-near relation information judged by the signal intensity, the relation of the signal intensity is influenced by barriers such as walls among the gateways, and the like, the roughly estimated relative position is only used as a reference relative far-near relation, and a roughly estimated relative position diagram used for representing the approximate position relation among the gateways is generated.
Illustratively, in step S302, determining a fine estimated relative position between a plurality of gateway devices according to the coarse estimated relative position and the distance data of the master-slave gateway devices specifically includes:
step S302a, obtaining a relative distance value between any two slave gateway devices according to the master-slave gateway device distance data and rough estimation relative positions among a plurality of slave gateway devices;
By way of example, the absolute distance value between the master gateway device and each slave gateway device is obtained from the master-slave gateway device distance data, the absolute distance value can reflect the accurate distance between the master-slave gateway devices, and based on the accurate distance between the master-slave gateway devices and the roughly estimated relative positions between the plurality of slave gateway devices, the relative distance value between any two slave gateway devices can be obtained, and it is noted that the obtained relative distance value has higher accuracy than the roughly estimated relative distance value in the relative positions.
Step S302b, determining the precisely estimated relative position among a plurality of gateway devices according to the absolute distance value between the master gateway device and each slave gateway device and the relative distance value between any two slave gateway devices.
After determining the absolute distance value between the master gateway device and each slave gateway device, and the relative distance value between any two slave gateway devices, a refined estimated relative position between the plurality of gateway devices may be determined.
It can be understood that, because there may be an obstacle such as a wall in the room, in the embodiment of the present application, the existence of the obstacle between any two gateway devices is further determined by combining the rough estimated relative positions and the fine estimated relative positions between the gateway devices obtained previously.
In step S303, a simulated house type graph is generated according to the precisely estimated relative position and the roughly estimated relative position, which specifically includes:
Step S303a, determining the existence of the obstacle according to the precisely estimated relative position and the roughly estimated relative position.
Because the roughly estimated relative position is influenced by the obstacle, a larger error exists in the relative position relation between gateway devices indicated by the roughly estimated relative position. Illustratively, the absolute distance between the ranging discovery of the master gateway and the slave gateway 4 is only 4m, but the received signal strength of the slave gateway 4 is found to be-58 dbm through Wi-Fi scanning, so that the signal strength is weaker; the absolute distance between the ranging finding of the master gateway and the slave gateway 1 is 8m, the received signal strength of the slave gateway 1 is found to be-45 dbm through Wi-Fi scanning, and by comparing, the existence of the obstacle such as a thicker wall between the slave gateway 4 and the master gateway can be judged, and the existence condition of the obstacle can be determined through a correction algorithm.
For any two gateway devices, for example, when the relative distance of the two gateway devices in the coarsely estimated relative position deviates greatly from the relative distance in the finely estimated relative position, then an obstacle may be considered to exist between the two gateway devices. In addition, the volume of the obstacle can be determined according to the deviation in the concrete implementation.
Illustratively, in step S303a, determining the existence of the obstacle according to the precisely estimated relative position and the roughly estimated relative position may specifically include: for any two second target gateway devices in the plurality of gateway devices, obtaining a rough estimated distance value between the two second target gateway devices according to the rough estimated relative position, and obtaining a fine estimated distance value between the two second target gateway devices according to the fine estimated relative position; and determining that an obstacle exists between the two second target gateway devices under the condition that the deviation of the rough estimated distance value and the fine estimated distance value is larger than a preset threshold value.
And step S303b, generating a simulated house type graph according to the precisely estimated relative position and the existence condition of the obstacle.
And when the obstacle condition is determined, generating a simulated house type diagram according to the precisely estimated relative position and the obstacle existence condition.
In an exemplary embodiment, in step S303b, generating a simulated house type map according to the precisely estimated relative position and the existence of the obstacle may specifically include: generating a refined relative position map according to the refined relative positions among the gateway devices; generating an obstacle in the accurate estimation relative position diagram according to the existence condition of the obstacle among the gateway devices, and obtaining the simulated house type diagram.
It can be understood that by combining the existence of the obstacle among the plurality of gateway devices on the basis of the precisely estimated relative position diagram, the simulated house type diagram containing the obstacle is generated, so that the actual use scene of the user can be accurately judged for the network operator and the service maintenance provider.
Illustratively, continuing with the previous example with 5 gateway devices in the user's room, when the absolute distance between the master-slave gateway and the relative distance between the slave-slave gateway are obtained, the finely estimated relative positions of the 5 gateway devices may be determined, resulting in a finely estimated relative position map as shown in fig. 5. The absolute distance between the master gateway and the slave gateway 1 is 8m, and in the roughly estimated relative position shown in fig. 4, the relative distances between the slave gateway 1 and other gateways are relatively close, so that the slave gateway 1 can be simulated to be in a relative central position in a full house type, namely, the slave gateway 1 is taken as a reference position; the absolute distance measured by the master gateway from the slave gateway 2 is 11m, which is relatively far, but in the rough estimation relative position, the relative distance of the slave gateway 2 to the slave gateway 1 and the relative distance of the slave gateway 2 to the master gateway are substantially equal, so that the isosceles triangle positional relationship of the master gateway to the slave gateway 1 to the slave gateway 2 can be simulated, wherein the relative distance of the master gateway to the slave gateway 2 is far (about 11 m) and the relative distance of the master gateway to the slave gateway 1 is near (about 8 m). The master gateway measures an absolute distance of 19m from the slave gateway 3, the distance being the furthest, and in the relative position, also the relative furthest, the logic can be matched and thus the slave gateway 3 will be modeled in the furthest position. The master gateway measures only 4m from the slave gateway 4, but in the rough estimation relative position, the relative distance between the slave gateway 4 and the master gateway is far from the relative distances between the slave gateway 1 and the slave gateway 2 (see the far-near relationship information shown in table 2), which logically belongs to abnormal data, and it can be considered that an obstacle such as a thicker wall exists between the master gateway and the slave gateway 4. And by analogy, the existence condition of the obstacle between any two gateways in the room can be determined, and the basic determination principle is to perform analog calculation by using the deviation value of the relative distance in the roughly estimated relative position and the relative distance in the finely estimated relative position. After determining that the obstacle exists among the plurality of gateway devices, the obstacle can be generated on the basis of the precisely estimated relative position diagram, and then the simulated house type diagram shown in fig. 6 can be generated. For the simulation of the whole house boundary, the house boundary can be judged by means of the current related technology application, such as Wi-Fi radar technology, wi-Fi simulation radar signals are utilized to monitor signal reflection time difference, the house boundary can be simulated by experience data to form a final simulated house type diagram, and the simulated house type diagram is displayed on external media such as a server, cloud, mobile phone APP and the like.
By the indoor house type graph generation method provided by the embodiment of the application, the user house type graph is automatically simulated and generated, so that the efficiency can be effectively improved, the implementation difficulty is reduced, the flexibility is improved, and the generated house type graph can be used for accurately judging the actual use situation of the user by a network operator and a service maintenance provider.
The execution main body of the indoor unit type graph generation method provided by the embodiment of the application can be a main gateway device in FTTR networks, and can also be other devices such as a terminal, a server and the like. In particular, it may be software running in the primary gateway device, terminal or server. The terminal may be a smart phone, tablet computer, notebook computer, desktop computer, etc. The server can be configured as an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, and a cloud server for providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, a content distribution network (Content Delivery Network, CDN), basic cloud computing services such as big data and an artificial intelligent platform and the like; the software may be an application or the like that implements the indoor unit profile generation method, but is not limited to the above form.
In the respective embodiments of the present application, when related processing is required to be performed on data related to characteristics of an object (for example, a user) such as attribute information or a set of attribute information, permission or agreement is obtained for the corresponding object, and the data is collected, used, processed, and the like, in compliance with the related regulations and standards. In addition, when the embodiment of the application needs to acquire the attribute information of the object, the independent permission or independent consent of the corresponding object is acquired through a popup window or a jump to a confirmation page or the like, and after the independent permission or independent consent of the corresponding object is explicitly acquired, the related data of the necessary object for enabling the embodiment of the application to normally operate is acquired.
The indoor unit type graph generating method provided by the embodiment of the application is described in detail by a specific example.
Example 1:
Referring to fig. 7, a flow chart of an indoor unit diagram generating method provided by an embodiment of the present application is shown in fig. 7, in which a FTTR network is configured in a user room, and there are 1 master gateway device, 4 slave gateway devices, and a total of 5 gateway devices complete networking, and in a normal working state, an indoor unit diagram is generated by the master gateway device according to the indoor unit diagram generating method provided by the embodiment of the present application, and the specific process is as follows:
Step S401, each indoor gateway device scans and measures Wi-Fi signals of other gateway devices through a Wi-Fi module of the indoor gateway device to obtain RSSIs corresponding to the other gateway devices;
step S402, each slave gateway device transmits all RSSI data obtained by measurement to the master gateway device;
Step S403, the main gateway device obtains RSSI between each gateway device and other gateway devices to obtain signal measurement data, wherein the signal measurement data can be organized into a table as shown in the table 1;
Step S404, the main gateway equipment determines the far and near relation information between each gateway equipment and other gateway equipment according to the signal measurement data, wherein the far and near relation information can be organized into a table as shown in the table 2; it should be understood that the larger the relative RSSI between any two gateways is, the closer the relative position between the two gateways is, so that the relative distance between other gateway devices and the target gateway device can be judged, and the other gateway devices are arranged from far to near or from near to far, so as to obtain the far-near relationship information between the target gateway device and the other gateway devices;
Step S405, the main gateway equipment determines rough estimation relative positions among a plurality of indoor gateway equipment according to the far-near relation information, and generates a rough estimation relative position diagram; because of factors such as wall shielding, barriers and the like of indoor units, the roughly estimated relative position is only used as a reference, and the roughly estimated relative position diagram can roughly show the position of each gateway device;
Step S406, the master gateway equipment initiates ranging to each slave gateway equipment by utilizing the ranging function in the GPON protocol standard to obtain the absolute distance value from the master gateway equipment to each slave gateway equipment, and determines the precisely estimated relative position between the gateway equipment according to the relative distance value between any two slave gateway equipment in the roughly estimated relative position, so as to generate a precisely estimated relative position diagram;
Step S407, the main gateway equipment determines the existence condition of the obstacle according to the precisely estimated relative position and the roughly estimated relative position; specifically, for any two target gateway devices in a plurality of gateway devices, obtaining a rough estimated distance value between the two target gateway devices according to the rough estimated relative position, obtaining a fine estimated distance value between the two target gateway devices according to the fine estimated relative position, and determining the existence of an obstacle between the two target gateway devices according to the deviation of the rough estimated distance value and the fine estimated distance value;
Step S408, the main gateway equipment generates an obstacle in the accurate estimation relative position diagram according to the existence condition of the obstacle among the gateway equipment to obtain a simulated house type diagram;
And step S409, the main gateway equipment sends the simulated house type graph to an operation and maintenance server to serve as material input for daily operation and maintenance management.
In the above example 1, the main gateway device in the FTTR network generates the simulated house type graph, and sends the simulated house type graph to the operation and maintenance server, so that the operation and maintenance server accurately judges the actual use scenario of the user based on the input simulated house type graph of the user, thereby improving the user experience, and being beneficial to fault analysis, positioning and service optimization of the user FTTR network.
Example 2:
Referring to fig. 8, a flow chart of another indoor unit diagram generating method provided by the embodiment of the present application is shown in fig. 8, in which a user is configured with FTTR networks in the indoor, and 1 master gateway device, 4 slave gateway devices, and a total of 5 gateway devices have completed networking, and are in a normal working state, and at this time, the indoor unit diagram is generated by a server according to the indoor unit diagram generating method provided by the embodiment of the present application, and the specific process is as follows:
Step S501, each indoor gateway device scans and measures Wi-Fi signals of other gateway devices through a Wi-Fi module of the indoor gateway device to obtain RSSIs corresponding to the other gateway devices;
Step S502, the master gateway equipment and each slave gateway equipment send all RSSIs obtained by measurement to a server;
step S503, the server obtains RSSI between each gateway device and other gateway devices to obtain signal measurement data, wherein the signal measurement data can be organized into a table as shown in the table 1;
Step S504, the server determines the far and near relation information between each gateway device and other gateway devices according to the signal measurement data, wherein the far and near relation information can be organized into a table as shown in the table 2; it should be understood that the larger the relative RSSI between any two gateway devices is, the closer the relative position between the two gateway devices is, so that the relative distance between other gateway devices and the target gateway device can be judged, and the other gateway devices are arranged from far to near or from near to far, so as to obtain the far-near relationship information between the target gateway device and the other gateway devices;
Step S505, the server determines rough estimation relative positions among a plurality of indoor gateway devices according to the near-far relationship information, and generates a rough estimation relative position diagram; because of factors such as wall shielding, barriers and the like of indoor units, the roughly estimated relative position is only used as a reference, and the roughly estimated relative position diagram can roughly show the position of each gateway device;
Step S506, the master gateway equipment initiates ranging to each slave gateway equipment by utilizing the ranging function in the GPON protocol standard so as to obtain absolute distance values from the master gateway equipment to each slave gateway equipment, and the master gateway equipment sends all the measured master-slave gateway absolute distance values to the server;
Step S507, the server determines the precisely estimated relative position among a plurality of gateway devices according to the absolute distance value from the master gateway device to each slave gateway device and the relative distance value between any two slave gateway devices obtained by roughly estimating the relative position, and generates a precisely estimated relative position diagram;
Step S508, the server determines the existence of the obstacle according to the precisely estimated relative position and the roughly estimated relative position, specifically, for any two target gateways in the plurality of gateway devices, a roughly estimated distance value between the two target gateway devices is obtained according to the roughly estimated relative position, a precisely estimated distance value between the two target gateway devices is obtained according to the precisely estimated relative position, and the existence of the obstacle between the two target gateway devices is determined according to the deviation of the roughly estimated distance value and the precisely estimated distance value;
Step S509, the server generates an obstacle in the accurate estimation relative position diagram according to the existence condition of the obstacle among the gateway devices to obtain a simulated house type diagram;
And step S510, the server stores and displays the simulated house type graph, wherein the simulated house type graph is used as a daily operation and maintenance management material of the user.
In the above example 2, the server generates the simulated house type diagram, and the server can accurately judge the actual use situation of the user based on the generated simulated house type diagram of the user, so as to improve the user experience, and simultaneously, is helpful for fault analysis, positioning and service optimization of the user FTTR network.
The embodiment of the application also provides an electronic device, as shown in fig. 9, the electronic device 1400 includes:
one or more processors 1410;
The memory 1420 has one or more programs stored thereon, which when executed by the one or more processors 1410, cause the one or more processors 1410 to implement the indoor unit profile generation method provided by the present application.
Memory 1420 is a non-transitory network system that may be used to store non-transitory software programs as well as non-transitory computer-executable programs. In addition, memory 1420 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some implementations, the memory 1420 may optionally include memory 1420 located remotely from the processor 1410, the remote memory 1420 being connectable to the processor 1410 through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Memory 1420 may be implemented in the form of read-only memory (ReadOnlyMemory, ROM), static storage, dynamic storage, or random access memory (RandomAccessMemory, RAM). The memory 1420 may store an operating system and other application programs, and when the technical solutions provided in the embodiments of the present disclosure are implemented in software or firmware, relevant program codes are stored in the memory 1420 and the processor 1410 invokes a method of performing an embodiment of the present application.
The processor 1410 may be implemented by a general-purpose CPU (central processing unit), a microprocessor, an application-specific integrated circuit (ApplicationSpecificIntegratedCircuit, ASIC), or one or more integrated circuits, etc. for executing related programs to implement the technical solutions provided by the embodiments of the present application.
In some embodiments, the electronic device further comprises:
The input/output interface is used for realizing information input and output;
The communication interface is used for realizing communication interaction between the device and other devices, and can realize communication in a wired mode (such as USB, network cable and the like) or in a wireless mode (such as mobile network, wi-Fi, bluetooth and the like);
A bus that transfers information between the various components of the device (e.g., processor 1410, memory 1420, input/output interfaces, and communication interfaces);
Wherein the processor 1410, the memory 1420, the input/output interface, and the communication interface may implement communication connection with each other inside the device through a bus.
The embodiment of the application also provides a computer readable storage medium which stores computer executable instructions for executing the indoor unit type graph generating method.
An embodiment of the present application also provides a computer program product, including a computer program or computer instructions, where the computer program or computer instructions are stored in a computer readable storage medium, and a processor of the computer device reads the computer program or the computer instructions from the computer readable storage medium, and the processor executes the computer program or the computer instructions, so that the computer device performs the indoor unit type graph generating method provided by the present application.
The system architecture and the application scenario described in the embodiments of the present application are for more clearly describing the technical solution of the embodiments of the present application, and do not constitute a limitation on the technical solution provided by the embodiments of the present application, and those skilled in the art can know that, with the evolution of the system architecture and the appearance of the new application scenario, the technical solution provided by the embodiments of the present application is applicable to similar technical problems.
Those skilled in the art will appreciate that implementing all or part of the above-described methods may be accomplished by way of a computer program, which may be stored on a non-transitory computer readable storage medium and which, when executed, may comprise the steps of the above-described embodiments of the methods. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (SYNCHLINK) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
Those of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.
Some embodiments of the application are described above with reference to the accompanying drawings, which do not limit the scope of the claims. Any modifications, equivalent substitutions and improvements made by those skilled in the art without departing from the scope and spirit of the present application shall fall within the scope of the appended claims.