Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
The embodiment of the invention provides an information processing method, which is applied to electronic equipment, wherein the electronic equipment is provided with at least two intelligent card slots; specifically, the electronic device may be a mobile phone, a tablet computer, or other electronic device with a multi-card and multi-mode function. Fig. 1 is a schematic flowchart of an information processing method according to a first embodiment of the present invention; as shown in fig. 1, the information processing method according to the embodiment of the present invention includes:
step 101: detecting a smart card in the smart card slot, and acquiring a first parameter of the smart card; the first parameter is used for representing network communication information of the smart card.
Here, the network communication information of the smart card is a network communication type of the smart card, and the network communication type is, for example: mobile 2G/3G, unicom 2G/3G or telecom 2G/3G, etc.
Specifically, the electronic device may obtain a first parameter of the smart card in the smart card slot from the operator of the smart card by communicating with a server of the operator of the smart card; or, the electronic device may also detect a smart Card in the smart Card slot, obtain a Card number in the smart Card, that is, an Integrated Circuit Card Identification (ICCID), and determine a first parameter of the smart Card according to the ICCID; for example, the first six digits of the ICCID represent the network operator of the smart card, such as 898600 for china mobile; 898601 denotes Unicom, China; 898603 denotes China telecom; and the seventh bit of the ICCID represents a service access code.
Step 102: acquiring a second parameter of a smart card slot in which the smart card is positioned; the second parameter is used for representing communication system information corresponding to the smart card slot.
Here, the communication system information corresponding to the smart card slot is a network communication type of a communication channel corresponding to the smart card slot, and the network communication type is, for example, mobile 2G/3G, unicom 2G/3G, telecom 2G/3G, or the like.
Specifically, the electronic device may determine the network communication type of the communication channel corresponding to the smart card slot by obtaining a communication frequency interval of the communication channel corresponding to the smart card slot; and the communication frequency interval of the communication channel corresponding to the smart card slot is pre-configured when the electronic equipment leaves a factory.
Step 103: and judging whether the first parameter is matched with the second parameter or not to obtain a first judgment result.
Step 104: and when the first judgment result shows that the first parameter is not matched with the second parameter, processing according to a preset rule.
Here, the determining whether the first parameter and the second parameter match is: judging whether the network communication type of the intelligent card is matched with the network communication type of a communication channel corresponding to the intelligent card slot; specifically, the determining whether the network communication type of the communication channel corresponding to the smart card slot in the network communication type domain of the smart card matches: judging whether the network communication type of the communication channel corresponding to the intelligent card slot of the network communication type domain of the intelligent card is completely matched or not; for example, when the first parameter of the smart card indicates that the network communication type of the smart card is mobile 2G/3G, and the second parameter of the smart card slot indicates that the network communication type of the network communication channel corresponding to the smart card slot is mobile 2G/3G, it is determined that the first parameter of the smart card and the second parameter of the smart card slot are matched and consistent; and when the first parameter of the smart card represents that the network communication type of the smart card is mobile 2G/3G, and the second parameter of the smart card slot represents that the network communication type of the network communication channel corresponding to the smart card slot is mobile 2G, determining that the first parameter of the smart card is inconsistent with the second parameter of the smart card slot in matching.
In this embodiment, the preset rule is to prompt a user to perform manual processing; or automatically matching the second parameter of the smart card slot in which the smart card is positioned.
Specifically, the prompting of the user by manual processing is as follows: and displaying prompt information on a display screen of the electronic equipment, wherein the prompt information is used for prompting a user to manually process so that the user reinserts the smart card according to the prompt information and the second parameter of the smart card slot.
The second parameter for automatically matching the smart card slot in which the smart card is located is as follows: and the electronic equipment automatically matches a second parameter of the smart card slot where the smart card is located according to the first parameter of the smart card, so that the second parameter is consistent with the first parameter in matching.
Therefore, when the electronic equipment detects that the first parameter of the inserted intelligent card is not matched with the second parameter of the card slot inserted by the intelligent card, the electronic equipment can process the first parameter according to the presetting, the problem that the intelligent card is not matched with the card slot of the intelligent card due to the wrong insertion position of the intelligent card in the multi-card multi-mode electronic equipment is solved, and the user experience is greatly improved.
The embodiment of the invention also provides an information processing method, which is applied to electronic equipment, wherein the electronic equipment is provided with at least two intelligent card slots; specifically, the electronic device may be a mobile phone, a tablet computer, or other electronic device with a multi-card and multi-mode function. FIG. 2 is a flowchart illustrating an information processing method according to a second embodiment of the present invention; as shown in fig. 2, the information processing method according to the embodiment of the present invention includes:
step 201: detecting a smart card in the smart card slot, and acquiring a first parameter of the smart card; the first parameter is used for representing network communication information of the smart card.
Here, the network communication information of the smart card is a network communication type of the smart card, and the network communication type is, for example: mobile 2G/3G, unicom 2G/3G or telecom 2G/3G, etc.
Specifically, the electronic device may obtain a first parameter of the smart card in the smart card slot from the operator of the smart card by communicating with a server of the operator of the smart card; or, the electronic device may also detect a smart card in the smart card slot, obtain a card number in the smart card, that is, an ICCID, and determine a first parameter of the smart card according to the ICCID; for example, the first six digits of the ICCID represent the network operator of the smart card, such as 898600 for china mobile; 898601 denotes Unicom, China; 898603 denotes China telecom; and the seventh bit of the ICCID represents a service access code.
Step 202: acquiring a second parameter of a smart card slot in which the smart card is positioned; the second parameter is used for representing communication system information corresponding to the smart card slot.
Here, the communication system information corresponding to the smart card slot is a network communication type of a communication channel corresponding to the smart card slot, and the network communication type is, for example, mobile 2G/3G, unicom 2G/3G, telecom 2G/3G, or the like.
Specifically, the electronic device may determine the network communication type of the communication channel corresponding to the smart card slot by obtaining a communication frequency interval of the communication channel corresponding to the smart card slot; and the communication frequency interval of the communication channel corresponding to the smart card slot is pre-configured when the electronic equipment leaves a factory.
Step 203: and judging whether the first parameter is matched with the second parameter or not to obtain a first judgment result.
Step 204: when the first judgment result is that the first parameter is not matched with the second parameter, displaying the first information; the first information is used for representing that the first parameter is not matched with the second parameter so as to prompt a user to reinsert the smart card according to the second parameters of the at least two smart card slots.
Here, the determining whether the first parameter and the second parameter match is: judging whether the network communication type of the intelligent card is matched with the network communication type of a communication channel corresponding to the intelligent card slot; specifically, the determining whether the network communication type of the communication channel corresponding to the smart card slot in the network communication type domain of the smart card matches: judging whether the network communication type of the communication channel corresponding to the intelligent card slot of the network communication type domain of the intelligent card is completely matched or not; for example, when the first parameter of the smart card indicates that the network communication type of the smart card is mobile 2G/3G, and the second parameter of the smart card slot indicates that the network communication type of the network communication channel corresponding to the smart card slot is mobile 2G/3G, it is determined that the first parameter of the smart card and the second parameter of the smart card slot are matched and consistent; and when the first parameter of the smart card represents that the network communication type of the smart card is mobile 2G/3G, and the second parameter of the smart card slot represents that the network communication type of the network communication channel corresponding to the smart card slot is mobile 2G, determining that the first parameter of the smart card is inconsistent with the second parameter of the smart card slot in matching.
In this embodiment, when the first parameter of the smart card is not matched with the second parameter of the smart card slot where the smart card is located, the first information is displayed on the display screen or the display of the electronic device, so that the user manually re-inserts the smart card according to the first information, and the inserted first parameter of the smart card is matched with the second parameter of the smart card slot.
Like this, when electronic equipment detects the first parameter of the intelligent card of inserting with the second parameter of intelligent card inserted draw-in groove is not matchd, can show prompt message on electronic equipment's the display screen to make the user according to the manual intelligent card that reinserts of prompt message has solved many cards multimode electronic equipment, because the intelligent card misplaces makes the unmatched problem of intelligent card and intelligent card draw-in groove, avoided because the user is not aware, make the intelligent card that has high transmission rate insert on the intelligent card draw-in groove of low transmission rate, promoted user's experience greatly.
The embodiment of the invention also provides an information processing method, which is applied to electronic equipment, wherein the electronic equipment is provided with at least two intelligent card slots; specifically, the electronic device may be a mobile phone, a tablet computer, or other electronic device with a multi-card and multi-mode function. FIG. 3 is a flowchart illustrating an information processing method according to a third embodiment of the present invention; as shown in fig. 3, the information processing method according to the embodiment of the present invention includes:
step 301: detecting a smart card in the smart card slot, and acquiring a first parameter of the smart card; the first parameter is used for representing network communication information of the smart card.
Here, the network communication information of the smart card is a network communication type of the smart card, and the network communication type is, for example: mobile 2G/3G, unicom 2G/3G or telecom 2G/3G, etc.
Specifically, the electronic device may obtain a first parameter of the smart card in the smart card slot from the operator of the smart card by communicating with a server of the operator of the smart card; or, the electronic device may also detect a smart card in the smart card slot, obtain a card number in the smart card, that is, an ICCID, and determine a first parameter of the smart card according to the ICCID; for example, the first six digits of the ICCID represent the network operator of the smart card, such as 898600 for china mobile; 898601 denotes Unicom, China; 898603 denotes China telecom; and the seventh bit of the ICCID represents a service access code.
Step 302: acquiring a second parameter of a smart card slot in which the smart card is positioned; the second parameter is used for representing communication system information corresponding to the smart card slot.
Here, the communication system information corresponding to the smart card slot is a network communication type of a communication channel corresponding to the smart card slot, and the network communication type is, for example, mobile 2G/3G, unicom 2G/3G, telecom 2G/3G, or the like.
Specifically, the electronic device may determine the network communication type of the communication channel corresponding to the smart card slot by obtaining a communication frequency interval of the communication channel corresponding to the smart card slot; and the communication frequency interval of the communication channel corresponding to the smart card slot is pre-configured when the electronic equipment leaves a factory.
Step 303: and judging whether the first parameter is matched with the second parameter or not to obtain a first judgment result.
Step 304: and when the first judgment result shows that the first parameter is not matched with the second parameter, automatically matching the second parameter of the smart card slot where the smart card is located according to the first parameter of the smart card so as to enable the second parameter to be matched with the first parameter consistently.
Here, the determining whether the first parameter and the second parameter match is: judging whether the network communication type of the intelligent card is matched with the network communication type of a communication channel corresponding to the intelligent card slot; specifically, the determining whether the network communication type of the communication channel corresponding to the smart card slot in the network communication type domain of the smart card matches: judging whether the network communication type of the communication channel corresponding to the intelligent card slot of the network communication type domain of the intelligent card is completely matched or not; for example, when the first parameter of the smart card indicates that the network communication type of the smart card is mobile 2G/3G, and the second parameter of the smart card slot indicates that the network communication type of the network communication channel corresponding to the smart card slot is mobile 2G/3G, it is determined that the first parameter of the smart card and the second parameter of the smart card slot are matched and consistent; and when the first parameter of the smart card represents that the network communication type of the smart card is mobile 2G/3G, and the second parameter of the smart card slot represents that the network communication type of the network communication channel corresponding to the smart card slot is mobile 2G, determining that the first parameter of the smart card is inconsistent with the second parameter of the smart card slot in matching.
In this embodiment, when the first parameter of the smart card is not matched with the second parameter of the smart card slot where the smart card is located, the second parameter of the smart card slot where the smart card is located may be automatically matched according to the first parameter of the smart card, so that the second parameter is matched with the first parameter; wherein, according to the first parameter of the smart card, automatically matching the second parameter of the smart card slot in which the smart card is located, comprises:
enabling the electronic device to initialize to reconfigure a second parameter of the smart card slot;
detecting second parameters of the at least two smart card slots, and judging whether the first parameters of the smart card are matched with the second parameters of the at least two smart card slots to obtain a second judgment result;
and when the second judgment result is that the first parameter of the smart card is matched with the second parameter of any one of the at least two smart card slots, configuring the second parameter of the smart card slot in which the smart card is located according to the first parameter of the smart card so as to enable the second parameter to be matched with the first parameter.
Specifically, the initialization of the electronic device may be manually triggered through a first operation of a user; for example, when a first parameter of the smart card is not matched with a second parameter of a smart card slot in which the smart card is located, a display screen or a display of the electronic device displays prompt information, where the prompt information is used to indicate whether the initialization of the electronic device needs to be triggered; so that a user triggers initialization of the electronic equipment through a first operation; or when the first matching result is that the first parameter of the smart card is not matched with the second parameter of the smart card slot where the smart card is located, the electronic equipment automatically triggers the initialization operation of the electronic equipment according to the first matching result. The initialization operation of the electronic equipment is a restart operation of the electronic equipment in practical application.
Wherein, the detecting the second parameters of the at least two smart card slots, and determining whether the first parameters of the smart card are matched with the second parameters of the at least two smart card slots, are: the electronic equipment detects whether second parameters of all the smart card slots are matched with the first parameters of the smart cards or not, and aims to judge whether network communication types of communication channels corresponding to all the smart card slots of the electronic equipment are matched with the network communication types of the smart cards or not, namely whether the electronic equipment supports the smart cards or not.
When the second judgment result is that the first parameter of the smart card is matched with the second parameters of the at least two smart card slots, the electronic equipment is explained to support the smart card; and reconfiguring a second parameter of the smart card slot in which the smart card is positioned according to the first parameter of the smart card so as to enable the second parameter to be matched with the first parameter.
Therefore, when the electronic equipment detects that the first parameter of the inserted smart card is not matched with the second parameter of the smart card slot, the second parameter of the smart card slot where the smart card is located can be automatically matched according to the first parameter of the smart card, so that the second parameter is consistent with the first parameter in matching, the problem that the smart card is not matched with the smart card slot due to the wrong position of the smart card in multi-card multimode electronic equipment is solved, the situation that the smart card with high transmission rate is inserted into the smart card slot with low transmission rate due to the unknown condition of a user is avoided, and the user experience is greatly improved.
The embodiment of the invention also provides an information processing method, which is applied to electronic equipment, wherein the electronic equipment is provided with at least two intelligent card slots; specifically, the electronic device may be a mobile phone, a tablet computer, or other electronic device with a multi-card and multi-mode function. FIG. 4 is a flowchart illustrating an information processing method according to a fourth embodiment of the present invention; as shown in fig. 4, the information processing method according to the embodiment of the present invention includes:
step 401: detecting a smart card in the smart card slot, and acquiring a first parameter of the smart card; the first parameter is used for representing network communication information of the smart card.
Here, the network communication information of the smart card is a network communication type of the smart card, and the network communication type is, for example: mobile 2G/3G, unicom 2G/3G or telecom 2G/3G, etc.
Specifically, the electronic device may obtain a first parameter of the smart card in the smart card slot from the operator of the smart card by communicating with a server of the operator of the smart card; or, the electronic device may also detect a smart card in the smart card slot, obtain a card number in the smart card, that is, an ICCID, and determine a first parameter of the smart card according to the ICCID; for example, the first six digits of the ICCID represent the network operator of the smart card, such as 898600 for china mobile; 898601 denotes Unicom, China; 898603 denotes China telecom; and the seventh bit of the ICCID represents a service access code.
Step 402: acquiring a second parameter of a smart card slot in which the smart card is positioned; the second parameter is used for representing communication system information corresponding to the smart card slot.
Here, the communication system information corresponding to the smart card slot is a network communication type of a communication channel corresponding to the smart card slot, and the network communication type is, for example, mobile 2G/3G, unicom 2G/3G, telecom 2G/3G, or the like.
Specifically, the electronic device may determine the network communication type of the communication channel corresponding to the smart card slot by obtaining a communication frequency interval of the communication channel corresponding to the smart card slot; and the communication frequency interval of the communication channel corresponding to the smart card slot is pre-configured when the electronic equipment leaves a factory.
Step 403: and judging whether the first parameter is matched with the second parameter or not to obtain a first judgment result.
Step 404: and when the first judgment result shows that the first parameter is not matched with the second parameter, automatically matching the second parameter of the smart card slot where the smart card is located according to the first parameter of the smart card.
Here, the determining whether the first parameter and the second parameter match is: judging whether the network communication type of the intelligent card is matched with the network communication type of a communication channel corresponding to the intelligent card slot; specifically, the determining whether the network communication type of the communication channel corresponding to the smart card slot in the network communication type domain of the smart card matches: judging whether the network communication type of the communication channel corresponding to the intelligent card slot of the network communication type domain of the intelligent card is completely matched or not; for example, when the first parameter of the smart card indicates that the network communication type of the smart card is mobile 2G/3G, and the second parameter of the smart card slot indicates that the network communication type of the network communication channel corresponding to the smart card slot is mobile 2G/3G, it is determined that the first parameter of the smart card and the second parameter of the smart card slot are matched and consistent; and when the first parameter of the smart card represents that the network communication type of the smart card is mobile 2G/3G, and the second parameter of the smart card slot represents that the network communication type of the network communication channel corresponding to the smart card slot is mobile 2G, determining that the first parameter of the smart card is inconsistent with the second parameter of the smart card slot in matching.
In this embodiment, when the first parameter of the smart card is not matched with the second parameter of the smart card slot where the smart card is located, the second parameter of the smart card slot where the smart card is located may be automatically matched according to the first parameter of the smart card, so that the second parameter is matched with the first parameter; wherein, according to the first parameter of the smart card, automatically matching the second parameter of the smart card slot in which the smart card is located, comprises:
enabling the electronic device to initialize to reconfigure a second parameter of the smart card slot;
detecting second parameters of the at least two smart card slots, and judging whether the first parameters of the smart card are matched with the second parameters of the at least two smart card slots to obtain a second judgment result;
and when the second judgment result is that the first parameter of the smart card is matched with the second parameter of any one of the at least two smart card slots, configuring the second parameter of the smart card slot in which the smart card is located according to the first parameter of the smart card so as to enable the second parameter to be matched with the first parameter.
Specifically, the initialization of the electronic device may be manually triggered through a first operation of a user; for example, when a first parameter of the smart card is not matched with a second parameter of a smart card slot in which the smart card is located, a display screen or a display of the electronic device displays prompt information, where the prompt information is used to indicate whether the initialization of the electronic device needs to be triggered; so that a user triggers initialization of the electronic equipment through a first operation; or when the first matching result is that the first parameter of the smart card is not matched with the second parameter of the smart card slot where the smart card is located, the electronic equipment automatically triggers the initialization operation of the electronic equipment according to the first matching result. The initialization operation of the electronic equipment is a restart operation of the electronic equipment in practical application.
Wherein, the detecting the second parameters of the at least two smart card slots, and determining whether the first parameters of the smart card are matched with the second parameters of the at least two smart card slots, are: the electronic equipment detects whether second parameters of all the smart card slots are matched with the first parameters of the smart cards or not, and aims to judge whether network communication types of communication channels corresponding to all the smart card slots of the electronic equipment are matched with the network communication types of the smart cards or not, namely whether the electronic equipment supports the smart cards or not.
Step 405: when the second parameter and the first parameter cannot be matched and consistent, displaying error information; the error information is used for representing that the intelligent card is not supported by the electronic equipment.
In this embodiment, when the two parameters are not matched and consistent with the first parameter, it is indicated that the electronic device does not support the smart card, that is, the network communication types of the smart card are not matched in the network communication type domains of the communication channels corresponding to all the smart card slots of the electronic device; the display or display screen of the electronic device presents an error message.
Therefore, when the electronic equipment detects that the first parameter of the inserted smart card is not matched with the second parameter of the smart card slot, the second parameter of the smart card slot where the smart card is located can be automatically matched according to the first parameter of the smart card, so that the second parameter is consistent with the first parameter in matching, the problem that the smart card is not matched with the smart card slot due to the wrong position of the smart card in multi-card multimode electronic equipment is solved, the situation that the smart card with high transmission rate is inserted into the smart card slot with low transmission rate due to the unknown condition of a user is avoided, and the user experience is greatly improved.
The embodiment of the invention also provides electronic equipment, wherein the electronic equipment is provided with at least two intelligent card slots; specifically, the electronic device may be a mobile phone, a tablet computer, or other electronic device with a multi-card and multi-mode function. FIG. 5 is a schematic diagram of a structure of an electronic device according to an embodiment of the invention; as shown in fig. 5, the electronic device includes: a detection unit 51, an acquisition unit 52, and a matching processing unit 53; wherein,
the detection unit 51 is configured to detect the smart cards in the at least two smart card slots, acquire a first parameter of the smart cards, and send the first parameter to the matching processing unit 53; the first parameter is used for representing network communication information of the smart card;
the obtaining unit 52 is configured to obtain a second parameter of the smart card slot where the smart card is located, and send the second parameter to the matching processing unit 53; the second parameter is used for representing communication system information corresponding to the smart card slot;
the matching processing unit 53 is configured to determine whether the first parameter sent by the detecting unit 51 is matched with the second parameter sent by the obtaining unit 52, so as to obtain a first determination result; and when the first judgment result shows that the first parameter is not matched with the second parameter, processing according to a preset rule.
It should be understood by those skilled in the art that the functions of each processing unit in the electronic device according to the embodiment of the present invention may be understood by referring to the description of the information processing method, and each processing unit in the electronic device according to the embodiment of the present invention may be implemented by an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by running software that executes the functions described in the embodiment of the present invention on an intelligent terminal.
The embodiment of the invention also provides electronic equipment, wherein the electronic equipment is provided with at least two intelligent card slots; specifically, the electronic device may be a mobile phone, a tablet computer, or other electronic device with a multi-card and multi-mode function. Fig. 6 is a schematic structural diagram of an electronic device according to a sixth embodiment of the present invention; as shown in fig. 6, the electronic apparatus includes: a detection unit 51, an acquisition unit 52, a matching processing unit 53, and a display unit 54; wherein,
the detection unit 51 is configured to detect the smart cards in the at least two smart card slots, acquire a first parameter of the smart cards, and send the first parameter to the matching processing unit 53; the first parameter is used for representing network communication information of the smart card;
the obtaining unit 52 is configured to obtain a second parameter of the smart card slot where the smart card is located, and send the second parameter to the matching processing unit 53; the second parameter is used for representing communication system information corresponding to the smart card slot;
the matching processing unit 53 is configured to determine whether the first parameter sent by the detecting unit 51 is matched with the second parameter sent by the obtaining unit 52, so as to obtain a first determination result; when the first judgment result is that the first parameter is not matched with the second parameter, sending first information to the display unit 54; the first information is used for representing that the first parameter is not matched with the second parameter;
the display unit 54 is configured to display the first information sent by the matching processing unit 53, so as to prompt the user to reinsert the smart card according to the second parameters of the at least two smart card slots.
It should be understood by those skilled in the art that the functions of each processing unit in the electronic device according to the embodiment of the present invention may be understood by referring to the description of the information processing method, and each processing unit in the electronic device according to the embodiment of the present invention may be implemented by an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by running software that executes the functions described in the embodiment of the present invention on an intelligent terminal.
The embodiment of the invention also provides electronic equipment, wherein the electronic equipment is provided with at least two intelligent card slots; specifically, the electronic device may be a mobile phone, a tablet computer, or other electronic device with a multi-card and multi-mode function. As shown in fig. 5, the electronic device includes: a detection unit 51, an acquisition unit 52, and a matching processing unit 53; wherein,
the detection unit 51 is configured to detect the smart cards in the at least two smart card slots, acquire a first parameter of the smart cards, and send the first parameter to the matching processing unit 53; the first parameter is used for representing network communication information of the smart card;
the obtaining unit 52 is configured to obtain a second parameter of the smart card slot where the smart card is located, and send the second parameter to the matching processing unit 53; the second parameter is used for representing communication system information corresponding to the smart card slot;
the matching processing unit 53 is configured to determine whether the first parameter sent by the detecting unit 51 is matched with the second parameter sent by the obtaining unit 52, so as to obtain a first determination result; and when the first judgment result shows that the first parameter is not matched with the second parameter, automatically matching the second parameter of the smart card slot where the smart card is located according to the first parameter of the smart card so as to match the second parameter with the first parameter.
Specifically, in this embodiment, the matching processing unit 53 is specifically configured to enable the electronic device to initialize to reconfigure a second parameter of the smart card slot; detecting second parameters of the at least two smart card slots, and judging whether the first parameters of the smart card are matched with the second parameters of the at least two smart card slots to obtain a second judgment result; and when the second judgment result is that the first parameter of the smart card is matched with the second parameter of any one of the at least two smart card slots, configuring the second parameter of the smart card slot in which the smart card is located according to the first parameter of the smart card so as to enable the second parameter to be matched with the first parameter.
The matching processing unit 53 is configured to automatically trigger an initialization operation of the electronic device when the first matching result is that the first parameter does not match the second parameter; or enabling the electronic equipment to be initialized according to the acquired first operation.
It should be understood by those skilled in the art that the functions of each processing unit in the electronic device according to the embodiment of the present invention may be understood by referring to the description of the information processing method, and each processing unit in the electronic device according to the embodiment of the present invention may be implemented by an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by running software that executes the functions described in the embodiment of the present invention on an intelligent terminal.
The embodiment of the invention also provides electronic equipment, wherein the electronic equipment is provided with at least two intelligent card slots; specifically, the electronic device may be a mobile phone, a tablet computer, or other electronic device with a multi-card and multi-mode function. As shown in fig. 6, the electronic apparatus includes: a detection unit 51, an acquisition unit 52, a matching processing unit 53, and a display unit 54; wherein,
the detection unit 51 is configured to detect the smart cards in the at least two smart card slots, acquire a first parameter of the smart cards, and send the first parameter to the matching processing unit 53; the first parameter is used for representing network communication information of the smart card;
the obtaining unit 52 is configured to obtain a second parameter of the smart card slot where the smart card is located, and send the second parameter to the matching processing unit 53; the second parameter is used for representing communication system information corresponding to the smart card slot;
the matching processing unit 53 is configured to determine whether the first parameter sent by the detecting unit 51 is matched with the second parameter sent by the obtaining unit 52, so as to obtain a first determination result; when the first judgment result is that the first parameter is not matched with the second parameter, automatically matching the second parameter of the smart card slot where the smart card is located according to the first parameter of the smart card; when the second parameter is not matched with the first parameter, generating error information, and sending the error information to the display unit 54; wherein the error information is used for representing that the electronic equipment does not support the smart card;
the display unit 54 is configured to display the error information sent by the matching processing unit 53.
It should be understood by those skilled in the art that the functions of each processing unit in the electronic device according to the embodiment of the present invention may be understood by referring to the description of the information processing method, and each processing unit in the electronic device according to the embodiment of the present invention may be implemented by an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by running software that executes the functions described in the embodiment of the present invention on an intelligent terminal.
In the electronic device according to the embodiment of the present invention, the obtaining Unit 52 and the matching Processing Unit 53 of the electronic device may be implemented by a Central Processing Unit (CPU), a Digital Signal Processor (DSP), or a Programmable Gate Array (FPGA) in the electronic device in practical application; the detection unit 51 of the electronic device may be implemented by a CPU, a DSP, or an FPGA of the electronic device in practical applications, or may be implemented by a communication device of the electronic device, such as a transceiver or a transceiver; the display unit 54 in the electronic device may be implemented by a display screen or a display of the electronic device in practical applications.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus, and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.