CN109714750B - Call method, device, electronic terminal and medium - Google Patents

Call method, device, electronic terminal and medium Download PDF

Info

Publication number
CN109714750B
CN109714750B CN201811550122.2A CN201811550122A CN109714750B CN 109714750 B CN109714750 B CN 109714750B CN 201811550122 A CN201811550122 A CN 201811550122A CN 109714750 B CN109714750 B CN 109714750B
Authority
CN
China
Prior art keywords
call
target cell
cell
response
received
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811550122.2A
Other languages
Chinese (zh)
Other versions
CN109714750A (en
Inventor
唐上进
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201811550122.2A priority Critical patent/CN109714750B/en
Publication of CN109714750A publication Critical patent/CN109714750A/en
Application granted granted Critical
Publication of CN109714750B publication Critical patent/CN109714750B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a communication method, a communication device, an electronic terminal and a medium. In the application, when a first call instruction is received in a GSM network environment, first call request information is sent through a target cell, when a first call failure response generated aiming at the first call instruction is received, communication parameters of the target cell are recorded, and when a second call instruction is received, whether a current registered cell is the target cell or not is judged based on the communication parameters. And if the target cell is in the target cell, sending second communication request information which does not carry the identification supporting the broadband voice coding function through the target cell. By applying the technical scheme of the application, when the cell is connected to the registered cell with the call failure, the call request information supporting the broadband voice coding function is not sent to the cell. Therefore, the defect that the electronic terminal cannot initiate a call to an opposite terminal user and carry out a call function when the electronic terminal is positioned in a cell which does not support the broadband voice coding under the GSM network environment is avoided, and the user experience is improved.

Description

Call method, device, electronic terminal and medium
Technical Field
The present application relates to the field of communication processing, and in particular, to a communication method, an apparatus, an electronic terminal, and a medium.
Background
With the development of communication and society, intelligent electronic terminals have been widely developed along with the use of more and more people.
In general, in addition to accessing applications using an electronic mobile device, users often also implement functions for communicating with other end users via the electronic mobile device. In the existing Global System for Mobile Communications (GSM), an area covered by a base station or a part of the base station is a cell, and in the cell, an electronic Mobile device can communicate with the base station through a wireless channel. Specifically, when the electronic mobile device moves to a certain cell, it needs to register in the cell first, and after the registration is successful, the call function with the opposite-end user can be realized through the base station to which the cell belongs.
However, in some operator networks, there may be cells that do not support the ability to talk in a GSM network environment. Therefore, when the user sends a call request to the opposite-end user through the electronic mobile equipment in the cell, the call is directly hung up, and the user experience is further reduced.
Disclosure of Invention
The embodiment of the invention provides a communication method, a communication device, an electronic terminal and a medium.
According to an aspect of the embodiments of the present application, a call method is provided, which is applied to a GSM network, and includes:
when a first calling instruction is received, sending first call request information through a target cell, wherein the target cell is a current registered cell;
when a first call failure response is received, recording communication parameters of the target cell, wherein the communication parameters are used for representing identity information of the target cell, and the first call failure response is a response generated aiming at the first call instruction;
when a second calling instruction is received, judging whether the current registered cell is the target cell or not based on the communication parameters;
and if the current registered cell is the target cell, sending second communication request information through the target cell, wherein the second communication request information does not carry an identifier supporting a broadband voice coding function.
Optionally, in another embodiment based on the foregoing method of the present application, after the sending, by the target cell, the second communication request information if the currently registered cell is the target cell, the method further includes:
and monitoring a received call response within a preset time period, wherein the call response is a response generated aiming at the second call instruction.
Optionally, in another embodiment based on the foregoing method of the present application, after monitoring the received call response within a preset time period, the method further includes:
and when the call response is a call success response, realizing the call function corresponding to the second call instruction based on a narrowband speech coding function.
Optionally, in another embodiment based on the foregoing method of the present application, after monitoring the received call response within a preset time period, the method further includes:
when the call response is a call success response, establishing a corresponding relation between the second call request information and the target cell;
and when the current registered cell is the target cell, realizing a call function corresponding to the third call instruction based on the corresponding relation.
Optionally, in another embodiment based on the foregoing method of the present application, after monitoring the received call response within a preset time period, the method further includes:
and when the call response is a second call failure response, clearing the communication parameters of the target cell.
Optionally, in another embodiment based on the foregoing method of the present application, after the monitoring whether the second communication failure response is received within a preset time period, the method further includes:
when the call response is a second call failure response, recording the corresponding relation between the second call failure response and the target cell;
and executing a fourth calling instruction based on the corresponding relation when the current registered cell is the target cell.
Optionally, in another embodiment based on the foregoing method of the present application, the executing a fourth call instruction based on the correspondence relationship during the period when the current registered cell is the target cell includes:
and when the fourth call instruction is received while the current registered cell is the target cell, generating a prompt message based on the corresponding relation, wherein the prompt message is used for informing the user that the current area is an area which can not realize the call function.
Optionally, in another embodiment based on the foregoing method of the present application, the first call request information carries an identifier that supports a wideband speech coding function.
According to another aspect of the embodiments of the present application, there is provided a communication device, including:
the first sending module is used for sending first call request information through a target cell when a first call instruction is received, wherein the target cell is a current registered cell;
a recording module, configured to record a communication parameter of the target cell when a first call failure response is received, where the communication parameter is used to characterize identity information of the target cell, and the first call failure response is a response generated for the first call instruction;
the judging module is used for judging whether the current registered cell is the target cell or not based on the communication parameters when a second calling instruction is received;
and a second sending module, configured to send second communication request information through the target cell if the current registered cell is the target cell, where the second communication request information does not carry an identifier that supports a wideband speech coding function.
According to another aspect of the embodiments of the present application, there is provided an electronic terminal, including:
a memory for storing executable instructions; and
a processor for communicating with the memory to execute the executable instructions to perform the operations of any of the above-described communication methods.
According to a further aspect of the embodiments of the present application, there is provided a computer-readable storage medium for storing computer-readable instructions, which when executed, perform the operations of any of the above-mentioned call methods.
In the application, when a first call instruction is received in a GSM network environment, first call request information is sent through a target cell, when a first call failure response generated aiming at the first call instruction is received, communication parameters of the target cell are recorded, and when a second call instruction is received, whether a current registered cell is the target cell or not is judged based on the communication parameters. And if the target cell is in the target cell, sending second communication request information which does not carry the identification supporting the broadband voice coding function through the target cell. By applying the technical scheme of the application, when the cell is connected to the registered cell with the call failure, the call request information supporting the broadband voice coding function is not sent to the cell. Therefore, the defect that the electronic terminal cannot initiate a call to an opposite terminal user and carry out a call function when the electronic terminal is positioned in a cell which does not support the broadband voice coding under the GSM network environment is avoided, and the user experience is improved.
The technical solution of the present application is further described in detail by the accompanying drawings and examples.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description, serve to explain the principles of the application.
The present application may be more clearly understood from the following detailed description with reference to the accompanying drawings, in which:
fig. 1 is a flowchart of an embodiment of a call method according to the present application.
Fig. 2 is a communication flow chart of the call method of the present application.
Fig. 3 is a flowchart of a call method according to another embodiment of the present application.
Fig. 4 is a flowchart of another embodiment of a call method according to the present application.
Fig. 5 is a flowchart illustrating a call method according to another embodiment of the present application.
Fig. 6 is a flowchart of a call method according to another embodiment of the present application.
Fig. 7 is a schematic structural diagram of a communication device according to the present application.
Fig. 8 is a schematic structural diagram of the electronic terminal for conversation according to the present application.
Detailed Description
Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the present application unless specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the application, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
It should be noted that all the directional indications (such as up, down, left, right, front, and rear … …) in the embodiment of the present application are only used to explain the relative position relationship between the components, the movement situation, and the like in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indication is changed accordingly.
In addition, descriptions in this application as to "first", "second", etc. are for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicit to the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
In this application, unless expressly stated or limited otherwise, the terms "connected," "secured," and the like are to be construed broadly, and for example, "secured" may be a fixed connection, a removable connection, or an integral part; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
In addition, technical solutions between the various embodiments of the present application may be combined with each other, but it must be based on the realization of the technical solutions by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination of technical solutions should be considered to be absent and not within the protection scope of the present application.
A method for conducting a call according to an exemplary embodiment of the present application is described below with reference to fig. 1 to 6. It should be noted that the following application scenarios are merely illustrated for the convenience of understanding the spirit and principles of the present application, and the embodiments of the present application are not limited in this respect. Rather, embodiments of the present application may be applied to any scenario where applicable.
The application provides a communication method, a communication device, an electronic terminal and a medium.
Fig. 1-2 schematically show a flow chart of a call method according to an embodiment of the present application. As shown in fig. 1, the present application is applied to a GSM network, which includes:
s101, when a first calling instruction is received, first call request information is sent through a target cell, and the target cell is a current registered cell.
Optionally, the present application may be applied to an electronic terminal, and it should be noted that the present application does not specifically limit the electronic terminal. For example, the electronic terminal of the present application may be an electronic terminal such as a mobile phone, or may be an electronic terminal such as a PDA or a notebook. The variety of the electronic terminal does not affect the protection scope of the present application.
Further, the call method mentioned in the present application can be applied to a GSM network. Among them, GSM is Global System for Mobile Communications (Global System for Mobile Communications). GSM is a mobile communication technology standard, also a second generation mobile communication technology, and is developed to enable a mobile phone network standard to be commonly used in various regions around the world, so that a user can use a mobile phone for communication based on a GSM network to go around the world.
Optionally, GSM AMR WB Codec (Adaptive Multi-RateWideband Speech Codec) is a wideband Speech coding function in a GSM network. Where AMR-WB is the wideband speech coding standard for WCDMA and GSM as specified by 3GPP/ETSI, and AMR WB is the wideband speech coding standard G.722.2 at 16kbit/s coding rate. This also marks that the same speech coder is used for the first time for wireless and wireline, meaning that interworking between 2G and IP fixed networks is easier, laying the foundation for broadband speech in more applications and services for more communication systems and devices. As is well known, AMR-WB has 9 coding rates, mode 0(6.60kbit/s), mode 1(8.85kbit/s), mode 2(12.65kbit/s), mode 3(14.25kbit/s), mode 4(15.85kbit/s), mode 5(18.25kbit/s), mode 6(19.85kbit/s), mode 7(23.05kbit/s) and mode 8(23.85kbit/s) [3 ].
Further optionally, the wideband speech coding has excellent performances in terms of high call speech quality and signal interference resistance in the electronic mobile terminal. When the existing GSM network is used for communication, the function of communication between a local terminal and an opposite terminal is generally realized by using broadband voice coding. Further, for example, when the user a sends a call request to the user b, the terminal where the user a is located sends a call request instruction carrying that the home terminal supports the broadband voice coding function to the operator through the registered cell, after the operator receives the call request instruction, the call request instruction is sent to the cell of the terminal where the user b is located, and when the cell where the user b is located is connected, the broadband voice coding function is used to perform corresponding coding and decoding on the voices of the two parties, and then the voices are respectively transmitted to the other terminal, so that the call function between the home terminal and the opposite terminal is realized.
Further, in some operator networks, there may be cells that do not support wideband speech coding functionality. When a user is in the cell to send a call request instruction, the call request instruction carries information supporting the broadband voice coding function by default, so that the problem that the cell cannot establish call connection between the user and an opposite terminal user because the cell does not support the broadband voice coding function occurs, and the call function cannot be provided for the user.
In the application, when a first call instruction sent by a user is received, first call request information can be sent through a target cell, wherein the target cell is a current registered cell
It should be noted that, because there is a multi-card multi-standby electronic terminal in the electronic terminal, that is, there is a situation that multiple cells are registered in the same electronic terminal at the same time. Taking a dual-card dual-standby mobile phone as an example, that is, in some locations, two sim cards of the mobile phone will be registered in different cells respectively. In this case, the target cell in the present application is a registered cell in which one sim card selected by the user performs a call, of the two registered cells. The registration cell may be any one of two registration cells.
It should be noted that, in the present application, no specific limitation is made to the operator, that is, any operator supporting the GSM network environment falls within the protection scope mentioned in the present application. For example, China Mobile operators, China Unicom operators, Indian national telecom operators BSNL (Bharat Sanchar Nigam) operators, and so on.
And S102, when a first call failure response is received, recording communication parameters of the target cell, wherein the communication parameters are used for representing identity information of the target cell, and the first call failure response is a response generated aiming at the first call instruction.
After receiving a first call instruction sent by a user, the method and the device can detect whether a first call failure response generated for the first call instruction is received (for example, an opposite-end voice is not heard for a long time or the call is directly hung up). And when the first call failure response is received, judging that the call request fails. Further, in order to eliminate the case of the call failure, the target cell does not support the wideband speech coding function. Then at this point, the communication parameters of the currently registered cell are recorded. Wherein the communication parameter is used for characterizing the identity information of the cell.
Further, the communication parameters are not specifically limited, that is, the communication parameters may be identification information of the target cell, and the communication parameters may also be location information of the current electronic terminal. So long as the identity information that can be used to record and identify the cell belongs to the communication parameters mentioned in this application.
And S103, when the second call instruction is received, judging whether the current registered cell is the target cell or not based on the communication parameters.
Optionally, in the present application, after receiving the first call failure response and recording the communication parameters of the target cell, it may also be detected whether the second call instruction is received. And when receiving the second call instruction, based on the communication parameter of the target cell recorded in S102, determine whether the current registered cell is the target cell corresponding to the first call instruction.
However, the electronic terminal may not be located in the range of the target cell when the electronic terminal is moving, that is, the user generates the second call instruction. Based on this, when the electronic terminal receives the second call instruction, it needs to determine whether the electronic terminal is still registered with the target cell according to the communication parameters.
In one embodiment of the present application, the second call instruction in the present application may be a call instruction received after a predetermined time after receiving the first call instruction. Here, the predetermined time is not specifically limited in the present application. That is, the predetermined time may be 1 minute, and the predetermined time may be 5 minutes. When the electronic terminal detects that the time for receiving the second call instruction is within the preset time from the time for receiving the first call instruction, the electronic terminal can also directly determine the current registered cell as the target cell without judging the current registered cell.
In another embodiment of the present application, the second call instruction in the present application may be a call instruction received outside a predetermined range from the reception of the first call instruction. The predetermined range is not specifically limited in the present application. That is, the predetermined range may be 100m, and the predetermined range may be 1 km. When the electronic terminal detects that the distance between the position receiving the second calling instruction and the position receiving the first calling instruction is within the preset range, the electronic terminal can also directly determine the current registered cell as the target cell without judging the current registered cell.
And S104, if the current registered cell is the target cell, sending second communication request information through the target cell, wherein the second communication request information does not carry an identifier supporting the broadband voice coding function.
Optionally, in the present application, when it is determined that the current registered cell is the target cell, the second communication request information that does not carry the identifier supporting the wideband speech coding function may be sent to the base station where the current registered cell is located through the target cell. Therefore, when the communication is carried out in a cell which does not support the broadband voice coding function, the communication function is realized with the opposite terminal without using the broadband voice coding function.
In the application, when a first call instruction is received in a GSM network environment, first call request information is sent through a target cell, when a first call failure response generated aiming at the first call instruction is received, communication parameters of the target cell are recorded, and when a second call instruction is received, whether a current registered cell is the target cell or not is judged based on the communication parameters. And if the target cell is in the target cell, sending second communication request information which does not carry the identification supporting the broadband voice coding function through the target cell. By applying the technical scheme of the application, when the cell is connected to the registered cell with the call failure, the call request information supporting the broadband voice coding function is not sent to the cell. Therefore, the defect that the electronic terminal cannot initiate a call to an opposite terminal user and carry out a call function when the electronic terminal is positioned in a cell which does not support the broadband voice coding under the GSM network environment is avoided, and the user experience is improved.
Optionally, in an embodiment of the present application, the first call request information carries an identifier that supports a wideband speech coding function.
As shown in fig. 2, fig. 2 is a flow chart of a call method mentioned in connection with the above steps 101 to 104. As shown in fig. 2, when the electronic terminal calls for the first time, the call request information sent to the cell carries an identifier supporting the wideband speech coding capability. And before the call connection, after the network side sends hang-up information, the call step is carried out for the second time. Similarly, when the electronic terminal calls for the second time, the call request information sent to the cell does not carry an identifier supporting the wideband speech coding capability. And in the process of waiting for the call connection, monitoring connection or hang-up information sent by the network side, and further selecting whether to start the call function.
Further, after S104 (if the current registered cell is the target cell, the second communication request message is sent through the target cell), a specific implementation manner is also included. Specifically, the present application also includes a method for calling, as shown in fig. 3,
s201, when a first call instruction is received, first call request information is sent through a target cell.
And S202, recording the communication parameters of the target cell when the first call failure response is received.
And S203, when the second call instruction is received, judging whether the current registered cell is the target cell or not based on the communication parameters.
And S204, if the current registered cell is the target cell, sending second communication request information through the target cell.
And S205, monitoring the received call response within a preset time period, wherein the call response is a response generated aiming at the second call instruction.
Optionally, in the present application, after determining that the current registered cell is the target cell, the second communication request information may be sent through the target cell. And monitoring a call response received in a preset time period for the second call instruction.
The call response may be any call response. That is, the call response may be a call response indicating that the call connection is successful, a call response indicating that the call connection is failed, or a call response indicating that the call is currently connected.
It should be noted that, the preset time period is not specifically limited in the present application, that is, the preset time period may be 5s, and the preset time period may also be 20s, and the specific change of the preset time period does not affect the protection scope of the present application.
And S206, when the call response is a call success response, realizing the call function corresponding to the second call instruction based on the narrowband speech coding function.
Optionally, in the present application, after the electronic terminal sends the second call request information not carrying the identifier supporting the wideband speech coding function to the target cell, and receives a call success response, it is determined that the currently registered target cell is an operator cell that has a normal other communication function but does not support the wideband speech coding function. This also causes the disadvantage that the user can not realize the communication function with the opposite terminal user when issuing the first call instruction, in order to solve this problem. When the electronic terminal receives a successful call response within a preset time period, the electronic terminal can realize a call function corresponding to the second call instruction based on the narrowband speech coding function.
Among them, the narrowband Speech coding function GSM AMR NB Codec (Adaptive Multi Rate-Narrow Band Codec) is another Speech coding function in the GSM network environment. Further, different from wideband speech coding, AMR-NB supports 8 rate modes, namely, mode 0(4.75kbit/s), mode 1(5.15kbit/s), mode 2(5.90kbit/s), mode 3(6.70kbit/s), mode 4(7.40kbit/s), mode 5(7.95kbit/s), mode 6(10.2kbit/s) and mode 7(12.2kbit/s), which can solve the rate allocation problem of information source and channel coding in a more intelligent way, and adaptively select a coding mode for transmission according to wireless channels and transmission conditions, so that the configuration and utilization of wireless resources are more flexible and effective.
Alternatively, the narrowband speech coding function is applied more frequently and more frequently than the wideband speech coding function. Therefore, for some operator cells which do not support the wideband speech coding function, the narrowband speech coding function can be utilized to realize the call function between two users. In addition, in a preferred embodiment of the present application, the electronic terminal may also carry an identifier for implementing the call function by using the narrowband speech coding function in the call request information.
According to the method and the device, when a first call failure response generated aiming at a first call instruction is received in a GSM network environment, the communication parameters of a target cell are recorded, and when a second call instruction is received, under the condition that the current registered cell is in the target cell, on the basis of the communication parameters, after second call request information which does not carry a wideband voice coding function supporting identifier is sent to the target cell, and when a call success response is received in a monitoring preset time period, the call function corresponding to the second call instruction is realized by using the narrowband voice coding function. By applying the technical scheme of the application, when the connection with the cell which does not support the broadband voice coding function is monitored, the call connection with the opposite terminal can be realized through the narrowband voice coding function on the premise of successful call. Therefore, when the electronic terminal is positioned in a cell which does not support the broadband voice coding under the GSM network environment, the electronic terminal still can complete the call connection with the opposite terminal user, and the user experience is further improved.
Further, a specific embodiment is also included after S104 (if the current registered cell is the target cell, the second communication request message is sent through the target cell). Specifically, the present application further includes a call method, as shown in fig. 4,
s301, when receiving a first call instruction, sending first call request information through a target cell.
S302, when the first call failure response is received, the communication parameters of the target cell are recorded.
And S303, when the second call instruction is received, judging whether the current registered cell is the target cell or not based on the communication parameters.
And S304, if the current registered cell is the target cell, sending second communication request information through the target cell.
And S305, monitoring the received call response within a preset time period, wherein the call response is a response generated aiming at the second call instruction.
S306, when the call response is a call success response, establishing a corresponding relation between the second call request information and the target cell.
Optionally, in the present application, after the electronic terminal sends the second call request information not carrying the identifier supporting the wideband speech coding function to the target cell, and receives a call success response, it is determined that the currently registered target cell is an operator cell that has a normal other communication function but does not support the wideband speech coding function. This also causes the disadvantage that the user can not realize the communication function with the opposite terminal user when issuing the first call instruction, in order to solve this problem. When the electronic terminal receives the successful call response within the preset time period, the corresponding relation between the second call request information and the target cell can be established. So that when the electronic terminal is connected with the target cell again, the call function can be realized based on the corresponding relation.
And S307, when the current registered cell is the target cell, based on the corresponding relation, the call function corresponding to the third call instruction is realized.
Optionally, after the electronic terminal establishes the correspondence between the second call request information and the target cell, the current registered cell may be further detected. And when detecting that the current registered cell is the target cell, based on the above mentioned corresponding relationship, when sending the call request instruction to the target cell, the terminal does not carry the identifier supporting the broadband voice coding function. When the electronic terminal is connected with the target cell, the situation of call failure caused by the fact that the cell does not support the broadband voice coding function is avoided.
For example, when the electronic terminal receives a second call instruction, whether the current registered cell is the target cell a is judged based on the communication parameters, and when the current registered cell is judged to be the cell a, second call request information which does not carry the identifier supporting the broadband voice coding function is sent through the cell a. And in a preset time period after the second communication request information is sent, after a received communication success response, establishing a cell A and the second communication request information (without carrying an identifier supporting a broadband voice coding function). Further, when the electronic terminal receives a call instruction after a preset period and is connected with the cell a again, the electronic terminal directly sends the call request information without carrying the identifier supporting the broadband voice coding function to the cell a. Therefore, the electronic terminal realizes the communication with the opposite terminal through the narrow-band voice coding function of the cell A.
In the method, when a first call failure response generated aiming at a first call instruction is received in a GSM network environment, the communication parameters of a target cell are recorded, and when a second call instruction is received, the situation that the current registered cell is in the target cell is judged on the basis of the communication parameters, after second call request information which does not carry a wideband voice coding function supporting identifier is sent to the target cell, and when a call success response is received in a preset time period, the corresponding relation between the target cell and the call request information is recorded. By applying the technical scheme of the application, the corresponding relation between the target cell and the call request information can be recorded on the premise of successful call when the connection with the cell which does not support the broadband voice coding function is monitored, so that the call function can be realized through the corresponding relation when the connection with the target cell is carried out again. Therefore, the defect of call failure when the electronic terminal is positioned in a cell which does not support the broadband voice coding under the GSM network environment can be avoided, and the time of a user is further saved.
Still further, after S104 (if the current registered cell is the target cell, the second communication request message is sent through the target cell), a specific implementation manner is also included. Specifically, the present application further includes a calling method, as shown in fig. 5,
s401, when receiving a first call instruction, sending first call request information through a target cell.
S402, when the first call failure response is received, the communication parameters of the target cell are recorded.
And S403, when the second call instruction is received, judging whether the current registered cell is the target cell or not based on the communication parameters.
And S404, if the current registered cell is the target cell, sending second communication request information through the target cell.
S405, monitoring the received call response within a preset time period, wherein the call response is generated aiming at the second call instruction.
And S406, when the call response is the second call failure response, clearing the communication parameters of the target cell.
Optionally, in the present application, after the electronic terminal sends the second call request information not carrying the identifier supporting the wideband speech coding function to the target cell, and receives the call failure response, it is determined that the currently registered target cell is not a cell that fails to call because the wideband speech coding function is not supported. Further, in order to avoid the disadvantage of wasting terminal resources due to excessive redundant information in the electronic terminal, in the present application, after receiving the call failure response, the communication parameters of the target cell recorded in the memory of the electronic terminal may be cleared.
According to the method and the device, when a first call failure response generated aiming at a first call instruction is received in a GSM network environment, the communication parameters of a target cell are recorded, and when a second call instruction is received, the situation that the current registered cell is in the target cell is judged on the basis of the communication parameters, after second call request information which does not carry a wideband voice coding function supporting identifier is sent to the target cell, when the call failure response is received in a monitoring preset time period, the corresponding relation between the target cell and the call request information recorded before is deleted. By applying the technical scheme of the application, when the situation that the cell which has sent the call failure is reconnected is monitored, the corresponding relation between the target cell and the call request information can be deleted under the situation that the call fails, so that the defect that the redundant information in the electronic terminal is too much to cause the waste of terminal resources is avoided.
Still further, after S104 (if the current registered cell is the target cell, the second communication request message is sent through the target cell), a specific implementation manner is also included. Specifically, the present application further includes a call method, as shown in fig. 6,
s501, when a first call instruction is received, first call request information is sent through a target cell.
And S502, recording the communication parameters of the target cell when the first call failure response is received.
And S503, when the second call instruction is received, judging whether the current registered cell is the target cell or not based on the communication parameters.
And S504, if the current registered cell is the target cell, sending second communication request information through the target cell.
And S505, monitoring the received call response within a preset time period, wherein the call response is generated aiming at the second call instruction.
S506, when the call response is the second call failure response, recording the corresponding relation between the second call failure response and the target cell.
Optionally, in the present application, when a second call failure response generated for the second call instruction is received within a preset time period, a corresponding relationship between the second call failure response and the target cell may be stored in a memory of the electronic terminal, so that when the user uses the electronic terminal to generate a call instruction again, the electronic terminal may perform corresponding processing on the call instruction according to the corresponding relationship.
And S507, executing a fourth call instruction based on the corresponding relation when the current registered cell is the target cell.
And when a fourth call instruction is received while the current registered cell is the target cell, generating a prompt message based on the corresponding relation, wherein the prompt message is used for informing the current area of the user that the call function cannot be realized.
Optionally, after the electronic terminal establishes the correspondence between the second call request information and the target cell, the current registered cell may be further detected. And when detecting that the current registered cell is the target cell, generating a prompt message that the current area is the area incapable of realizing the call function to the user based on the corresponding relation when receiving the second call instruction generated by the user based on the corresponding relation. The method and the device avoid the defect that the user time is wasted due to the fact that the user repeatedly makes a call within the cell where the current electronic terminal is located under the condition that the cell where the current electronic terminal is located is not the cell which cannot realize the call function.
For example, when the electronic terminal receives a second call instruction, whether the current registered cell is the target cell a is judged based on the communication parameters, and when the current registered cell is judged to be the cell a, second call request information which does not carry the identifier supporting the broadband voice coding function is sent through the cell a. And establishing a corresponding relation between the cell A and a second communication failure response after receiving the second communication failure response within a preset time period after sending the second communication request information. Further, when the electronic terminal receives a call instruction after the preset period and is connected with the cell a again, a prompt message that the current position cannot realize the call function is directly generated, and the prompt message is displayed on a current display screen of the electronic terminal.
In the method, when a first call failure response generated aiming at a first call instruction is received in a GSM network environment, the communication parameters of a target cell are recorded, when a second call instruction is received, the situation that the current registered cell is in the target cell is judged on the basis of the communication parameters, after second call request information which does not carry a wideband voice coding function supporting identifier is sent to the target cell, the corresponding relation between the target cell and the call request information is recorded when the call failure response is received in a preset time period, and when the call instruction is detected to be received again in the cell, the call instruction is executed on the basis of the corresponding relation. By applying the technical scheme of the application, when the situation that the cell which has sent the call failure is reconnected and a call instruction is sent is monitored, the corresponding relation between the target cell and the call request information is recorded under the condition that the call still fails, so that a user can repeatedly make a call within the cell range of the current electronic terminal under the condition that the cell in which the current electronic terminal is located is not the cell which can not realize the call function, and the user time is wasted.
In another embodiment of the present application, as shown in fig. 7, the present application further provides a communication device, wherein the device further includes a first sending module 601, a recording module 602, a determining module 603, and a second sending module 604, including,
a first sending module 601, configured to send first call request information through a target cell when a first call instruction is received, where the target cell is a currently registered cell;
a recording module 602, configured to record a communication parameter of the target cell when a first call failure response is received, where the communication parameter is used to characterize identity information of the target cell, and the first call failure response is a response generated for the first call instruction;
a determining module 603, configured to determine, when a second call instruction is received, whether a currently registered cell is the target cell based on the communication parameter;
a second sending module 604, configured to send, if the current registered cell is the target cell, second communication request information through the target cell, where the second communication request information does not carry an identifier that supports a wideband speech coding function.
In the application, when a first call instruction is received in a GSM network environment, first call request information is sent through a target cell, when a first call failure response generated aiming at the first call instruction is received, communication parameters of the target cell are recorded, and when a second call instruction is received, whether a current registered cell is the target cell or not is judged based on the communication parameters. And if the target cell is in the target cell, sending second communication request information which does not carry the identification supporting the broadband voice coding function through the target cell. By applying the technical scheme of the application, when the cell is connected to the registered cell with the call failure, the call request information supporting the broadband voice coding function is not sent to the cell. Therefore, the defect that the electronic terminal cannot initiate a call to an opposite terminal user and carry out a call function when the electronic terminal is positioned in a cell which does not support the broadband voice coding under the GSM network environment is avoided, and the user experience is improved.
In one embodiment of the present application, the first call request information carries an identifier that supports a wideband speech coding function.
In another embodiment of the present application, the method further comprises a monitoring module 605, wherein:
a monitoring module 605, configured to monitor a received call response within a preset time period, where the call response is a response generated for the second call instruction.
In another embodiment of the present application, the monitoring module 605 further comprises: a telephony unit, wherein:
and the call unit is used for realizing the call function corresponding to the second call instruction based on the narrowband speech coding function when the call response is a call success response.
In another embodiment of the present application, the monitoring module 605 further comprises: a building unit, wherein:
a establishing unit, configured to establish a corresponding relationship between the second call request information and the target cell when the call response is a call success response
And the call unit is further used for realizing a call function corresponding to the third call instruction based on the corresponding relation when the current registered cell is the target cell.
In another embodiment of the present application, the monitoring module 605 further comprises: a purge unit, wherein:
and the clearing unit is used for clearing the communication parameters of the target cell when the call response is a second call failure response.
In another embodiment of the present application, the monitoring module 605 further comprises: recording unit, execution unit, wherein:
and the recording unit is used for recording the corresponding relation between the second call failure response and the target cell when the call response is the second call failure response.
And the execution unit is used for executing a fourth calling instruction based on the corresponding relation when the current registered cell is the target cell.
In another embodiment of the present application, the monitoring module 605 further comprises: a generating unit, wherein:
and the generating unit is used for generating a prompt message based on the corresponding relation when the fourth call instruction is received when the current registered cell is the target cell, wherein the prompt message is used for informing the user that the current area is an area which can not realize the call function.
Having described the call method and the call apparatus according to the exemplary embodiment of the present application, an electronic terminal according to the exemplary embodiment of the present application for implementing the steps described in the above-described method embodiment will be described with reference to fig. 7. The computer system/server 70 shown in FIG. 7 is only an example and should not be taken to limit the scope of use and functionality of embodiments of the present application.
As shown in FIG. 7, computer system/server 70 is in the form of a general purpose computing device. The components of computer system/server 70 may include, but are not limited to: one or more processors or processing units 701, a system memory 702, and a bus 703 that couples various system components including the system memory 702 and the processing unit 701.
Computer system/server 70 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer system/server 70 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 702 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)7021 and/or cache memory 7022. The computer system/server 70 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, ROM 7023 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 7, and commonly referred to as a "hard drive"). Although not shown in FIG. 7, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 703 via one or more data media interfaces. At least one program product may be included in system memory 702 having a set (e.g., at least one) of program modules configured to carry out the functions of embodiments of the application.
A program/utility 7027 having a set (at least one) of program modules 7027 may be stored, for example, in system memory 702, and such program modules 7027 include, but are not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment. Program modules 7027 generally perform the functions and/or methodologies of embodiments described herein.
The computer system/server 70 may also communicate with one or more external devices 707 (e.g., keyboard, pointing device, display, etc.). Such calls may be made through input/output (I/O) interface 707. Also, the computer system/server 70 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet) via the network adapter 707. As shown in FIG. 7, the network adapter 707 interfaces with other modules of the computer system/server 70 (e.g., processing unit 701, etc.) via the bus 703. It should be appreciated that although not shown in FIG. 7, other hardware and/or software modules may be used in conjunction with computer system/server 70.
The processing unit 701 executes various functional applications and data processing, for example, executes instructions for implementing the steps in the above-described method embodiments, by executing a computer program stored in the system memory 702; in particular, processing unit 701 may execute a computer program stored in system memory 702, and when the computer program is executed, the following instructions are executed:
when a first calling instruction is received, sending first call request information through a target cell, wherein the target cell is a current registered cell;
when a first call failure response is received, recording communication parameters of the target cell, wherein the communication parameters are used for representing identity information of the target cell, and the first call failure response is a response generated aiming at the first call instruction;
when a second calling instruction is received, judging whether the current registered cell is the target cell or not based on the communication parameters;
and if the current registered cell is the target cell, sending second communication request information through the target cell, wherein the second communication request information does not carry an identifier supporting a broadband voice coding function.
Of course, other instructions included in the electronic terminal, such as the content described in the device side method side, are not described in detail herein.
In the application, when a first call instruction is received in a GSM network environment, first call request information is sent through a target cell, when a first call failure response generated aiming at the first call instruction is received, communication parameters of the target cell are recorded, and when a second call instruction is received, whether a current registered cell is the target cell or not is judged based on the communication parameters. And if the target cell is in the target cell, sending second communication request information which does not carry the identification supporting the broadband voice coding function through the target cell. By applying the technical scheme of the application, when the cell is connected to the registered cell with the call failure, the call request information supporting the broadband voice coding function is not sent to the cell. Therefore, the defect that the electronic terminal cannot initiate a call to an opposite terminal user and carry out a call function when the electronic terminal is positioned in a cell which does not support the broadband voice coding under the GSM network environment is avoided, and the user experience is improved.
An embodiment of the present application further provides a computer-readable storage medium for storing computer-readable instructions, which, when executed, perform the operations of the call method included in fig. 1 to 6. The content of the description of the call method is not repeated herein.
The above are only some optional embodiments of the present application, and not limiting the scope of the present application, and all modifications made by the equivalent structural changes made in the content of the specification and the drawings, or applied directly/indirectly to other related technical fields, which are within the spirit of the present application, are included in the scope of the present application.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
In the present specification, the embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts in the embodiments are referred to each other. For the system embodiment, since it basically corresponds to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The methods and apparatus of the present application may be implemented in a number of ways. For example, the methods and apparatus of the present application may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above-described order for the steps of the method is for illustration only, and the steps of the method of the present application are not limited to the order specifically described above unless specifically stated otherwise. Further, in some embodiments, the present application may also be embodied as a program recorded in a recording medium, the program including machine-readable instructions for implementing a method according to the present application. Thus, the present application also covers a recording medium storing a program for executing the method according to the present application.
The description of the present application has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the application in the form disclosed. Many modifications and variations will be apparent to practitioners skilled in this art. The embodiment was chosen and described in order to best explain the principles of the application and the practical application, and to enable others of ordinary skill in the art to understand the application for various embodiments with various modifications as are suited to the particular use contemplated.

