CN117812576A - Call control method and device, electronic equipment and storage medium - Google Patents

Call control method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117812576A
CN117812576A CN202211167748.1A CN202211167748A CN117812576A CN 117812576 A CN117812576 A CN 117812576A CN 202211167748 A CN202211167748 A CN 202211167748A CN 117812576 A CN117812576 A CN 117812576A
Authority
CN
China
Prior art keywords
pass
card
double
electronic equipment
call
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.)
Pending
Application number
CN202211167748.1A
Other languages
Chinese (zh)
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202211167748.1A priority Critical patent/CN117812576A/en
Publication of CN117812576A publication Critical patent/CN117812576A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The disclosure relates to a call control method, a call control device, an electronic device and a storage medium, wherein the call control method comprises the following steps: when the electronic equipment is in double-card double-pass and enters a double-card single-pass area from the double-card double-pass area, acquiring a single-pass cell corresponding to the double-card single-pass area where the electronic equipment is currently located, wherein the single-pass cell is a cell supporting a first telephone card call and not supporting a second telephone card call; determining a target single-pass cell from the historical single-pass cells according to the single-pass cell in which the current single-pass cell is located; and controlling the communication of the electronic equipment in the double-card single-pass area according to the corresponding switching back and forth times and the double-card single-pass reason in the target single-pass cell. According to the switching times and the reasons of double-card single-pass, the communication of the electronic equipment in the double-card single-pass area is controlled, such as hang-up or concurrent maintenance, so that the situation that the opposite terminal hangs up a telephone when the electronic equipment is in double-card single-pass is avoided, and the situation that the telephone is continuously dialed by the telephone is avoided, and the communication control rationality of double-card double-pass is improved.

Description

