CN113965644A - Data card switching method and device and electronic equipment - Google Patents

Data card switching method and device and electronic equipment Download PDF

Info

Publication number
CN113965644A
CN113965644A CN202111222423.4A CN202111222423A CN113965644A CN 113965644 A CN113965644 A CN 113965644A CN 202111222423 A CN202111222423 A CN 202111222423A CN 113965644 A CN113965644 A CN 113965644A
Authority
CN
China
Prior art keywords
data card
target
switching
target terminal
data
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
CN202111222423.4A
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202111222423.4A priority Critical patent/CN113965644A/en
Publication of CN113965644A publication Critical patent/CN113965644A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses a data card switching method and device and electronic equipment, and belongs to the technical field of communication. The data card switching method comprises the following steps: under the condition that a preset condition is met, switching a data card of a target terminal; wherein the preset condition comprises at least one of the following: the target terminal enters a target section; the current time enters the target time period.

Description

Data card switching method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a data card switching method and device and electronic equipment.
Background
Currently, most mobile terminals support dual card functions, and the dual cards may be data cards (e.g., SIM cards, etc.) of different operators. In using dual cards, SIM cards of different operators may have some degree of difference in network signal quality at different locations and/or periods. Therefore, the user needs to switch the data card of the mobile terminal to ensure the quality of the network signal.
However, an automatic data card switching scheme is still lacking in the prior art, so that a user can only manually switch data cards, the data card switching efficiency is low, and the user experience is poor.
Disclosure of Invention
The embodiment of the application aims to provide a data card switching method, a data card switching device and electronic equipment, which can realize automatic switching of data cards, so that the defect of low data card switching efficiency is overcome, and user experience is improved.
In a first aspect, an embodiment of the present application provides a data card switching method, where the method includes:
under the condition that a preset condition is met, switching a data card of a target terminal;
wherein the preset condition comprises at least one of the following:
the target terminal enters a target section;
the current time enters the target time period.
In a second aspect, an embodiment of the present application provides a data card switching apparatus, where the apparatus includes:
the switching module is used for switching the data card of the target terminal under the condition of meeting a preset condition;
wherein the preset condition comprises at least one of the following:
the target terminal enters a target section;
the current time enters the target time period.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
According to the data card switching method and device and the electronic equipment, the data card of the target terminal is automatically switched when the target terminal enters the target time interval and/or when the current time enters the target time interval, and compared with a method for manually switching the data card in the prior art, the data card switching efficiency is effectively improved, and therefore user experience is improved.
Drawings
Fig. 1 is a schematic flowchart of a data card switching method according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a data card switching device according to an embodiment of the present application;
FIG. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 4 is a schematic hardware structure diagram of an electronic device implementing an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The data card switching method, the data card switching device, and the electronic device provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 1 is a schematic flow chart of a data card switching method according to an embodiment of the present application. Referring to fig. 1, an embodiment of the present application provides a data card switching method, which may include:
step 110, switching the data card of the target terminal under the condition of meeting a preset condition;
wherein the preset condition comprises at least one of the following:
the target terminal enters a target section;
the current time enters the target time period.
It should be noted that the execution subject of the data card switching method provided in the embodiment of the present application may be an electronic device, a component in the electronic device, an integrated circuit, or a chip. The electronic device may be a mobile electronic device. The mobile electronic device may be, for example, a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a Personal Digital Assistant (PDA), and the embodiments of the present application are not limited in particular.
The following describes the technical solution of the present application in detail with a target terminal (e.g., a mobile phone, a tablet pc, etc.) as an execution subject.
And under the condition of meeting the preset condition, the target terminal can automatically switch the data card. The preset condition may include that the target terminal enters the target period and/or the current time enters the target period.
For example, when the target terminal enters the place B from the place a, the target terminal may automatically switch the first data card from the first operator currently used for internet access to the second data card from the second operator.
The target section may be a section obtained by big data analysis and satisfying the following conditions: in this region, the network quality provided by the first operator is inferior to the network quality provided by the second operator, and the network quality provided by the first operator may be perceived as stuck by the user.
The target segment may also be a target segment determined by historical behavior of the user. For example, if the user has historically entered location B from location a, and manually switched the data card, location B may be the target location.
For example, when the current time enters a target period a (e.g., 12:00-13:00, 13:15-14:00, etc.), the target terminal may automatically switch a first data card from a first operator currently used for surfing to a second data card from a second operator, or automatically switch a first data card from a first operator currently used for surfing to a second data card also from a first operator.
Wherein, the target time interval may be a time interval obtained by big data analysis and satisfying the following conditions: the network quality provided by the first data card is less than the network quality provided by the second data card for a period of time from the target time, and the network quality provided by the first data card may be perceived by the user as stuck.
The target period may also be a target period determined by historical behavior of the user. For example, when the user historically performs manual switching operation on the data card at 12:00-13:00 and 13:15-14:00, 12:00-13:00 and 13:15-14:00 can be used as target time periods.
According to the data card switching method provided by the embodiment of the application, the data card of the target terminal is automatically switched when the target terminal enters the target section and/or the current time enters the target time interval, and compared with a method for manually switching the data card in the prior art, the data card switching efficiency is effectively improved, so that the user experience is improved.
In one embodiment, in the case that the preset condition includes that the target terminal enters the target segment, the target segment is determined by:
determining a second signal intensity corresponding to a second data card after the data card is switched under the condition that the first data card of the target terminal is switched to the second data card when the target terminal enters a first section;
and under the condition that the second signal intensity is greater than the first signal intensity corresponding to the first data card before the data card is switched, determining the first section as a target section, and taking the second data card as the target data card.
The first data card is a data card currently used by the target terminal, and the second data card is a data card not currently used by the target terminal.
Correspondingly, the data card of the handover target terminal may include: and switching the first data card into a target data card.
Optionally, the foregoing embodiment may be specifically implemented as the following steps:
step 1, when the target terminal enters the first section a, if the user manually performs an operation of switching the data card (switching the first data card to the second data card), the target terminal may mark the event of switching the data card once.
Step 2, when the target terminal enters the first section a again, the target terminal can run a target script capable of automatically switching the data cards to switch the data cards, and simultaneously monitor the second signal intensity (signal intensity corresponding to the second data card) of the target terminal within a period of time after the data cards are switched and the first signal intensity (signal intensity corresponding to the first data card) of the target terminal within a period of time before the data cards are switched;
and 3, the target terminal can count the mark through big data analysis, and meanwhile, second signal intensity data and first signal intensity data of the target terminal after the data card is switched are exported.
And when the mark count is larger than the threshold value, the second signal intensity data is regarded as valid data, otherwise, the second signal intensity data is regarded as invalid data. The specific size of the threshold may be 2, 4, 10, and the like, and the specific size may be adjusted according to actual needs, which is not specifically limited in this embodiment of the application.
The first Signal strength and the second Signal strength may be expressed by using RSRP (Reference Signal Receiving Power).
And 4, the target terminal can compare the second signal intensity data with the first signal intensity data, and if the comparison can determine that the second signal intensities before and after switching the data card every time are greater than the first signal intensity or the average value of the second signal intensities before and after switching the data card for multiple times is greater than the average value of the first signal intensity, the target terminal can take the first section A as a target section and take the second data card as the target data card.
Then, whenever the target terminal enters the target segment a, the target script performs an operation of switching the data card to ensure that the target terminal can use the target data card in the target segment a.
Further, for the fixed daily travel route of the user, the plurality of target segments and the target data cards on the fixed daily travel route may be determined through the above steps 1 to 4, and then the target terminal may perform step 5:
and generating a data card switching scheme matched with the daily travel route of the user according to each target section on the fixed daily travel route.
It can be understood that after the data card switching scheme is generated, the target terminal may recommend the data card switching scheme to the user, and if the user inputs a confirmation instruction, the target terminal may implement automatic switching of the data card according to the data card switching scheme when the user goes out according to the daily trip route.
According to the data card switching method provided by the embodiment of the application, whether the first section is the target section is determined by comparing whether the signal strength before and after the data card is switched is enhanced when the target terminal enters the first section, so that the signal strength can be enhanced when the target terminal switches the data card in the target section, the switching effect of the data card is ensured, and the network communication quality of the target terminal is improved.
In one embodiment, in the case where the preset condition includes that the current time enters the target period, the target period is determined by:
under the condition that a first data card of a target terminal is switched to a second data card when the current time enters a first period, determining second signal intensity corresponding to the second data card after the data card is switched;
and under the condition that the second signal intensity is greater than the first signal intensity corresponding to the first data card before the data card is switched, determining the first time period as a target time period, and taking the second data card as the target data card.
Correspondingly, the data card of the handover target terminal may include: and switching the first data card into a target data card.
Optionally, the foregoing embodiment may be specifically implemented as the following steps:
step 1, when the current time enters a first period a-B, if a user manually performs an operation of switching a data card (switching a first data card to a second data card), the target terminal may mark an event of switching the data card once.
Step 2, when the current time enters the first time interval A-B again, the target terminal can run a target script capable of automatically switching the data cards to switch the data cards, and simultaneously monitor the second signal intensity (signal intensity corresponding to the second data card) of the target terminal within a period of time after the data cards are switched and the first signal intensity (signal intensity corresponding to the first data card) of the target terminal within a period of time before the data cards are switched;
and 3, the target terminal can count the mark through big data analysis, and meanwhile, second signal intensity data and first signal intensity data of the target terminal after the data card is switched are exported.
And when the mark count is larger than the threshold value, the second signal intensity data is regarded as valid data, otherwise, the second signal intensity data is regarded as invalid data.
And 4, the target terminal can compare the second signal intensity data with the first signal intensity data, and if the comparison can determine that the second signal intensities before and after switching the data card every time are greater than the first signal intensities or the average value of the second signal intensities before and after switching the data card for multiple times is greater than the average value of the first signal intensities, the target terminal takes the first time interval A-B as a target time interval and takes the second data card as the target data card.
Then, the target script switches the data card every time the current time enters the target time interval A-B, so as to ensure that the target terminal can use the target data card in the target time interval A-B.
Further, for a fixed daily trip period of the user, a plurality of target periods and target data cards in the fixed daily trip period may be determined through the above steps 1 to 4, and then, the target terminal may perform step 5:
and generating a data card switching scheme matched with the daily travel time period of the user according to each target time period in the fixed daily travel time period.
It can be understood that after the data card switching scheme is generated, the target terminal may recommend the data card switching scheme to the user, and if the user inputs a confirmation instruction, the target terminal may implement automatic switching of the data card according to the data card switching scheme when the user goes out according to the daily trip time period.
According to the data card switching method provided by the embodiment of the application, whether the first time period is the target time period is determined by comparing whether the signal intensity before and after the data card is switched is enhanced when the current time enters the first time period, and the fact that the signal intensity is enhanced when the target terminal switches the data card in the target time period can be guaranteed, so that the switching effect of the data card is ensured, and the network communication quality of the target terminal is improved.
In an embodiment, the data card switching method provided in the embodiment of the present application may further include:
for the same terminal activity track, under the condition that a plurality of preset conditions exist, a plurality of switching schemes are formed according to the plurality of preset conditions;
determining the signal intensity of the target terminal after the data card of the target terminal is switched every time in each switching scheme, and determining the weight of the corresponding switching scheme according to each signal intensity;
and taking the switching scheme with the highest weight value as a target switching scheme, and switching the data card of the target terminal according to the target switching scheme.
It should be noted that the terminal activity track may include at least one of the following:
the terminal moves along the geographical track, for example, the terminal starts from the place A, passes through the places B, C and D in sequence, and finally reaches the place E;
the activity track of the terminal in time, for example, the terminal uses the network data in the A-E period, the A-E period comprises the A-B period, the B-C period, the C-D period, the D-E period and the like.
For the same terminal activity track, the data card switching scheme obtained by the above embodiments is not necessarily better, because the behavior of manually switching the data card by the user may be random, or the network data usage requirements of the users in different areas/different time periods are different, so that the users do not perform the data card switching according to the same standard.
In the case that there are multiple preset conditions, the target terminal may randomly combine the multiple preset conditions to form multiple handover schemes. For example, for the same terminal activity trajectory, the target terminal may form the following handover scheme:
switching scheme A: card 1 → card 2 → card 1;
switching scheme B: card 2 → card 1;
switching scheme C: card 2 → card 1 → card 2;
after determining each switching scheme, the target terminal may determine the signal strength of the target terminal after switching the data card of the target terminal each time in each switching scheme, and determine the weight of the corresponding switching scheme according to an average value of the signal strengths.
For example, for the switching scheme a, if the signal strength of the target terminal is-75 dBm after the data card 1 is switched to the data card 2, and the signal strength of the target terminal is-45 dBm after the data card 2 is switched to the data card 1, the weight of the switching scheme a can be determined to be 90 according to the correspondence shown in table 1 based on-60 dBm which is the average value of-75 dBm and-45 dBm.
TABLE 1 signal strength average and weight corresponding relationship table
Figure BDA0003313101290000081
Figure BDA0003313101290000091
Likewise, it can be determined that the weight of the switching scheme B is 85 and the weight of the switching scheme C is 80.
Therefore, the target takes the switching scheme a with the highest weight value as the target switching scheme, and switches the data card of the target terminal according to the switching scheme a.
According to the data card switching method provided by the embodiment of the application, the weight corresponding to the switching scheme is determined based on the signal strength of the target terminal after the data card of the target terminal is switched every time, and the switching scheme with the highest weight is used as the final switching scheme, so that the final switching scheme can be ensured to be a better switching scheme, the switching effect of the data card is ensured, and the network communication quality of the target terminal is improved.
In an embodiment, the data card switching method provided in the embodiment of the present application may further include:
and for the same terminal activity track, under the condition that a plurality of terminals respectively have different target switching schemes, taking the target switching scheme with the highest weight as the optimal switching scheme, and switching the data card of the target terminal according to the optimal switching scheme.
It can be understood that, when a plurality of terminals respectively have respective better handover schemes, the values of the target handover schemes of the terminals may be compared, and the target handover scheme with the highest weight may be used as the optimal handover scheme.
For example, for the same terminal activity trace, the terminals A, B, C have the following target handover schemes, respectively:
target handover scheme a: card 1 → card 2 → card 1;
target handover scheme B: card 2 → card 1;
target handover scheme C: card 2 → card 1 → card 2;
by determining the signal strength of the terminal after switching the data card of the terminal each time in each target switching scheme, and determining the weight corresponding to the target switching scheme according to the average value of the signal strengths, it can be obtained that:
the weight of the target switching scheme a is 90, the weight of the target switching scheme B is 85, and the weight of the target switching scheme C is 80.
The target switching scheme a may be used as an optimal switching scheme so as to switch the data card of the target terminal according to the target switching scheme a.
According to the data card switching method provided by the embodiment of the application, the data card of the target terminal is switched by taking the target switching scheme with the highest weight as the optimal switching scheme under the condition that the plurality of terminals respectively have different target switching schemes, so that the final switching scheme can be ensured to be the optimal switching scheme, the switching effect of the data card is ensured, and the network communication quality of the target terminal is improved.
Further, after determining the optimal handover scheme from the different target handover schemes that the multiple terminals have respectively, the target terminal may also recommend the optimal handover scheme to other terminals having the same or similar terminal activity tracks.
It should be noted that, in the data card switching method provided in the embodiment of the present application, the execution main body may be a data card switching device, or a control module in the data card switching device for executing the data card switching method. The data card switching device provided in the embodiment of the present application is described by taking an example of a method for performing data card switching by a data card switching device.
Fig. 2 is a schematic structural diagram of a data card switching device according to an embodiment of the present application. Referring to fig. 2, an embodiment of the present application provides a data card switching apparatus, which may include:
the switching module 210 is configured to switch the data card of the target terminal when a preset condition is met;
wherein the preset condition comprises at least one of the following:
the target terminal enters a target section;
the current time enters the target time period.
According to the data card switching device provided by the embodiment of the application, the data card of the target terminal is automatically switched when the target terminal enters the target section and/or the current time enters the target time interval, and compared with a method for manually switching the data card in the prior art, the switching efficiency of the data card is effectively improved, so that the user experience is improved.
In one embodiment, in a case that the preset condition includes that the target terminal enters a target segment, the target segment is determined by:
when the target terminal enters a first section, under the condition that a first data card currently used by the target terminal is switched to a second data card, determining second signal intensity corresponding to the second data card after the data card is switched;
and under the condition that the second signal strength is greater than the first signal strength corresponding to the first data card before the data card is switched, determining the first section as the target section, and taking the second data card as the target data card.
In one embodiment, in the case that the preset condition includes that the current time enters a target period, the target period is determined by:
under the condition that a first data card currently used by a target terminal is switched to a second data card when the current time enters a first time interval, determining the second signal intensity corresponding to the second data card after the data card is switched;
and determining the first time period as the target time period and taking the second data card as a target data card when the second signal strength is greater than the first signal strength corresponding to the first data card before switching the data cards.
In an embodiment, the switching module 210 is specifically configured to:
and switching the first data card into the target data card.
In an embodiment, the data card switching apparatus provided in this embodiment of the present application further includes a switching scheme determining module (not shown in the figure), configured to:
for the same terminal activity track, under the condition that the preset conditions are multiple, multiple switching schemes are formed according to the multiple preset conditions;
determining the signal intensity of the target terminal after the data card of the target terminal is switched each time in each switching scheme, and determining the weight of the corresponding switching scheme according to each signal intensity;
and taking the switching scheme with the highest weight value as a target switching scheme, and switching the data card of the target terminal according to the target switching scheme.
In one embodiment, the handover scheme determination module is further configured to:
and for the same terminal activity track, under the condition that a plurality of terminals respectively have different target switching schemes, taking the target switching scheme with the highest weight value as an optimal switching scheme, and switching the data card of the target terminal according to the optimal switching scheme.
The data card switching device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The data card switching device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The data card switching device provided in the embodiment of the present application can implement each process implemented in the method embodiment of fig. 1, and is not described here again to avoid repetition.
Optionally, as shown in fig. 3, an electronic device 300 is further provided in this embodiment of the present application, and includes a processor 301, a memory 302, and a program or an instruction stored in the memory 302 and capable of being executed on the processor 301, where the program or the instruction is executed by the processor 301 to implement each process of the data card switching method embodiment, and can achieve the same technical effect, and in order to avoid repetition, it is not described here again.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 4 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 400 includes, but is not limited to: radio unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, and processor 410.
Those skilled in the art will appreciate that the electronic device 400 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 4 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 410 is used for switching the data card of the target terminal under the condition that a preset condition is met;
wherein the preset condition comprises at least one of the following:
the target terminal enters a target section;
the current time enters the target time period.
According to the electronic equipment provided by the embodiment of the application, the data card of the target terminal is automatically switched when the target terminal enters the target section and/or the current time enters the target time period, and compared with a method for manually switching the data card in the prior art, the switching efficiency of the data card is effectively improved, so that the user experience is improved.
In one embodiment, in a case that the preset condition includes that the target terminal enters a target segment, the target segment is determined by:
when the target terminal enters a first section, under the condition that a first data card currently used by the target terminal is switched to a second data card, determining second signal intensity corresponding to the second data card after the data card is switched;
and under the condition that the second signal strength is greater than the first signal strength corresponding to the first data card before the data card is switched, determining the first section as the target section, and taking the second data card as the target data card.
In one embodiment, in the case that the preset condition includes that the current time enters a target period, the target period is determined by:
under the condition that a first data card currently used by a target terminal is switched to a second data card when the current time enters a first time interval, determining second signal intensity corresponding to the second data card after the data card is switched;
and determining the first time period as the target time period and taking the second data card as a target data card when the second signal strength is greater than the first signal strength corresponding to the first data card before switching the data cards.
In one embodiment, the processor 410 is specifically configured to:
and switching the first data card into the target data card.
In one embodiment, the processor 410 is further configured to:
for the same terminal activity track, under the condition that the preset conditions are multiple, multiple switching schemes are formed according to the multiple preset conditions;
determining the signal intensity of the target terminal after the data card of the target terminal is switched each time in each switching scheme, and determining the weight of the corresponding switching scheme according to each signal intensity;
and taking the switching scheme with the highest weight value as a target switching scheme, and switching the data card of the target terminal according to the target switching scheme.
In one embodiment, the processor 410 is further configured to:
and for the same terminal activity track, under the condition that a plurality of terminals respectively have different target switching schemes, taking the target switching scheme with the highest weight value as an optimal switching scheme, and switching the data card of the target terminal according to the optimal switching scheme.
It should be understood that in the embodiment of the present application, the input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 407 includes a touch panel 4071 and other input devices 4072. A touch panel 4071, also referred to as a touch screen. The touch panel 4071 may include two parts, a touch detection device and a touch controller. Other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 409 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 410 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the data card switching method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above data card switching method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A data card switching method is characterized by comprising the following steps:
under the condition that a preset condition is met, switching a data card of a target terminal;
wherein the preset condition comprises at least one of the following:
the target terminal enters a target section;
the current time enters the target time period.
2. The data card switching method according to claim 1, wherein in a case where the preset condition includes that the target terminal enters a target segment, the target segment is determined by:
when the target terminal enters a first section, under the condition that a first data card currently used by the target terminal is switched to a second data card, determining second signal intensity corresponding to the second data card after the data card is switched;
and under the condition that the second signal strength is greater than the first signal strength corresponding to the first data card before the data card is switched, determining the first section as the target section, and taking the second data card as the target data card.
3. The data card switching method according to claim 1, wherein in a case where the preset condition includes that the current time enters a target period, the target period is determined by:
under the condition that a first data card currently used by a target terminal is switched to a second data card when the current time enters a first time interval, determining second signal intensity corresponding to the second data card after the data card is switched;
and determining the first time period as the target time period and taking the second data card as a target data card when the second signal strength is greater than the first signal strength corresponding to the first data card before switching the data cards.
4. The data card switching method according to claim 2 or 3, wherein the data card of the switching target terminal includes:
and switching the first data card into the target data card.
5. The data card switching method according to claim 1, further comprising:
for the same terminal activity track, under the condition that the preset conditions are multiple, multiple switching schemes are formed according to the multiple preset conditions;
determining the signal intensity of the target terminal after the data card of the target terminal is switched each time in each switching scheme, and determining the weight of the corresponding switching scheme according to each signal intensity;
and taking the switching scheme with the highest weight value as a target switching scheme, and switching the data card of the target terminal according to the target switching scheme.
6. The data card switching method according to claim 5, further comprising:
and for the same terminal activity track, under the condition that a plurality of terminals respectively have different target switching schemes, taking the target switching scheme with the highest weight value as an optimal switching scheme, and switching the data card of the target terminal according to the optimal switching scheme.
7. A data card switching apparatus, comprising:
the switching module is used for switching the data card of the target terminal under the condition of meeting a preset condition;
wherein the preset condition comprises at least one of the following:
the target terminal enters a target section;
the current time enters the target time period.
8. The data-card switching apparatus according to claim 7, wherein in the case that the preset condition includes that the target terminal enters a target segment, the target segment is determined by:
when the target terminal enters a first section, under the condition that a first data card currently used by the target terminal is switched to a second data card, determining second signal intensity corresponding to the second data card after the data card is switched;
and under the condition that the second signal strength is greater than the first signal strength corresponding to the first data card before the data card is switched, determining the first section as the target section, and taking the second data card as the target data card.
9. The data-card switching apparatus according to claim 7, wherein in the case where the preset condition includes that the current time enters a target period, the target period is determined by:
under the condition that a first data card currently used by a target terminal is switched to a second data card when the current time enters a first time interval, determining second signal intensity corresponding to the second data card after the data card is switched;
and determining the first time period as the target time period and taking the second data card as a target data card when the second signal strength is greater than the first signal strength corresponding to the first data card before switching the data cards.
10. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the data card switching method of any one of claims 1 to 6.
CN202111222423.4A 2021-10-20 2021-10-20 Data card switching method and device and electronic equipment Pending CN113965644A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111222423.4A CN113965644A (en) 2021-10-20 2021-10-20 Data card switching method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111222423.4A CN113965644A (en) 2021-10-20 2021-10-20 Data card switching method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN113965644A true CN113965644A (en) 2022-01-21

