Disclosure of Invention
The invention provides an information processing method, a set-top box and a computer storage medium, which are used for solving the technical problem that reasonable terminals cannot be automatically distributed according to the type of an incoming call in the prior art.
In a first aspect, to solve the above technical problem, an information processing method according to an embodiment of the present invention includes:
the first electronic equipment receives a call invitation message from the second electronic equipment; the second electronic device is used for sequentially sending the call invitation message to at least two electronic devices with the same calling number according to a preset sequential ringing logic;
the first electronic equipment judges whether the call invitation information carries video media information or not based on the video identification information carried in the call invitation information, and obtains a first judgment result;
and when the first judgment result is yes, the first electronic equipment reminds the user of having a video call incoming call.
Optionally, when the first determination result is negative, the method further includes:
the first electronic equipment returns a rejection signal to the second electronic equipment so that the second electronic equipment can transfer the call invitation message to third electronic equipment based on the preset sequential logic; the third electronic equipment and the first electronic equipment use the same calling number and are used for receiving audio calls.
Optionally, the reject signaling specifically includes: 486 busy signaling or other 4XX signaling.
Optionally, after the first electronic device reminds the user of an incoming video call, the method further includes:
the first electronic equipment returns 180 information to the second electronic equipment, and returns 200OK information to the second electronic equipment after the user answers the video telephone;
and after receiving response information returned by the second electronic equipment based on the 200OK information, the first electronic equipment carries out video call with an initiator sending the call invitation message to the second electronic equipment.
Optionally, the first electronic device is specifically a set top box, the second electronic device is specifically a one-number application server, and the third electronic device is specifically a fixed telephone.
In a second aspect, an embodiment of the present invention provides a set top box, including:
a receiving unit for receiving a call invitation message from a second electronic device; the second electronic device is used for sequentially sending the call invitation message to at least two electronic devices with the same calling number according to a preset sequential ringing logic;
a judging unit, configured to judge whether the call invitation information carries video media information based on video identification information carried in the call invitation information, and obtain a first judgment result;
and the reminding unit is used for reminding the user of the video call incoming when the first judgment result is yes.
Optionally, when the first determination result is negative, the determining unit is further configured to:
returning a rejection signaling to the second electronic device so that the second electronic device can transfer the call invitation message to a third electronic device based on the preset sequential ringing logic; the third electronic device and the set-top box use the same calling number for receiving audio calls.
Optionally, the reject signaling specifically includes: 486 busy signaling or other 4XX signaling.
Optionally, after the first electronic device reminds the user of an incoming video call, the set top box is further configured to:
returning 180 information to the second electronic equipment, and returning 200OK information to the second electronic equipment after the user answers the video telephone;
and after receiving response information returned by the second electronic equipment based on the 200OK information, the set top box carries out video call with an initiator sending the call invitation message to the second electronic equipment.
Optionally, the second electronic device is specifically a one-number application server, and the third electronic device is specifically a fixed telephone.
In a third aspect, an embodiment of the present invention further provides a set top box, including:
at least one processor, and
a memory coupled to the at least one processor;
wherein the memory stores instructions executable by the at least one processor, and the at least one processor performs the method according to the first aspect by executing the instructions stored by the memory.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, including:
the computer readable storage medium stores computer instructions which, when executed on a computer, cause the computer to perform the method of the first aspect as described above.
Through the technical solutions in one or more of the above embodiments of the present invention, the embodiments of the present invention have at least the following technical effects:
in the embodiment provided by the application, the sequential oscillation logic of the first electronic device and the third electronic device is set on the second electronic device in advance, so that after the first electronic device receives the call invitation information of the second electronic device, if the invitation information contains video identification information, the first electronic device answers, and if the invitation information does not contain the video identification information, the first electronic device refuses to answer, the third electronic device answers, and therefore the technical effect of automatically allocating reasonable terminals according to the type of the incoming call is achieved.
Further, since the above-described improvement is only an improvement for the first electronic device, and does not require any modification to the second electronic device on the network side, the cost of this communication network can be effectively controlled.
Furthermore, due to the mode, two calls under the same number can be automatically distributed to reasonable middle terminals according to different call types, namely, the first electronic device is enabled to answer a video call, the third electronic device is enabled to answer an audio call, when a voice call is called, a set top box user is not interfered to watch a television program, and the user does not have direct perception in the whole switching process, so that the technical effect of improving the user experience can be realized.
Detailed Description
The invention provides an information processing method, an information processing device and a computer storage medium, which are used for solving the technical problem that reasonable terminals cannot be automatically distributed according to the type of an incoming call in the prior art.
In order to solve the technical problems, the general idea of the embodiment of the present application is as follows:
an information processing method is provided and applied to first electronic equipment, and comprises the following steps: the first electronic equipment receives a call invitation message from the second electronic equipment; the second electronic equipment is used for sequentially sending call invitation messages to at least two pieces of electronic equipment with the same calling number according to a preset sequence ringing logic; the first electronic equipment judges whether the call invitation information carries video media information or not based on the video identification information carried in the call invitation information, and obtains a first judgment result; and when the first judgment result is yes, the first electronic equipment reminds the user of the video call incoming call.
According to the technical scheme, the first electronic equipment is used for judging whether the call invitation information from the second electronic equipment carries video media information or not, the first electronic equipment is accessed to remind a user of answering when the call invitation information is identified to be a video telephone, if not, the call invitation information is returned to the second electronic equipment, and the second electronic equipment can send the invitation information to another electronic equipment with the same calling number as the first electronic equipment to answer according to the sequential ringing logic. Therefore, the technical effect of automatically distributing reasonable terminals to receive calls according to the types of the incoming calls can be achieved.
In order to better understand the technical solutions of the present invention, the following detailed descriptions of the technical solutions of the present invention are provided with the accompanying drawings and the specific embodiments, and it should be understood that the specific features in the embodiments and the examples of the present invention are the detailed descriptions of the technical solutions of the present invention, and are not limitations of the technical solutions of the present invention, and the technical features in the embodiments and the examples of the present invention may be combined with each other without conflict.
Referring to fig. 1, an embodiment of the invention provides an information processing method, which includes the following processing procedures.
Step 101: the first electronic equipment receives a call invitation message from the second electronic equipment; the second electronic device is used for sequentially sending call invitation messages to at least two electronic devices with the same calling number according to the preset sequential ringing logic.
When large operators provide digital television services, it is common practice to sell a set-top box and a fixed telephone in a bundle, for example, to buy a fixed telephone with the same number as the set-top box. Therefore, the set-top box and the fixed telephone can use the same number, and still benefit from the service provided by the 'one-number-through' service.
After the operator opens the service, the user can unify various communication numbers (mobile phone, pager, office telephone, voice mail box and house telephone) which are commonly used by the user into a new telephone number, and then anyone can find the user by dialing the number, namely a plurality of terminals can use the same telephone number.
Since one telephone number corresponds to a plurality of terminals, which terminal among the plurality of terminals should be rung or all terminals should be rung together when there is a telephone call is determined according to the user's setting. In the prior art, ringing is performed by specifically selecting a sequential ringing logic or a simultaneous ringing logic. However, as the video call is mounted on the set-top box on the limited broadband, the set-top box has not only a function of watching tv but also a function of performing the video call.
Therefore, in order to ring the first electronic device (set top box) only for the video call and ring the third electronic device (fixed phone) only for the audio call, in the embodiment provided by the present application, it has been set for the user to ring according to the preset sequential ringing logic, and the preset sequential ringing logic specifically includes that the first electronic device (set top box) rings first, and the third electronic device (fixed phone) rings when the first electronic device (set top box) does not answer. Therefore, when the first electronic equipment does not answer, the second electronic equipment (the one-number server) can send the call invitation information to the fixed telephone according to the sequence vibration logic, and the fixed telephone rings.
Obviously, the process does not need to change the network side of the second electronic device (the one-number server) and can effectively control the cost.
It should be understood that a user may use multiple set-top boxes or multiple fixed telephones according to different requirements of each user, and therefore, the first electronic device described in this application should not be construed as being limited to only one set-top box, nor should the third electronic device be construed as being limited to only one fixed telephone.
After the sequential oscillation logic of the first electronic device and the third electronic device is determined,step 102 may be executed.
Step 102: the first electronic equipment judges whether the call invitation information carries video media information or not based on the video identification information carried in the call invitation information, and obtains a first judgment result.
It should be understood that, since the Session Description Protocol (SDP) describes information such as a media type, a media port number, and a used codec format through a media Description, the first electronic device may determine whether a call initiated by an initiator that sends a call invitation message to the second electronic device is a video call by determining whether content related to video Description information exists in the media Description in the SDP information. Specifically, the video identification information related to the video description information in the media description in the SDP information may be encoding, decoding flag, resolution, and the like.
After the first electronic device determines whether the video identification information is carried in the call invitation information, step 103 may be executed.
Step 103: and when the first judgment result is yes, the first electronic equipment reminds the user of the video call incoming call.
After the first electronic equipment reminds the user of having a video call incoming call, the first electronic equipment returns 180 information to the second electronic equipment, and after the user answers the video call, the first electronic equipment returns 200OK information to the second electronic equipment; and after receiving response information returned by the second electronic equipment based on the 200OK information, the first electronic equipment carries out video call with an initiator sending a call invitation message to the second electronic equipment.
It should be understood that the first electronic device may prompt the user for a video call incoming call by ringing, may display a prompt message on a television that the user is watching, or may be in another way that is known to the user, which is not limited in particular.
Instep 102, there is another situation that, when the first determination result is negative, the first electronic device returns a rejection signaling to the second electronic device, so that the second electronic device can transfer the call invitation message to the third electronic device based on the preset sequential ringing logic; the third electronic equipment and the first electronic equipment use the same calling number and are used for receiving the audio telephone. The reject signaling specifically includes: 486 busy signaling or other 4XX signaling.
In the method, the first electronic device is specifically a set-top box, the second electronic device is specifically a one-number application server, and the third electronic device is specifically a fixed telephone.
In order to make those skilled in the art fully understand the technical solution provided by the present embodiment, the following will describe in detail two ways of using the call invitation information as a video phone and an audio phone, please refer to fig. 2.
Suppose the initiator is a mobile phone user and the called number is 1234567, where the called number corresponds to a set-top box and a fixed phone number.
When the mobile phone user initiates a video call with a user with a fixed phone number of 1234567, the call flow is as follows:
step 201: the handset initiates a call to the fixed telephone number, which is transmitted to the CSCF of the VoLTE IME network.
When the mobile phone performs a video call, Voice communication can be performed only by using an IP data transmission technology (Voice over LTE, VoLTE) in a 4G network, so the mobile phone herein is a VoLTE mobile phone. VoLTE is a voice service based on an IP Multimedia Subsystem (IMS), IMS is based on an IP bearer network, and a Session Initiation Protocol (SIP) of IMS is a core component of IMS, and is responsible for functions such as registration, session establishment, and session management. The most important Function entity (Call Session Control Function, CSCF) in IMS is responsible for proxy, inquiry, and service. The IMS can be applied not only to a VoLTE network but also to a fixed network.
Step 202: the CSCF of the VoLTE IME network routes the fixed line call to the CSCF of the fixed network IMS network.
Step 203: CSCF of fixed network IMS network checks HSS to find out that fixed telephone number registers one number service.
The Home Subscriber Server (HSS) is an important component of a control layer in the IMS.
Step 204: the CSCF of the fixed network IMS network is connected to an Application Server (AS) of the one-number service through an SDP Invite call.
Step 205: and the one-number-through AS initiates a call according to the sequential ringing logic.
Since the preset sequential oscillation logic is adopted in the embodiment of the present application, and the set-top box (the first electronic device) is first followed by the fixed telephone (the third electronic device), the step 206 is executed by the one-number-pass AS (the second electronic device) according to the sequential oscillation logic.
Step 206: the call invitation information is sent to a set-top box (first electronic device).
After the set-top box receives the call invitation information, step 207-1 is performed.
Step 207-1: the set top box (first electronic device) detects whether the call invitation information carries video media information (i.e. video identification).
In some cases, the steps in the mode 1 are performed, specifically:
method one, calling invitation information is video telephone
Step 208-1: because the call invitation information contains the video identification, the call invitation information is a video telephone incoming call, the set top box can remind the user of answering through a Ringing mode, after the user answers, the set top box returns 180Ringing (namely 180 information) to the one-number-service AS, the one-number-service AS returns 180Ringing to the CSCF of the fixed network IMS, the CSCF of the fixed network IMS returns 180Ringing to the CSCF of the VoLTE IMS, and the CSCF of the VoLTE IMS returns 180Ringing to the VoLTE mobile phone.
Step 209-1: after the user selects answering, the set top box and the mobile phone establish a video call.
Specifically, the set top box is required to send 200OK information to the VoLTE mobile phone, and the process is the same as that of sending 180Ringing, which is not described herein again. After receiving the 200OK message sent by the set top box, the VoLTE mobile phone sends an Acknowledgement (ACK) to the set top box.
The set top box and the VoLTE handset can establish a video call in the above manner, i.e. step 210-1.
Step 210-1: the calling party and the called party carry out video call (namely the set top box carries out video call with the VoLTE mobile phone).
If the VoLTE mobile phone is a voice call initiated by a fixed phone, it is determined in step 207-1 that the call invitation information does not have a video identifier, which indicates that the incoming call is an audio call and needs to be answered by a fixed phone. This is the second way to be described below, and the step of performing the call invitation information as audio information is required.
Second mode, calling invitation information is audio information
Step 208-2: the set top box sends the chamois audio information in the call invitation message and step 209-2 is performed.
Step 209-2: the set top box returns 486 busy reject or other 4XX signaling to the one-number AS (second electronic device).
Step 210-2: the first electronic device (AS) transfers the armor to the fixed-line terminal (third electronic device) according to a preset sequential vibration logic.
Step 211-2: the one-number-through AS sends the call invitation information to the fixed telephone to request to call the fixed telephone.
Step 212-2: after receiving the call invitation information, the fixed telephone rings and waits for the user to answer.
After the user answers, the fixed telephone sends 180Ringing to the VoLTE mobile phone, and the process is the same as that of sending the set-top box to the VoLTE mobile phone, which is not described herein again.
Step 213-2: the user selects to answer the call and establishes a voice call with the caller.
The establishment method is also that 200OK information is sent to the VoLTE handset through the fixed line, and after the VoLTE handset returns the response information based on 200OK, the communication between the fixed line and the VoLTE handset can be established, namely step 214-2.
Step 214-2: the calling party and the called party carry out voice call (namely, the fixed telephone carries out voice call with the VoLTE mobile phone).
Through the mode, the user terminal (the set top box and the fixed telephone) is firstly set to be the preset sequential vibration logic 'set top box and fixed telephone' on the one-number-service AS for calling, and then the improvement is combined on the set top box terminal, namely the set top box identifies whether the calling invitation information comprises video media information, so that the functions that the video telephone is answered by the set top box terminal, and the voice calling is rejected to be answered by the fixed telephone are realized.
Referring to fig. 3, based on the same inventive concept, an embodiment of the present invention provides a set top box, and the detailed implementation of the information processing method of the set top box may refer to the description of the method embodiment, and repeated descriptions are omitted, where the set top box includes:
a receivingunit 301 for receiving a call invitation message from a second electronic device; the second electronic device is used for sequentially sending the call invitation message to at least two electronic devices with the same calling number according to a preset sequential ringing logic;
a determiningunit 302, configured to determine whether the call invitation information carries video media information based on video identification information carried in the call invitation information, and obtain a first determination result;
and a remindingunit 303, configured to remind the user of an incoming video call when the first determination result is yes.
Optionally, when the first determination result is negative, the determiningunit 302 is further configured to:
returning a rejection signaling to the second electronic device so that the second electronic device can transfer the call invitation message to a third electronic device based on the preset sequential ringing logic; the third electronic device and the set-top box use the same calling number for receiving audio calls.
Optionally, the reject signaling specifically includes: 486 busy signaling or other 4XX signaling.
Optionally, after the first electronic device reminds the user of an incoming video call, the set top box is further configured to:
returning 180 information to the second electronic equipment, and returning 200OK information to the second electronic equipment after the user answers the video telephone;
and after receiving response information returned by the second electronic equipment based on the 200OK information, the set top box carries out video call with an initiator sending the call invitation message to the second electronic equipment.
Optionally, the second electronic device is specifically a one-number application server, and the third electronic device is specifically a fixed telephone.
Based on the same inventive concept, an embodiment of the present invention provides a set top box, where specific implementation of an information processing method of the set top box may refer to the description of the method embodiment, and repeated descriptions are omitted, and the set top box includes:
at least one processor, and
a memory coupled to the at least one processor;
wherein the memory stores instructions executable by the at least one processor, and the at least one processor executes the instructions stored by the memory to perform the method of information processing as described above.
Based on the same inventive concept, an embodiment of the present invention further provides a computer-readable storage medium, including:
the computer-readable storage medium stores computer instructions that, when executed on a computer, cause the computer to perform the information processing method as described above.
In the embodiment provided by the application, the sequential oscillation logic of the first electronic device and the third electronic device is set on the second electronic device in advance, so that after the first electronic device receives the call invitation information of the second electronic device, if the invitation information contains video identification information, the first electronic device answers, and if the invitation information does not contain the video identification information, the first electronic device refuses to answer, the third electronic device answers, and therefore the technical effect of automatically allocating reasonable terminals according to the type of the incoming call is achieved.
Further, since the above-described improvement is only an improvement for the first electronic device, and does not require any modification to the second electronic device on the network side, the cost of this communication network can be effectively controlled.
Furthermore, due to the mode, two calls under the same number can be automatically distributed to reasonable middle terminals according to different call types, namely, the first electronic device is enabled to answer a video call, the third electronic device is enabled to answer an audio call, when a voice call is called, a set top box user is not interfered to watch a television program, and the user does not have direct perception in the whole switching process, so that the technical effect of improving the user experience can be realized.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks. It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.