Call control method and device, electronic equipment and storage medium
Technical Field
The disclosure relates to the technical field of dual-card conversation, and in particular relates to a conversation control method and device, electronic equipment and a storage medium.
Background
Under the condition that the electronic equipment supports DSDA (Dual SIM dual active, double-card double-pass), the double-card double-pass can support the telephone concurrency of two telephone cards, namely, in the telephone call process of one telephone card, the other telephone card can carry out call maintenance. In the case of concurrency of the phone, if the electronic device moves from the area covered by the dual-card carrier network to the area covered by the single-card carrier network, i.e., enters the DSDS from the DSDA (dual sim dual standby, dual-card single-pass), there may occur a case that the opposite party talking device cannot hear the sound and hangs up the phone, but the own phone continues to dial.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a call control method, a call control device, an electronic device, and a storage medium.
According to a first aspect of an embodiment of the present disclosure, there is provided a call control method applied to an electronic device supporting dual-card dual-pass, the method including:
if the electronic equipment enters a double-card single-pass area from the double-card double-pass area under the condition that the electronic equipment is in double-card double-pass, acquiring a single-pass cell corresponding to the double-card single-pass area where the electronic equipment is currently located, wherein the single-pass cell is a cell supporting a first telephone card call and not supporting a second telephone card call;
Determining a target single-pass cell from the historical single-pass cells according to the single-pass cell corresponding to the current double-card single-pass region;
and controlling the communication of the electronic equipment in the double-card single-pass area according to the switching back and forth times of the electronic equipment in the target single-pass cell and the double-card single-pass reason, wherein the switching back and forth times are times of switching back and forth between the double-card single-pass area and the double-card double-pass area.
Optionally, the controlling the call of the electronic device in the dual-card single-pass area according to the round trip switching times of the electronic device in the target single-pass cell and the dual-card single-pass reason includes:
if the round-trip switching times of the electronic equipment in the target single-pass cell are larger than a preset switching threshold, acquiring a double-pass interval duration corresponding to the target single-pass cell, wherein the double-pass interval duration is a duration of changing the electronic equipment from double-card double-pass to double-card single-pass and then from the double-card single-pass to the double-card double-pass;
and controlling the communication of the electronic equipment in the double-card single-pass area according to the double-pass interval duration corresponding to the target single-pass cell and the double-card single-pass reason.
Optionally, the controlling the call of the electronic device in the dual-card single-pass area according to the dual-pass interval duration and the dual-card single-pass reason corresponding to the target single-pass cell includes:
maintaining the call of the telephone card which does not support the call at present in the double-pass interval duration corresponding to the target single-pass cell, and determining whether the electronic equipment is switched back to double-card double-pass after the double-pass interval duration;
if the electronic equipment is not switched back to double-card double-pass after the double-pass interval time, determining that the electronic equipment meets a single-pass control condition;
and controlling the communication of the electronic equipment in the double-card single-pass area according to the double-card single-pass reason under the condition that the electronic equipment meets the single-pass control condition.
Optionally, the controlling the call of the electronic device in the dual-card single-pass area according to the round trip switching times of the electronic device in the target single-pass cell and the dual-card single-pass reason includes:
if the back and forth switching times of the electronic equipment in the target single-pass cell indicate that the switching is not switched from double-card single-pass to double-card double-pass, determining that the electronic equipment meets a single-pass control condition;
and controlling the communication of the electronic equipment in the double-card single-pass area according to the double-card single-pass reason under the condition that the electronic equipment meets the single-pass control condition.
Optionally, when the electronic device meets the single-pass control condition, controlling the call of the electronic device in the double-card single-pass area according to the double-card single-pass reason, including:
if the electronic equipment meets the single-pass control condition, if the double-card single-pass reason is that the phone card currently in communication is the second phone card and the phone card currently in communication is the first phone card, hanging up the communication of the phone card currently in communication in the double-card single-pass area, and switching the phone card currently in communication hold to a communication state; or,
and under the condition that the electronic equipment meets the single-pass control condition, if the double-card single-pass reason is that the phone card currently holding the call is the second phone card and the phone card currently carrying out the call is the first phone card, hanging up the call of the phone card currently holding the call in the double-card single-pass area and continuing the call of the phone card currently carrying out the call.
Optionally, the method comprises:
if the electronic equipment is switched back to double-card double-pass after the double-pass interval time, determining that the electronic equipment meets a double-pass control condition;
And controlling the electronic equipment to concurrently perform double-card conversation under the condition that the electronic equipment meets the double-pass control condition.
Optionally, the two-way interval duration is determined according to a duration of changing from the two-card two-way to the two-card two-way after the electronic device changes from the two-card two-way to the two-card one-way multiple times in the target single-way cell.
According to a second aspect of the embodiments of the present disclosure, there is provided a call control apparatus applied to an electronic device supporting dual card dual pass, the apparatus including:
the obtaining module is configured to obtain a single-pass cell corresponding to the double-card single-pass area where the electronic equipment is currently located if the electronic equipment enters the double-card single-pass area from the double-card double-pass area under the condition that the electronic equipment is in double-card double-pass, wherein the single-pass cell is a cell supporting a first telephone card call and not supporting a second telephone card call;
the determining module is configured to determine a target single-pass cell from the historical single-pass cells according to the single-pass cell corresponding to the current double-card single-pass region;
the control module is configured to control the communication of the electronic equipment in the double-card single-pass area according to the back-and-forth switching times of the electronic equipment in the target single-pass cell and the double-card single-pass reason, wherein the back-and-forth switching times are times of back-and-forth switching between the double-card single-pass area and the double-card double-pass area.
Optionally, the control module is configured to:
if the round-trip switching times of the electronic equipment in the target single-pass cell are larger than a preset switching threshold, acquiring a double-pass interval duration corresponding to the target single-pass cell, wherein the double-pass interval duration is a duration of changing the electronic equipment from double-card double-pass to double-card single-pass and then from the double-card single-pass to the double-card double-pass;
and controlling the communication of the electronic equipment in the double-card single-pass area according to the double-pass interval duration corresponding to the target single-pass cell and the double-card single-pass reason.
Optionally, the control module is configured to:
maintaining the call of the telephone card which does not support the call at present in the double-pass interval duration corresponding to the target single-pass cell, and determining whether the electronic equipment is switched back to double-card double-pass after the double-pass interval duration;
if the electronic equipment is not switched back to double-card double-pass after the double-pass interval time, determining that the electronic equipment meets a single-pass control condition;
and controlling the communication of the electronic equipment in the double-card single-pass area according to the double-card single-pass reason under the condition that the electronic equipment meets the single-pass control condition.
Optionally, the control module is configured to:
if the back and forth switching times of the electronic equipment in the target single-pass cell indicate that the switching is not switched from double-card single-pass to double-card double-pass, determining that the electronic equipment meets a single-pass control condition;
and controlling the communication of the electronic equipment in the double-card single-pass area according to the double-card single-pass reason under the condition that the electronic equipment meets the single-pass control condition.
Optionally, the control module is configured to:
if the electronic equipment meets the single-pass control condition, if the double-card single-pass reason is that the phone card currently in communication is the second phone card and the phone card currently in communication is the first phone card, hanging up the communication of the phone card currently in communication in the double-card single-pass area, and switching the phone card currently in communication hold to a communication state; or,
and under the condition that the electronic equipment meets the single-pass control condition, if the double-card single-pass reason is that the phone card currently holding the call is the second phone card and the phone card currently carrying out the call is the first phone card, hanging up the call of the phone card currently holding the call in the double-card single-pass area and continuing the call of the phone card currently carrying out the call.
Optionally, the control module is configured to:
if the electronic equipment is switched back to double-card double-pass after the double-pass interval time, determining that the electronic equipment meets a double-pass control condition;
and controlling the electronic equipment to concurrently perform double-card conversation under the condition that the electronic equipment meets the double-pass control condition.
Optionally, the two-way interval duration is determined according to a duration of changing from the two-card two-way to the two-card two-way after the electronic device changes from the two-card two-way to the two-card one-way multiple times in the target single-way cell.
According to a third aspect of embodiments of the present disclosure, there is provided an electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
if the electronic equipment enters a double-card single-pass area from the double-card double-pass area under the condition that the electronic equipment is in double-card double-pass, acquiring a single-pass cell corresponding to the double-card single-pass area where the electronic equipment is currently located, wherein the single-pass cell is a cell supporting a first telephone card call and not supporting a second telephone card call;
determining a target single-pass cell from the historical single-pass cells according to the single-pass cell corresponding to the current double-card single-pass region;
And controlling the communication of the electronic equipment in the double-card single-pass area according to the switching back and forth times of the electronic equipment in the target single-pass cell and the double-card single-pass reason, wherein the switching back and forth times are times of switching back and forth between the double-card single-pass area and the double-card double-pass area.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the method of any of the first aspects.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
under the condition that the electronic equipment is in double-card double-pass, if the electronic equipment enters a double-card single-pass area from the double-card double-pass area, acquiring a single-pass cell corresponding to the double-card single-pass area where the electronic equipment is currently located, wherein the single-pass cell is a cell supporting a first telephone card call and not supporting a second telephone card call; determining a target single-pass cell from the historical single-pass cells according to the single-pass cell corresponding to the current double-card single-pass region; and controlling the communication of the electronic equipment in the double-card single-pass area according to the corresponding switching back and forth times and the double-card single-pass reason in the target single-pass cell. According to the historical single-pass cell, whether a double-card single-pass condition occurs in an area where a user arrives is determined, and according to the switching times and the double-card single-pass reasons, the conversation of the electronic equipment in the double-card single-pass area is controlled, for example, hang-up or concurrent maintenance is carried out, the situation that for example, the opposite terminal has hung up in the double-card single-pass condition of the electronic equipment is avoided, and the situation that the telephone is continuously dialed by the mobile phone is avoided, so that the conversation control rationality of the double-card double-pass is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flow chart illustrating a call control method according to an exemplary embodiment.
Fig. 2 is a flow chart illustrating another call control method according to an exemplary embodiment.
Fig. 3 is a block diagram illustrating a call control apparatus according to an exemplary embodiment.
Fig. 4 is a block diagram illustrating an apparatus for call control according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
It should be noted that, all actions for acquiring signals, information or data in the present application are performed under the condition of conforming to the corresponding data protection rule policy of the country of the location and obtaining the authorization given by the owner of the corresponding device.
Fig. 1 is a flowchart of a call control method according to an exemplary embodiment, which is applied to an electronic device supporting dual-card dual-pass, wherein the dual-card dual-pass refers to an electronic device configured with at least two card slots, each of which can be inserted into a phone card or integrated with a phone card. And, the at least two card slots may be phone cards of different operators, for example, a first phone card is a phone card of a first operator, a second phone card is a phone card of a second operator, and the at least two card slots may also be phone cards of the same operator, for example, the first phone card is a 5G phone card of the first operator, and the second phone card is a 4G phone card of the first operator. Furthermore, it may be stated that the electronic device may be, for example, a smart phone, a tablet computer, a smart wearable device, etc., as shown in fig. 1, including the following steps.
In step S11, if the electronic device is in the dual-card dual-pass mode, if the electronic device enters the dual-card single-pass area from the dual-card dual-pass area, a single-pass cell corresponding to the dual-card single-pass area where the electronic device is currently located is obtained.
The single-pass cell is a cell supporting the first phone card call and not supporting the second phone card call. Wherein the number of the first phone cards and the number of the second phone cards are not limited.
It may be noted that, in the case where the electronic device is in the dual card dual pass, the following two cases may be classified: the first case is that the first phone card is in a call state and the second phone card is in a call hold state; the second case is when the first phone card is in hold and the second phone card is in hold. The call state can also be called a call active state, and the call state of the phone card establishes a call with the opposite terminal and has voice data transmission.
In the embodiment of the disclosure, if the electronic device does not support dual-card dual-pass, or supports dual-card dual-pass, but only inserts one or activates one phone card, the method is not applicable any more. Thus, in the case that the electronic device is in dual-card dual-pass, it can be understood that the electronic device supports dual-card dual-pass, at least two phones are activated, and one phone card is in a call state, and at least one phone card is in a call hold.
In step S12, a target single-pass cell is determined from the historical single-pass cells according to the single-pass cell corresponding to the dual-card single-pass region where the current location is located.
Each history single-pass cell is used for carrying the history of the electronic equipment by the user, and under the condition that the history single-pass cell is used by the user to use double cards and double passes and double cards and single passes appear when the double cards and double passes appear, the position information and the cell information of the electronic equipment are recorded under the condition of user authorization. Further, whether the electronic equipment is switched back to the double-card double-pass or not is recorded in the cell, or how long the electronic equipment is switched back to the double-card double-pass after the electronic equipment is switched back to the double-card double-pass in the cell is recorded in the cell, or the times of switching back and forth between the double-card single-pass and the double-card double-pass in the cell is recorded.
In the embodiment of the disclosure, the historical single-pass cell is used for enabling the user to carry the electronic equipment to pass through the cell, and before entering the cell, the user uses the electronic equipment to conduct double-card double-pass, and meanwhile the cell supports a first phone card call and does not support a second phone card call.
For example, in the case where the electronic device configures two phone cards of a different carrier, the historical single-pass cell carries the electronic device with the user through the cell, and before entering the cell, the user uses the electronic device to make a double-card double-pass, for example, the first phone card is in a call state and the second phone card is in a call hold state, while the cell supports only phone card calls of the first carrier and does not support phone card calls of the second carrier.
It may be noted that, not supporting the calling card call may be understood as having weak signal strength, even no service, or insufficient network system to support the call, for example, the network system is changed to 2G.
In step S13, according to the number of times of switching back and forth of the electronic device in the target single-pass cell and the reason of double-card single-pass, the communication of the electronic device in the double-card single-pass area is controlled.
The switching times are the times of switching back and forth between the double-card single-pass area and the double-card double-pass area. The number of times of switching back and forth has a one-to-one correspondence with the telephone card which does not support the conversation currently.
For example, in the case where the electronic device is in a first phone card call (main card call) and a second phone card is held (sub card hold), the main card supports the call, and the sub card has OOS (out of service) and after 2 seconds elapse, the sub card resumes service, and then switches back and forth the number of times +1. And in the target single-pass cell with the preset duration, if the electronic equipment generates the main card again to support the call and the auxiliary card generates the OOS, and after 2 seconds, the auxiliary card resumes the service, the back-and-forth switching times are +1 again.
It should be noted that, when the electronic device is in the first phone card call (the main phone card call) and the second phone card is kept (the sub-card is kept), the main phone card supports the call, and the sub-card has OOS, and after 2 seconds, the sub-card resumes service, and the number of times of switching back and forth is +1. If the electronic device generates the main card OOS and the sub card supports the call in the target single-pass cell with the preset duration, the number of times of switching back and forth cannot be increased by +1, but the number of times of switching back and forth for the main card is increased by +1 again.
According to the technical scheme, under the condition that the electronic equipment is in double-card double-pass, if the electronic equipment enters the double-card single-pass area from the double-card double-pass area, a single-pass cell corresponding to the double-card single-pass area where the electronic equipment is currently located is obtained, wherein the single-pass cell is a cell supporting a first telephone card call and not supporting a second telephone card call; determining a target single-pass cell from the historical single-pass cells according to the single-pass cell corresponding to the current double-card single-pass region; and controlling the communication of the electronic equipment in the double-card single-pass area according to the corresponding switching back and forth times and the double-card single-pass reason in the target single-pass cell. According to the historical single-pass cell, whether a double-card single-pass condition occurs in an area where a user arrives is determined, and according to the switching times and the double-card single-pass reasons, the conversation of the electronic equipment in the double-card single-pass area is controlled, for example, hang-up or concurrent maintenance is carried out, the situation that for example, the opposite terminal has hung up in the double-card single-pass condition of the electronic equipment is avoided, and the situation that the telephone is continuously dialed by the mobile phone is avoided, so that the conversation control rationality of the double-card double-pass is improved.
Optionally, in step S13, the controlling the call of the electronic device in the dual-card single-pass area according to the number of times of switching back and forth of the electronic device in the target single-pass cell and the dual-card single-pass reason includes:
If the round-trip switching times of the electronic equipment in the target single-pass cell are larger than a preset switching threshold, acquiring a double-pass interval duration corresponding to the target single-pass cell, wherein the double-pass interval duration is a duration of changing the electronic equipment from double-card double-pass to double-card single-pass and then from the double-card single-pass to the double-card double-pass;
and controlling the communication of the electronic equipment in the double-card single-pass area according to the double-pass interval duration corresponding to the target single-pass cell and the double-card single-pass reason.
It can be understood that the two-way interval duration has a one-to-one correspondence with the phone card that does not support the call at present, that is, the electronic device is configured with at least two phone cards, so that the target single-way cell has at least two-way interval durations, and therefore, the two-way interval duration corresponding to the target single-way cell needs to be determined according to the phone card that does not support the call at present.
For example, if the phone card that does not support the call currently is the phone card that is currently in call, the two-way interval duration corresponding to the phone card that is currently in call in the target single-way cell is taken as the target two-way interval duration.
And controlling the communication of the electronic equipment in the double-card single-pass area according to the double-pass interval duration and the double-card single-pass reason corresponding to the target single-pass cell, wherein the method comprises the following steps:
Maintaining the call of the telephone card which does not support the call at present in the double-pass interval duration corresponding to the target single-pass cell, and determining whether the electronic equipment is switched back to double-card double-pass after the double-pass interval duration;
if the electronic equipment is not switched back to double-card double-pass after the double-pass interval time, determining that the electronic equipment meets a single-pass control condition;
it will be appreciated that the electronic device toggles between a two-card single pass and a two-card double pass multiple times during the double pass interval. And after the double pass interval period, the phone card is still in a state of not supporting the call.
For example, the current occurrence of the non-support call is a hold call, the call of the phone card of the hold call is maintained in the corresponding double-pass interval duration of the target single-pass cell, whether the electronic equipment is switched back to double-card double-pass is determined after the double-pass interval duration of the hold call, and further, if the phone card of the hold call still has the OOS after the double-pass interval duration of the hold call, the electronic equipment is determined to meet the single-pass control condition.
And controlling the communication of the electronic equipment in the double-card single-pass area according to the double-card single-pass reason under the condition that the electronic equipment meets the single-pass control condition.
Optionally, in step S13, the controlling the call of the electronic device in the dual-card single-pass area according to the number of times of switching back and forth of the electronic device in the target single-pass cell and the dual-card single-pass reason may further include:
if the back and forth switching times of the electronic equipment in the target single-pass cell indicate that the switching is not switched from double-card single-pass to double-card double-pass, determining that the electronic equipment meets a single-pass control condition;
and the back and forth switching times of the electronic equipment in the target single-pass cell are represented by an example, the back and forth switching times of the electronic equipment in the target single-pass cell are not interpreted, when the electronic equipment is in a first telephone card call (main card call) and a second telephone card is kept (auxiliary card kept), the main card supports the call, the auxiliary card has OOS until the user leaves the target single-pass cell with the electronic equipment, the auxiliary card is always in the OOS state, and the electronic equipment is not switched from the double-card single-pass to the double-card double-pass.
And controlling the communication of the electronic equipment in the double-card single-pass area according to the double-card single-pass reason under the condition that the electronic equipment meets the single-pass control condition.
Optionally, when the electronic device meets the single-pass control condition, controlling the call of the electronic device in the double-card single-pass area according to the double-card single-pass reason, including:
If the electronic equipment meets the single-pass control condition, if the double-card single-pass reason is that the phone card currently in communication is the second phone card and the phone card currently in communication is the first phone card, hanging up the communication of the phone card currently in communication in the double-card single-pass area, and switching the phone card currently in communication hold to a communication state; or,
and under the condition that the electronic equipment meets the single-pass control condition, if the double-card single-pass reason is that the phone card currently holding the call is the second phone card and the phone card currently carrying out the call is the first phone card, hanging up the call of the phone card currently holding the call in the double-card single-pass area and continuing the call of the phone card currently carrying out the call.
According to the technical scheme, the hang-up call can be carried out according to whether the telephone card which does not support the call at present is the telephone card which is in call or is in call holding, or the call in holding is activated, and the situation of repeated dialing and the like can be avoided by hanging up immediately under the condition that the opposite terminal is hung up and the like.
Optionally, the method comprises:
If the electronic equipment is switched back to double-card double-pass after the double-pass interval time, determining that the electronic equipment meets a double-pass control condition;
it can be understood that the electronic device may be switched back and forth multiple times during the two-way interval, but each time the interval is shorter, so that the communication can be re-supported, for example, the electronic device switches back from the two-card single-pass to the two-card double-pass during the two-way interval, switches back from the two-card double-pass to the two-card single-pass again, and switches back from the two-card single-pass to the two-card double-pass again.
And controlling the electronic equipment to concurrently perform double-card conversation under the condition that the electronic equipment meets the double-pass control condition.
According to the technical scheme, although the electronic equipment is switched back and forth for many times in a short time, the electronic equipment is only briefly unsupported, a user may not be aware of the electronic equipment, the call can be quickly connected, the condition that the opposite terminal hangs up is not caused, and therefore the concurrent double-card call can be continued.
Optionally, the two-way interval duration is determined according to a duration of changing from the two-card two-way to the two-card two-way after the electronic device changes from the two-card two-way to the two-card one-way multiple times in the target single-way cell.
In the embodiment of the disclosure, the average value of the multiple double-pass interval durations of the same phone card at different times can be obtained to obtain the double-pass interval duration corresponding to the target single-pass cell. For example, the average value of the two-way interval duration of the same phone card on the same day in different weeks is obtained to obtain the two-way interval duration corresponding to the target single-way cell, or the average value of the two-way interval duration of the same phone card on the same day is obtained to obtain the two-way interval duration corresponding to the target single-way cell.
For example, the two-way interval duration of the same phone card in each monday is averaged to obtain the two-way interval duration corresponding to the target single-way cell. In another example, the average value of the two-way interval duration of the same phone card on the day of monday is calculated to obtain the two-way interval duration corresponding to the target single-way cell.
In another example, the two-way interval duration of the same phone card in three days of Monday, tuesday and Wednesday is averaged to obtain the two-way interval duration corresponding to the target single-way cell.
The call control method of the present disclosure is illustrated by a detailed example, and is shown in fig. 2, and includes the following specific steps:
detecting whether the electronic equipment supports double-card double-pass DSDA, if the electronic equipment supports double-card double-pass DSDA, detecting whether a double card is inserted or not under the condition that the electronic equipment supports double-card double-pass DSDA, and if the double card is inserted, one telephone card can be used for talking, and the other telephone card can be used for holding talking.
Further, in the case of inserting a dual card, it is detected whether dual card dual-pass is activated, i.e., whether the electronic device is in a call with one phone card and the other phone card is in a hold call. And in case of dual card dual pass, monitoring whether to switch from dual card dual pass DSDA to dual card single pass DSDS. And under the condition that the electronic equipment is monitored to switch from the double-card double-pass DSDA to the double-card single-pass DSDS, recording the position information of the equipment and the connected cell information, and judging whether to switch back from the double-card single-pass to the double-card double-pass in the target single-pass cell in the history within the preset monitoring time.
Further, the double-card single-pass is not switched back to the double-card double-pass in the history within the preset monitoring time period, so that the fact that the same telephone card is not switched back to the double-card double-pass in the history single-pass cell and the double-card double-pass is switched back in other cells can be determined, and the target telephone card which does not support the call is determined. And then hang up the call and switch the current phone card holding the call to the call under the condition that the target phone card not supporting the call is the phone card in the call; in the case where the target calling card that does not support the call is the calling card that is holding the call, the holding call is hung up and the call of the calling card that is currently being called is continued.
In another embodiment, the method includes the steps of switching back from double-card single-pass to double-card double-pass in a history manner in a preset monitoring duration, judging whether the number of times of switching back and forth between double-card single-pass and double-card double-pass in a target single-pass cell of the same phone card in the history single-pass cell is larger than a preset number threshold value or not in the preset monitoring duration, maintaining a preset call maintaining duration of the phone card which does not support the call currently and judging whether to switch back to double-card double-pass after the preset maintaining duration or not in the case that the number of times of switching back and forth is larger than the preset number threshold value, and hanging up the call and switching the phone card which does not support the call to the call currently in the case that the target phone card which does not support the call is the phone card which is the call; in the case where the target calling card that does not support the call is the calling card that is holding the call, the holding call is hung up and the call of the calling card that is currently being called is continued. If the double-card double-pass is switched back after the preset maintaining time length, the double-card double-pass is ensured to be supported, and thus the double-card call is concurrent.
Based on the same concept, the embodiment of the disclosure further provides a call control device, which is applied to an electronic device supporting dual card dual pass, as shown in fig. 3, the device 300 includes: an acquisition module 310, a determination module 320, and a control module 330.
The obtaining module 310 is configured to obtain, when the electronic device is in a dual-card dual-pass mode, a single-pass cell corresponding to the dual-card single-pass area where the electronic device is currently located if the electronic device enters the dual-card single-pass area from the dual-card dual-pass area, where the single-pass cell is a cell supporting a first phone card call and not supporting a second phone card call;
the determining module 320 is configured to determine a target single-pass cell from the historical single-pass cells according to the single-pass cell corresponding to the dual-card single-pass region where the current location is located;
the control module 330 is configured to control the call of the electronic device in the dual-card single-pass area according to the number of times of switching back and forth of the electronic device in the target single-pass cell and the reason of dual-card single-pass, where the number of times of switching back and forth is the number of times of switching back and forth between the dual-card single-pass area and the dual-card dual-pass area.
According to the device, whether the double-card single-pass condition occurs in the area where the user arrives is determined according to the historical single-pass cell, and according to the switching times and the double-card single-pass reasons, the communication of the electronic equipment in the double-card single-pass area is controlled, for example, hang-up or concurrent maintenance is carried out, the situation that the opposite terminal has hung up for example under the condition of double-card single-pass of the electronic equipment is avoided, and the situation that the telephone is continuously dialed by the device is avoided, so that the communication control rationality of the double-card double-pass is improved.
Optionally, the control module 330 is configured to:
if the round-trip switching times of the electronic equipment in the target single-pass cell are larger than a preset switching threshold, acquiring a double-pass interval duration corresponding to the target single-pass cell, wherein the double-pass interval duration is a duration of changing the electronic equipment from double-card double-pass to double-card single-pass and then from the double-card single-pass to the double-card double-pass;
and controlling the communication of the electronic equipment in the double-card single-pass area according to the double-pass interval duration corresponding to the target single-pass cell and the double-card single-pass reason.
Optionally, the control module 330 is configured to:
maintaining the call of the telephone card which does not support the call at present in the double-pass interval duration corresponding to the target single-pass cell, and determining whether the electronic equipment is switched back to double-card double-pass after the double-pass interval duration;
if the electronic equipment is not switched back to double-card double-pass after the double-pass interval time, determining that the electronic equipment meets a single-pass control condition;
and controlling the communication of the electronic equipment in the double-card single-pass area according to the double-card single-pass reason under the condition that the electronic equipment meets the single-pass control condition.
Optionally, the control module 330 is configured to:
if the back and forth switching times of the electronic equipment in the target single-pass cell indicate that the switching is not switched from double-card single-pass to double-card double-pass, determining that the electronic equipment meets a single-pass control condition;
and controlling the communication of the electronic equipment in the double-card single-pass area according to the double-card single-pass reason under the condition that the electronic equipment meets the single-pass control condition.
Optionally, the control module 330 is configured to:
if the electronic equipment meets the single-pass control condition, if the double-card single-pass reason is that the phone card currently in communication is the second phone card and the phone card currently in communication is the first phone card, hanging up the communication of the phone card currently in communication in the double-card single-pass area, and switching the phone card currently in communication hold to a communication state; or,
and under the condition that the electronic equipment meets the single-pass control condition, if the double-card single-pass reason is that the phone card currently holding the call is the second phone card and the phone card currently carrying out the call is the first phone card, hanging up the call of the phone card currently holding the call in the double-card single-pass area and continuing the call of the phone card currently carrying out the call.
Optionally, the control module 330 is configured to:
if the electronic equipment is switched back to double-card double-pass after the double-pass interval time, determining that the electronic equipment meets a double-pass control condition;
and controlling the electronic equipment to concurrently perform double-card conversation under the condition that the electronic equipment meets the double-pass control condition.
Optionally, the two-way interval duration is determined according to a duration of changing from the two-card two-way to the two-card two-way after the electronic device changes from the two-card two-way to the two-card one-way multiple times in the target single-way cell.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
It will be appreciated by those skilled in the art that the above-described embodiments of the apparatus are merely illustrative, and that the division of modules is merely a logical function division, and that other divisions may be implemented, for example, multiple modules may be combined or integrated into a single module. Further, the modules illustrated as separate components may or may not be physically separate. For example, the determination module 320 and the control module 330 may be physically the same module or different modules, and each module may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. When implemented in hardware, may be implemented in whole or in part in the form of an integrated circuit or chip.
The embodiment of the disclosure also provides an electronic device, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
if the electronic equipment enters a double-card single-pass area from the double-card double-pass area under the condition that the electronic equipment is in double-card double-pass, acquiring a single-pass cell corresponding to the double-card single-pass area where the electronic equipment is currently located, wherein the single-pass cell is a cell supporting a first telephone card call and not supporting a second telephone card call;
determining a target single-pass cell from the historical single-pass cells according to the single-pass cell corresponding to the current double-card single-pass region;
and controlling the communication of the electronic equipment in the double-card single-pass area according to the switching back and forth times of the electronic equipment in the target single-pass cell and the double-card single-pass reason, wherein the switching back and forth times are times of switching back and forth between the double-card single-pass area and the double-card double-pass area.
It may be noted that the electronic device in the embodiments of the present disclosure may execute executable instructions stored in the memory to implement the steps of the call control method according to any of the foregoing embodiments of the present disclosure.
The disclosed embodiments also provide a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the call control method of any of the preceding embodiments.
Fig. 4 is a block diagram illustrating an apparatus 800 for call control, according to an example embodiment. For example, apparatus 800 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 4, apparatus 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the apparatus 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the call control method described above. Further, the processing component 802 can include one or more modules that facilitate interactions between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phonebook data, messages, pictures, videos, and the like. The memory 804 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power supply component 806 provides power to the various components of the device 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 800.
The multimedia component 808 includes a screen between the device 800 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 800 is in an operational mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 further includes a speaker for outputting audio signals.
Input/output interface 812 provides an interface between processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 814 includes one or more sensors for providing status assessment of various aspects of the apparatus 800. For example, the sensor assembly 814 may detect an on/off state of the device 800, a relative positioning of the components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, an orientation or acceleration/deceleration of the device 800, and a change in temperature of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communication between the apparatus 800 and other devices, either in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for performing the above-described call control method.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 804, that includes instructions executable by processor 820 of apparatus 800 to perform the call control method described above. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A call control method, applied to an electronic device supporting dual-card dual-pass, comprising:
if the electronic equipment enters a double-card single-pass area from the double-card double-pass area under the condition that the electronic equipment is in double-card double-pass, acquiring a single-pass cell corresponding to the double-card single-pass area where the electronic equipment is currently located, wherein the single-pass cell is a cell supporting a first telephone card call and not supporting a second telephone card call;
Determining a target single-pass cell from the historical single-pass cells according to the single-pass cell corresponding to the current double-card single-pass region;
and controlling the communication of the electronic equipment in the double-card single-pass area according to the switching back and forth times of the electronic equipment in the target single-pass cell and the double-card single-pass reason, wherein the switching back and forth times are times of switching back and forth between the double-card single-pass area and the double-card double-pass area.
2. The method according to claim 1, wherein controlling the call of the electronic device in the dual-card single-pass area according to the number of times of the round-trip handover of the electronic device in the target single-pass cell and a dual-card single-pass reason comprises:
if the round-trip switching times of the electronic equipment in the target single-pass cell are larger than a preset switching threshold, acquiring a double-pass interval duration corresponding to the target single-pass cell, wherein the double-pass interval duration is a duration of changing the electronic equipment from double-card double-pass to double-card single-pass and then from the double-card single-pass to the double-card double-pass;
and controlling the communication of the electronic equipment in the double-card single-pass area according to the double-pass interval duration corresponding to the target single-pass cell and the double-card single-pass reason.
3. The method of claim 2, wherein controlling the call of the electronic device in the dual-card single-pass area according to the dual-pass interval duration corresponding to the target single-pass cell and the dual-card single-pass reason comprises:
maintaining the call of the telephone card which does not support the call at present in the double-pass interval duration corresponding to the target single-pass cell, and determining whether the electronic equipment is switched back to double-card double-pass after the double-pass interval duration;
if the electronic equipment is not switched back to double-card double-pass after the double-pass interval time, determining that the electronic equipment meets a single-pass control condition;
and controlling the communication of the electronic equipment in the double-card single-pass area according to the double-card single-pass reason under the condition that the electronic equipment meets the single-pass control condition.
4. The method according to claim 1, wherein controlling the call of the electronic device in the dual-card single-pass area according to the number of times of the round-trip handover of the electronic device in the target single-pass cell and a dual-card single-pass reason comprises:
if the back and forth switching times of the electronic equipment in the target single-pass cell indicate that the switching is not switched from double-card single-pass to double-card double-pass, determining that the electronic equipment meets a single-pass control condition;
And controlling the communication of the electronic equipment in the double-card single-pass area according to the double-card single-pass reason under the condition that the electronic equipment meets the single-pass control condition.
5. The method according to claim 3 or 4, wherein, in the case where the electronic device satisfies the single-pass control condition, controlling the call of the electronic device in the double-card single-pass area according to the double-card single-pass reason includes:
if the electronic equipment meets the single-pass control condition, if the double-card single-pass reason is that the phone card currently in communication is the second phone card and the phone card currently in communication is the first phone card, hanging up the communication of the phone card currently in communication in the double-card single-pass area, and switching the phone card currently in communication hold to a communication state; or,
and under the condition that the electronic equipment meets the single-pass control condition, if the double-card single-pass reason is that the phone card currently holding the call is the second phone card and the phone card currently carrying out the call is the first phone card, hanging up the call of the phone card currently holding the call in the double-card single-pass area and continuing the call of the phone card currently carrying out the call.
6. A method according to claim 3, characterized in that the method comprises:
if the electronic equipment is switched back to double-card double-pass after the double-pass interval time, determining that the electronic equipment meets a double-pass control condition;
and controlling the electronic equipment to concurrently perform double-card conversation under the condition that the electronic equipment meets the double-pass control condition.
7. The method of claim 2, wherein the two-way interval duration is determined based on a duration of the electronic device changing from two-card two-way to two-card one-way after the electronic device changes from the two-card one-way to the two-card two-way multiple times within the target single-way cell.
8. A call control apparatus applied to an electronic device supporting dual card dual pass, the apparatus comprising:
the obtaining module is configured to obtain a single-pass cell corresponding to the double-card single-pass area where the electronic equipment is currently located if the electronic equipment enters the double-card single-pass area from the double-card double-pass area under the condition that the electronic equipment is in double-card double-pass, wherein the single-pass cell is a cell supporting a first telephone card call and not supporting a second telephone card call;
the determining module is configured to determine a target single-pass cell from the historical single-pass cells according to the single-pass cell corresponding to the current double-card single-pass region;
The control module is configured to control the communication of the electronic equipment in the double-card single-pass area according to the back-and-forth switching times of the electronic equipment in the target single-pass cell and the double-card single-pass reason, wherein the back-and-forth switching times are times of back-and-forth switching between the double-card single-pass area and the double-card double-pass area.
9. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
if the electronic equipment enters a double-card single-pass area from the double-card double-pass area under the condition that the electronic equipment is in double-card double-pass, acquiring a single-pass cell corresponding to the double-card single-pass area where the electronic equipment is currently located, wherein the single-pass cell is a cell supporting a first telephone card call and not supporting a second telephone card call;
determining a target single-pass cell from the historical single-pass cells according to the single-pass cell corresponding to the current double-card single-pass region;
and controlling the communication of the electronic equipment in the double-card single-pass area according to the switching back and forth times of the electronic equipment in the target single-pass cell and the double-card single-pass reason, wherein the switching back and forth times are times of switching back and forth between the double-card single-pass area and the double-card double-pass area.
10. A computer readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the steps of the method of any of claims 1-7.
CN202211167748.1A 2022-09-23 2022-09-23 Call control method and device, electronic equipment and storage medium Pending CN117812576A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211167748.1A CN117812576A (en) 2022-09-23 2022-09-23 Call control method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211167748.1A CN117812576A (en) 2022-09-23 2022-09-23 Call control method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117812576A true CN117812576A (en) 2024-04-02