Claims (10)

1. A call method, applied to a GSM network, includes:
when a first call instruction is received, sending first call request information through a target cell, wherein the target cell is a current registered cell, and the first call request information carries an identifier supporting a broadband voice coding function;
when a first call failure response is received, recording communication parameters of the target cell, wherein the communication parameters are used for representing identity information of the target cell, and the first call failure response is a response generated aiming at the first call instruction;
when a second calling instruction is received, judging whether the current registered cell is the target cell or not based on the communication parameters;
and if the current registered cell is the target cell, sending second communication request information through the target cell, wherein the second communication request information does not carry an identifier supporting a broadband voice coding function.
2. The method of claim 1, wherein after the sending the second communication request message via the target cell if the currently registered cell is the target cell, further comprising:
and monitoring a received call response within a preset time period, wherein the call response is a response generated aiming at the second call instruction.
3. The method of claim 2, wherein after monitoring the received call response for a predetermined period of time, further comprising:
and when the call response is a call success response, realizing the call function corresponding to the second call instruction based on a narrowband speech coding function.
4. The method of claim 2 or 3, wherein after monitoring the received call response for a preset period of time, further comprising:
when the call response is a call success response, establishing a corresponding relation between the second call request information and the target cell;
and when the current registered cell is the target cell, realizing a call function corresponding to the third call instruction based on the corresponding relation.
5. The method of claim 2, wherein after monitoring the received call response for a predetermined period of time, further comprising:
and when the call response is a second call failure response, clearing the communication parameters of the target cell.
6. The method of claim 2, wherein after the monitoring whether the second session failure response is received within a preset time period, further comprising:
when the call response is a second call failure response, recording the corresponding relation between the second call failure response and the target cell;
and executing a fourth calling instruction based on the corresponding relation when the current registered cell is the target cell.
7. The method of claim 6, wherein executing a fourth call instruction based on the correspondence during the period when the current registered cell is the target cell comprises:
and when the fourth call instruction is received while the current registered cell is the target cell, generating a prompt message based on the corresponding relation, wherein the prompt message is used for informing the user that the current area is an area which can not realize the call function.
8. A communication device, comprising:
the first sending module is used for sending first call request information through a target cell when a first call instruction is received, wherein the target cell is a current registered cell, and the first call request information carries an identifier supporting a broadband voice coding function;
a recording module, configured to record a communication parameter of the target cell when a first call failure response is received, where the communication parameter is used to characterize identity information of the target cell, and the first call failure response is a response generated for the first call instruction;
the judging module is used for judging whether the current registered cell is the target cell or not based on the communication parameters when a second calling instruction is received;
and a second sending module, configured to send second communication request information through the target cell if the current registered cell is the target cell, where the second communication request information does not carry an identifier that supports a wideband speech coding function.
9. An electronic terminal, comprising:
a memory for storing executable instructions; and the number of the first and second groups,
a processor for communicating with the memory to execute the executable instructions to perform the operations of the communication method of any of claims 1-7.
10. A computer-readable storage medium storing computer-readable instructions that, when executed, perform the operations of the telephony method of any of claims 1 to 7.
CN201811550122.2A 2018-12-18 2018-12-18 Call method, device, electronic terminal and medium Active CN109714750B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811550122.2A CN109714750B (en) 2018-12-18 2018-12-18 Call method, device, electronic terminal and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811550122.2A CN109714750B (en) 2018-12-18 2018-12-18 Call method, device, electronic terminal and medium