Family

ID=79464890

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111222423.4A Pending CN113965644A (en) 2021-10-20 2021-10-20 Data card switching method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN113965644A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103167476A (en) * 2013-03-12 2013-06-19 广东欧珀移动通信有限公司 Method and device for dynamically switching over a plurality of SIM (subscriber identity module) cards of mobile terminal
CN107659909A (en) * 2017-09-05 2018-02-02 维沃移动通信有限公司 The switching method and mobile terminal of a kind of SIM card
CN112311934A (en) * 2020-09-30 2021-02-02 重庆传音通讯技术有限公司 Data card switching method, intelligent terminal and computer readable storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103167476A (en) * 2013-03-12 2013-06-19 广东欧珀移动通信有限公司 Method and device for dynamically switching over a plurality of SIM (subscriber identity module) cards of mobile terminal
CN107659909A (en) * 2017-09-05 2018-02-02 维沃移动通信有限公司 The switching method and mobile terminal of a kind of SIM card
CN112311934A (en) * 2020-09-30 2021-02-02 重庆传音通讯技术有限公司 Data card switching method, intelligent terminal and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN112540740A (en) Split screen display method and device, electronic equipment and readable storage medium
CN112188001B (en) Shortcut setting method, shortcut setting device, electronic equipment and readable storage medium
CN113138818A (en) Interface display method and device and electronic equipment
CN112486444A (en) Screen projection method, device, equipment and readable storage medium
CN112286612A (en) Information display method and device and electronic equipment
CN112083854A (en) Application program running method and device
CN111866976A (en) Network switching method and device
CN112181559A (en) Interface display method and device and electronic equipment
CN116193419A (en) Communication method, device and equipment
CN113821138B (en) Prompting method and device and electronic equipment
CN112486387A (en) Application program control method and device
CN112929734A (en) Screen projection method and device and electronic equipment
CN112199149A (en) Interface rendering method and device and electronic equipment
CN112333439A (en) Face cleaning equipment control method and device and electronic equipment
CN111857997A (en) Application program body-separating identification display method, device, equipment and medium
CN113965644A (en) Data card switching method and device and electronic equipment
CN115718581A (en) Information display method and device, electronic equipment and storage medium
CN112269510B (en) Information processing method and device and electronic equipment
CN113778311A (en) Operation method and device and electronic equipment
CN112286429B (en) Control method and control device of electronic equipment and electronic equipment
CN113271494A (en) Video frame processing method and device and electronic equipment
CN111813741A (en) File sharing method and electronic equipment
CN113938966B (en) Call control method and call control device
CN114337872B (en) Network signal measurement method and device
CN112437196B (en) Page display method and device and electronic equipment

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20220121