Family

ID=90430480

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211167748.1A Pending CN117812576A (en) 2022-09-23 2022-09-23 Call control method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117812576A (en)

Similar Documents

Publication Publication Date Title
CN109565753B (en) Method and device for controlling beam failure recovery process
CN111343686B (en) Data switching method and device and storage medium
CN107846730B (en) Call forwarding method and device
US11343741B2 (en) Data transmission method and device based on mobile network, and storage medium
CN108401525B (en) Power headroom report transmission method and device
CN106792937B (en) Method and device for processing call request
CN107635074B (en) Method, apparatus and computer-readable storage medium for controlling alarm
CN110383891B (en) Network switching resource determining method and network switching resource configuration method
CN113825196A (en) Network switching resource determining method and network switching resource configuration method
US20220256497A1 (en) Methods and apparatuses for receiving paging signaling, and methods and apparatuses for transmitting paging signaling
CN111343685B (en) Communication processing method, communication processing apparatus, and storage medium
CN113766484A (en) Communication method, communication apparatus, storage medium, and electronic device
CN108781377B (en) Timer control method and device, electronic equipment and computer readable storage medium
CN110875769A (en) Wireless communication device and antenna switching method
CN112188589A (en) Control method and device of terminal user identification card, terminal and storage medium
CN110337826B (en) Network switching resource determining method and network switching resource configuration method
CN110268746B (en) Cell switching method and device, switching configuration method and device and user equipment
CN106170141B (en) Mobile terminal network switching method and device
CN114630421A (en) Communication method, communication device, electronic equipment and readable storage medium
CN105227426B (en) Application interface switching method and device and terminal equipment
CN111837411A (en) Information sending method, base station switching method, information receiving method and device
CN109922203B (en) Terminal, screen off method and device
CN110337823B (en) Information configuration method and device, service processing method and device and base station
CN107708106B (en) User identification card management method and user identification card management device
CN117812576A (en) Call control method and device, electronic equipment and storage medium

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