Publications (2)

Publication Number Publication Date
CN109714750A CN109714750A (en) 2019-05-03
CN109714750B true CN109714750B (en) 2020-12-22

Family

ID=66256752

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811550122.2A Active CN109714750B (en) 2018-12-18 2018-12-18 Call method, device, electronic terminal and medium

Country Status (1)

Country Link
CN (1) CN109714750B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113422873B (en) * 2021-06-25 2022-09-16 北京小米移动软件有限公司 Prompting method and device for call mode switching, storage medium and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101304261A (en) * 2007-05-12 2008-11-12 华为技术有限公司 Method and apparatus for spreading frequency band
CN102045844A (en) * 2009-10-12 2011-05-04 华为技术有限公司 Method and device for reporting capability information
CN103856596A (en) * 2012-11-28 2014-06-11 腾讯科技(深圳)有限公司 Conversation method, device and terminal
CN103871415A (en) * 2012-12-14 2014-06-18 中国电信股份有限公司 Method for realizing inter-system voice communication, system and TFO conversion device
EP2793509A1 (en) * 2012-01-05 2014-10-22 Huawei Technologies Co., Ltd Method, apparatus and system for user equipment relocation between radio network controllers
CN104424951A (en) * 2013-08-19 2015-03-18 中国电信股份有限公司 A method and device for realizing TFO and TrFO intercommunication conversion between different systems
CN106231618A (en) * 2016-07-21 2016-12-14 中国联合网络通信集团有限公司 A kind of method and device sending encoding and decoding renegotiation request
CN108513320A (en) * 2018-03-15 2018-09-07 中国联合网络通信集团有限公司 A kind of method and device of coding/decoding negotiation

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9584574B2 (en) * 2006-03-02 2017-02-28 Telefonaktiebolaget L M Ericsson (Publ) Wideband codec negotiation
US9125068B2 (en) * 2010-06-04 2015-09-01 Ixia Methods, systems, and computer readable media for simulating realistic movement of user equipment in a long term evolution (LTE) network

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101304261A (en) * 2007-05-12 2008-11-12 华为技术有限公司 Method and apparatus for spreading frequency band
CN102045844A (en) * 2009-10-12 2011-05-04 华为技术有限公司 Method and device for reporting capability information
EP2793509A1 (en) * 2012-01-05 2014-10-22 Huawei Technologies Co., Ltd Method, apparatus and system for user equipment relocation between radio network controllers
CN103856596A (en) * 2012-11-28 2014-06-11 腾讯科技(深圳)有限公司 Conversation method, device and terminal
CN103871415A (en) * 2012-12-14 2014-06-18 中国电信股份有限公司 Method for realizing inter-system voice communication, system and TFO conversion device
CN104424951A (en) * 2013-08-19 2015-03-18 中国电信股份有限公司 A method and device for realizing TFO and TrFO intercommunication conversion between different systems
CN106231618A (en) * 2016-07-21 2016-12-14 中国联合网络通信集团有限公司 A kind of method and device sending encoding and decoding renegotiation request
CN108513320A (en) * 2018-03-15 2018-09-07 中国联合网络通信集团有限公司 A kind of method and device of coding/decoding negotiation

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
[Draft] LS on CS AMR type change during relocation;Huawei;《3GPP TSG RAN WG3 #75bis R3-120873》;20120329;全文 *
AMR技术在GSM网络中的应用;林勇;《电信快报》;20080410(第4期);全文 *
Discussion on CS AMR type change during relocation;Huawei, Nokia Siemens Networks;《3GPP TSG-RAN WG3 #75bis R3-120555》;20120316;全文 *
Exploiting AMR-WB Audio Bandwidth Extension for Quality and Capacity Increase;R.Mullner,et al;《2007 16th IST Mobile and Wireless Communications Summit》;20070705;全文 *

