CN106899774A - The dynamic adaptation method and dynamic adaptation device of terminal modem softwares - Google Patents
The dynamic adaptation method and dynamic adaptation device of terminal modem softwares Download PDFInfo
- Publication number
- CN106899774A CN106899774A CN201710040896.XA CN201710040896A CN106899774A CN 106899774 A CN106899774 A CN 106899774A CN 201710040896 A CN201710040896 A CN 201710040896A CN 106899774 A CN106899774 A CN 106899774A
- Authority
- CN
- China
- Prior art keywords
- hardware
- softwares
- port
- terminal modem
- double card
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M11/00—Telephonic communication systems specially adapted for combination with other electrical systems
- H04M11/06—Simultaneous speech and data transmission, e.g. telegraphic transmission over the same conductors
- H04M11/066—Telephone sets adapted for data transmision
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
- Telephone Function (AREA)
Abstract
The invention provides the dynamic adaptation method and a kind of dynamic adaptation device of terminal modem softwares of a kind of terminal modem softwares, wherein, the dynamic adaptation method includes:Read the single double card property value set in the configuration file of terminal modem softwares;Detect the radio-frequency card Configuration Values configured in the terminal modem softwares;The enable control port of corresponding UIM cards is determined according to the radio-frequency card Configuration Values;The control item parameter for enabling control port is set, so that the control item parameter is adapted to single double card property value.By technical scheme, it is possible to achieve the different hardware of same modem softwares dynamic adaptation, the purpose of software and hardware Adaption efficiency is improved to reach.
Description
Technical field
The present invention relates to field of terminal technology, in particular to a kind of dynamic adaptation method of terminal modem softwares and
A kind of dynamic adaptation device of terminal modem softwares.
Background technology
At present, in existing software and hardware scheme, being generally the allocation plan according to hardware sets software, to reach
Be adapted to by different software in different hardware plans, i.e. existing scheme is needed for different hardware plans configuration phases
The software answered is adapted to, and causes software and hardware Adaption efficiency low, and easily cause confusion.
Therefore, the different hardware of same modem softwares dynamic adaptation how is realized, software and hardware Adaption efficiency is improved to reach
Purpose turn into problem demanding prompt solution.
The content of the invention
The present invention is based at least one above-mentioned technical problem, it is proposed that a kind of dynamic of new terminal modem softwares
Adaptation scheme, single double card property value that can be in the configuration file of intelligent set terminal modem softwares, and realize same terminal
The function of the different hardware configuration of modem software dynamic adaptations, improves the Adaption efficiency of terminal software and hardware.
In view of this, according to the first aspect of the invention, it is proposed that a kind of dynamic adaptation method of terminal modem softwares,
Including:Read the single double card property value set in the configuration file of terminal modem softwares;Detection is soft in the terminal modem
The radio-frequency card Configuration Values configured in part;The enable control port of corresponding UIM cards is determined according to the radio-frequency card Configuration Values;
The control item parameter for enabling control port is set, so that the control item parameter is adapted to single double card property value.
In the technical scheme, in the process of the different hardware configuration of terminal modem (modem) software dynamic adaptation
In, the single double card property value set in the configuration file of reading terminals modem softwares, to determine that present terminal modem softwares are needed
The hardware configuration demand to be adapted to, while can be true according to the radio-frequency card Configuration Values configured in the terminal modem softwares for detecting
The enable control port of fixed corresponding UIM (User Identify Module, subscriber identification module) card, then sets and enables control
The control item parameter of port processed, makes the UIM cards for setting up disclosure satisfy that current hardware configuration demand, so that by intelligence in advance
Ground sets the single double card property value in the configuration file of terminal modem softwares, realizes same terminal modem softwares dynamic adaptation not
The function of same hardware configuration, improves the Adaption efficiency of terminal software and hardware.
In the above-mentioned technical solutions, it is preferable that the radio-frequency card Configuration Values include single deck tape-recorder Configuration Values and double card Configuration Values.
In the technical scheme, different radio-frequency card Configuration Values can be set in terminal modem softwares, to realize difference
Hardware configuration, specifically can at least include single deck tape-recorder Configuration Values and double card Configuration Values, and then can be according to the single, double of radio-frequency card
Card Configuration Values situation determines to need in Current hardware configuration process the terminal port configuring condition of the UIM cards for enabling.
In any of the above-described technical scheme, it is preferable that the enable control port of UIM cards corresponding with the single deck tape-recorder Configuration Values
Including the first hardware port and the second hardware port, and UIM cards corresponding with the double card Configuration Values enable control port
Including the 3rd hardware port and the 4th hardware port.
In the technical scheme, when the radio-frequency card Configuration Values configured in terminal modem softwares are single deck tape-recorder Configuration Values, correspondence
Ground can realize single deck tape-recorder hardware plan by the control item parameter of the first hardware port and the second hardware port that configure UIM cards
Configuration, and when the radio-frequency card Configuration Values configured in terminal modem softwares are double card Configuration Values, accordingly can be by configuring
3rd hardware port of UIM cards and the control item parameter of the 4th hardware port realize the configuration of double card hardware plan.
In any of the above-described technical scheme, it is preferable that described that the control item parameter for enabling control port is set, so that
The step of control item parameter is adapted to single double card property value, specifically includes:When single double card property value represents single
During card attribute, in the control item parameter of setting first hardware port and the control item parameter of second hardware port one
It is individual for False values, another be True values.
In the technical scheme, when the single double card property value read in the configuration file in terminal modem softwares is represented
During single deck tape-recorder attribute, that is, need by terminal modem softwares dynamic adaptation be single deck tape-recorder hardware configuration when, can be by that will be configured with single deck tape-recorder
The control item parameter for being worth a port in first hardware port and the second hardware port of corresponding UIM cards is set to False
Value, the control item parameter of another port are set to True values so that terminal modem softwares can intelligently, efficiently basis
Demand is dynamically adapted to the hardware configuration of single deck tape-recorder.
In any of the above-described technical scheme, it is preferable that described that the control item parameter for enabling control port is set, so that
The step of control item parameter is adapted to single double card property value, specifically also includes:When single double card property value is represented
During double card attribute, the control item parameter of the control item parameter and the 4th hardware port that set the 3rd hardware port is
False values.
In the technical scheme, when the single double card property value read in the configuration file in terminal modem softwares is represented
During double card attribute, that is, need by terminal modem softwares dynamic adaptation be double card hardware configuration when, can be by that will be configured with double card
The control item parameter being worth in the 3rd hardware port and the 4th hardware port of corresponding UIM cards is disposed as False values, so that eventually
End modem softwares intelligently, efficiently can dynamically be adapted to the hardware configuration of double card according to demand.
According to the second aspect of the invention, it is proposed that a kind of dynamic adaptation device of terminal modem softwares, including:Read
Module, for reading the single double card property value set in the configuration file of terminal modem softwares;Detection module, for detecting
The radio-frequency card Configuration Values configured in the terminal modem softwares;Determining module, for what is detected according to the detection module
The radio-frequency card Configuration Values determine the enable control port of corresponding UIM cards;Setup module, for setting the determination mould
The control item parameter of the enable control port that block determines, so that what the control item parameter and the read module read
Single double card property value adaptation.
In the technical scheme, during the different hardware configuration of terminal modem software dynamic adaptations, reading terminals
The single double card property value set in the configuration file of modem softwares, to determine that present terminal modem softwares need the hardware of adaptation
Configuration needs, while corresponding UIM cards can be determined according to the radio-frequency card Configuration Values configured in the terminal modem softwares for detecting
Enable control port, then set enable control port control item parameter, disclosure satisfy that the UIM cards for setting up current
Hardware configuration demand, so that by the single double card property value in the configuration file for intelligently setting terminal modem softwares in advance, it is real
The function of the different hardware configuration of existing same terminal modem software dynamic adaptations, improves the Adaption efficiency of terminal software and hardware.
In the above-mentioned technical solutions, it is preferable that the radio-frequency card Configuration Values include single deck tape-recorder Configuration Values and double card Configuration Values.
In the technical scheme, different radio-frequency card Configuration Values can be set in terminal modem softwares, to realize difference
Hardware configuration, specifically can at least include single deck tape-recorder Configuration Values and double card Configuration Values, and then can be according to the single, double of radio-frequency card
Card Configuration Values situation determines to need in Current hardware configuration process the terminal port configuring condition of the UIM cards for enabling.
In any of the above-described technical scheme, it is preferable that the enable control port of UIM cards corresponding with the single deck tape-recorder Configuration Values
Including the first hardware port and the second hardware port, and UIM cards corresponding with the double card Configuration Values enable control port
Including the 3rd hardware port and the 4th hardware port.
In the technical scheme, when the radio-frequency card Configuration Values configured in terminal modem softwares are single deck tape-recorder Configuration Values, correspondence
Ground can realize single deck tape-recorder hardware plan by the control item parameter of the first hardware port and the second hardware port that configure UIM cards
Configuration, and when the radio-frequency card Configuration Values configured in terminal modem softwares are double card Configuration Values, accordingly can be by configuring
3rd hardware port of UIM cards and the control item parameter of the 4th hardware port realize the configuration of double card hardware plan.
In any of the above-described technical scheme, it is preferable that the setup module specifically for:When single double card attribute value table
When showing single deck tape-recorder attribute, in the control item parameter of setting first hardware port and the control item parameter of second hardware port
One for False values, another be True values.
In the technical scheme, when the single double card property value read in the configuration file in terminal modem softwares is represented
During single deck tape-recorder attribute, that is, need by terminal modem softwares dynamic adaptation be single deck tape-recorder hardware configuration when, can be by that will be configured with single deck tape-recorder
The control item parameter for being worth a port in first hardware port and the second hardware port of corresponding UIM cards is set to False
Value, the control item parameter of another port are set to True values so that terminal modem softwares can intelligently, efficiently basis
Demand is dynamically adapted to the hardware configuration of single deck tape-recorder.
In any of the above-described technical scheme, it is preferable that the setup module is specifically additionally operable to:When single double card property value
When representing double card attribute, the control item parameter of the 3rd hardware port and the control item parameter of the 4th hardware port are set
It is False values.
In the technical scheme, when the single double card property value read in the configuration file in terminal modem softwares is represented
During double card attribute, that is, need by terminal modem softwares dynamic adaptation be double card hardware configuration when, can be by that will be configured with double card
The control item parameter being worth in the 3rd hardware port and the 4th hardware port of corresponding UIM cards is disposed as False values, so that eventually
End modem softwares intelligently, efficiently can dynamically be adapted to the hardware configuration of double card according to demand.
According to the third aspect of the invention we, it is proposed that a kind of terminal, including as above end any one of second aspect
The dynamic adaptation device of modem softwares is held, therefore, the terminal has the dynamic adaptation device of terminal modem softwares all of
Beneficial effect, will not be repeated here.
In the above-mentioned technical solutions, the terminal can be with mobile terminals such as mobile phone, panel computers.
Technical scheme, single double card property value that can be in the configuration file of intelligent set terminal modem softwares,
And the function of the different hardware configuration of same terminal modem software dynamic adaptations is realized, improve the adaptation effect of terminal software and hardware
Rate.
Brief description of the drawings
Fig. 1 shows the schematic flow sheet of the dynamic adaptation method of the terminal modem softwares of embodiments of the invention;
Fig. 2 shows the schematic block diagram of the dynamic adaptation device of the terminal modem softwares of embodiments of the invention;
Fig. 3 shows the overall structure figure of the dynamic adaptation scheme for realizing terminal modem softwares of embodiments of the invention;
Fig. 4 shows the schematic flow sheet of the dynamic adaptation scheme for realizing terminal modem softwares of embodiments of the invention;
Fig. 5 shows the property value schematic diagram of single double card of the terminal modem software merit ratings of embodiments of the invention;
Fig. 6 shows the configuring condition schematic diagram of the radio-frequency card scheme of embodiments of the invention;
Fig. 7 shows the configuration schematic diagram of single modem software adaptations different hardware scheme of embodiments of the invention;
Fig. 8 shows the schematic block diagram of the terminal of the first embodiment of the present invention;
Fig. 9 shows the schematic block diagram of the terminal of the second embodiment of the present invention.
Specific embodiment
It is below in conjunction with the accompanying drawings and specific real in order to be more clearly understood that the above objects, features and advantages of the present invention
Mode is applied to be further described in detail the present invention.It should be noted that in the case where not conflicting, the implementation of the application
Feature in example and embodiment can be mutually combined.
Many details are elaborated in the following description in order to fully understand the present invention, but, the present invention may be used also
Implemented with being different from other modes described here using other, therefore, protection scope of the present invention is not by described below
Specific embodiment limitation.
Fig. 1 shows the schematic flow sheet of the dynamic adaptation method of the terminal modem softwares of embodiments of the invention.
As shown in figure 1, the dynamic adaptation method of terminal modem softwares according to an embodiment of the invention, specifically include with
Lower process step:
Step 102, reads the single double card property value set in the configuration file of terminal modem softwares.
Step 104, detects the radio-frequency card Configuration Values configured in the terminal modem softwares.
Step 106, the enable control port of corresponding UIM cards is determined according to the radio-frequency card Configuration Values.
Step 108, sets the control item parameter for enabling control port, so that the control item parameter and the Dan Shuan
Card property value is adapted to.
In the embodiment, during the different hardware configuration of terminal modem software dynamic adaptations, reading terminals
The single double card property value set in the configuration file of modem softwares, to determine that present terminal modem softwares need the hardware of adaptation
Configuration needs, while corresponding UIM cards can be determined according to the radio-frequency card Configuration Values configured in the terminal modem softwares for detecting
Enable control port, then set enable control port control item parameter, disclosure satisfy that the UIM cards for setting up current
Hardware configuration demand, so that by the single double card property value in the configuration file for intelligently setting terminal modem softwares in advance, it is real
The function of the different hardware configuration of existing same terminal modem software dynamic adaptations, improves the Adaption efficiency of terminal software and hardware.
Further, in the above-described embodiments, the radio-frequency card Configuration Values include single deck tape-recorder Configuration Values and double card Configuration Values.
In this embodiment it is possible to different radio-frequency card Configuration Values are set in terminal modem softwares, it is different to realize
Hardware configuration, specifically can at least include single deck tape-recorder Configuration Values and double card Configuration Values, and then can be according to the single, double card of radio-frequency card
Configuration Values situation determines to need in Current hardware configuration process the terminal port configuring condition of the UIM cards for enabling.
Further, in any of the above-described embodiment, the enable control port of UIM cards corresponding with the single deck tape-recorder Configuration Values
Including the first hardware port and the second hardware port, and UIM cards corresponding with the double card Configuration Values enable control port
Including the 3rd hardware port and the 4th hardware port.
In this embodiment, when the radio-frequency card Configuration Values configured in terminal modem softwares are single deck tape-recorder Configuration Values, accordingly
Matching somebody with somebody for single deck tape-recorder hardware plan can be realized by the control item parameter of the first hardware port and the second hardware port that configure UIM cards
Put, and when the radio-frequency card Configuration Values configured in terminal modem softwares are double card Configuration Values, accordingly can be by configuring UIM
3rd hardware port of card and the control item parameter of the 4th hardware port realize the configuration of double card hardware plan.
Further, in any of the above-described embodiment, the step 108 is specifically included:When single double card attribute value table
When showing single deck tape-recorder attribute, in the control item parameter of setting first hardware port and the control item parameter of second hardware port
One for False values, another be True values.
In this embodiment, when the single double card property value read in the configuration file in terminal modem softwares represents single
During card attribute, that is, need terminal modem softwares dynamic adaptation when being single deck tape-recorder hardware configuration, can be by will be with single deck tape-recorder Configuration Values
The control item parameter of a port in first hardware port and the second hardware port of corresponding UIM cards be set to False values,
The control item parameter of another port is set to True values, so that terminal modem softwares can intelligently, efficiently according to demand
Dynamically it is adapted to the hardware configuration of single deck tape-recorder.
Further, in any of the above-described embodiment, the step 108 specifically also includes:When single double card property value
When representing double card attribute, the control item parameter of the 3rd hardware port and the control item parameter of the 4th hardware port are set
It is False values.
In this embodiment, when the single double card property value read in the configuration file in terminal modem softwares represents double
During card attribute, that is, need terminal modem softwares dynamic adaptation when being double card hardware configuration, can be by will be with double card Configuration Values
Control item parameter in 3rd hardware port and the 4th hardware port of corresponding UIM cards is disposed as False values, so that terminal
Modem softwares intelligently, efficiently can dynamically be adapted to the hardware configuration of double card according to demand.
Fig. 2 shows the schematic block diagram of the dynamic adaptation device of the terminal modem softwares of embodiments of the invention.
As shown in Fig. 2 the dynamic adaptation device 200 of the terminal modem softwares according to inventive embodiment, including:Read
Module 202, detection module 204, determining module 206 and setup module 208.
Wherein, the read module 202 is used to read the single double card category set in the configuration file of terminal modem softwares
Property value;The detection module 204 is used to detect the radio-frequency card Configuration Values configured in the terminal modem softwares;The determination
The radio-frequency card Configuration Values that module 206 is used to be detected according to the detection module 204 determine making for corresponding UIM cards
Can control port;The setup module 208 is used for the control of the enable control port for setting the determination of the determining module 206
Item parameter, so that the control item parameter is adapted to described single double card property value that the read module 202 reads.
In the embodiment, during the different hardware configuration of terminal modem software dynamic adaptations, reading terminals
The single double card property value set in the configuration file of modem softwares, to determine that present terminal modem softwares need the hardware of adaptation
Configuration needs, while corresponding UIM cards can be determined according to the radio-frequency card Configuration Values configured in the terminal modem softwares for detecting
Enable control port, then set enable control port control item parameter, disclosure satisfy that the UIM cards for setting up current
Hardware configuration demand, so that by the single double card property value in the configuration file for intelligently setting terminal modem softwares in advance, it is real
The function of the different hardware configuration of existing same terminal modem software dynamic adaptations, improves the Adaption efficiency of terminal software and hardware.
Further, in the above-described embodiments, the radio-frequency card Configuration Values include single deck tape-recorder Configuration Values and double card Configuration Values.
In this embodiment it is possible to different radio-frequency card Configuration Values are set in terminal modem softwares, it is different to realize
Hardware configuration, specifically can at least include single deck tape-recorder Configuration Values and double card Configuration Values, and then can be according to the single, double card of radio-frequency card
Configuration Values situation determines to need in Current hardware configuration process the terminal port configuring condition of the UIM cards for enabling.
Further, in any of the above-described embodiment, the enable control port of UIM cards corresponding with the single deck tape-recorder Configuration Values
Including the first hardware port and the second hardware port, and UIM cards corresponding with the double card Configuration Values enable control port
Including the 3rd hardware port and the 4th hardware port.
In this embodiment, when the radio-frequency card Configuration Values configured in terminal modem softwares are single deck tape-recorder Configuration Values, accordingly
Matching somebody with somebody for single deck tape-recorder hardware plan can be realized by the control item parameter of the first hardware port and the second hardware port that configure UIM cards
Put, and when the radio-frequency card Configuration Values configured in terminal modem softwares are double card Configuration Values, accordingly can be by configuring UIM
3rd hardware port of card and the control item parameter of the 4th hardware port realize the configuration of double card hardware plan.
Further, in any of the above-described embodiment, the setup module 208 specifically for:When single double card attribute
When value represents single deck tape-recorder attribute, the control item parameter of first hardware port and the control item ginseng of second hardware port are set
One in number be False values, another be True values.
In this embodiment, when the single double card property value read in the configuration file in terminal modem softwares represents single
During card attribute, that is, need terminal modem softwares dynamic adaptation when being single deck tape-recorder hardware configuration, can be by will be with single deck tape-recorder Configuration Values
The control item parameter of a port in first hardware port and the second hardware port of corresponding UIM cards be set to False values,
The control item parameter of another port is set to True values, so that terminal modem softwares can intelligently, efficiently according to demand
Dynamically it is adapted to the hardware configuration of single deck tape-recorder.
Further, in any of the above-described embodiment, the setup module 208 is specifically additionally operable to:When single double card belongs to
Property value when representing double card attribute, the control item parameter of the 3rd hardware port and the control item of the 4th hardware port are set
Parameter is False values.
In this embodiment, when the single double card property value read in the configuration file in terminal modem softwares represents double
During card attribute, that is, need terminal modem softwares dynamic adaptation when being double card hardware configuration, can be by will be with double card Configuration Values
Control item parameter in 3rd hardware port and the 4th hardware port of corresponding UIM cards is disposed as False values, so that terminal
Modem softwares intelligently, efficiently can dynamically be adapted to the hardware configuration of double card according to demand.
With reference to Fig. 3 to Fig. 7 to the dynamic adaptation different hardware configurations for realizing same terminal modem softwares of the invention
Embodiment be specifically described.
As shown in figure 3, realizing the overall knot of the dynamic adaptation scheme of terminal modem softwares according to an embodiment of the invention
Structure, including:Setup module, detection module and processing module, specific workflow are as shown in figure 4, specifically:
It is possible, firstly, to configure different values in modem softwares by setup module to adapt to corresponding hardware plan, mainly
Including:(1) single double card property value of configuration;(2) the RF_Card values (i.e. radio-frequency card Configuration Values) of adaptive hardware scheme are set;(3)
The single, double card difference of different hardware scheme is set according to RF_Card (Radio Frequency_Card, radio-frequency card) Configuration Values
Corresponding enable control port.
Secondly, single double card property value of configuration is read in the configuration file of modem softwares, such as, as shown in figure 5, ds
Double card is represented, ss represents single deck tape-recorder;The RF_Card values used in common modem softwares can be detected by detection module simultaneously, so that can
To confirm that the enable control port of corresponding UIM cards in the hardware plan, i.e. detection module detection are configured in modem softwares
The value of NV148 (NV, Non-Volatile memory, nonvolatile memory), such as, as shown in fig. 6, RF_Card Configuration Values
NV70210UIM [0] and UIM [2] represents card one and card two in the hardware plan of NV148=120 configuration double cards, and RF_Card matches somebody with somebody
NV70210UIM [0] and UIM [1] represents card one and card two in putting the hardware plan of value NV148=121 configuration single deck tape-recorders;Namely
Say, single double card property value is configured in configuration file, while hardware RF_Card Configuration Values are read, so as to confirm that it needs to enable
Which port on UIM card hardware.
It is then possible to detect currently used RF_Card hardware plans according to detection module by processing module, confirm with
The enable control port of the corresponding UIM cards of the program, then the use control port to the UIM cards enable control item
(NV70210UIM_HW_Configuration) be configured, i.e., processing module according to the facilities of setup module by Dan Shuan
The configuring condition of card carries out corresponding configuration, and reads the Configuration Values NV148 of RF_Card, and UIM cards make in confirming the hardware plan
Energy control port, then enables control port to set its enable control item according to hardware UIM cards, realizes corresponding to the hardware
UIM cards enable control and are configured, and open a UIM card corresponding with the hardware or two detection ports of UIM cards, so that
Realize that control UIM cards enable control port.Such as, as shown in fig. 7, reading the Configuration Values of RF_Card in modem softwares
After NV148 and confirmation need to be set to the demand of single double card, it is right that the enable control item NV70210 of UIM card hardware ports is carried out
Should configure, wherein, double card configuration:NV70210Disable UIM [0]=false, NV70210Disable UIM [2]=
false;Single deck tape-recorder is configured:NV70210Disable UIM [0]=false;NV70210Disable UIM [1]=true.
To sum up, single double card scheme of this many hardware, configuration is used as by the property value that single double card is set in configuration file
Data source, while the configuration according to the RF_Card NV148 for reading makes come UIM card hardware ports in confirming the hardware plan
Energy control item, i.e. this programme are realized setting single double card attribute in configuration file, and according to its hardware plan come to UIM card hardware
Corresponding ports are enabled;Modem softwares according to the configuration attribute and the configuring condition of RF_Card NV148 for reading single double card,
Confirm the UIM card port configuring conditions for needing in the hardware plan to enable, thus realize enabling to should item of hardware it is single
UIM cards or double UIM cards, specifically, detection module detects the property value in configuration file, confirms that it needs to be set to single deck tape-recorder
Or double card, while the value for reading NV148 confirms the RF_Card schemes that hardware is used, processing module according to single double card demand and
RF_Card schemes carry out enable setting to UIM cards hardware port, single deck tape-recorder configure NV70210Disable UIM [0]=
False, NV70210Disable UIM [1]=true, and double card configures NV70210Disable UIM [0]=false,
NV70210Disable UIM [2]=false, realize the control to UIM card hardware ports;Can intelligently be customized by this programme
The configuration file of single double card, while realizing a set of modem softwares to be adapted to single double card function of different hardware project, has to hardware
More preferable suitability, and in configuration file, (configuration file can be by OTA (Over-the-Air by this programme
Technology, over the air) or download be updated, the difference for meeting client is customized) in single double card is set
Property value, while reading the value of NV148 when modem starts, confirms its hardware plan for using, so it is able to confirm that the hardware
Scheme needs the UIM card ports for enabling, and NV70210 is set according to hardware plan in modem, and realization is moved by configuration file
State configures the enable of UIM card hardware ports, while realizing the UIM cards setting side of a set of modem software adaptations different hardware scheme
Case, more intelligently.
In this way, realizing a kind of single double card scheme of many hardware, the program is same set of because multiple hardware plans are used
Modem software works, and (i.e. some hardware can be also had differences due to the enable port of its UIM card in multiple hardware plans
NV70210Disable UIM [0] UIM [1] represents card one and card two, NV70210Disable UIM [0] UIM of some hardware
[2] card one and card are represented two), so need to enable adaptation different hardware according to NV148 values in same set of modem softwares
RF_Card, the RF_Card enabled according to this as identification foundation, then the UIM cards to the radio frequency scheme enable port
NV70210 carries out correspondence configuration, realizes that single double card of modem versions common to different hardware project is set:
(1) because multiple project hardware are different but need to use same set of software scenario, can configure right by NV148
Should be worth, realize corresponding RF_Card schemes;
(2) in different hardware plans, controlling the enable port of UIM cards can equally have differences, it is necessary to according to hardware
Scheme is correspondingly arranged;
(3) value of NV148 is read in modem codes, so as to confirm its hardware plan for using, then NV70210 is set
UIM [0] UIM [1] or UIM [0] UIM [2];
(4) single double card is configured to it by the judgement to different hardware scheme, reaches a modem software adaptation
Different hardware plan demands, more intelligently.
Fig. 8 shows the schematic block diagram of the terminal of the first embodiment of the present invention.
As shown in figure 8, the terminal 800 of first embodiment of the invention, including such as any one of above-mentioned embodiment institute
The dynamic adaptation device 200 of the terminal modem softwares stated, therefore, the dynamic that the terminal 800 has terminal modem softwares is fitted
With all of beneficial effect of device 200, will not be repeated here.
Further, in the above-described embodiments, the terminal 800 can be with mobile terminals such as mobile phone, panel computers.
Fig. 9 shows the schematic block diagram of the terminal of second embodiment of the invention.
As shown in figure 9, the terminal of second embodiment of the invention, including:Processor 1, input unit 2, output
Device 3 and memory 5.In some embodiments of the invention, processor 1, input unit 2, output device 3 and memory 5 can
Connected with by bus 4 or other modes, in Fig. 9 as a example by being connected by bus 4.
Wherein, memory 5 is used to store batch processing code, and processor 1 calls the program code stored in memory 5,
For performing following operation:
The single double card property value set in the configuration file of terminal modem softwares is read by output device 3;
The radio-frequency card Configuration Values configured in the terminal modem softwares are detected by input unit 2;
The enable control port of corresponding UIM cards is determined according to the radio-frequency card Configuration Values;
The control item parameter for enabling control port is set, so that the control item parameter and single double card property value
Adaptation.
Wherein, the radio-frequency card Configuration Values include single deck tape-recorder Configuration Values and double card Configuration Values;And with the single deck tape-recorder Configuration Values
The enable control port of corresponding UIM cards include the first hardware port and the second hardware port, and with the double card Configuration Values
The enable control port of corresponding UIM cards includes the 3rd hardware port and the 4th hardware port.
Used as a kind of optional implementation method, processor 1 calls the program code stored in memory 5, can be also used for
Perform following operation:
When single double card property value represents single deck tape-recorder attribute, control item parameter and the institute of first hardware port are set
State one in the control item parameter of the second hardware port for False values, another be True values.
Used as a kind of optional implementation method, processor 1 calls the program code stored in memory 5, can be also used for
Perform following operation:
When single double card property value represents double card attribute, control item parameter and the institute of the 3rd hardware port are set
The control item parameter for stating the 4th hardware port is False values.
Step in the method for the embodiment of the present invention can according to actual needs carry out order adjustment, merge and delete.
Unit in the dynamic adaptation device and terminal of the terminal modem softwares of the embodiment of the present invention can be according to actual need
Merge, divide and delete.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
Completed with instructing the hardware of correlation by program, the program can be stored in a computer-readable recording medium, storage
Medium include read-only storage (Read-Only Memory, ROM), random access memory (Random Access Memory,
RAM), programmable read only memory (Programmable Read-only Memory, PROM), erasable programmable is read-only deposits
Reservoir (Erasable Programmable Read Only Memory, EPROM), disposable programmable read-only storage (One-
Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read-only storage
(Electrically-Erasable Programmable Read-Only Memory, EEPROM), read-only optical disc (Compact
Disc Read-Only Memory, CD-ROM) or other disk storages, magnetic disk storage, magnetic tape storage or can
For carrying or computer-readable any other medium of data storage.
Technical scheme is described in detail above in association with accompanying drawing, by technical scheme, can be intelligent
Single double card property value in the configuration file of terminal modem softwares is set, and realizes same terminal modem software dynamic adaptations
The function of different hardware configurations, improves the Adaption efficiency of terminal software and hardware.
The preferred embodiments of the present invention are the foregoing is only, is not intended to limit the invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.It is all within the spirit and principles in the present invention, made any repair
Change, equivalent, improvement etc., should be included within the scope of the present invention.
Claims (10)
1. a kind of dynamic adaptation method of terminal modem softwares, it is characterised in that including:
Read the single double card property value set in the configuration file of terminal modem softwares;
Detect the radio-frequency card Configuration Values configured in the terminal modem softwares;
The enable control port of corresponding UIM cards is determined according to the radio-frequency card Configuration Values;
The control item parameter for enabling control port is set, so that the control item parameter is suitable with single double card property value
Match somebody with somebody.
2. the dynamic adaptation method of terminal modem softwares according to claim 1, it is characterised in that the radio-frequency card is matched somebody with somebody
Putting value includes single deck tape-recorder Configuration Values and double card Configuration Values.
3. the dynamic adaptation method of terminal modem softwares according to claim 2, it is characterised in that
The enable control port of UIM cards corresponding with the single deck tape-recorder Configuration Values includes the first hardware port and the second hardware port,
And the enable control port of UIM cards corresponding with the double card Configuration Values includes the 3rd hardware port and the 4th hardware port.
4. the dynamic adaptation method of terminal modem softwares according to claim 3, it is characterised in that described in the setting
The control item parameter of control port is enabled, so that the step of control item parameter is adapted to single double card property value, specifically
Including:
When single double card property value represents single deck tape-recorder attribute, the control item parameter and described the of first hardware port is set
One in the control item parameter of two hardware ports be False values, another be True values.
5. the dynamic adaptation method of terminal modem softwares according to claim 3, it is characterised in that described in the setting
Enable control port control item parameter so that the control item parameter be adapted to single double card property value the step of, have
Body also includes:
When single double card property value represents double card attribute, the control item parameter and described the of the 3rd hardware port is set
The control item parameter of four hardware ports is False values.
6. a kind of dynamic adaptation device of terminal modem softwares, it is characterised in that including:
Read module, for reading the single double card property value set in the configuration file of terminal modem softwares;
Detection module, for detecting the radio-frequency card Configuration Values configured in the terminal modem softwares;
Determining module, the radio-frequency card Configuration Values for being detected according to the detection module determine corresponding UIM cards
Enable control port;
Setup module, the control item parameter for setting the enable control port that the determining module determines, so that described
Control item parameter is adapted to described single double card property value that the read module reads.
7. the dynamic adaptation device of terminal modem softwares according to claim 6, it is characterised in that the radio-frequency card is matched somebody with somebody
Putting value includes single deck tape-recorder Configuration Values and double card Configuration Values.
8. the dynamic adaptation device of terminal modem softwares according to claim 7, it is characterised in that
The enable control port of UIM cards corresponding with the single deck tape-recorder Configuration Values includes the first hardware port and the second hardware port,
And the enable control port of UIM cards corresponding with the double card Configuration Values includes the 3rd hardware port and the 4th hardware port.
9. the dynamic adaptation device of terminal modem softwares according to claim 8, it is characterised in that the setup module
Specifically for:
When single double card property value represents single deck tape-recorder attribute, the control item parameter and described the of first hardware port is set
One in the control item parameter of two hardware ports be False values, another be True values.
10. the dynamic adaptation device of terminal modem softwares according to claim 8, it is characterised in that the setup module
Specifically it is additionally operable to:
When single double card property value represents double card attribute, the control item parameter and described the of the 3rd hardware port is set
The control item parameter of four hardware ports is False values.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710040896.XA CN106899774B (en) | 2017-01-17 | 2017-01-17 | Dynamic adaptation method and dynamic adaptation device for terminal modem software |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710040896.XA CN106899774B (en) | 2017-01-17 | 2017-01-17 | Dynamic adaptation method and dynamic adaptation device for terminal modem software |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106899774A true CN106899774A (en) | 2017-06-27 |
CN106899774B CN106899774B (en) | 2021-05-25 |
Family
ID=59199198
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710040896.XA Active CN106899774B (en) | 2017-01-17 | 2017-01-17 | Dynamic adaptation method and dynamic adaptation device for terminal modem software |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106899774B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110457088A (en) * | 2019-08-13 | 2019-11-15 | 深圳传音控股股份有限公司 | Remapping method, terminal and the storage medium of more card versions |
CN110851262A (en) * | 2019-11-14 | 2020-02-28 | 深圳传音控股股份有限公司 | Multi-card software version management method and mobile terminal |
CN111221584A (en) * | 2020-01-06 | 2020-06-02 | 上海闻泰电子科技有限公司 | Terminal single-card and double-card adapting method and device, computer equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5408614A (en) * | 1993-12-17 | 1995-04-18 | Xircom, Inc. | Modem adapter for use with standard PC parallel port |
CN102065486A (en) * | 2009-11-17 | 2011-05-18 | 美国博通公司 | Communication method and system |
US20120093075A1 (en) * | 2010-10-14 | 2012-04-19 | Nokia Corporation | Multiple SIM support with single modem software architecture |
CN103281430A (en) * | 2012-01-16 | 2013-09-04 | 三星电子株式会社 | Apparatus and method for setting up an interface in a mobile terminal |
US20140099805A1 (en) * | 2012-10-10 | 2014-04-10 | Motorola Mobility Llc | Electronic connector capable of accepting a single subscriber identity mopdule or a memory card |
CN106066802A (en) * | 2016-05-24 | 2016-11-02 | 青岛海信移动通信技术股份有限公司 | A kind of method and apparatus loading MBN file |
-
2017
- 2017-01-17 CN CN201710040896.XA patent/CN106899774B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5408614A (en) * | 1993-12-17 | 1995-04-18 | Xircom, Inc. | Modem adapter for use with standard PC parallel port |
CN102065486A (en) * | 2009-11-17 | 2011-05-18 | 美国博通公司 | Communication method and system |
US20120093075A1 (en) * | 2010-10-14 | 2012-04-19 | Nokia Corporation | Multiple SIM support with single modem software architecture |
CN103281430A (en) * | 2012-01-16 | 2013-09-04 | 三星电子株式会社 | Apparatus and method for setting up an interface in a mobile terminal |
US20140099805A1 (en) * | 2012-10-10 | 2014-04-10 | Motorola Mobility Llc | Electronic connector capable of accepting a single subscriber identity mopdule or a memory card |
CN106066802A (en) * | 2016-05-24 | 2016-11-02 | 青岛海信移动通信技术股份有限公司 | A kind of method and apparatus loading MBN file |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110457088A (en) * | 2019-08-13 | 2019-11-15 | 深圳传音控股股份有限公司 | Remapping method, terminal and the storage medium of more card versions |
CN110851262A (en) * | 2019-11-14 | 2020-02-28 | 深圳传音控股股份有限公司 | Multi-card software version management method and mobile terminal |
CN110851262B (en) * | 2019-11-14 | 2022-07-12 | 深圳传音控股股份有限公司 | Multi-card software version management method and mobile terminal |
CN111221584A (en) * | 2020-01-06 | 2020-06-02 | 上海闻泰电子科技有限公司 | Terminal single-card and double-card adapting method and device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106899774B (en) | 2021-05-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106899774A (en) | The dynamic adaptation method and dynamic adaptation device of terminal modem softwares | |
CN110069401B (en) | System test abnormality positioning method and system based on data modeling | |
US20060047994A1 (en) | Method for burning BIOS | |
CN106648793B (en) | Configuration file loading method and device | |
CN105373001A (en) | Control method and device for electronic equipment | |
CN105677222A (en) | Application information display method, application information display device and terminal | |
CN105205142A (en) | Method, device and mobile terminal for saving log file | |
CN104899049A (en) | File deletion method and device | |
CN106649098A (en) | Method and device for achieving version-release-software debugging on terminal device | |
CN105376410A (en) | Method and device for setting alarm clock | |
CN106484796A (en) | File management method, document management apparatus and mobile terminal | |
CN104239093B (en) | A kind of informing message erasing method and device | |
CN108572841A (en) | Electronic lock system capable of updating firmware | |
CN112083972A (en) | BMC system configuration method, device, equipment and readable storage medium | |
CN111813432A (en) | FPGA configuration upgrading method and FPGA platform | |
CN104424944A (en) | Information processing method and electronic device | |
CN109343881A (en) | Firmware upgrading and updating method and device and air conditioner | |
CN105468270A (en) | Terminal application control method and device | |
CN110457062A (en) | The method, apparatus and computer readable storage medium of screen parameter configuration | |
CN108121578A (en) | The method, apparatus and storage medium and electronic equipment of generation application program | |
CN113434179B (en) | Online upgrade method, device and equipment of programmable power supply and storage medium | |
CN106776383A (en) | The recognition methods of storage card, device and electronic equipment | |
CN104239104B (en) | Method, device and terminal for unloading application program APP | |
CN205375043U (en) | Controlling means and cooking device | |
CN214335506U (en) | MCU mode control circuit and MCU |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |