A communication method, device and system
By separating signaling processing and media services in the communication system and using the resource management strategy of multi-level nodes, the problem of excessive resource occupation of ringtone services during peak periods is solved, and balanced resource allocation and user experience improvement is achieved.
Patent Information
- Application Number
- CN202111621858.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-28
- Publication Date
- 2025-04-11
- Estimated Expiration
- 2041-12-28
AI Technical Summary
The ringtone service occupies too much resources during peak periods, resulting in call access abnormalities and affecting user experience.
A communication system is designed, including first-level nodes, second-level nodes and third-level nodes. The target node is determined through preset strategies to ensure balanced resource allocation and avoid resource preemption.
By separating signaling processing and media services to independent nodes, effective resource management is achieved, call access abnormalities are avoided, and the experience of ringtone services is improved.
Smart Images

Figure CN114173007B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a communication method, device and system. Background Art
[0002] The calling function of mobile terminals is a commonly used function. For example, people use mobile phones to make calls almost every day. In order to improve the calling experience, operators have proposed the color ring back tone service, that is, after the calling end initiates a call to the called end and before the called end is connected, the calling end and / or the called end can play the color ring back tone.
[0003] Generally, ringback tone is a media stream converted from an audio file, which occupies a lot of resources. Moreover, as the demand for ringback tone services increases, the resources required for the ringback tone services are increasing. If resources are not planned properly, call abnormalities will occur. For example, during the peak call period, the number of incoming calls is large, the resources occupied by the ringback tone services increase, and there are not enough idle resources. New incoming calls cannot find the corresponding resources to process the ringback tone services, which will cause the ringback tone services to be unable to be used normally, reducing the user experience. Summary of the invention
[0004] The embodiments of the present invention provide a communication method, a device and a system for improving the experience of the color ring back tone service.
[0005] In a first aspect, a communication method is provided, which is applied to a communication system, wherein the communication system includes at least one primary node for accessing a call, at least one secondary node for processing a call, and at least one tertiary node for controlling media playback, wherein the at least one primary node, the at least one secondary node, and the at least one tertiary node are independent of each other, and the method includes:
[0006] The at least one primary node receives the call information of the calling end;
[0007] The at least one primary node sends the call information to a target secondary node among the at least one secondary node;
[0008] The target second-level node determines a target third-level node among the at least one third-level node according to a preset strategy;
[0009] The target level 2 node sends instruction information to the target level 3 node, where the instruction information is used to instruct the target level 3 node to start or stop playing the ringback tone corresponding to the call information;
[0010] The target third-level node controls the called terminal to start or stop playing the color ring tone.
[0011] In one possible design, the target secondary node satisfies at least one of the following conditions:
[0012] The target secondary node is a secondary node with the lowest load among the at least one secondary node;
[0013] The target secondary node is a secondary node with the highest priority among the at least one secondary node.
[0014] In a possible design, the target second-level node determines the target third-level node among the at least one third-level node according to a preset strategy, including:
[0015] The target second-level node determines the third-level node with the lowest current load among the at least one third-level node as the target third-level node; and / or,
[0016] The target second-level node determines the third-level node with the highest priority among the at least one third-level node as the target third-level node; and / or,
[0017] The target second-level node determines, according to the corresponding relationship between the second-level nodes and the third-level nodes, a third-level node corresponding to the target second-level node in the at least one third-level node as the target third-level node.
[0018] In one possible design, the method further includes: the at least one primary node periodically sending a heartbeat to the at least one secondary node;
[0019] The at least one primary node determines a secondary node that does not return a heartbeat feedback within a first preset time period as a failed secondary node, so that the at least one primary node stops sending call information to the failed secondary node.
[0020] In one possible design, the method further includes:
[0021] The at least one secondary node periodically sends a heartbeat to the at least one tertiary node;
[0022] The at least one second-level node determines the third-level node that does not return heartbeat feedback within a second preset time period as a failed third-level node, so that the at least one second-level node stops sending indication information to the failed third-level node.
[0023] In a second aspect, a communication method is also provided, which is applied to a secondary node, and the method includes:
[0024] The secondary node receives the call information;
[0025] The secondary node determines a target third-level node in at least one third-level node according to a preset strategy, and the at least one third-level node is used to control the playing or stopping of the ringback tone; wherein the at least one third-level node and the at least one secondary node are independent of each other;
[0026] The second-level node sends indication information to the target third-level node, wherein the indication information is used to instruct the target third-level node to start or stop playing the ringback tone corresponding to the call information, so that the target third-level node controls the called end to start or stop playing the ringback tone.
[0027] In a possible design, the second-level node determines, according to a preset strategy, a target third-level node among the at least one third-level node, including:
[0028] The secondary node determines the third-level node with the lowest current load among the at least one third-level node as the target third-level node; and / or,
[0029] The second-level node determines the third-level node with the highest priority among the at least one third-level node as the target third-level node; and / or,
[0030] The second-level node determines, according to the corresponding relationship between the second-level nodes and the third-level nodes, a third-level node corresponding to the second-level node in the at least one third-level node as a target third-level node.
[0031] In one possible design, the method further includes:
[0032] The secondary node periodically sends a heartbeat to the at least one third-level node;
[0033] The second-level node determines the third-level node that does not return heartbeat feedback within the second preset time period as a failed third-level node, so that the second-level node stops sending indication information to the failed third-level node.
[0034] In a third aspect, a communication device is also provided, including:
[0035] A communication unit, configured to receive call information;
[0036] A processing unit, configured to determine, according to a preset strategy, a target third-level node among at least one third-level node, wherein the at least one third-level node is used to control the playing or stopping of the color ring tone; wherein the at least one third-level node and the at least one second-level node are independent of each other;
[0037] The communication unit is further used to send indication information to the target level-3 node, wherein the indication information is used to instruct the target level-3 node to start or stop playing the color ring tone corresponding to the call information, so that the target level-3 node controls the called end to start or stop playing the color ring tone.
[0038] In a possible design, the processing unit is specifically used for:
[0039] Determine the third-level node with the lowest current load among the at least one third-level node as the target third-level node; and / or,
[0040] determining a third-level node with the highest priority among the at least one third-level node as a target third-level node; and / or,
[0041] According to the correspondence between the second-level node and the third-level node, a third-level node corresponding to the second-level node in the at least one third-level node is determined as the target third-level node.
[0042] In one possible design, the processing unit is further configured to:
[0043] Controlling the communication unit to periodically send a heartbeat to the at least one third-level node;
[0044] The third-level node that does not return the heartbeat feedback within the second preset time period is determined as a failed third-level node, so that the second-level node stops sending indication information to the failed third-level node.
[0045] In a fourth aspect, a communication device is also provided, comprising a processor and a memory; wherein the memory is used to store one or more computer programs; when the one or more computer programs stored in the memory are executed by the processor, the communication device implements the second aspect or any possible design method of the above-mentioned second aspect.
[0046] In a fifth aspect, a communication system is also provided, including:
[0047] at least one primary node, configured to receive a call from a calling end and send call information to a target secondary node;
[0048] At least one second-level node determines a target third-level node among the at least one third-level node according to a preset strategy, and sends indication information to the target third-level node, wherein the indication information is used to instruct the target third-level node to start or stop playing the color ring tone corresponding to the call information;
[0049] At least one third-level node is used to control the called terminal to start or stop playing the color ring tone.
[0050] In a sixth aspect, a computer-readable storage medium is also provided, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes the method provided in the first aspect or the second aspect above.
[0051] In a seventh aspect, a computer program product is also provided, wherein the computer program product stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes the method provided in the first aspect or the second aspect above.
[0052] The beneficial effects of the present invention are as follows:
[0053] In the technical solution provided by the embodiment of the present invention, the communication system includes at least one first-level node for accessing calls, at least one second-level node for processing calls, and at least one third-level node for controlling media playback, wherein the at least one first-level node, the at least one second-level node and the at least one third-level node are independent of each other. At least one first-level node receives call information from the calling end; at least one first-level node sends the call information to a target second-level node among the at least one second-level node; the target second-level node determines the target third-level node among the at least one third-level node according to a preset strategy; the target second-level node sends indication information to the target third-level node, and the indication information is used to instruct the target third-level node to start or stop playing the color ring tone corresponding to the call information; the target third-level node controls the called end to start or stop playing the color ring tone. In this way, calls can be balanced to different second-level nodes, or balanced to different third-level nodes, saving resources and avoiding call abnormalities. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1 A schematic diagram of a communication system provided by an embodiment of the present invention;
[0055] Figure 2 Another schematic diagram of a communication system provided by an embodiment of the present invention;
[0056] Figure 3 A flow chart of a communication method provided by an embodiment of the present invention;
[0057] Figure 4 A schematic diagram of a communication device provided by an embodiment of the present invention;
[0058] Figure 5 Another schematic diagram of a communication device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0059] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0060] The shapes and sizes of the components in the drawings do not reflect the actual proportions, and are only intended to illustrate the contents of the present invention.
[0061] Figure 1 A schematic diagram of a communication system provided for an embodiment of the present application. The communication system includes a calling end, a called end, at least one primary node, and at least one secondary node. Among them, at least one secondary node includes a signaling processing module and a media service module. The functions of each node are described below.
[0062] The calling end is the end that initiates the call. For example, it can be a portable electronic device such as a mobile phone or a tablet computer, or a wearable device such as a smart watch or a bracelet, or a household appliance such as a smart TV or a smart refrigerator, or a vehicle-mounted device, etc. In short, the calling end can be the end that initiates the call, and this application does not limit its type. For example, the calling end can have a SIM card for initiating the call.
[0063] The primary node, as a call access node, can send the call to the secondary node after receiving the call initiated by the calling end.
[0064] The signaling processing module in the secondary node is responsible for processing call services, such as determining whether the calling end has activated the color ring back tone service, and which color ring back tone service is activated, etc.
[0065] The media service module in the secondary node is responsible for starting or stopping the playing of the ringback tone file. For example, when the signaling processing module determines that the calling end has activated the ringback tone service, it controls the media service module to play the corresponding ringback tone file. In this way, the called end can play the ringback tone.
[0066] The called end is the destination of the call. For example, it can be a portable electronic device such as a mobile phone or a tablet computer, or a wearable device such as a smart watch or a bracelet, or a household appliance such as a smart TV or a smart refrigerator, or a car device, etc. In short, the calling end can be the end that initiates the call, and this application does not limit its type. For example, the calling end can have a SIM card for receiving calls.
[0067] Figure 1 In the communication system shown, the signaling processing module and the media service module are two modules in the same node (ie, the secondary node). Thus, the signaling processing module and the media service module share the resources of the same node, such as computing resources and storage resources.
[0068] Generally speaking, the media service module occupies a large amount of resources, especially storage resources, because it needs to store a large number of audio and video files. When the node resources are limited, after the media service module occupies a large amount of resources, the signaling processing module has only a few resources left. When resources are scarce, the signaling processing module cannot handle a large number of calls, which will cause some calls to be unable to connect, especially during peak hours.
[0069] Moreover, since the signaling processing module and the media service module are two modules in the same node (i.e., the secondary node), the communication between the signaling processing module and the media service module belongs to the communication between different processes in the same device, and the protocol used is the inter-process communication protocol. This inter-process communication is greatly affected by the performance of the node. For example, if the processor performance of the node is low, the communication between different processes will be stuck, affecting normal calls.
[0070] Figure 2 Another structural diagram of the communication system provided in the embodiment of the present application. Figure 2 , the communication system comprises:
[0071] The calling end, the called end, at least one first-level node, at least one second-level node, and at least one third-level node. For the introduction of the calling end, the called end, and at least one first-level node, please refer to the previous text Figure 1 , no repetition is given.
[0072] and Figure 1 The difference is, Figure 2 In the process, the second-level node is responsible for signaling processing. The third-level node is responsible for media services. In other words, Figure 2 In the system shown, the signaling processing module and the media service module, which originally belonged to the same node, are separated, the signaling processing module is used as a secondary node, and the media service module is used as a tertiary node, and the secondary node and the tertiary node are independent nodes. The independence can include different devices, such as different servers. This separation method can avoid the situation where the signaling processing module and the media service module grab resources, and, assuming that the secondary node and the tertiary node are different servers, the communication protocol used between the secondary node and the tertiary node is the communication protocol between different servers, and is no longer the communication protocol between different processes.
[0073] The present invention provides a communication method which can be applied to Figure 1 The system shown can also be applied to Figure 2 For the convenience of description, the following system is applicable to Figure 2 Take the system shown in the figure as an example. Figure 3 , is a flow chart of a communication method provided in an embodiment of the present application. The flow chart includes:
[0074] S1, the calling end initiates a call; correspondingly, at least one first-level node receives the call information.
[0075] For example, the call information may include the number of the calling end, the number of the called end, the call time, the call type (voice call or video call), the call start or stop information, and the like.
[0076] S2, at least one primary node determines a target secondary node among at least one secondary node.
[0077] In some embodiments, at least one of the following information is stored in at least one primary node:
[0078] (1) The destination address of the secondary node. The destination address is used to facilitate communication.
[0079] (2) The number of the secondary node, which may be an ID.
[0080] (3) The group to which the secondary node belongs is also called the belonging group. In order to facilitate the management of the secondary nodes, the secondary nodes are divided into different groups, for example, they can be divided according to geographical location, or randomly, etc.
[0081] (4) The node status of the secondary node, wherein the node status includes a valid or invalid status. In some embodiments, the primary node may periodically send heartbeats to the secondary node, and determine that the secondary node that has not returned heartbeat feedback within a preset time period is an invalid node, otherwise it is a valid node. Among them, the invalid secondary node is stopped from processing services, for example, the primary node will not send calls to the invalid secondary node. In other embodiments, the invalidity of the secondary node has a time limit, for example, the secondary node is an invalid node for a period of time. After the time period, the primary node can continue to send heartbeats to the invalid secondary node. If the heartbeat feedback of the secondary node is received within the preset time period, the state of the secondary node is switched from an invalid state to a valid state, and then the secondary node is restored to use.
[0082] (5) Load of the secondary node. The load includes the call load that the secondary node has received, such as the number of calls; or it may also include the load of the secondary node device itself, such as the operating load of the processor, the storage capacity of the memory, etc.
[0083] In some embodiments, the primary node can be used to manage the secondary nodes. For example, as described above, an invalid secondary node is determined. For another example, a node can create a new secondary node, or remove a problematic secondary node, wherein the problematic secondary node includes an invalid secondary node.
[0084] After receiving the call, the primary node determines a target secondary node from at least one secondary node, and then sends the call to the target secondary node. The method of determining the target secondary node includes at least one of the following:
[0085] One possible implementation is that at least one primary node determines the secondary node with the smallest load among at least one secondary node as the target secondary node. The load includes the call load, that is, the number of calls currently processed, and may also include currently occupied computing resources or storage resources.
[0086] Another possible implementation is that at least one primary node determines that the secondary node corresponding to the at least one first-node among at least one secondary node is the target secondary node. For example, there is a correspondence between the primary node and the secondary node, and at least one primary node determines that the secondary node corresponding to the at least one first-node among the at least one secondary node is the target secondary node based on the correspondence.
[0087] Another possible implementation is that at least one primary node determines the secondary node with the highest priority among at least one secondary node as the target secondary node. For example, there is a priority relationship, and the priority relationship includes a priority relationship between different secondary nodes, such as a secondary node with stronger computing power has a higher priority, and a secondary node with weaker computing power has a weaker priority, and so on.
[0088] It should be noted that the above are examples of several implementation methods of S2. There may be other methods, which are not listed one by one in this application.
[0089] S3, at least one primary node sends a call to the target secondary node.
[0090] S4, the target second-level node determines a target third-level node among at least one third-level node.
[0091] In the embodiment of the present application, the secondary node may be used to manage at least one tertiary node. For example, the secondary node includes at least one of the following information:
[0092] (1) The destination address of the third-level node. The destination address is used to facilitate communication.
[0093] (2) The call code of the third-level node, which can be an ID.
[0094] (3) The group to which the third-level nodes belong is also called the belonging group. In order to facilitate the management of the second-level nodes, the second-level nodes are divided into different groups, for example, they can be divided according to geographical location, or randomly, etc.
[0095] (4) The node status of the third-level node, wherein the node status includes a valid or invalid status. In some embodiments, the first-level node may periodically send heartbeats to the second-level node, and determine that the second-level node that has not returned heartbeat feedback within a preset time period is an invalid node, otherwise it is a valid node. Among them, the invalid second-level node is stopped from processing services, for example, the first-level node will not send a call to the invalid second-level node. In other embodiments, the invalidity of the second-level node has a time limit, for example, the second-level node is an invalid node for a period of time. After the time period, the first-level node can continue to send heartbeats to the invalid second-level node. If the heartbeat feedback of the second-level node is received within the preset time period, the state of the second-level node is switched from an invalid state to a valid state, and then the second-level node is restored to use.
[0096] (5) Weight ratio of the third-level node. The weight ratio is related to the load of the third-level node. The higher the load, the lower the weight. The load includes the call load that the second-level node has received, such as the number of calls; or it can also include the load of the second-level node device itself, such as the operating load of the processor, the storage capacity of the memory, etc.
[0097] In the embodiment of the present application, the target secondary node may determine the target third-level node in at least one third-level node according to a preset strategy, which specifically includes at least one of the following methods:
[0098] One possible implementation is that at least one second-level node determines the third-level node with the smallest load among at least one third-level node as the target third-level node. The load includes the call load, that is, the number of calls currently processed, and may also include currently occupied computing resources or storage resources.
[0099] Another possible implementation is that at least one second-level node determines that the third-level node corresponding to the at least one second-level node in at least one third-level node is the target third-level node. For example, there is a corresponding relationship between the second-level node and the third-level node, and at least one first-level node determines that the third-level node corresponding to the at least one second-level node in the at least one second-level node is the target third-level node based on the corresponding relationship.
[0100] Another possible implementation is that at least one second-level node determines the third-level node with the highest priority among at least one third-level node as the target third-level node. For example, there is a priority relationship, and the priority relationship includes a priority relationship between different third-level nodes, such as a third-level node with stronger computing power has a higher priority, and a third-level node with weaker computing power has a weaker priority, and so on.
[0101] It should be noted that the above are examples of several implementation methods of S4, and other methods are also possible, which are not listed one by one in this application.
[0102] S5, the target level 2 node sends instruction information to the target level 3 node, wherein the instruction information is used to instruct the target level 3 node to start or stop playing the ring back tone.
[0103] It is understandable that the call information includes prompt information, and the prompt information is used to indicate starting a call or stopping a call. For example, if the prompt information is 1, it indicates starting a call, and if the prompt information is 0, it indicates stopping a call. Therefore, if the prompt information in the call information is 1, the target level 2 node sends the indication information for indicating starting to play the color ring back tone to the target level 3 node; if the prompt information in the call information is 0, the target level 2 node sends the indication information for indicating stopping to play the color ring back tone to the target level 3 node.
[0104] S6: The target level-3 node controls the called end to start or stop playing the ringback tone based on the indication information.
[0105] Exemplarily, the target third-level node can decode and stream the ringback tone file to obtain a media stream, such as a real-time transport control protocol (RTP) media stream, and control the RTP media stream to the called end; or control the RTP media stream to stop flowing to the called end.
[0106] Exemplarily, the CRBT may include a voice CRBT and / or a video CRBT, which is not limited in this application.
[0107] Based on the same inventive concept, the present application embodiment also provides a communication device. Figure 4 FIG. 1 is a schematic diagram of a communication device. Figure 4 As shown, the communication device includes: a communication unit 401 and a processing unit 402. Among them,
[0108] The communication unit 401 is used to receive call information;
[0109] The processing unit 402 is used to determine, according to a preset strategy, a target third-level node among at least one third-level node, wherein the at least one third-level node is used to control the playing or stopping of the color ring tone; wherein the at least one third-level node and the at least one second-level node are independent of each other;
[0110] The communication unit 401 is further used to send indication information to the target level-3 node, wherein the indication information is used to instruct the target level-3 node to start or stop playing the ringback tone corresponding to the call information, so that the target level-3 node controls the called end to start or stop playing the ringback tone.
[0111] In a possible design, the processing unit 402 is specifically configured to:
[0112] Determine the third-level node with the lowest current load among the at least one third-level node as the target third-level node; and / or,
[0113] determining a third-level node with the highest priority among the at least one third-level node as a target third-level node; and / or,
[0114] According to the correspondence between the second-level node and the third-level node, a third-level node corresponding to the second-level node in the at least one third-level node is determined as the target third-level node.
[0115] In a possible design, the processing unit 402 is further configured to:
[0116] Controlling the communication unit to periodically send a heartbeat to the at least one third-level node;
[0117] The third-level node that does not return the heartbeat feedback within the second preset time period is determined as a failed third-level node, so that the second-level node stops sending indication information to the failed third-level node.
[0118] The communication device 400 in this embodiment is similar to the aforementioned Figure 3 The communication method shown is an invention based on the same concept. Through the above detailed description of the communication method, those skilled in the art can clearly understand the implementation process of the communication device 400 in this embodiment, so for the sake of brevity of the specification, it will not be repeated here.
[0119] Based on the same inventive concept, an embodiment of the present invention provides a communication device 400. Figure 5 As shown, it is a schematic diagram of a communication device 500 provided by an embodiment of the present invention. Figure 5 As shown, the communication device 500 includes: one or more processors 501; one or more memories 502; a communication interface 503, and one or more computer programs 504, and the above-mentioned devices can be connected through one or more communication buses 505. The one or more computer programs 504 are stored in the above-mentioned memory 1502 and are configured to be executed by the one or more processors 501, and the one or more computer programs 504 include instructions. For example, the above-mentioned instructions can be used to execute the relevant steps of the first-level node, the second-level node or the third-level node in the corresponding embodiment above. The communication interface 503 is used to realize communication with other devices, for example, the communication interface can be a transceiver.
[0120] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0121] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0122] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0123] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0124] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A communication method, characterized in that: Applied to a communication system, the communication system includes at least one primary node for accessing a call, at least one secondary node for processing a call, and at least one tertiary node for controlling media playback, wherein the at least one primary node, the at least one secondary node, and the at least one tertiary node are independent of each other, and the method includes: The at least one primary node receives the call information of the calling end; The at least one primary node sends the call information to a target secondary node among the at least one secondary node; The target second-level node determines a target third-level node among the at least one third-level node according to a preset strategy; The target level 2 node sends instruction information to the target level 3 node, where the instruction information is used to instruct the target level 3 node to start or stop playing the ringback tone corresponding to the call information; The target third-level node controls the called terminal to start or stop playing the color ring tone.
2. The method according to claim 1, characterized in that The target secondary node satisfies at least one of the following conditions; The target secondary node is a secondary node with the lowest load among the at least one secondary node; The target secondary node is a secondary node with the highest priority among the at least one secondary node.
3. The method according to claim 1, characterized in that The target second-level node determines a target third-level node among the at least one third-level node according to a preset strategy, including: The target second-level node determines the third-level node with the lowest current load among the at least one third-level node as the target third-level node; and / or, The target second-level node determines the third-level node with the highest priority among the at least one third-level node as the target third-level node; and / or, The target second-level node determines, according to the corresponding relationship between the second-level nodes and the third-level nodes, a third-level node corresponding to the target second-level node in the at least one third-level node as the target third-level node.
4. The method according to claim 1, characterized in that: The method further comprises: The at least one primary node periodically sends a heartbeat to the at least one secondary node; The at least one primary node determines a secondary node that does not return a heartbeat feedback within a first preset time period as a failed secondary node, so that the at least one primary node stops sending call information to the failed secondary node.
5. The method according to claim 1, characterized in that The method further comprises: The at least one secondary node periodically sends a heartbeat to the at least one tertiary node; The at least one second-level node determines the third-level node that does not return heartbeat feedback within a second preset time period as a failed third-level node, so that the at least one second-level node stops sending indication information to the failed third-level node.
6. A communication method, characterized in that: Applied to a secondary node, the method comprises: The secondary node receives the call information; The secondary node determines a target third-level node in at least one third-level node according to a preset strategy, and the at least one third-level node is used to control the playing or stopping of the ringback tone; wherein the at least one third-level node and the at least one secondary node are independent of each other; The second-level node sends indication information to the target third-level node, wherein the indication information is used to instruct the target third-level node to start or stop playing the ringback tone corresponding to the call information, so that the target third-level node controls the called end to start or stop playing the ringback tone.
7. The method according to claim 6, characterized in that The second-level node determines, according to a preset strategy, a target third-level node among the at least one third-level node, including: The secondary node determines the third-level node with the lowest current load among the at least one third-level node as the target third-level node; and / or, The second-level node determines the third-level node with the highest priority among the at least one third-level node as the target third-level node; and / or, The second-level node determines, according to the corresponding relationship between the second-level nodes and the third-level nodes, a third-level node corresponding to the second-level node in the at least one third-level node as a target third-level node.
8. The method according to claim 6, characterized in that The method further comprises: The secondary node periodically sends a heartbeat to the at least one third-level node; The second-level node determines the third-level node that does not return heartbeat feedback within the second preset time period as a failed third-level node, so that the second-level node stops sending indication information to the failed third-level node.
9. A communication device, characterized in that: include: A communication unit, configured to receive call information; A processing unit, configured to determine, according to a preset strategy, a target third-level node among at least one third-level node, wherein the at least one third-level node is used to control the playing or stopping of the color ring tone; wherein the at least one third-level node and the at least one second-level node are independent of each other; The communication unit is further used to send indication information to the target level-3 node, wherein the indication information is used to instruct the target level-3 node to start or stop playing the color ring tone corresponding to the call information, so that the target level-3 node controls the called end to start or stop playing the color ring tone.
10. The device according to claim 9, characterized in that The processing unit is specifically used for: Determine the third-level node with the lowest current load among the at least one third-level node as the target third-level node; and / or, Determine a third-level node with the highest priority among the at least one third-level node as a target third-level node; and / or, According to the correspondence between the second-level node and the third-level node, a third-level node corresponding to the second-level node in the at least one third-level node is determined as the target third-level node.
11. The device according to claim 9, characterized in that The processing unit is also used for: Controlling the communication unit to periodically send a heartbeat to the at least one third-level node; The third-level node that does not return the heartbeat feedback within the second preset time period is determined as a failed third-level node, so that the second-level node stops sending indication information to the failed third-level node.
12. A communication system, characterized in that: include: at least one primary node, configured to receive a call from a calling end and send call information to a target secondary node; At least one second-level node determines a target third-level node among the at least one third-level node according to a preset strategy, and sends indication information to the target third-level node, wherein the indication information is used to instruct the target third-level node to start or stop playing the color ring tone corresponding to the call information; At least one third-level node is used to control the called end to start or stop playing the color ring tone.
13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes the method according to any one of claims 1 to 8.
14. A computer program product, characterized in that The computer program product stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Load adjusting method, device and system
CN103781117A
Video polyphonic ringtone playing method and system, server, network equipment and storage medium
CN112738053A