Also Published As

Publication number Publication date
CN109714750A (en) 2019-05-03

Similar Documents

Publication Publication Date Title
EP2958303B1 (en) Method for measuring and displaying internet traffic of mobile phone and mobile phone
CN111885270B (en) Abnormal communication detection method, device, equipment and storage medium
WO2016041171A1 (en) Method and apparatus for determining terminal roaming status, terminal and server
CN104135556A (en) Call method and call device based on mobile terminal
CN105959934A (en) Repeated network access identification method and system
CN104184871B (en) A kind of method and apparatus prompting harassing call number
CN109714750B (en) Call method, device, electronic terminal and medium
CN110493810B (en) Method, device, equipment and medium for detecting recording notification fault
CN104506743A (en) Method and device for dynamically intercepting call
WO2023151399A1 (en) Fraudulent incoming call identification method and apparatus, and electronic device and storage medium
CN104683577A (en) Calling processing method and terminal
CN111901813A (en) Network configuration method and equipment for customer premises equipment
CN108574503B (en) Setting method of interception setting option and related equipment
US10609220B2 (en) Method and system for accessing an IPA agent from a phone
CN106304251B (en) Mobile terminal network connection control method and device
CN100512501C (en) Information notification method, system and device for mobile intelligent subscriber during international roaming
CN108347403B (en) Method and device for distributing intermediate communication identification
CN110839250B (en) GSM random access method and related product
KR101687661B1 (en) Data signal processing system and method thereof
JP2002112344A (en) Portable telephone system
CN104052854B (en) A kind of method of information processing and electronic equipment
KR20120002121A (en) Method for emergency call using portable terminal accessible to wireless internet on ip network
CN1949890B (en) System for apperaring called party state in mobile communication and implementing method
CN101437027B (en) Method and system for detecting terminal compatibility, and access gateway control function entity
KR101464042B1 (en) Method for Providing Data type Calling Information

Legal Events

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