CN117319560B - Method, device, equipment and storage medium for communication between buildings - Google Patents

Method, device, equipment and storage medium for communication between buildings Download PDF

Info

Publication number
CN117319560B
CN117319560B CN202311608855.8A CN202311608855A CN117319560B CN 117319560 B CN117319560 B CN 117319560B CN 202311608855 A CN202311608855 A CN 202311608855A CN 117319560 B CN117319560 B CN 117319560B
Authority
CN
China
Prior art keywords
call
terminal
user
line
olt
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311608855.8A
Other languages
Chinese (zh)
Other versions
CN117319560A (en
Inventor
汪勇
冯国伟
黄如林
朱敏
蔡少葵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Boan Zhikong Technology Co ltd
Original Assignee
Shenzhen Boan Zhikong Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Boan Zhikong Technology Co ltd filed Critical Shenzhen Boan Zhikong Technology Co ltd
Priority to CN202311608855.8A priority Critical patent/CN117319560B/en
Publication of CN117319560A publication Critical patent/CN117319560A/en
Application granted granted Critical
Publication of CN117319560B publication Critical patent/CN117319560B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M7/00Arrangements for interconnection between switching centres
    • H04M7/006Networks other than PSTN/ISDN providing telephone service, e.g. Voice over Internet Protocol (VoIP), including next generation networks with a packet-switched transport layer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone
    • H04N7/147Communication arrangements, e.g. identifying the communication as a video-communication, intermediate storage of the signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application is applicable to the technical field of communication, and provides a method, a device, equipment and a storage medium for communication between buildings, wherein the method comprises the following steps: responding to a call request, and determining the call type of the call request according to the terminal identification of the second terminal; if the call type is the first type, a first call link between the first terminal and the second terminal is established; receiving call data sent by the second terminal through the first call link; and forwarding the call data to a user terminal so as to output the call data through the user terminal. By adopting the method, the call quality can be maintained while the requirement of bandwidth resources for accessing the Internet is reduced, so that the call quality of the call service in the middle distance is improved, and the use experience of a user is improved.

Description

Method, device, equipment and storage medium for communication between buildings
Technical Field
The application belongs to the technical field of communication, and particularly relates to a method, a device, equipment and a storage medium for communication between buildings.
Background
With the continuous development of communication technology, video call and voice call have become common communication modes between users, so how to efficiently and smoothly implement call services has become a focus of attention. In the existing call service technology, a call link between two terminals is generally established by means of a cloud server, so that call data is forwarded through the cloud server to realize call service.
When a call service is realized through a cloud server, if two terminals are located in different network environments, the terminals are required to access the Internet, call data are transmitted through the Internet, and the call quality of the mode is limited by the network bandwidth accessed to the Internet; if the two terminals are located in the same network environment, the call data can be transmitted through the local area network by accessing the same local area network. However, because the coverage area of the lan is effective, if two terminals are located in different buildings and exceed the coverage area of the lan, call data needs to be transmitted through the internet, so that the requirement for network bandwidth for accessing the internet is greatly increased. Therefore, in the existing call service technology, when users in different buildings need to perform call service, the users need to use the internet to transmit call data, so that the occupation condition of network resources accessing the internet is increased, and if the network bandwidth is lower, the quality of the call service can be affected.
Disclosure of Invention
The embodiment of the application provides a call method, a call device, electronic equipment and a call storage medium between buildings, which can solve the problem that call service technology is affected when users in different buildings need to perform call service, call data are required to be transmitted by using the Internet, the occupation condition of network resources accessing the Internet is increased, and the quality of call service is affected if the network bandwidth is low.
In a first aspect, an embodiment of the present application provides a call method between buildings, which is applied to a first terminal located in a first building, where the call method includes:
responding to a call request, and determining the call type of the call request according to the terminal identification of the second terminal; the call request comprises a voice call request and a video call request;
if the call type is the first type, a first call link between the first terminal and the second terminal is established; the first type is used for indicating that the first building and the second building where the second terminal is located share the same optical line terminal OLT; the first call link is established based on the OLT;
receiving call data sent by the second terminal through the first call link;
and forwarding the call data to a user terminal so as to output the call data through the user terminal.
In a possible implementation manner of the first aspect, the OLT is configured with at least one dedicated call line between the first building and the second building;
if the call type is the first type, establishing a first call link between the first terminal and the second terminal, including:
Acquiring the occupation state of each special call line;
if any special call line is in an idle state, a first access request is sent to the OLT; the first access request carries a first identifier of a first port of a first Optical Network Unit (ONU) accessed by the first terminal; the first access request is used for indicating the OLT to establish a first communication link between a first port of the first ONU and a second port corresponding to the private call line on the first building side;
receiving a first communication instruction fed back by the OLT, and identifying that the first call link is established;
if all the special call lines are in an occupied state, counting the bandwidth occupancy rate of each special call line;
if the bandwidth occupancy rate of any special call line is smaller than a preset occupancy threshold value, identifying any special call line as a reusable line, and sending a second access request to the OLT; the second access request carries the first identifier; the second access request is used for indicating the OLT to establish a second communication link between the first port and a third port of a second ONU to which the multiplexing line is connected;
And receiving a second communication instruction fed back by the OLT, and identifying that the first call link is established.
In a possible implementation manner of the first aspect, if the bandwidth occupancy of any dedicated call line is smaller than a preset occupancy threshold, identifying the any dedicated call line as a reusable line, and sending a second access request to the OLT includes:
determining a plurality of data transmission time slots of the multiplexing line according to the total bandwidth resource of the multiplexing line and a preset bandwidth granularity;
determining a first number of occupied data transmission time slots according to the bandwidth occupancy rate;
determining a target transmission time slot of the call request according to a first call frame rate of the active call and a second call frame rate of the call request corresponding to the reusable line, and selecting a target time slot map matched with the first number from a plurality of candidate time slot maps; the number of the data transmission time slots occupied on the target time slot map is the first number;
determining a target transmission time slot of the call request based on the idle transmission time slot in the target time slot map and the second call frame rate, and updating the target time slot map;
And generating the second access request based on the updated target time slot map and the first identifier.
In a possible implementation manner of the first aspect, the determining, according to a first call frame rate of the active call corresponding to the reusable line and a second call frame rate of the call request, a target transmission timeslot of the call request, selecting a target timeslot map matching the first number from a plurality of candidate timeslot maps, includes:
determining a first interval duration between each occupied data transmission time slot on the target time slot map according to the first conversation frame rate;
determining a second interval duration between data transmission time slots expected to be occupied by the call request on a target time slot map according to the second call frame rate;
respectively calculating the spectrum matching degree between each candidate time slot spectrum and the in-use call based on the first interval duration, the first number and the second interval duration; the map matching degree is as follows:
wherein MatchLv is the degree of map matching;for the first interval duration; />For the second interval duration; num is the first number; />Is the ith candidate time slot map; / >The number of occupied data time slots in the candidate time slot map is the number of occupied data time slots; />The longest time interval of the occupied time slot compartment in the i candidate time slot maps is set; alpha is a preset coefficient smaller than 1;
and selecting the candidate time slot map with the highest map matching degree as the target time slot map.
In a possible implementation manner of the first aspect, the call data includes scene information of a scene where the second terminal is located;
the forwarding the call data to a user terminal to output the call data through the user terminal includes:
determining a scene area where a first user is located, and calculating a distance value between each candidate terminal and the first user; the candidate terminal is configured in the scene area;
calculating call display adaptation degree according to the module size of the display module of each candidate terminal and the distance value;
selecting the candidate terminal with the highest call display adaptation degree as a target terminal, and setting operation parameters of the target terminal based on the scene information;
and sending the call data to the user terminal running based on the running parameters so as to output the call data through the user terminal.
In a possible implementation manner of the first aspect, the determining, in response to the call request, a call type of the call request according to a terminal identifier of the second terminal includes:
responding to the call request initiated by a first user on the first terminal, and acquiring user information of the first user and area information of a building group where the first building is located; the user information includes a plurality of dimension items;
determining associated users associated with at least one dimension item in the building group according to the user information and the area information, and generating the associated user list;
receiving a selection operation of the first user in the associated user list, and determining a second user corresponding to the call request;
and determining the second terminal used by the second user and determining the call type.
In a possible implementation manner of the first aspect, after the determining, in response to the call request, a call type of the call request according to a terminal identifier of the second terminal, the method further includes:
if the call type is the second type, sending a call connection request to a call server through a call application in a first terminal so as to establish a second call link with the second terminal through the call server; the second type is used to indicate that the first building and the second building use different OLTs;
And forwarding the call data received through the second call link to the user terminal so as to output the call data through the user terminal.
In a second aspect, an embodiment of the present application provides a call device between buildings, applied to a first terminal located in a first building, where the call device includes:
a call type determining unit, configured to determine a call type of the call request according to a terminal identifier of a second terminal in response to the call request; the call request comprises a voice call request and a video call request;
a first call type response unit, configured to establish a first call link between the first terminal and the second terminal if the call type is a first type; the first type is used for indicating that the first building and the second building where the second terminal is located share the same optical line terminal OLT; the first call link is established based on the OLT;
a call data transmitting unit, configured to receive call data sent by the second terminal through the first call link;
and the call data output unit is used for forwarding the call data to the user terminal so as to output the call data through the user terminal.
In a third aspect, an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor implementing the method according to any one of the first aspect when executing the computer program.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium storing a computer program which, when executed by a processor, implements a method as in any one of the first aspects above.
In a fifth aspect, embodiments of the present application provide a computer program product, which, when run on an electronic device, causes the electronic device to perform the method of any one of the first aspects.
Compared with the prior art, the embodiment of the application has the beneficial effects that: if two terminals are located in different buildings, if the two buildings share the same optical line terminal (Optical Line Terminal, OLT), a call link between the two terminals can be established through the OLT, call data generated in a call service process can be received through the call link established by the OLT, and the call data can be output through a user terminal connected with the first terminal, so that a call service between the first terminal and the second terminal is performed. Compared with the existing call technology, in the embodiment of the application, when the call service between the terminals of different buildings is realized, the terminal does not need to occupy the bandwidth resource of the access internet, and call data can be transmitted through the public OLT, so that the call quality can be maintained while the demand of the bandwidth resource of the access internet is reduced, the call quality of the call service of a middle distance is improved, and the use experience of a user is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following description will briefly introduce the drawings that are needed in the embodiments or the description of the prior art, it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a call system according to an embodiment of the present application;
fig. 2 is a schematic implementation diagram of a method for communicating between buildings according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a first call link according to an embodiment of the present application;
fig. 4 is a flowchart of a specific implementation of a method for talking between buildings in S202 according to a second embodiment of the present application;
fig. 5 is a schematic layout diagram of a dedicated call line according to an embodiment of the present application;
fig. 6 is a flowchart of a method for communicating between buildings according to a third embodiment of the present disclosure in S2025;
FIG. 7 is a schematic diagram of a time slot map according to an embodiment of the present application;
fig. 8 is a flowchart of a specific implementation of a method for talking between buildings in S204 according to the fourth embodiment of the present application;
Fig. 9 is a flowchart of a specific implementation of a method for talking between buildings in S201 according to a fifth embodiment of the present application;
fig. 10 is a flowchart of a specific implementation of a method for talking between buildings according to the sixth embodiment of the present application after S201;
fig. 11 is a schematic structural diagram of a call device between buildings according to an embodiment of the present disclosure;
fig. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system configurations, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, 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 addition, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used merely to distinguish between descriptions and are not to be construed as indicating or implying relative importance.
The method for communicating between buildings provided by the embodiment of the invention can be applied to electronic equipment capable of realizing communication services, such as desktop computers, servers, notebook computers, ultra-mobile personal computer (UMPC) smart phones, smart televisions and the like, wherein the electronic equipment can be a first terminal located in a first building or a second terminal located in a second building. In particular, the electronic device may be an intelligent management terminal of a first home where the first user is located in the first building. The intelligent management terminal can be a management terminal of each intelligent household electrical appliance in the first family and can be used for controlling the operation of each intelligent household electrical appliance in the first family. For example, the intelligent management terminal may be an intelligent routing device in the first home, and each intelligent home appliance may be connected to the local area network of the intelligent routing device, so that the intelligent routing device is convenient for controlling each intelligent home appliance. Correspondingly, if the electronic device is a second terminal of the second user, the second terminal may be an intelligent management terminal of a second home where the second user is located.
Illustratively, fig. 1 shows a schematic diagram of a call system according to an embodiment of the present application. Referring to fig. 1, the call system at least includes the following devices: the terminal 11 located in the first home, the intelligent home appliance 12 configured in the first home, the optical network unit (Optical Network Unit, ONU) 13 used when the first terminal accesses the internet, and correspondingly, the second home may also include the terminal 21, the intelligent home appliance 22 and the ONU23, where the first building and the second building share the same OLT10, the ONU13 and the ONU23 may access the same OLT10 through optical fibers, and access the internet through the OLT 10. Of course, in some scenarios, if there is a third home located in a third building, the terminal 31 of the third home may access another OLT30 through an ONU 32. The first terminal may be the terminal 11, the terminal 21, or the terminal 31.
Referring to fig. 2, fig. 2 shows an implementation schematic diagram of a method for communication between buildings, which is applied to a first terminal and includes the following steps:
in S201, responding to a call request, and determining a call type of the call request according to a terminal identifier of a second terminal; the call request includes a voice call request and a video call request.
In this embodiment, the first terminal is a terminal used by the first user. Wherein the first user is a user of a first home located within a first building. Correspondingly, the second terminal communicating with the first terminal is a terminal used by a second user, and the second user is a user at another home in a different building (i.e., a second building). Illustratively, if the first terminal is the terminal 11 in fig. 1, the second terminal may be the terminal 21 or the terminal 31 described above; if the first terminal is the terminal 21 in fig. 1, the second terminal may be the terminal 11 or the terminal 31 described above; of course, the first terminal may also be the terminal 31 in fig. 1, which is not described in detail herein.
In this embodiment, the call request may be initiated by the first user on the first terminal, in which case, the first user may specify the second terminal that needs to perform the call, for example, by inputting a communication identifier of the second terminal, where the communication identifier may be a contact phone of the second terminal, or may be a building number of a building where the second terminal is located, for example, D2L506 or 2#506, which indicates that the call is performed with the terminal located in the second building 506. In this case, the terminal identifier of the second terminal may be the building number or a contact phone. If the first terminal initiates a call request through a preset call application, the terminal identifier may be a user account of a contact associated with the second terminal.
In this embodiment, the call request may be a voice call request between the first terminal and the second terminal, or a video call request between the first terminal and the second terminal. The service type of the specific call service used can be determined according to the actual call requirements.
In one possible implementation manner, the call request may be sent to the first terminal by the second terminal, where in this case, the call request may carry a terminal identifier of the second terminal, and correspondingly, the terminal identifier may also be a building number where the second terminal is located, or may also be a contact phone or a user account of the second terminal, or the like.
In this embodiment, when the first terminal receives the call request, the first terminal may analyze the call request, determine a terminal identifier of a second terminal that communicates with the first terminal from the call request, and determine a call type of the call request according to the terminal identifier of the second terminal.
In one possible implementation, the first terminal may store a corresponding list of calls between buildings. The call list may record the terminal identifier of each call terminal in the cell (i.e., the building group) where the first building is located and the building identifier of the building where the first building is located. The call list includes a terminal identifier of the first terminal. The first terminal can determine whether the terminal identifier of the second terminal in the call request is in the call list, so as to determine whether the second terminal is in the same cell as the first building where the first terminal is located, if yes, query the building identifier corresponding to the terminal identifier of the second terminal to determine the second building where the second terminal is located, and determine whether the second building and the first building share the same OLT according to a pre-stored network resource distribution diagram of the cell. If the first building and the second building share the same OLT, identifying the call type as a first type; otherwise, if the first building and the second building use different OLTs, the call type is identified as the second type. For example, if the first terminal is the terminal 11 in fig. 1 and the second terminal is the terminal 21, the call type of the call request between the two terminals is the first type; if the second terminal is the terminal 31, the call type of the call request between the two terminals is the second type.
In one possible implementation manner, if the terminal identifier is a building number, the second building where the second terminal is located may be determined according to the building number, and then, through a preset network resource distribution diagram, it is determined whether the first building and the second building share the same OLT, and then, the call type of the call request is determined.
In S202, if the call type is a first type, a first call link between the first terminal and the second terminal is established; the first type is used for indicating that the first building and the second building where the second terminal is located share the same optical line terminal OLT; the first telephony link is established based on the OLT.
In this embodiment, if the first building and the second building use the same OLT, it means that video call or voice call is performed between terminals in the two buildings, and data forwarding is not required to be implemented through the internet, but data forwarding is performed through the OLT, so that call quality of call service is improved while occupation of bandwidth resources accessed to the internet by the call service is avoided. Based on the above, the first terminal may initiate a connection request to the OLT, where the connection request may carry a port number used when the first terminal accesses the OLT and a port number used when the second terminal accesses the OLT, and the OLT may establish a corresponding communication link according to the two port numbers, so that a first call link between the first terminal and the second terminal can be connected.
Illustratively, fig. 3 shows a schematic diagram of a first call link according to an embodiment of the present application. Referring to fig. 3, the first terminal is specifically an intelligent routing device 301, where the intelligent routing device 301 may access an ONU302 located in the first building through an optical fiber. Other routing devices on the same floor or adjacent floors to the intelligent routing device 301 may access the same ONU, i.e. the ONU302, so as to access the OLT300 through the ONU302, where the port 303 used when the ONU302 accesses the OLT300 is the port number corresponding to the intelligent routing device 301. Likewise, a second terminal (i.e., routing device 311) may also access OLT300 through a corresponding ONU312, wherein ONU312 accesses port 313 used when OLT 300. At this time, OLT300 may establish a communication link between port 313 and port 303, thereby forming a call link between the first terminal and the second terminal.
In this embodiment, after the first terminal and the second terminal establish the first call link, the first terminal and the second terminal may start to perform the call service. The call service may be specifically a video call service and a voice call service, which may be specifically determined according to actual use requirements of the user.
In S203, call data sent by the second terminal is received through the first call link.
In this embodiment, after the first terminal and the second terminal establish the first call link, a call may be performed between the first terminal and the second terminal. If the call service is a video call service, call data transmitted in the process of communication between the two terminals are video call data; if the call service is a voice call service, call data transmitted in the communication process of the two terminals are voice call data.
In one possible implementation manner, the call request carries relevant operation parameters, such as a code rate and a frame rate, during a call, and the call data is transmitted based on the operation parameters, so as to meet the call requirement when the call data is finally output.
In S204, the call data is forwarded to a user terminal, so that the call data is output through the user terminal.
In this embodiment, in order to facilitate convenience in implementing a call service, the first terminal may output call data through a preset user terminal, so as to facilitate a video call or a voice call for the first user. The user terminal can be a terminal held by a user, and can also be a smart television of a family where the first user is located. The first user may configure a call priority for each terminal in the first home, and the first terminal may determine a user terminal that outputs call data according to the call priority and a use state corresponding to each terminal, and forward the call data to the user terminal.
In this embodiment, a wired connection may be established between the first terminal and the user terminal, and the call data may be transmitted through the wired connection; alternatively, the first terminal and the user terminal may access the same lan, so as to transmit the call data through the lan.
In one possible implementation manner, if the first terminal is configured with a display module, the user terminal may be the first terminal, and the first terminal may directly display the call data through the display module, so as to implement a call service for the first user.
As can be seen from the foregoing, in the method for communication between buildings provided in the embodiments of the present application, if two terminals are located in different buildings and the two buildings share the same optical line terminal (Optical Line Terminal, OLT), a communication link between the two terminals may be established through the OLT, communication data generated in a communication service process may be received through the communication link established by the OLT, and the communication data may be output through a user terminal connected with the first terminal, so as to perform communication service between the first terminal and the second terminal. Compared with the existing call technology, in the embodiment of the application, when the call service between the terminals of different buildings is realized, the terminal does not need to occupy the bandwidth resource of the access internet, and call data can be transmitted through the public OLT, so that the call quality can be maintained while the demand of the bandwidth resource of the access internet is reduced, the call quality of the call service of a middle distance is improved, and the use experience of a user is improved.
Fig. 4 shows a flowchart of a specific implementation of a method for calling between buildings in S202 according to a second embodiment of the present application. Referring to fig. 4, with respect to the embodiment described in fig. 2, S202 in the method for talking between buildings provided in this embodiment includes: s2021 to S2026 are described in detail as follows:
further, the OLT is configured with at least one dedicated call line between the first building and the second building; if the call type is the first type, a first call link between the first terminal and the second terminal is established, including
In S2021, the occupied state of each of the dedicated call lines is acquired.
In this embodiment, the first building and the second building share the same OLT, and the OLT is configured with dedicated call lines between the first building and the second building. Fig. 5 is a schematic diagram illustrating the layout of a private call line according to an embodiment of the present application. Referring to fig. 5, since the location of the first building is generally a certain distance from the location of the second building, the OLT may be disposed in the first building or the second building. At this time, if the OLT is disposed in the first building, when the ONUs of the second building need to access the OLT disposed in the first building, all the ONUs of the second building may be accessed into the same hub through the hub, and an optical path between the OLT and the hub is established, so as to achieve the purpose of accessing the OLT. Based on this, the hub may be configured with an additional optical path, i.e., the dedicated call line, in addition to the optical path between the ONU and the OLT (for implementing the terminal in the second building to access the internet), so as to implement the call service between the first building and the second building. The dedicated call lines may be added according to the use requirement, and the number of the dedicated call lines is not limited.
In this embodiment, the first terminal may send an occupancy state query request to the OTL, and the OLT may detect occupancy states of each dedicated call line between the first building and the second building and feed back the occupancy states to the first terminal. If two or more buildings share the same OLT, the query request may include a building number of the first building and a second number of the second building, so that a dedicated call line between the two buildings can be determined, and an occupied state of each dedicated call line can be queried. If there is an idle dedicated call line, the operation of S2022 is performed; otherwise, if there is no free line, the operation of S2024 is performed.
In S2022, if any of the dedicated call lines is in an idle state, a first access request is sent to the OLT; the first access request carries a first identifier of a first port of a first Optical Network Unit (ONU) accessed by the first terminal; the first access request is used for indicating the OLT to establish a first communication link between a first port of the first ONU and a second port of the private call line corresponding to the first building side.
In this embodiment, when an idle dedicated call line exists between the first building and the second building, it means that call data can be transmitted between the first terminal and the second terminal using the dedicated call line, in which case the first terminal may send a first access request to the OLT. The first access request includes a device identifier of a first ONU to which the first terminal accesses, and a first identifier of a first port used when the first ONU accesses the OLT. The first identifier is specifically a port number of a first port used by the first ONU to access the OLT.
In this embodiment, after receiving the first access request, the OLT may connect the first port with a second port corresponding to the private call line on the first building side, so that the ONU may access the private call link through the first port, and thus the first terminal may access the private call link through the ONU. It should be noted that, because the ONU has accessed other terminals, the ONU may still maintain access to the internet, and when receiving the call data of the first terminal later, the ONU transmits the call data through the dedicated call link according to the routing forwarding rule in the OLT, and for other data packets, data transmission may be performed through the port connected to the internet.
In S2023, a first communication instruction fed back by the OLT is received, and it is identified that the first call link is established.
In this embodiment, when the first communication command fed back by the OLT is received by the first terminal, it indicates that the OLT has established a communication connection between the first port and the second port, that is, the first call link between the first terminal and the second terminal has been established, and call data may be transmitted through the first call link.
In S2024, if all the dedicated call lines are in the occupied state, the bandwidth occupancy of each dedicated call line is counted.
In this embodiment, since there may be a plurality of different users between two buildings to perform the call service, the dedicated call line may be occupied by the call service initiated by another user, and at this time, the first terminal needs to determine whether the same dedicated call line can be shared with the already occupied terminal. If a dedicated call line with a large bandwidth resource exists, the dedicated call line can be time-division multiplexed, so that the utilization rate of the dedicated call line can be improved.
In this embodiment, when the OLT detects that each dedicated call line is in the occupied state, the OLT may feed back the bandwidth occupancy rate of each dedicated call line to the first terminal, optionally, may also feed back the total bandwidth of each dedicated call line, and the first terminal may calculate the available bandwidth resource of each dedicated call line according to the bandwidth occupancy rate and the total bandwidth.
In one possible implementation manner, if all the dedicated call lines are greater than the preset occupation threshold, it indicates that the first call link between the buildings cannot be established in a multiplexing manner, and the second call link between the second terminal and the first terminal can be established in an internet access manner.
In S2025, if the bandwidth occupancy rate of any dedicated call line is less than a preset occupancy threshold, identifying the any dedicated call line as a reusable line, and sending a second access request to the OLT; the second access request carries the first identifier; the second access request is for instructing the OLT to establish a second communication link between the first port and a third port of a second ONU to which the multiplexing line has been connected.
In this embodiment, if the first terminal detects that a dedicated call line with a bandwidth occupancy rate smaller than the occupancy threshold exists, it indicates that the dedicated call line can be multiplexed with other terminals, and therefore, the dedicated call line can be identified as a reusable line. If there are multiple dedicated call lines that are all smaller than the occupation threshold, one dedicated call line with the smallest bandwidth occupation rate may be used as the above-mentioned reusable line.
In this embodiment, the first terminal may send a second access request to the OLT. The second access request includes a device identifier of a first ONU to which the first terminal accesses, and a first identifier of a first port used when the first ONU accesses the OLT. The first identifier is specifically a port number of a first port used by the first ONU to access the OLT. Correspondingly, the OLT may establish a communication link between the first port and a second port used in the reusable line access OLT according to the second access request, so as to implement the first terminal to access the reusable line.
In S2026, receiving a second communication instruction fed back by the OLT, identifying that the first call link is established.
In this embodiment, when the first terminal receives the second communication instruction fed back by the OLT, it indicates that the OLT has established a communication connection between the first port and the third port, that is, the first call link between the first terminal and the second terminal has been established, and call data may be transmitted through the first call link.
In the embodiment of the application, different first call links are established according to the occupation condition of the special call line, so that different conditions can be dealt with, the application range of building call link establishment can be improved, and link multiplexing can be performed under the condition that the special call line has idle bandwidth resources.
Fig. 6 shows a flowchart of a specific implementation of a method for talking between buildings in S2025 according to the third embodiment of the present application. Referring to fig. 6, with respect to the embodiment described in fig. 4, S2025 in a method for talking between buildings provided in this embodiment includes: S601-S605 are described in detail as follows:
in S601, a plurality of data transmission slots of the multiplexing-capable line are determined according to the total bandwidth resource of the multiplexing-capable line and a preset bandwidth granularity.
In this embodiment, since the first terminal needs to multiplex the same dedicated call line with other terminals, and when implementing call service, it needs to ensure call quality, that is, the code rate and the frame rate need to meet preset requirements, bandwidth resources in the reusable line need to be reasonably allocated to meet corresponding call service requirements when using the same dedicated call line.
In this embodiment, the first terminal determines the total bandwidth resources of the reusable line and the bandwidth granularity when dividing the bandwidth resources. For example, if the total bandwidth resource of a certain reusable line is 100 megabits per second (MB/s) and the bandwidth granularity is 10MB/s, the total bandwidth resource may be divided into 10 bandwidth resources, and each bandwidth resource may correspond to one data transmission slot.
In S602, a first number of occupied data transmission slots is determined according to the bandwidth occupancy.
In this embodiment, before the first terminal occupies the reusable line, it may arbitrarily use all data transmission slots of the reusable line for transmitting call data; and because the first terminal needs to occupy part of the data transmission time slot, the bandwidth resource on the multiplexing line needs to be reasonably allocated, so that the purpose of time-sharing multiplexing the multiplexing line can be realized while the transmission code rate and the frame rate meet the call requirement. The first terminal may determine a first number of occupied data transmission slots according to a bandwidth occupancy rate of the reusable line, for example, the bandwidth occupancy rate is 50%, and the first number is 5 when the reusable line includes 10 data transmission slots.
In S603, determining a target transmission time slot of the call request according to a first call frame rate of the active call corresponding to the reusable line and a second call frame rate of the call request, and selecting a target time slot map matching the first number from a plurality of candidate time slot maps; the number of the data transmission time slots occupied on the target time slot map is the first number.
In this embodiment, the time slot map is specifically used to determine the occupation situation of the data transmission time slots when different services use the reusable line. Illustratively, fig. 7 shows a schematic diagram of a slot map provided in an embodiment of the present application. Referring to fig. 7, the reusable line includes 10 data transmission slots, wherein a part of the data transmission slots are required for transmitting related protocols and synchronization identifications, so that the available slot patterns are the following four. The transmission protocol and the time slot occupied by the synchronization mark will also have a difference according to the total bandwidth resource of the multiplexing line and the service type of the call service, i.e. the optional time slot map will be adjusted according to the actual situation.
In this embodiment, since the call service generates corresponding call data in real time, there is a certain real-time requirement for transmission of call data, and the instant messaging interval needs to be matched with the frame rate of the call service, based on this, the first terminal may determine, according to the first call frame rate of the active call and the second call frame rate corresponding to the call request, an interval duration between available data transmission timeslots on each candidate timeslot map, where the interval duration needs to be no greater than the frame interval duration corresponding to any frame rate, and then may select a corresponding target timeslot map. The number of the data transmission time slots occupied on the target time slot map is matched with the first number occupied by the in-use call.
Further, as another embodiment of the present application, the step S603 specifically includes the following four steps:
step 1: and determining a first interval duration between each occupied data transmission time slot on the target time slot map according to the first call frame rate.
Step 2: and determining a second interval duration between data transmission time slots expected to be occupied by the call request on a target time slot map according to the second call frame rate.
In this embodiment, the first terminal may determine, according to the first talk frame rate, a longest interval duration of each output transmission slot when the talk frame rate needs to be met to transmit the talk data, for example, the first talk frame rate is 60 frames per second (fps), that is, an interval duration between each frame should not be longer than 16.7ms, that is, the first interval duration is 16.7ms, and correspondingly, may also calculate the second interval duration according to the second talk frame rate.
Step 3: respectively calculating the spectrum matching degree between each candidate time slot spectrum and the in-use call based on the first interval duration, the first number and the second interval duration; the map matching degree is as follows:
wherein MatchLv is the degree of map matching; For the first interval duration; />For the second interval duration; num is the first number; />Is the ith candidate time slot map; />The number of occupied data time slots in the candidate time slot map is the number of occupied data time slots; />The longest time interval of the occupied time slot compartment in the i candidate time slot maps is set; alpha is a preset coefficient less than 1.
In this embodiment, the first terminal may calculate the spectrum matching degree corresponding to each candidate spectrum according to the calculated two interval durations and the first number of the data transmission time slots occupied by the active call, where the calculation function is a piecewise function, that is, needs to satisfy the requirement that the active call quality is not affected, so if the longest interval of the data transmission time slots occupied by the candidate spectrum is greater than the first interval duration, that is, the active call frame rate is reduced, the active call quality is reduced, and the corresponding matching degree is 0, that is, the requirement is not satisfied. The time intervals between occupied data transmission time slots in the candidate time slot map can be different, so that the first terminal needs to determine the time interval between each adjacent occupied data transmission time slot, and then selects one with the largest interval duration as the longest time interval.
Step 4: and selecting the candidate time slot map with the highest map matching degree as the target time slot map.
In this embodiment, when the first terminal performs a call request, the occupied dedicated call request is multiplexed, so that the corresponding call quality can be reduced appropriately, and thus, according to whether the call quality needs to be reduced, the corresponding spectrum matching degree is calculated in different manners, where the call request of the first terminal is satisfied, and the corresponding spectrum matching degree is larger when the call frame rate of the call is used, so that the accuracy of selecting the whole spectrum matching degree can be improved.
In S604, a target transmission slot of the call request is determined based on the idle transmission slot in the target slot map and the second call frame rate, and the target slot map is updated.
In this embodiment, after selecting the target time slot map, the first terminal may determine a data transmission time slot occupied by the call in the target time slot map and other time slots that need to transmit the rated protocol and the synchronization frame, thereby determining an idle transmission time slot, determining a target transmission time slot used when transmitting the call data from the plurality of idle transmission time slots based on the second call frame rate, and updating the target time slot map, that is, changing the usage state of the target transmission time slot to the occupied state.
In S605, the second access request is generated based on the updated target slot pattern and the first identification.
In this embodiment, the first terminal may encapsulate the target timeslot map and the first identifier of the first port of the ONU to which the first terminal is connected, so as to generate the second access request, so that the subsequent OLT may transmit call data according to the timeslot occupation situation in the target timeslot map.
In the embodiment of the application, the first terminal selects the target time slot map suitable for the current call and the target time slot map suitable for the in-use call from the plurality of candidate time slot maps, so that the bandwidth resources of the reusable line can be better allocated, and the condition that a plurality of call services use the same line at the same time is satisfied.
Fig. 8 is a flowchart of a specific implementation of a method for calling between buildings in S204 according to the fourth embodiment of the present application. Referring to fig. 8, with respect to the embodiment described in fig. 2, S204 in the method for talking between buildings provided in this embodiment includes: s2041 to S2044 are described in detail as follows:
further, the call data comprises scene information of a scene where the second terminal is located;
the forwarding the call data to a user terminal to output the call data through the user terminal includes:
In S2041, determining a scene area where a first user is located, and calculating a distance value between each candidate terminal and the first user; the candidate terminal is configured in the scene area.
In this embodiment, after the first terminal establishes the first call link with the second terminal, the first terminal may select an appropriate user terminal from the first home to output the call data. Based on the above, the first terminal may acquire a scene area where the first user is located, for example, acquire pictures of each scene through a camera, and determine whether the pictures contain the first user, so as to determine the scene area where the first user is located. In one possible implementation manner, if the user carries the terminal, the scene area where the first user is located may be determined according to the position information fed back by the terminal carried on the user.
In this embodiment, a partial area or each area in the first home may be configured with a corresponding candidate terminal, where the candidate terminal may be a terminal capable of displaying call data, such as a television set, a smart phone, a projection device, and the like, which are disposed in a scene where the first user is located, and the first terminal may calculate distance values between different candidate terminals and the first user according to the scene where the first user is located.
In S2042, a call display adaptation degree is calculated according to the module size of the display module of each candidate terminal and the distance value.
In this embodiment, the first terminal may calculate, according to the distance value and the size of the display module of the candidate terminal, a display ratio when the first user views the call data through the display module, where the display ratio may be a ratio between the module size and the distance value, and determine, based on the display ratio, the display adaptation degree described above, where the display adaptation degree is used to determine a viewing effect of viewing the call data when the first user does not need to move. If the display adaptation degree is higher, the viewing effect is better, and the display adaptation degree is related to the display parameters such as the display resolution of the display module, the screen refresh rate and the like in addition to the display proportion.
In S2043, the candidate terminal with the highest call display adaptation degree is selected as a target terminal, and the operation parameters of the target terminal are set based on the scene information.
In S2044, the call data is transmitted to the user terminal operating based on the operation parameter to output the call data through the user terminal.
In this embodiment, in order to improve the immersion of the call process, the first terminal may adjust the operation parameters of the user terminal according to the scene information of the second terminal corresponding to the second user, so as to construct a call scene identical or similar to the second terminal, so that the call scenes between the first user and the second user are more unified, for example, the same call background is set, or the same background music is played, and the call data is output through the user terminal with the operation parameters set, so that a video call with more immersion can be implemented, and call experience is improved.
Fig. 9 shows a flowchart of a specific implementation of a method for calling between buildings in S201 according to a fifth embodiment of the present application. Referring to fig. 9, with respect to any of the embodiments of fig. 2 to 8, S201 in a method for communicating between buildings provided in this embodiment includes: S2011-S2014 are specifically described as follows:
in S2011, user information of a first user and area information of a building group where the first building is located are obtained in response to the call request initiated by the first user on the first terminal; the user information includes a plurality of dimension items.
In S2012, according to the user information and the area information, determining an associated user associated with at least one dimension item in the building group, and generating the associated user list.
In this embodiment, the first terminal may respond to a call request initiated by the first user, for example, the user clicks a call icon, which indicates that the first user needs to contact other users, at this time, the first terminal may obtain user information of the first user, and select other users having an association relationship with the first user from the area information of the building group where the first building is located, that is, the associated user generates a corresponding associated user list, so that the user can conveniently select an appropriate contact person in the associated user list, without manual input of the user, and operation efficiency of the user is improved. The user information may include a plurality of dimension items, such as office locations, interpersonal relationships, and relatives, so as to determine whether related users such as relatives, friends, and colleagues of the first user exist in the same building group, thereby generating a corresponding related user list.
In S2013, a selection operation of the first user in the associated user list is received, and a second user corresponding to the call request is determined.
In S2014, the second terminal used by the second user is determined, and the call type is determined.
In this embodiment, the first terminal may display the above-mentioned associated user list, and the user may initiate a selection operation in the above-mentioned associated user list to determine the second user to be contacted, and then the first terminal may determine, according to the second user selected by the user, the second terminal registered by the second user, and determine the call type of the call request. It should be noted that, if the associated user list does not have the user to be contacted by the first user, the first user may also determine the second user by means of manual input, and generate the corresponding call request.
In the embodiment of the application, the corresponding associated user list can be generated according to the user information, so that the user can conveniently select the user needing to talk, and the operation needed by the user is reduced.
Fig. 10 shows a flowchart of a specific implementation of a method for calling between buildings according to the sixth embodiment of the present application after S201. Referring to fig. 10, with respect to any one of the embodiments of fig. 2 to 8, after S201, the method for communication between buildings further includes: s1011 to S1012, the details are as follows:
in S1011, if the call type is the second type, sending a call connection request to a call server through a call application in the first terminal, so as to establish a second call link with the second terminal through the call server; the second type is used to indicate that the first building and the second building use different OLTs.
In S1012, the call data received through the second call link is forwarded to the user terminal to output the call data through the user terminal.
In this embodiment, when the call type is identified as the second type, it indicates that the first terminal and the second terminal are located in different buildings, and different OLTs are used in the different buildings, so that a call connection needs to be established by using a mode of accessing to the internet, where the establishment of a communication link can be performed through a server of a call application, so that call data can be sent to a server of the call server through accessing to the internet, and data forwarding is completed through the server.
In this embodiment, fig. 11 is a block diagram of a communication device between buildings according to an embodiment of the present application, where each unit included in the communication device between buildings is configured to execute each step implemented by the communication device between buildings in the embodiment corresponding to fig. 2. Please refer to fig. 2 and the related description of the embodiment corresponding to fig. 2. For convenience of explanation, only the portions related to the present embodiment are shown.
Referring to fig. 11, the communication device between buildings is applied to a first terminal of a first building, and the communication device includes:
a call type determining unit 111, configured to determine, in response to a call request, a call type of the call request according to a terminal identifier of a second terminal; the call request comprises a voice call request and a video call request;
a first call type response unit 112, configured to establish a first call link between the first terminal and the second terminal if the call type is a first type; the first type is used for indicating that the first building and the second building where the second terminal is located share the same optical line terminal OLT; the first call link is established based on the OLT;
A call data transmitting unit 113, configured to receive call data sent by the second terminal through the first call link;
and a call data output unit 114, configured to forward the call data to a user terminal, so as to output the call data through the user terminal.
It should be understood that, in the block diagram of the apparatus for generating an evaluation report shown in fig. 11, each module is configured to perform each step in the embodiment corresponding to fig. 2 to 10, and each step in the embodiment corresponding to fig. 2 to 10 is explained in detail in the foregoing embodiment, and specific reference is made to fig. 2 to 10 and related descriptions in the embodiment corresponding to fig. 2 to 10, which are not repeated herein.
Fig. 12 is a block diagram of an electronic device according to another embodiment of the present application. As shown in fig. 12, the electronic apparatus 1200 of this embodiment includes: a processor 1210, a memory 1220 and a computer program 1230 stored in the memory 1220 and executable on the processor 1210, such as a program for a method of talking between buildings. The processor 1210, when executing the computer program 1230, performs the steps of the embodiments of the method for communication between buildings described above, such as S201 to S204 shown in fig. 2. Alternatively, the processor 1210 may implement the functions of the modules in the embodiment corresponding to fig. 11 when executing the computer program 1230, for example, the functions from the call type determining unit 111 to the call data output unit 114 shown in fig. 11, and refer to the related description in the embodiment corresponding to fig. 11.
By way of example, the computer program 1230 may be partitioned into one or more modules, which are stored in the memory 1220 and executed by the processor 1210 to complete the present application. One or more of the modules may be a series of computer program instruction segments capable of performing particular functions to describe the execution of the computer program 1230 in the electronic device 1200. For example, the computer program 1230 may be divided into individual unit modules, each module functioning specifically as described above.
Electronic device 1200 may include, but is not limited to, a processor 1210, a memory 1220. It will be appreciated by those skilled in the art that fig. 12 is merely an example of an electronic device 1200 and is not intended to limit the electronic device 1200, and may include more or fewer components than shown, or may combine certain components, or different components, e.g., an electronic device may also include an input-output device, a network access device, a bus, etc.
The processor 1210 may be a central processing unit, or may be other general purpose processors, digital signal processors, application specific integrated circuits, off-the-shelf programmable gate arrays or other programmable logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or any conventional processor or the like.
The memory 1220 may be an internal storage unit of the electronic device 1200, such as a hard disk or a memory of the electronic device 1200. The memory 1220 may also be an external storage device of the electronic device 1200, such as a plug-in hard disk, a smart memory card, a flash memory card, etc. provided on the electronic device 1200. Further, the memory 1220 may also include both internal and external memory units of the electronic device 1200.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting thereof; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (9)

1. A method for communicating between buildings, applied to a first terminal located in a first building, the method comprising:
responding to a call request, and determining the call type of the call request according to the terminal identification of the second terminal; the call request comprises a voice call request and a video call request;
If the call type is the first type, a first call link between the first terminal and the second terminal is established; the first type is used for representing that the first building and a second building where the second terminal is located share the same optical line terminal OLT; the first call link is established based on the OLT;
receiving call data sent by the second terminal through the first call link;
forwarding the call data to a user terminal so as to output the call data through the user terminal;
the OLT is configured with at least one special call line between the first building and the second building;
if the call type is the first type, establishing a first call link between the first terminal and the second terminal, including:
acquiring the occupation state of each special call line;
if any special call line is in an idle state, a first access request is sent to the OLT; the first access request carries a first identifier of a first port of a first Optical Network Unit (ONU) accessed by the first terminal; the first access request is used for indicating the OLT to establish a first communication link between a first port of a first ONU and a second port corresponding to the first building side of the private call line;
Receiving a first communication instruction fed back by the OLT, and identifying that the first call link is established;
if all the special call lines are in an occupied state, counting the bandwidth occupancy rate of each special call line;
if the bandwidth occupancy rate of any special call line is smaller than a preset occupancy threshold value, identifying any special call line as a reusable line, and sending a second access request to the OLT; the second access request carries the first identifier; the second access request is used for indicating the OLT to establish a second communication link between the first port and a third port of a second ONU to which the multiplexing line is connected;
and receiving a second communication instruction fed back by the OLT, and identifying that the first call link is established.
2. The method according to claim 1, wherein if the bandwidth occupancy of any dedicated call line is smaller than a preset occupancy threshold, identifying the any dedicated call line as a reusable line, and sending a second access request to the OLT, includes:
determining a plurality of data transmission time slots of the multiplexing line according to the total bandwidth resource of the multiplexing line and a preset bandwidth granularity;
Determining a first number of occupied data transmission time slots according to the bandwidth occupancy rate;
determining a target transmission time slot of the call request according to a first call frame rate of the active call and a second call frame rate of the call request corresponding to the reusable line, and selecting a target time slot map matched with the first number from a plurality of candidate time slot maps; the number of the data transmission time slots occupied on the target time slot map is the first number;
determining a target transmission time slot of the call request based on the idle transmission time slot in the target time slot map and the second call frame rate, and updating the target time slot map;
and generating the second access request based on the updated target time slot map and the first identifier.
3. The method for calling according to claim 2, wherein determining the target transmission time slot of the call request according to the first call frame rate of the active call corresponding to the reusable line and the second call frame rate of the call request, selecting a target time slot pattern matching the first number from a plurality of candidate time slot patterns, comprises:
determining a first interval duration between each occupied data transmission time slot on the target time slot map according to the first conversation frame rate;
Determining a second interval duration between data transmission time slots expected to be occupied by the call request on a target time slot map according to the second call frame rate;
respectively calculating the spectrum matching degree between each candidate time slot spectrum and the in-use call based on the first interval duration, the first number and the second interval duration; the map matching degree is as follows:
wherein MatchLv is the degree of map matching;for the first interval duration; />For the second interval duration; num is the first number; />Is the ith candidate time slot map; />The number of occupied data time slots in the candidate time slot map is the number of occupied data time slots; />The longest time interval of the occupied time slot compartment in the i candidate time slot maps is set; alpha is a preset coefficient smaller than 1;
and selecting the candidate time slot map with the highest map matching degree as the target time slot map.
4. The call method according to claim 1, wherein the call data includes scene information of a scene in which the second terminal is located;
the forwarding the call data to a user terminal to output the call data through the user terminal includes:
determining a scene area where a first user is located, and calculating a distance value between each candidate terminal and the first user; the candidate terminal is configured in the scene area;
Calculating call display adaptation degree according to the module size of the display module of each candidate terminal and the distance value;
selecting the candidate terminal with the highest call display adaptation degree as a target terminal, and setting operation parameters of the target terminal based on the scene information;
and sending the call data to the user terminal running based on the running parameters so as to output the call data through the user terminal.
5. A method according to any one of claims 1-4, wherein said determining, in response to a call request, a call type of the call request based on a terminal identification of a second terminal, comprises:
responding to the call request initiated by a first user on the first terminal, and acquiring user information of the first user and area information of a building group where the first building is located; the user information includes a plurality of dimension items;
determining associated users associated with at least one dimension item in the building group according to the user information and the area information, and generating an associated user list;
receiving a selection operation of the first user in the associated user list, and determining a second user corresponding to the call request;
And determining the second terminal used by the second user and determining the call type.
6. A method according to any one of claims 1-4, further comprising, after said determining a call type of said call request from a terminal identification of a second terminal in response to said call request:
if the call type is the second type, sending a call connection request to a call server through a call application in a first terminal so as to establish a second call link with the second terminal through the call server; the second type is used to indicate that the first building and the second building use different OLTs;
and forwarding the call data received through the second call link to the user terminal so as to output the call data through the user terminal.
7. A call device between buildings, for use with a first terminal located in a first building, the call device comprising:
a call type determining unit, configured to determine a call type of the call request according to a terminal identifier of a second terminal in response to the call request; the call request comprises a voice call request and a video call request;
A first call type response unit, configured to establish a first call link between the first terminal and the second terminal if the call type is a first type; the first type is used for representing that the first building and a second building where the second terminal is located share the same optical line terminal OLT; the first call link is established based on the OLT;
a call data transmitting unit, configured to receive call data sent by the second terminal through the first call link;
a call data output unit, configured to forward the call data to a user terminal, so as to output the call data through the user terminal;
the OLT is configured with at least one special call line between the first building and the second building;
the first call type response unit is specifically configured to:
acquiring the occupation state of each special call line;
if any special call line is in an idle state, a first access request is sent to the OLT; the first access request carries a first identifier of a first port of a first Optical Network Unit (ONU) accessed by the first terminal; the first access request is used for indicating the OLT to establish a first communication link between a first port of a first ONU and a second port corresponding to the first building side of the private call line;
Receiving a first communication instruction fed back by the OLT, and identifying that the first call link is established;
if all the special call lines are in an occupied state, counting the bandwidth occupancy rate of each special call line;
if the bandwidth occupancy rate of any special call line is smaller than a preset occupancy threshold value, identifying any special call line as a reusable line, and sending a second access request to the OLT; the second access request carries the first identifier; the second access request is used for indicating the OLT to establish a second communication link between the first port and a third port of a second ONU to which the multiplexing line is connected;
and receiving a second communication instruction fed back by the OLT, and identifying that the first call link is established.
8. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 6 when executing the computer program.
9. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the method according to any one of claims 1 to 6.
CN202311608855.8A 2023-11-29 2023-11-29 Method, device, equipment and storage medium for communication between buildings Active CN117319560B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311608855.8A CN117319560B (en) 2023-11-29 2023-11-29 Method, device, equipment and storage medium for communication between buildings

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311608855.8A CN117319560B (en) 2023-11-29 2023-11-29 Method, device, equipment and storage medium for communication between buildings

Publications (2)

Publication Number Publication Date
CN117319560A CN117319560A (en) 2023-12-29
CN117319560B true CN117319560B (en) 2024-02-20

Family

ID=89255697

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311608855.8A Active CN117319560B (en) 2023-11-29 2023-11-29 Method, device, equipment and storage medium for communication between buildings

Country Status (1)

Country Link
CN (1) CN117319560B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1352501A (en) * 2000-11-14 2002-06-05 华为技术有限公司 Access network system based on digital user loop line access and multiplexing device
CN101039347A (en) * 2006-06-02 2007-09-19 深圳泰丰网络技术有限公司 Cordless wireless telephone set and telephone system and wireless conference telephone system using the same
WO2009030140A1 (en) * 2007-08-28 2009-03-12 Huawei Technologies Co., Ltd. Method, system and device for passive optical network data transmission
CN102905201A (en) * 2012-10-12 2013-01-30 中国联合网络通信集团有限公司 Passive optical network session service controlling method and optical line terminal
CN112688801A (en) * 2020-12-14 2021-04-20 宁波华讯通信服务有限公司 Local area network construction method, device and system based on PON (Passive optical network)
CN114915342A (en) * 2022-05-24 2022-08-16 网络通信与安全紫金山实验室 Conversion device and signal conversion method for PON and Wi-Fi integration
CN116916194A (en) * 2023-03-01 2023-10-20 中国移动通信集团设计院有限公司 OLT fault identification method, device, equipment and storage medium
CN116939410A (en) * 2023-07-05 2023-10-24 中国电信股份有限公司技术创新中心 Data processing system, method, device, equipment and medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10938991B2 (en) * 2019-02-28 2021-03-02 At&T Intellectual Property I, L.P. Method and apparatus for supporting internet call sessions in a communication network

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1352501A (en) * 2000-11-14 2002-06-05 华为技术有限公司 Access network system based on digital user loop line access and multiplexing device
CN101039347A (en) * 2006-06-02 2007-09-19 深圳泰丰网络技术有限公司 Cordless wireless telephone set and telephone system and wireless conference telephone system using the same
WO2009030140A1 (en) * 2007-08-28 2009-03-12 Huawei Technologies Co., Ltd. Method, system and device for passive optical network data transmission
CN102905201A (en) * 2012-10-12 2013-01-30 中国联合网络通信集团有限公司 Passive optical network session service controlling method and optical line terminal
CN112688801A (en) * 2020-12-14 2021-04-20 宁波华讯通信服务有限公司 Local area network construction method, device and system based on PON (Passive optical network)
CN114915342A (en) * 2022-05-24 2022-08-16 网络通信与安全紫金山实验室 Conversion device and signal conversion method for PON and Wi-Fi integration
CN116916194A (en) * 2023-03-01 2023-10-20 中国移动通信集团设计院有限公司 OLT fault identification method, device, equipment and storage medium
CN116939410A (en) * 2023-07-05 2023-10-24 中国电信股份有限公司技术创新中心 Data processing system, method, device, equipment and medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
FTTH+混合组网接入高档楼宇的关键技术及工程设计;骆梓毅;;通讯世界(16);全文 *

Also Published As

Publication number Publication date
CN117319560A (en) 2023-12-29

Similar Documents

Publication Publication Date Title
CN102655503B (en) Use the Resourse Distribute in shared resource pond
CN102088402B (en) Novel bandwidth management algorithm
CN109842508A (en) The method that multiple terminals cooperates, terminal device and multiple terminals cooperative system
CN108540568B (en) Computing capacity sharing method and intelligent equipment
CN110708694A (en) Method, system, storage medium and electronic device for realizing simultaneous online public and private networks
CN110225146B (en) Intranet and extranet mapping method and device, electronic equipment, medium and video conference system
JP6345810B2 (en) Reverse power supply management method, apparatus and system
CN104796561A (en) Agent distribution method, CTI (Computer Telephony Integration) equipment, terminal and agent distribution system
CN110365931A (en) The control method and device of multi-party call, electronic equipment, storage medium
CN108540500A (en) Data transmission method, device, equipment and the storage medium of more people's calls
CN107454274A (en) Method and apparatus for distributing seat
CN109413117B (en) Distributed data calculation method, device, server and computer storage medium
CN117319560B (en) Method, device, equipment and storage medium for communication between buildings
CN106937265B (en) Ship communication method and device
CN108495369A (en) A kind of method of channel management and device
CN106330504B (en) Method for realizing application and service controller
CN106331904B (en) Distribution method of wavelength channels in passive optical network, optical line terminal and system
CN106973389B (en) Dynamic spectrum sharing method and device
CN110719598B (en) Data transmission method and device, electronic equipment and storage medium
CN112954760A (en) Connection method and device of Bluetooth equipment and electronic equipment
CN103283185A (en) Prioritization of data communication
CN111343671B (en) Information processing method, device and storage medium
CN113014410B (en) Bandwidth adjusting method and device
CN112804084B (en) Bandwidth management method and device based on network interconnection line
CN113965912B (en) Scheduling method, device and equipment for communication software license

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant