Optical fiber telephone control method and device, equipment and storage medium
Through the fiber optic telephone control method, the fiber optic link is used to obtain call commands and address information, and automatically determine the status of the receiving end and make calls, solving the problem of interference from traditional telephones in environments such as tunnels, and improving call quality and automated management.
Patent Information
- Application Number
- CN202510499358.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-21
- Publication Date
- 2025-06-03
AI Technical Summary
In environments such as tunnels, traditional phones are susceptible to weather and electromagnetic interference, resulting in a decline in call quality.
The fiber optic telephone control method is adopted to obtain call instructions, address information and judge the receiving end status through the fiber optic link, and realize automatic call and virtual call status conversion.
Improve call quality, reduce environmental interference, and realize automated call and call management.
Smart Images

Figure CN120091083A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of telephone communication, and in particular, to a fiber optic telephone control method, device, equipment, and storage medium. Background Art
[0002] A telephone is a long-distance communication device that can transmit and receive sounds, which can greatly facilitate people's communication. Traditional telephones are connected by cables and use the cables for signal transmission to enable direct communication between users at both ends of the telephone.
[0003] When applying traditional telephones in locations such as tunnels, there are interferences such as weather and electromagnetic for the telephones. Therefore, how to reduce the impact of interference has become an urgent problem to be solved. Summary of the Invention
[0004] To reduce the impact of interference, this application provides a fiber optic telephone control method, device, equipment, and storage medium.
[0005] In a first aspect, a fiber optic telephone control method provided by this application adopts the following technical solution: A fiber optic telephone control method includes: Obtaining a call instruction based on a fiber optic link; Obtaining address information based on the call instruction; Judging whether the request receiving end is in a standby state based on the address information; If the request receiving end is in the standby state, sending a first call request to the request receiving end based on the call instruction.
[0006] By adopting the above technical solution, using a fiber optic link to obtain communication instructions, information, etc., compared with the traditional cable connection method, the call quality is improved, and problems such as environmental interference can be reduced to a certain extent. After the electronic device obtains the call instruction, the electronic device obtains the address information based on the call instruction, and then the electronic device judges whether the request receiving end is in the standby state based on the address information, that is, judges whether the request receiving end is in a state where a call can be established. If the request receiving end is in the standby state, the electronic device sends a first call request to this request receiving end based on the call instruction. It can automatically judge the call situation and perform calls automatically in this way.
[0007] Optionally, when the request receiving end is not in the standby state, it further includes: Converting to a virtual call state to receive the user's request information; Judging the request level based on the request information; If the request level is the first level, obtaining the call level of the current call of the request receiving end; Determine whether the request level is higher than the call level; If the request level is higher than the call level, convert the current call to the waiting state and transmit the request information to the request receiving end.
[0008] By adopting the above technical solution, when the request receiving end is not in the standby state, the electronic device is converted to the virtual call state to receive the user's request information, that is, a virtual call is established at this time. The electronic device can record the request information and process and analyze the request information, so as to determine the level to which the request information belongs. When the request level is the first level, it indicates that the sending end is in an emergency state at this time. Then the electronic device obtains the call level of the current call, and then determines whether the request level is higher than the call level. If the request level is higher than the call level, the current call is converted to the waiting state, that is, the current call is temporarily interrupted, and then the current sending end is connected, and at the same time the request information is also sent to the request receiving end, so that the request receiving end can understand the situation based on the request information.
[0009] Optionally, before converting the current call to the waiting state, it further includes: Determine whether the call joining information sent by the request receiving end is received; If the call joining information is received, do not execute the step of converting the current call to the waiting state, and add the call corresponding to the request information to the current call.
[0010] By adopting the above technical solution, before the electronic device converts the current call to the waiting state, it also needs to determine whether the call access information sent by the request receiving end is received. If the electronic device receives the call joining information, it indicates that the request receiving end can process simultaneously at this time, so it is not necessary to convert the current call to the waiting state at this time. In this case, subtracting the situation of converting to the waiting state and only being able to have a one-on-one call improves the processing and communication efficiency.
[0011] Optionally, after adding the call corresponding to the request information to the current call, it further includes: Determine whether a shielding instruction is received; If the shielding instruction is received, shield the first user based on the shielding instruction so that the first user cannot receive the corresponding content; When the shielding instruction is received, start counting to obtain the cumulative number of times; Determine whether the cumulative number of times is greater than the preset threshold; If the cumulative number of times is greater than the preset threshold, convert to the automatic shielding state.
[0012] By adopting the above technical solution, after the electronic device adds the call corresponding to the request information to the current call, the electronic device determines whether it has received a shielding instruction. If the electronic device receives the shielding instruction, it indicates that the conversation content is confidential at this time and the call content cannot be leaked. Therefore, the electronic device shields the first user based on the shielding instruction, so that the first user cannot receive the corresponding content. And when the electronic device receives the shielding instruction, it starts counting to obtain the cumulative number of times. Then the electronic device determines whether the cumulative number of times is greater than the preset threshold. If the cumulative number of times is greater than the preset threshold, it is determined that most of the call content sent by this sender may be confidential. Therefore, the electronic device sets this sender to the automatic shielding state, that is, as long as the call established by this sender is made, it is automatically in the state of shielding other users.
[0013] Optionally, before converting the current call to the waiting state, it further includes: Based on the request information, determine whether it is necessary to establish calls with multiple request receivers; If it is necessary to establish calls with multiple request receivers, then establish a group for all the request receivers with whom calls need to be established.
[0014] By adopting the above technical solution, before the electronic device converts the current call to the waiting state, the electronic device determines whether it is necessary to establish calls with multiple request receivers based on the request information. If it is necessary to establish calls with multiple request receivers, the electronic device establishes a group for all the request receivers with whom calls need to be established, so that the sender can dock with multiple parties simultaneously, otherwise, the efficiency is improved. And the process of establishing a group does not require user participation and can be established automatically, with a high degree of intelligence.
[0015] Optionally, after obtaining the call instruction based on the optical fiber link, if the address information cannot be obtained based on the call instruction, it further includes: Obtain the target personnel information; Send a search instruction to all request receivers based on the personnel information; Based on the search instruction, determine whether a reply message is obtained; If the reply message is obtained, establish a call; If the reply message is not obtained, obtain the preset interval time; Send the search instruction based on the preset time interval.
[0016] By adopting the above technical solution, after the electronic device obtains a call instruction based on an optical fiber link, if the electronic device cannot obtain address information based on the call instruction, that is, at this time, the user at the sending end does not know the specific location of the target person, so the electronic device cannot obtain address information based on the call instruction. At this time, the electronic device obtains target person information, and then sends a search instruction to all request receiving ends based on the person information, and judges whether a reply message is received based on the search instruction. If a reply message is obtained, it indicates that the target person is found at this time, so a call is established between the sending end and the request receiving end that sends the reply message. If no reply message is obtained, at this time, the electronic device obtains a preset interval time, and then the electronic device sends a search instruction based on the preset interval time.
[0017] Optionally, after obtaining the preset interval time, it further includes: Obtain historical call information; Filter the historical call information based on the target person information; Judge whether the target person information is included in the historical call information; If the historical call information includes the target person information, obtain the target address information and the number of calls based on the historical call information including the target person information; Calculate a correction frequency based on the number of calls; Send a search instruction to the target address information based on the correction frequency.
[0018] By adopting the above technical solution, after the electronic device obtains the preset interval time, it obtains historical call information, and then filters the historical call information based on the target person information, so as to judge whether the target person information has appeared in the historical call information. If the target person information has appeared in the historical call information, the electronic device obtains the target address information and the number of calls based on the historical call information in which the target person information appears, and then the electronic device calculates the correction frequency based on the number of calls, and the electronic device sends a search instruction to the target address based on the correction frequency. It can perform screening by itself to obtain the possible locations where the target person may appear, and calculate different frequencies by counting the number of occurrences, which can improve the efficiency of finding people.
[0019] In a second aspect, a fiber optic telephone control device provided by the present application adopts the following technical solution: A first acquisition module, configured to acquire a call instruction based on an optical fiber link; A second acquisition module, configured to acquire address information based on the call instruction; A first judgment module, configured to judge whether a request receiving end is in a standby state based on the address information; if the request receiving end is in the standby state, transfer to the sending module; The sending module is configured to send a first call request to a request receiving end based on the call instruction.
[0020] In a third aspect, an electronic device provided in this application adopts the following technical solution: An electronic device includes a processor, and the processor is coupled to a memory; the processor is configured to execute a computer program stored in the memory, so that the electronic device executes the method described in the first aspect.
[0021] In a fourth aspect, a computer-readable storage medium provided in this application adopts the following technical solution: A computer-readable storage medium includes a computer program or instruction. When the computer program or instruction runs on a computer, the computer is caused to execute the method described in the first aspect. Description of the Drawings
[0022] Figure 1 is a flowchart of the fiber optic telephone control method according to an embodiment of this application.
[0023] Figure 2 is a block diagram of the fiber optic telephone control device according to an embodiment of this application.
[0024] Figure 3 is a block diagram of the electronic device according to an embodiment of this application. Detailed Embodiments
[0025] The following further describes this application in detail Figures 1-3 with reference to the accompanying drawings.
[0026] This specific embodiment is only an interpretation of this application and does not limit this application. Those skilled in the art can make modifications to this embodiment without creative contributions according to their needs after reading this specification, but as long as they are within the scope of the claims of this application, they are protected by the patent law.
[0027] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are some, but not all, of the embodiments of this application. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without making creative efforts fall within the protection scope of this application.
[0028] In addition, the term "and / or" in this text is merely a description of the association relationship between associated objects, indicating that there can be three relationships. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this text generally represents an "or" relationship between the front and rear associated objects unless otherwise specified.
[0029] An embodiment of the present application discloses a method for controlling an optical fiber telephone. The method for controlling the optical fiber telephone can be executed by an electronic device. The electronic device can be a server or a terminal device. The server can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The terminal device can be a smart phone, a tablet computer, a desktop computer, etc., but is not limited thereto.
[0030] An embodiment of the present application discloses a method for controlling an optical fiber telephone. Refer to Figure 1 , the main processes included in a method for controlling an optical fiber telephone are described as follows (S100 - S500): Step S100, obtaining a call instruction based on an optical fiber link; Step S200, obtaining address information based on the call instruction; Step S300, judging whether the request receiving end is in a standby state based on the address information; if the request receiving end is in a standby state, then Step S400, sending a first call request to the request receiving end based on the call instruction.
[0031] By using an optical fiber connection, the electronic device can obtain a call instruction through the optical fiber link, and the electronic device analyzes and obtains the address information from the call instruction, that is, the electronic device can obtain the address information through the call instruction, so as to know which request receiving end to call. Before sending a call request, the electronic device first judges whether the request receiving end is in a standby state based on the address information, that is, judges whether this request receiving end is in a state where it can be called. If the request receiving end is in a standby state, the electronic device sends a first call request to the request receiving end based on this address information. By using optical fiber communication instead of the traditional connection method, the call quality can be improved and it is not easily affected by the environment.
[0032] As an optional implementation manner of the embodiment of the present application, when the request receiving end is not in a standby state, it further includes: converting to a virtual call state to receive the request information of the user; judging the request level based on the request information; if the request level is the first level, obtaining the call level of the current call of the request receiving end; judging whether the request level is higher than the call level; if the request level is higher than the call level, converting the current call to a waiting state and transmitting the request information to the request receiving end.
[0033] When the electronic device determines that the request receiving end is not in the standby state, that is, when the request receiving end is in a call state, the electronic device switches to the virtual call state, so that it can receive the user's request information, that is, automatically record the user's request information. That is, although it fails to actually connect to the request receiving end at this time, the electronic device can form a virtual call, thereby receiving the user's request information. Then, the electronic device determines the request level based on the content of the request information. The request level can reflect the urgency. If the request level is the first level, and the first level is the highest level, that is, the highest urgency, at this time, the electronic device obtains the call level of the current call of the request receiving end, and determines whether the request level is higher than the call level. If the request level is higher than the call level, it means that the urgency is higher than the current call. Therefore, at this time, the current call is switched to the waiting state, and the request information is transmitted to the request receiving end.
[0034] As an alternative implementation manner of the embodiment of the present application, before switching the current call to the waiting state, it further includes: determining whether an interruption instruction is received. If an interruption instruction is received, the interruption times are calculated, and it is determined whether the interruption times are greater than the times threshold. If the interruption times are greater than the times threshold, the step of switching the current call to the waiting state is executed.
[0035] Before switching the current call to the waiting state, the electronic device determines whether an interruption instruction is received. The interruption instruction can be issued by the user of the current call. If the electronic device receives the interruption instruction, it means that the current call is at a critical moment and important information is being conveyed, and it should not be interrupted. For calculating the interruption times and then determining whether the interruption times are greater than the times threshold, it is to urge the user of the current call to speed up the conveyance of important information, so that a call with a higher urgency can be established. That is, when the interruption times are greater than the times threshold, the current call is switched to the waiting state.
[0036] As an alternative implementation manner of the embodiment of the present application, before switching the current call to the waiting state, it further includes: determining whether join call information sent by the request receiving end is received; if the join call information is received, the step of switching the current call to the waiting state is not executed, and the call corresponding to the request information is added to the current call.
[0037] Before switching the current call to the waiting state, the electronic device determines whether join call information sent by the request receiving end is received. If the join call information is received, it means that the request receiving end can accept the call requirements of multiple parties at the same time. Therefore, at this time, the join call information is sent, the current call continues to be maintained without being switched to the waiting state, and the new call is simultaneously connected, so as to be processed simultaneously.
[0038] As an alternative implementation of the embodiment of the present application, after adding the call corresponding to the request information to the current call, it further includes: determining whether a shielding instruction is received; if a shielding instruction is received, shielding the first user based on the shielding instruction so that the first user cannot receive the corresponding content; when the shielding instruction is received, starting to count to obtain an accumulated number of times; determining whether the accumulated number of times is greater than a preset threshold; if the accumulated number of times is greater than the preset threshold, converting to an automatic shielding state.
[0039] After the electronic device adds the call corresponding to the request information to the current call, the electronic device determines whether a shielding instruction is received. If a shielding instruction is received, it indicates that there may be some conversation content that needs to be kept confidential and cannot be made public at this time. Therefore, the electronic device shields the first user based on the shielding instruction. That is, the shielding instruction includes the user to be shielded, namely the first user. At this time, the first user cannot receive the conversation between the person sending the shielding instruction and the request receiving end. When the electronic device receives the shielding instruction, the electronic device starts to count to obtain an accumulated number of times, and then determines whether the accumulated number of times is greater than a preset threshold. If the accumulated number of times is greater than the preset threshold, the electronic device controls the sending end of the request information to default to the state of shielding others, that is, in subsequent calls, it is converted to the state of automatically shielding others.
[0040] As an alternative implementation of the embodiment of the present application, before converting the current call to the waiting state, it further includes: determining whether it is necessary to establish calls with multiple request receiving ends based on the request information; if it is necessary to establish calls with multiple request receiving ends, establishing a group for all the request receiving ends that need to establish calls.
[0041] Before the electronic device converts the current call to the waiting state, the electronic device determines whether it is necessary to establish calls with multiple request receiving ends based on the request information. If it is necessary to establish calls with multiple request receiving ends, the electronic device establishes a group for the set of request receiving ends included in all the request information. So that the sending end of the request information can communicate with multiple parties simultaneously, enabling rapid information communication and improving efficiency.
[0042] When establishing a group, the electronic device divides a virtual subnet based on the locations of the request receiving ends and allocates an independent broadband pool to avoid interference. At the same time, for the messages within the group, a hierarchical compression coding method is adopted and transmitted according to the importance level of the content.
[0043] When allocating the virtual subnet, a real-time network topology awareness method is introduced, that is, dynamic resource allocation is implemented.
[0044] For the request receiving end within a group, the request receiving end is regarded as a group member. For group members, an electronic device automatically selects one group member as the host. For the selection of the host, the electronic device makes the selection based on factors such as online duration, role tags, real-time speech contribution, and speech semantics. Moreover, temporary role switching is supported. For temporary role switching, it can be specified by the host, or after the previous host exits the group, the electronic device repeats the selection steps to automatically select the next host.
[0045] During the process of hierarchical compression encoding, the electronic device introduces a semantic analysis and recognition unit. The semantic recognition unit can recognize the call content, and thus perform different compression methods on different content. Lossless compression is used for key information, and a high compression ratio algorithm is used for non-key information. That is, after the semantic analysis and recognition unit recognizes the call content, the electronic device determines whether the call content is key information. If it is key information, lossless compression is performed.
[0046] For a virtual subnet, the electronic device real-time detects the subnet health. When it detects that the subnet fails, the electronic device triggers a rapid subnet reconstruction. The electronic device can utilize edge node resources to allocate idle channels. At the same time, after the electronic device establishes a group, it enables the shadow mode, that is, the electronic device synchronizes the group call data to a backup server. After the rapid subnet reconstruction, the electronic device can perform backtracking and seamless switching based on the call data in the backup server.
[0047] As an alternative implementation manner of the embodiments of the present application, after obtaining a call instruction based on an optical fiber link, if the address information cannot be obtained based on the call instruction, the following steps are further included: obtaining target personnel information; sending a search instruction to all request receiving ends based on the personnel information; determining whether a reply message is obtained based on the search instruction; if a reply message is obtained, establishing a call; if no reply message is obtained, obtaining a preset interval time; and sending the search instruction based on the preset time interval.
[0048] If the electronic device cannot obtain the address information based on the call instruction, that is, the user of the sending end does not know the specific location of the person to be contacted. At this time, the electronic device obtains the target personnel information, that is, the user of the sending end sends the information of the person to be contacted to the electronic device. The electronic device sends a search instruction to all request receiving ends based on the personnel information, that is, the electronic device automatically and simultaneously sends the search information, and then determines whether a reply instruction is obtained, that is, determines whether there is a person who replies. If the electronic device obtains a reply message, it indicates that the target person is found. At this time, a call is established between the sending end and the request receiving end that sends the reply message. If the electronic device does not obtain a reply message, the electronic device sends the search instruction based on the preset time interval.
[0049] As an alternative implementation of the embodiment of the present application, after obtaining the preset interval time, it further includes: obtaining historical call information; screening the historical call information based on the target person information; determining whether the historical call information includes the target person information; if the historical call information includes the target person information, obtaining the target address information and the number of calls based on the historical call information including the target person information; calculating the correction frequency based on the number of calls; and sending a search instruction to the target address information based on the correction frequency.
[0050] After the electronic device obtains the preset interval time, the electronic device further obtains historical call information, screens the historical call information based on the target person information, and then determines whether the historical call information includes the target person information, that is, determines whether the target person has made a call. If the historical call information includes the target person information, it is determined that the target person has made a call. At this time, the target address information and the number of calls are obtained based on the historical call information of the target person information, that is, the specific location of the target person's previous call and the number of calls at this location are obtained. The electronic device calculates a new correction frequency based on the number of calls, and then the electronic device sends a search instruction to the target address information based on the correction frequency.
[0051] In this embodiment, the sending end and the request receiving end are the same. For better description, they are named separately. The user uses the request receiving end to initiate a call, that is, send a call instruction, and then this request receiving end is the sending end.
[0052] Figure 2 It is a structural block diagram of an optical fiber telephone control device 500 provided by an embodiment of the present application. As Figure 2 shown, the optical fiber telephone control device 500 includes: A first acquisition module 501, configured to acquire a call instruction based on an optical fiber link; A second acquisition module 502, configured to acquire address information based on the call instruction; A first judgment module 503, configured to judge whether the request receiving end is in a standby state based on the address information; if the request receiving end is in a standby state, transfer to the sending module 504; A sending module 504, configured to send a first call request to the request receiving end based on the call instruction.
[0053] In this alternative embodiment, the optical fiber telephone control device 500 further includes: A first conversion sub-module, configured to convert to a virtual call state to receive the user's request information when the request receiving end is not in a standby state; A first judgment sub-module, configured to judge the request level based on the request information; if the request level is the first level, acquire the call level of the current call of the request receiving end; A second judgment sub-module, configured to judge whether the request level is higher than the call level; If the request level is higher than the call level, convert the current call to a waiting state and transmit the request information to the request receiving end.
[0054] In this alternative embodiment, the optical fiber telephone control device 500 further includes: A third judgment sub-module, configured to judge whether join call information sent by the request receiving end is received before converting the current call to a waiting state; if the join call information is received, do not perform the step of converting the current call to a waiting state, and add the call corresponding to the request information to the current call.
[0055] In this alternative embodiment, the optical fiber telephone control device 500 further includes: A fourth judgment sub-module, configured to judge whether a shielding instruction is received after adding the call corresponding to the request information to the current call; if the shielding instruction is received, shield the first user based on the shielding instruction so that the first user cannot receive the corresponding content; A first counting sub-module, configured to start counting to obtain an accumulated number of times when the shielding instruction is received; A fifth judgment sub-module, configured to judge whether the accumulated number of times is greater than a preset threshold; if the accumulated number of times is greater than the preset threshold, convert to an automatic shielding state.
[0056] In this alternative embodiment, the optical fiber telephone control device 500 further includes: A sixth judgment sub-module, configured to judge, before converting the current call to a waiting state, whether it is necessary to establish calls with multiple request receiving ends based on the request information; if it is necessary to establish calls with multiple request receiving ends, establish a group for all the request receiving ends that need to establish calls.
[0057] In this alternative embodiment, the optical fiber telephone control device 500 further includes: A first obtaining sub-module, configured to obtain target personnel information if address information cannot be obtained based on the call instruction after obtaining the call instruction based on the optical fiber link; A first sending sub-module, configured to send a searching instruction to all the request receiving ends based on the personnel information; A seventh judgment sub-module, configured to judge whether a reply message is obtained based on the searching instruction; if a reply message is obtained, establish a call; if no reply message is obtained, obtain a preset interval time; A second sending sub-module, configured to send a searching instruction based on the preset time interval.
[0058] In this alternative embodiment, the optical fiber telephone control device 500 further includes: The second acquisition sub-module is configured to acquire historical call information after a preset interval time has elapsed; The first screening sub-module is configured to screen the historical call information based on the target person information; The eighth determination sub-module is configured to determine whether the historical call information includes the target person information; if the historical call information includes the target person information, then acquire the target address information and the call count based on the historical call information including the target person information; The first calculation module is configured to calculate a correction frequency based on the call count; The third sending sub-module is configured to send a search instruction to the target address information based on the correction frequency.
[0059] Figure 3 This is a structural block diagram of an electronic device 600 provided by an embodiment of the present application. The electronic device 600 may be a device such as a mobile phone, a tablet computer, a PC, or a server. As Figure 3 shown, the electronic device 600 includes a memory 601, a processor 602, and a communication bus 603; the memory and the processor 602 are connected through the communication bus 603. A computer program capable of being loaded and executed by the processor 602, such as the electrical cabinet intelligent monitoring method provided in the above embodiment, is stored on the memory 601.
[0060] The memory 601 can be used to store instructions, programs, codes, code sets, or instruction sets. The memory 601 may include a program storage area and a managed data storage area. Among them, the program storage area may store instructions for implementing an operating system, instructions for at least one function, and instructions for implementing the electrical cabinet intelligent monitoring method provided in the above embodiment, etc.; the managed data storage area may store managed data involved in the electrical cabinet intelligent monitoring method provided in the above embodiment, etc.
[0061] The processor 602 may include one or more processing cores. By running or executing instructions, programs, code sets, or instruction sets stored in the memory 601, the processor 602 invokes the managed data stored in the memory 601 to perform various functions of this application and process the managed data. The processor 602 may be at least one of an application specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a central processing unit (CPU), a controller, a microcontroller, and a microprocessor. It can be understood that for different devices, the electronic devices for implementing the functions of the above-mentioned processor 602 may also be others, and the embodiments of this application do not make specific limitations.
[0062] The communication bus 603 may include a path for transmitting information between the above components. The communication bus 603 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The communication bus 603 may be divided into an address bus, a managed data bus, a control bus, etc. For ease of representation, Figure 3 only a double arrow is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0063] The embodiments of this application provide a computer storage medium storing a computer program that can be loaded and executed by a processor to perform the electrical cabinet intelligent monitoring method provided in the above embodiments.
[0064] In this embodiment, a computer storage medium may be a tangible device that holds and stores instructions used by an instruction execution device. The computer storage medium may be, but is not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any combination of the foregoing. Specifically, the computer storage medium may be a portable computer disk, a hard disk, a USB flash drive, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, an optical disk, a magnetic disk, a mechanical encoding device, and any combination of the foregoing.
[0065] The term "comprising," "including," or any other variation thereof is intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements that are inherent to such process, method, article, or apparatus.
Claims
1. A method for controlling an optical fiber telephone, characterized in that: include: Obtaining call instructions based on optical fiber links; Acquiring address information based on the calling instruction; determining whether the request receiving end is in a standby state based on the address information; If the request receiving end is in the standby state, a first call request is sent to the request receiving end based on the call instruction.
2. A fiber optic telephone control method according to claim 1, characterized in that: When the request receiving end is not in the standby state, the method further includes: Convert to virtual call state to receive user's request information; determining a request level based on the request information; If the request level is the first level, obtaining the call level of the current call of the request receiving end; Determining whether the request level is higher than the call level; If the request level is higher than the call level, the current call is converted into a waiting state, and the request information is transmitted to the request receiving end.
3. A fiber optic telephone control method according to claim 2, characterized in that: Before converting the current call to a waiting state, the method further includes: Determining whether the call joining information sent by the request receiving end is received; If the call joining information is received, the step of converting the current call to a waiting state is not performed, and the call corresponding to the request information is added to the current call.
4. A fiber optic telephone control method according to claim 3, characterized in that: After adding the call corresponding to the request information to the current call, the method further includes: Determine whether a blocking instruction is received; If a blocking instruction is received, blocking the first user based on the blocking instruction so that the first user cannot receive the corresponding content; When receiving the shielding instruction, start counting to obtain the cumulative number of times; Determine whether the accumulated number is greater than a preset threshold; If the accumulated number of times is greater than a preset threshold, it is converted to an automatic shielding state.
5. The optical fiber telephone control method according to claim 2, characterized in that: Before converting the current call to a waiting state, the method further includes: Determining whether it is necessary to establish a call with the plurality of request receiving ends based on the request information; If it is necessary to establish conversations with a plurality of the request receiving ends, a group is established for all the request receiving ends with which the conversations need to be established.
6. The optical fiber telephone control method according to claim 1, characterized in that: After the calling instruction is obtained based on the optical fiber link, if the address information cannot be obtained based on the calling instruction, the method further includes: Obtain target personnel information; Sending search instructions to all request receiving ends based on personnel information; Determining whether reply information is obtained based on the search instruction; If the reply information is obtained, a call is established; If the reply information is not obtained, obtaining the preset interval time; The search instruction is sent based on the preset time interval.
7. A fiber optic telephone control method according to claim 6, characterized in that: After obtaining the preset interval time, it also includes: Get historical call information; Filtering the historical call information based on the target person information; Determining whether the historical call information includes the target person information; If the historical call information includes the target person information, acquiring the target address information and the number of calls based on the historical call information including the target person information; Calculate a corrected frequency based on the number of calls; A seek instruction is sent to the target address information based on the revised frequency.
8. An optical fiber telephone control device, characterized in that: include: A first acquisition module, used for acquiring a call instruction based on an optical fiber link; A second acquisition module, used to acquire address information based on the call instruction; A first judging module, configured to judge whether the request receiving end is in a standby state based on the address information; If the request receiving end is in the standby state, then the sending module is entered; The sending module is used to send a first call request to a request receiving end based on the call instruction.
9. An electronic device, characterized in that: It comprises a processor, which is coupled to a memory; the processor is used to execute a computer program stored in the memory, so that the electronic device executes a fiber optic telephone control method as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The method comprises a computer program or an instruction, which, when executed on a computer, enables the computer to execute the optical fiber telephone control method according to any one of claims 1 to 7.