CN106066802A - A kind of method and apparatus loading MBN file - Google Patents

A kind of method and apparatus loading MBN file Download PDF

Info

Publication number
CN106066802A
CN106066802A CN201610353003.2A CN201610353003A CN106066802A CN 106066802 A CN106066802 A CN 106066802A CN 201610353003 A CN201610353003 A CN 201610353003A CN 106066802 A CN106066802 A CN 106066802A
Authority
CN
China
Prior art keywords
parameter value
terminal
mbn
coding
board
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
Application number
CN201610353003.2A
Other languages
Chinese (zh)
Other versions
CN106066802B (en
Inventor
刁玉峰
吕士朋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201610353003.2A priority Critical patent/CN106066802B/en
Publication of CN106066802A publication Critical patent/CN106066802A/en
Application granted granted Critical
Publication of CN106066802B publication Critical patent/CN106066802B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present embodiments relate to the communications field, particularly relate to a kind of method and apparatus loading MBN file, a modem can be shared for realizing the terminal of multiple specification of the Board, thus reduce the purpose of development cost.In the embodiment of the present invention, obtain the specification of the Board coding of terminal;According to default specification of the Board coding and the corresponding relation of MBN parameter value, determine the MBN parameter value that specification of the Board coding is corresponding;According to the MBN parameter value determined, generate the MBN file that terminal is corresponding;MBN file is loaded onto modem.Owing to the corresponding relation of default specification of the Board coding and MBN parameter value includes that multiple specification of the Board encodes, therefore, terminal for different size, all can use same set of modem and same set of default specification of the Board coding and the corresponding relation of MBN parameter value, after the specification of the Board determining terminal encodes, generate the MBN file that this terminal is corresponding.

Description

A kind of method and apparatus loading MBN file
Technical field
The present embodiments relate to the communications field, particularly relate to a kind of method and apparatus loading MBN file.
Background technology
Along with the development of mobile communication technology, basis Mobile Communication Chip platform is constantly upgraded update, terminal Manufacturer is on the one hand in order to keep advanced technology, and is not retrained by one chip manufacturer, and it is multiple that manufacturer terminal generally requires type selecting Chip platform, the terminal that exploitation MBN parameter value specification is different.
The chip of terminal needs to configure the MBN parameter value of what specification, and generally being loaded by modem (modem) should Modulation and demodulation software configuration (modem software configuration binary the is called for short MBN) file that terminal is corresponding Realize.Detailed process is: the first specification previously according to terminal of manufacturer determines the MBN file required for this terminal, factory afterwards Business compiles a modem image file corresponding to terminal, and this modem image file includes the most compiled MBN file completed, This MBN file includes terminal specifications parameter.This modem image file is burnt in terminal by manufacturer afterwards, simultaneously in advance Compiled appointment MBN file is loaded into MBN working area.Terminal is run modem file at execution boot program and is loaded directly into work Make the MBN file in district.
Visible, in above-mentioned solution, need to compile, for terminal, the modem file that this terminal is corresponding in advance, this modem literary composition Part includes that the MBN of working area put into by the most compiled that complete and preassigned need.It is to say, bringing into operation Before this modem file, it is necessary to preassign in this modem file to need which MBN file is put into working area, this MBN literary composition Part needs to embed in modem file, as an entirety.If manufacturer needs to develop N kind terminal, now need corresponding N kind MBN literary composition During part, then manufacturer needs to develop N kind modem file, say, that different types of terminal can not share a modem file, Now considerably increase development cost.
Summary of the invention
The embodiment of the present invention provides a kind of method and apparatus loading MBN file, for realizing the end of multiple specification of the Board End can share a modem, thus reduces the purpose of development cost.
The embodiment of the present invention provides one to load MBN file, and the method includes:
Obtain the specification of the Board coding of terminal;According to default multiple specifications of the Board coding and the corresponding pass of MBN parameter value System, determines the MBN parameter value that specification of the Board coding is corresponding;Wherein, the multiple specifications of the Board coding preset is right with MBN parameter value The memory block being stored in terminal should be closed;According to the MBN parameter value determined, generate the MBN file that terminal is corresponding;By MBN file It is loaded onto modem.
The embodiment of the present invention provides a kind of device loading MBN file, including:
Acquisition module, for obtaining the specification of the Board coding of terminal;
Determine module, for according to the multiple specifications of the Board coding preset and the corresponding relation of MBN parameter value, determining veneer The MBN parameter value that specification coding is corresponding;Wherein, the multiple specifications of the Board coding preset and the corresponding relation storage of MBN parameter value Memory block in terminal;
Generation module, for according to the MBN parameter value determined, generating the MBN file that terminal is corresponding;
Processing module, for being loaded onto modem by MBN file.
In the embodiment of the present invention, obtain the specification of the Board coding of terminal;According to default specification of the Board coding and MBN parameter The corresponding relation of value, determines the MBN parameter value that specification of the Board coding is corresponding;According to the MBN parameter value determined, generate terminal corresponding MBN file;MBN file is loaded onto modem.Owing to default specification of the Board encodes and the corresponding relation of MBN parameter value, because of This can encode according to the specification of the Board of terminal temporarily when running modem and configured MBN parameter value generate MBN file, and Owing to the corresponding relation of default specification of the Board coding and MBN parameter value includes that multiple specification of the Board encodes, therefore, for not Same terminal, all can use same set of modem and same set of default specification of the Board coding and the corresponding relation of MBN parameter value, Afterwards after the specification of the Board determining terminal encodes, the MBN file that interim this terminal of generation is corresponding.Avoid existing skill Art needs to write in advance the problem of the modem of multiple MBN file including and writing in advance for different terminals, reduces out Send out cost.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, in embodiment being described below required for make Accompanying drawing briefly introduce.
Fig. 1 is a kind of system architecture schematic diagram that the embodiment of the present invention is suitable for;
A kind of method flow schematic diagram loading MBN file that Fig. 2 provides for the embodiment of the present invention;
The structural representation of a kind of terminal that Fig. 2 a provides for the embodiment of the present invention;
Fig. 2 b is the structural representation of the terminal inner running status shown in Fig. 2 a;
Fig. 2 c is the structural representation of the terminal inner running status shown in Fig. 2 b;
The schematic flow sheet of a kind of method loading MBN file that Fig. 2 d provides for the embodiment of the present invention;
The structural representation of a kind of device loading MBN file that Fig. 3 provides for the embodiment of the present invention.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and beneficial effect clearer, below in conjunction with accompanying drawing and enforcement Example, is further elaborated to the present invention.Should be appreciated that specific embodiment described herein is only in order to explain this Bright, it is not intended to limit the present invention.
Fig. 1 illustrates a kind of system architecture schematic diagram that the embodiment of the present invention is suitable for, as it is shown in figure 1, the present invention The system architecture that embodiment is suitable for includes the terminal of number of different types, and such as one manufacturer includes a production line 1105, Producing different types of terminal, respectively terminal 1101, terminal 1102 and terminal 1103 on this production line 1105, polytype is eventually End meets following condition: the MBN file corresponding to different types of terminal is different.Such as terminal 1101 needs the MBN ginseng of configuration Numerical value is the MBN parameter of China Mobile 3 mould single deck tape-recorder circuit domain dropping (Circuit Switched Fallback is called for short CSFB) Value;Such as terminal 1102 needs the MBN parameter value that MBN parameter value is China Mobile 5 mould double card CSFB of configuration;Such as terminal The MBN parameter value of 1103 needs configurations is China Mobile 5 mould double card offscreen voice Long Term Evolution (Voice over Long Term Evolution, be called for short VoLTE) MBN parameter value.
The embodiment of the present invention stores in each terminal in a modem, and the terminal of number of different types and is stored For same modem.Such as, in Fig. 1, all prestore in terminal 1101, terminal 1102 and terminal 1103 modem1104. Alternatively, the corresponding relation of specification of the Board coding and MBN parameter value can be the part in modem1104, it is possible to advised by veneer The corresponding relation of trellis coding and MBN parameter value and modem1104 are set to two parts, are stored respectively in the memory block of terminal In.
In the embodiment of the present invention, the corresponding relation of multiple specifications of the Board coding and MBN parameter value can be multiple specification of the Board Coding and the mapping table of MBN parameter value.Or the corresponding relation of multiple specifications of the Board coding and MBN parameter value can be stored as Multiple specifications of the Board coding and the corresponding relation of storage address table, each storage addressed memory contains this specification of the Board coding correspondence MBN parameter value, first can find, according to specification of the Board coding, the storage address that this specification of the Board coding is corresponding, arrive this afterwards The memory block storing address corresponding gets MBN parameter value.Specification of the Board coding and MBN parameter value right in the embodiment of the present invention Should be related to there is multiple way of realization, the embodiment of the present invention does not limits.Alternatively, in the embodiment of the present invention preset veneer The corresponding relation of specification coding and MBN parameter value can carry out increasing, deleting amendment etc..Give an example, such as, the veneer rule preset The corresponding MBN1 of trellis coding 1, may be modified such that the corresponding MBN2 of specification of the Board coding 1 afterwards.So, it is seen that originally specification of the Board coding 1 The corresponding MBN parameter value in terminal is set to the MBN parameter value specified by MBN2.
The description below in the embodiment of the present invention, as a example by a terminal, is discussed in detail for a terminal, how to generate The process of the MBN file that this terminal is corresponding.The generation process of the MBN file that other terminal is corresponding is similar with it, repeats no more.
Terminal in the embodiment of the present invention, refers to provide a user with the equipment (device) of voice and/or data connectivity, bag Include wireless terminal or catv terminal.Wireless terminal can be to have the portable equipment of wireless connecting function or be connected to wireless Other processing equipments of modem, through the mobile terminal that wireless access network communicates with one or more core net.Example As, wireless terminal can be mobile phone (or being referred to as " honeycomb " phone) and the computer with mobile terminal.And for example, wireless end End can also be portable, pocket, hand-held, built-in computer or vehicle-mounted mobile device.For another example, wireless terminal can Think movement station (mobile station), access point (access point) or subscriber equipment (user equipment, letter Claim UE) a part.
Fig. 2 illustrates a kind of method flow schematic diagram loading MBN file that the embodiment of the present invention provides.
Based on the system architecture shown in Fig. 1 and foregoing, as in figure 2 it is shown, the end side that the embodiment of the present invention provides A kind of method loading MBN file realized, including:
Step 201, terminal obtains the specification of the Board coding of terminal;
Step 202, terminal, according to the multiple specifications of the Board coding preset and the corresponding relation of MBN parameter value, determines veneer The MBN parameter value that specification coding is corresponding;Wherein, the multiple specifications of the Board coding preset and the corresponding relation storage of MBN parameter value Memory block in terminal;
Step 203, terminal, according to the MBN parameter value determined, generates the MBN file that terminal is corresponding;
Step 204, MBN file is loaded onto modem by terminal.
Fig. 2 a illustrates the structural representation of a kind of terminal that the embodiment of the present invention provides, and Fig. 2 b illustrates The structural representation of the terminal inner running status shown in Fig. 2 a, Fig. 2 c illustrates the terminal inner fortune shown in Fig. 2 b The structural representation of row state.As shown in Figure 2 a, terminal includes working area 2101 and memory block 2102.Alternatively, will compile in advance The modem2103 of the embodiment of the present invention translated puts into the memory block 2102 of terminal, alternatively, and can be in advance by multiple specifications of the Board The corresponding relation 2104 of coding and MBN parameter value is stored in the memory block 2102 of terminal.In another kind embodiment alternatively, many The corresponding relation of individual specification of the Board coding and MBN parameter value is included in modem, after modem is performed mirror image, and Duo Gedan The corresponding relation of plate gauge trellis coding and MBN parameter value is placed in the memory block of terminal.
In one embodiment alternatively, can include an acquiescence MBN file in modem, this acquiescence MBN file content can For sky.Alternatively, terminal stores modem2103 and multiple specification of the Board coding and the corresponding relation 2104 of MBN parameter value Afterwards, terminal is opened, and runs modem, first modem is carried out mirror image, and now put into terminal works district 2101 is silent The MBN file recognized, as shown in Figure 2 b, gives tacit consent to MBN file 2205, is placed in the working area 2101 of terminal.It is to say, should The MBN file of acquiescence can be one and trigger file, when modem process calls this MBN file, triggers and performs above-mentioned steps 201 to 203, the working area of terminal put into by the MBN file by generation afterwards, as shown in Figure 2 c, now generates the MBN that terminal is corresponding File 2206 is placed in the working area 2101 of terminal, thus originally puts in substituted for the working area 2101 shown in Fig. 2 b Acquiescence MBN file 2205, now modem can run that have been placed in working area and content for empty, according to terminal The MBN file of specification of the Board provisional configuration, it is achieved thereby that terminal can go out a MBN automatically according to the specification of the Board adaptation of terminal File, and then run the purpose of this MBN file.
Visible, in the embodiment of the present invention, terminal this same modem the most applicable that polytype is different, and can be many The terminal that type is different configures same set of multiple specifications of the Board coding and the corresponding relation of MBN parameter value.It is to say, Embodiment of the present invention stage of translating of not being on the permanent staff is that terminal has specified MBN file, but existing for configuring multiple different MBN The MBN parameter value of file is integrated in modem mirror image.When modem starts, one MBN file of automatic adaptation generation is supplied to Modem loads.
Alternatively, obtain the specification of the Board coding of terminal, including:
When determining the MBN file needing generation terminal corresponding, obtain the specification of the Board coding of terminal;
Wherein, following determine in the case of any one need to generate the MBN file that terminal is corresponding:
When determining operation modem first;Receive for indicating the instruction generating MBN file corresponding to terminal determining During information.
Specifically, terminal, when repeatedly starting shooting, can be run multiple times modem, but modem is only determining that needs are interim raw When becoming a MBN file, just can go to perform above-mentioned steps 201.Alternatively, when running modem first, above-mentioned steps can be performed 201.Or, determine receive for indicating the instruction information generating MBN file corresponding to terminal time, such as, due to various Possible reason, the such as corresponding relation of specification of the Board coding and MBN parameter value change, or owing to the reasons such as sales volume need MBN parameter of change terminal etc., now can send for indicating the instruction letter generating MBN file corresponding to terminal to terminal Breath, now terminal can perform above-mentioned steps 201 again when starting modem.As a rule, terminal is performing above-mentioned steps 201 After 204, next time start modem time, it is not necessary to perform above-mentioned steps 201 to 203, the most directly run last time generated should The MBN file that terminal is corresponding.
Alternatively, before obtaining the specification of the Board coding of terminal, also include:
The circuit components parameter value on the veneer of terminal is identified by identification circuit;According to default circuit components Parameter value and the corresponding relation of specification of the Board coding, determine that the specification of the Board of the terminal that circuit components parameter value is corresponding is compiled Code.
Specifically, one embodiment alternatively is, increases identification circuit on the veneer of terminal, as identified resistance etc. Low cost circuit.The circuit components parameter value identified on identification circuit is read the kernel of terminal startup stage, and then Under the effect of processor, it is corresponding specification of the Board coding by this circuit components parameter values map.
Alternatively, the kernel of terminal increases veneer identification module, can be used for reading the electricity identified on identification circuit The corresponding relation that road component parameter value, maintenance and enquiry circuit component parameter value encode with specification of the Board.Maintenance circuitry unit Device parameters value concretely increases with the corresponding relation of specification of the Board coding, circuit components parameter value and list is deleted or modified The corresponding relation of plate gauge trellis coding.Alternatively, veneer identification module provides get interface for modem, in order to modem obtains single Plate gauge trellis coding.
Alternatively, identified the circuit components parameter value on the veneer of terminal by identification circuit after, also include: Determine time the corresponding relation of default circuit components parameter value and specification of the Board coding does not include circuit components parameter value, The specification of the Board coding that acquiescence specification of the Board encoding setting is terminal that will pre-set.Alternatively, acquiescence specification of the Board coding Can be a general version, so, can avoid because owing to default circuit components parameter value is right with what specification of the Board encoded The situation that MBN file generated that content is caused the most comprehensively is failed should be related to.It is alternatively possible to report this circuit components to join Numerical value, and then make later maintenance personnel add in default circuit components parameter value with the corresponding relation of specification of the Board coding The specification of the Board coding that this circuit components parameter value is corresponding.
Alternatively, specification of the Board coding includes the coding of terminal operator and the coding of terminal work mode.So, can be more Add and identify the operator corresponding to terminal and mode of operation accurately, and then more reasonably according to operator and mode of operation It is grouped for corresponding MBN parameter.Alternatively, the coding of the mode of operation of terminal includes the coding of terminal works modulus, end End can support the coding of quantity of SIM, the coding of network formats of terminal, terminal reserved place coding in any one or Appoint multinomial.So, can more comprehensively determine the specification of the Board of terminal from all angles, and then MBN is determined more accurately out Parameter.
Table 1 illustrates the example of a kind of specification of the Board coding that the embodiment of the present invention provides
Giving an example in conjunction with table 1, such as specification of the Board is encoded to 0001000300, then this specification of the Board code identification terminal Operator is China Mobile, the quantity of the SIM that terminal can be supported be encoded to double card, the network formats of terminal is CSFB, eventually That holds work modulus is encoded to UMTS 5 mould, and terminal reserved place is 00.Alternatively, arranging this terminal reserved place is for the later stage Use when this specification of the Board coding is extended, in the coding of terminal work mode, such as increase a new parameter item.
Alternatively, MBN parameter value includes first order parameter value and second level parameter value;According to default specification of the Board coding With the corresponding relation of MBN parameter value, determine the MBN parameter value that specification of the Board coding is corresponding, including:
Coding according to default terminal operator and the corresponding relation of first order parameter value, determine terminal operator The first order parameter value that coding is corresponding;Coding according to default terminal work mode and the corresponding relation of second level parameter value, Determine the second level parameter value that the coding of terminal work mode is corresponding;According to first order parameter value and second level parameter value, really Make the MBN parameter value that specification of the Board coding is corresponding.
A kind of embodiment alternatively is the MBN parameter value that first order parameter value includes that a part can share, and the second level is joined Numerical value includes the MBN parameter value that a part can not share.The number being encoded to the SIM that terminal can be supported with terminal work mode Illustrating as a example by the coding of amount, ratio is if any two terminals, and these two terminals are China Mobile, but the end of these two terminals The coding of the quantity of the SIM that end can be supported is different, now, and all types that first order parameter value can be supported by China Mobile Some identical parameter items of all using of terminal, second level parameter value can include multiple parameter item, each parameter item correspondence one The quantity of the SIM that individual terminal can be supported by, now terminal determines the corresponding first order parameter value that encodes of China Mobile, and Determine the second level parameter value that the quantity of the SIM that terminal can support is corresponding, by first order parameter value and second level parameter value Merge, obtain the MBN parameter value that specification of the Board coding is corresponding.Visible, by this kind of embodiment, can be to same fortune The parameter that some under battalion business share merges storage, i.e. decreases the quantity of the parameter of required storage, reduces internal memory and account for By rate.
The embodiment of the present invention provides another kind embodiment alternatively, and the collection of the parameter item that second level parameter value is corresponding is combined into The subset of the set of the parameter item that first order parameter value is corresponding;
According to first order parameter value and second level parameter value, determine the MBN parameter value that specification of the Board coding is corresponding, bag Include: determine the parameter item that parameter item corresponding with second level parameter value in parameter item corresponding in first order parameter value is identical; Determine the parameter item that parameter item corresponding from second level parameter value in parameter item corresponding in first order parameter value is different;By phase The parameter value that same parameter item is corresponding in the parameter value of the second level, and the parameter value that different parameter items is in the first parameter value, As MBN parameter value.
Giving an example, such as MBN parameter value includes altogether five parameter items of a, b, c, d, e, five parameter items of a, b, c, d, e Default value be respectively 1,2,3,4 and 5, the value of five parameter items of a, b, c, d, e of terminal 1 is respectively 1,12,3,4 and 5;Eventually The value of five parameter items of a, b, c, d, e of end 2 is respectively 1,2,13,4 and 5;The value of five parameter items of a, b, c, d, e of terminal 3 It is respectively 1,12,13,4 and 15.Now, the first order parameter value storage five parameter items of a, b, c, d, e, and storage a, b, c, The default value of five parameter items of d, e is respectively 1,2,3,4 and 5.Second level parameter value stores following content:
The parameter value 12 corresponding for parameter item b of terminal 1 correspondence;
The parameter value 13 corresponding for parameter item c of terminal 2 correspondence;
The parameter value 12 corresponding for parameter item b of terminal 3 correspondence, parameter value 13 corresponding for parameter item c, parameter item e are corresponding Parameter value 15.
Terminal 1 determines the second level parameter of oneself correspondence, i.e. corresponding for parameter item b parameter value 12, uses this 12 replacement Parameter value 2 corresponding for parameter item b in first order parameter value, now, the value of five parameter items that terminal 1 is determined is respectively 1, 12,3,4 and 5.
Terminal 2 determines the second level parameter of oneself correspondence, i.e. corresponding for parameter item c parameter value 13, uses this 13 replacement Parameter value 3 corresponding for parameter item c in first order parameter value, now, the value of five parameter items that terminal 2 is determined is respectively 1, 2,13,4 and 5.
Terminal 3 determines the second level parameter of oneself correspondence, and i.e. corresponding for parameter item b parameter value 12, parameter item c are corresponding Parameter value 13, parameter value 15 corresponding for parameter item e, use the parameter corresponding for parameter item b in this 12 replacement first order parameter value Value 2, uses the parameter value 3 corresponding for parameter item c in this 13 replacement first order parameter value, uses this 15 replacement first order parameter value In parameter value 15 corresponding for parameter item e, now, the value of five parameter items that terminal 3 is determined is respectively 1,12,13,4 and 15。
Be can be seen that by above-mentioned example, the method provided by the embodiment of the present invention, can be the most less needed for deposit The quantity of the parameter of storage, reduces memory usage.
In being embodied as, alternatively, first order parameter value includes single operator general parameter item, such as each is runed Business's common NV item, EFS file etc..This type of general parameter item is in above-mentioned example described default value, is configurable on first In level parameter value, the first parameter value can be a MBN xml document.Second level parameter value can include having different size difference ginseng Several, such as can be the crucial NV item of each operator identifier difference specification, EFS, strategy file etc..Second level parameter value is also It can be a MBN xml document.
Table 2 illustrates the example of a kind of second level parameter value that the embodiment of the present invention provides
It is China Mobile that table 2 is a kind of example of the parameter value of China Mobile, such as terminal based on first order parameter value 3 mould single deck tape-recorder CSFB, now need to use the parameter corresponding to parameter item corresponding to 3 mould single deck tape-recorder CSFB in second level parameter value Value goes to replace the parameter value corresponding to parameter item identical in first order parameter value.Such as, it is assumed that terminal is at first order parameter value The value that middle network formats NV item is corresponding is 1, now, if terminal is 3 mould single deck tape-recorder CSFB, then and MBN parameter determined by final terminal In value, the value of network formats NV item is 3 in table 2.
Alternatively, terminal is before obtaining first order parameter value corresponding to terminal, second level parameter value, or terminal is obtaining After taking first order parameter value corresponding to terminal, second level parameter value, generate before MBN file, terminal to first order parameter value, Second level parameter value carries out legitimacy verification, such as verifies and whether has access first order parameter value, the authority of second level parameter value, First order parameter value, second level parameter value form the most legal etc., so, can avoid generating illegal MBN file, Or obtain form incorrect first order parameter value and second level parameter value, thus add the general of the legitimacy of MBN file Rate, and then improve the successful probability of MBN file generated.
Alternatively, first order parameter value is a MBN file, and second level parameter value is also a MBN file, and the present invention is real Execute basis in example, the MBN file generated independent end that MBN file that first order parameter value is corresponding is corresponding with second level parameter value The MBN file that end is corresponding, in order to make modem run.
Alternatively, in the embodiment of the present invention, after obtaining the specification of the Board coding of terminal, also include: default determining When the corresponding relation of specification of the Board coding and MBN parameter value does not exist specification of the Board coding, default MBN file is set to The MBN file that terminal is corresponding.Alternatively, the MBN file preset can be to make any one terminal carry out some groundworks MBN file, so, can avoid the modem caused when not storing the MBN file corresponding to this specification of the Board coding to run Failure, the situation that terminal cannot work.
In order to be further described said method flow process, the one that Fig. 2 d illustrates the embodiment of the present invention and provides adds Carrying the schematic flow sheet of the method for MBN file, as shown in Figure 2 d, the method includes:
Step 2401, the circuit components parameter value on the veneer of identification terminal, determine that circuit components parameter value is corresponding Terminal specification of the Board coding;Alternatively, step can be performed by the MBN automatic adaptation module increased in modem.Alternatively, Multiple specification of the Board coding and the corresponding relation of MBN parameter value also can be safeguarded and inquire about to MBN automatic adaptation module, and according to list Plate gauge trellis coding inquiry first order parameter value and second level parameter value, and provide interface etc. function for MBN parsing module.This Multiple specifications of the Board coding in bright embodiment and the corresponding relation of MBN parameter value, and circuit components parameter value and veneer The corresponding relation of specification coding all can exist with any one ways of realization such as tables of data, data base, code or files;
Step 2402, terminal inquiry circuit components parameter value and the corresponding relation of specification of the Board coding, determining circuit When the corresponding relation that component parameter value and specification of the Board encode does not exists the specification of the Board coding of this terminal, perform step 2403;The specification of the Board coding of this terminal is there is in determining circuit components parameter value and the corresponding relation of specification of the Board coding Time, perform step 2404;
Step 2403, the specification of the Board coding that acquiescence specification of the Board encoding setting is terminal that will pre-set;
Step 2404, inquires the specification of the Board coding of this terminal, determines that default multiple specifications of the Board coding and MBN join Whether the corresponding relation of numerical value including, this specification of the Board encodes, if not including, then performing step 2405, if including, then performing Step 2406;
Step 2405, is set to, by default MBN file, the MBN file that terminal is corresponding;
Step 2406, determines first order parameter value and second level parameter value that specification of the Board coding is corresponding, and according to veneer The first order parameter value that specification coding is corresponding generates, with second level parameter value, the MBN file that terminal is corresponding;
Step 2407, is loaded onto modem by MBN file corresponding for the terminal of generation, the MBN that the terminal that will generate is corresponding File is placed on the working area of terminal.Alternatively, above-mentioned steps 2404 to step 2407 can be by the MBN parsing module in modem Perform.
Can be seen that from the discussion above in the embodiment of the present invention, obtain the specification of the Board coding of terminal;According to default veneer Specification coding and the corresponding relation of MBN parameter value, determine the MBN parameter value that specification of the Board coding is corresponding;According to the MBN ginseng determined Numerical value, generates the MBN file that terminal is corresponding;MBN file is loaded onto modem.Owing to default specification of the Board coding and MBN join The corresponding relation of numerical value, therefore can encode according to the specification of the Board of terminal and configured MBN ginseng when running modem temporarily Numerical generation MBN file, and owing to the corresponding relation of default specification of the Board coding and MBN parameter value includes that multiple veneer is advised Trellis coding, therefore, for different terminals, all can use same set of modem and same set of default specification of the Board coding and MBN The corresponding relation of parameter value, afterwards after the specification of the Board determining terminal encodes, the MBN file that interim this terminal of generation is corresponding ?.Avoid in prior art and need to write multiple MBN file including and writing in advance in advance for different terminals The problem of modem, reduces development cost.
Fig. 3 illustrates the structural representation of a kind of device loading MBN file that the embodiment of the present invention provides.
Based on same idea, a kind of device loading MBN file that the embodiment of the present invention provides, it is used for performing above-mentioned side Method, the device 300 of this loading MBN file includes acquisition module 301, determines module 302, generation module 303, processing module 304, Alternatively, identification module 305 is also included:
Acquisition module 301, for obtaining the specification of the Board coding of terminal;
Determine module 302, for according to the multiple specifications of the Board coding preset and the corresponding relation of MBN parameter value, determining The MBN parameter value that specification of the Board coding is corresponding;Wherein, the multiple specifications of the Board coding preset and the corresponding relation of MBN parameter value It is stored in the memory block of terminal;
Generation module 303, for according to the MBN parameter value determined, generating the MBN file that terminal is corresponding;
Processing module 304, for being loaded onto modem modem by MBN file.
Alternatively, specification of the Board coding includes the coding of terminal operator and the coding of terminal work mode;MBN parameter value Including first order parameter value and second level parameter value;
Determine module 302, specifically for:
Coding according to default terminal operator and the corresponding relation of first order parameter value, determine terminal operator The first order parameter value that coding is corresponding;
Coding according to default terminal work mode and the corresponding relation of second level parameter value, determine terminal works mould The second level parameter value of the coding correspondence of formula;
According to first order parameter value and second level parameter value, determine the MBN parameter value that specification of the Board coding is corresponding.
Alternatively, the collection of the parameter item that second level parameter value is corresponding is combined into the set of parameter item corresponding to first order parameter value Subset;
Determine module 302, specifically for:
Determine the ginseng that parameter item corresponding with second level parameter value in parameter item corresponding in first order parameter value is identical Several;
Determine the ginseng that parameter item corresponding from second level parameter value in parameter item corresponding in first order parameter value is different Several;
The parameter value corresponding in the parameter value of the second level by identical parameter item, and different parameter items is at the first parameter value In parameter value, as MBN parameter value.
Alternatively, also include identification module 305, be used for:
Identify the circuit components parameter value on the veneer of terminal;
According to the corresponding relation of default circuit components parameter value with specification of the Board coding, determine that circuit components is joined The specification of the Board coding of the terminal that numerical value is corresponding.
Alternatively, identification module 305, specifically for:
Circuit elements device is not included in determining default circuit components parameter value and the corresponding relation of specification of the Board coding During part parameter value, the specification of the Board coding that acquiescence specification of the Board encoding setting is terminal that will pre-set;
Generation module 303, is used for:
Specification of the Board is there is not determining that module determines in the default specification of the Board coding corresponding relation with MBN parameter value During coding, default MBN file is set to the MBN file that terminal is corresponding.
Alternatively, acquisition module 301, specifically for:
When determining the MBN file needing generation terminal corresponding, obtain the specification of the Board coding of terminal;
Wherein, following determine in the case of any one need to generate the MBN file that terminal is corresponding:
When determining operation modem first;
Determine receive for indicating the instruction information generating MBN file corresponding to terminal time.
It may be seen from the foregoing that in the embodiment of the present invention, obtain the specification of the Board coding of terminal;According to default veneer Specification coding and the corresponding relation of MBN parameter value, determine the MBN parameter value that specification of the Board coding is corresponding;According to the MBN ginseng determined Numerical value, generates the MBN file that terminal is corresponding;MBN file is loaded onto modem.Owing to default specification of the Board coding and MBN join The corresponding relation of numerical value, therefore can encode according to the specification of the Board of terminal and configured MBN ginseng when running modem temporarily Numerical generation MBN file, and owing to the corresponding relation of default specification of the Board coding and MBN parameter value includes that multiple veneer is advised Trellis coding, therefore, for different terminals, all can use same set of modem and same set of default specification of the Board coding and MBN The corresponding relation of parameter value, afterwards after the specification of the Board determining terminal encodes, the MBN file that interim this terminal of generation is corresponding ?.Avoid in prior art and need to write multiple MBN file including and writing in advance in advance for different terminals The problem of modem, reduces development cost.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method or computer program. Therefore, the embodiment in terms of the present invention can use complete hardware embodiment, complete software implementation or combine software and hardware Form.And, the present invention can use can be with depositing at one or more computers wherein including computer usable program code The shape of the upper computer program implemented of storage media (including but not limited to disk memory, CD-ROM, optical memory etc.) Formula.
The present invention is with reference to method, equipment (system) and the flow process of computer program according to embodiments of the present invention Figure and/or block diagram describe.It should be understood that can the most first-class by computer program instructions flowchart and/or block diagram Flow process in journey and/or square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided Instruction arrives the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce A raw machine so that the instruction performed by the processor of computer or other programmable data processing device is produced for real The device of the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame now.
These computer program instructions may be alternatively stored in and computer or other programmable data processing device can be guided with spy Determine in the computer-readable memory that mode works so that the instruction being stored in this computer-readable memory produces and includes referring to Make the manufacture of device, this command device realize at one flow process of flow chart or multiple flow process and/or one square frame of block diagram or The function specified in multiple square frames.
These computer program instructions also can be loaded in computer or other programmable data processing device so that at meter Perform sequence of operations step on calculation machine or other programmable devices to produce computer implemented process, thus at computer or The instruction performed on other programmable devices provides for realizing at one flow process of flow chart or multiple flow process and/or block diagram one The step of the function specified in individual square frame or multiple square frame.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation Property concept, then can make other change and amendment to these embodiments.So, claims are intended to be construed to include excellent Select embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and the modification essence without deviating from the present invention to the present invention God and scope.So, if these amendments of the present invention and modification belong to the scope of the claims in the present invention and equivalent technologies thereof Within, then the present invention is also intended to comprise these change and modification.

Claims (12)

1. the method for a load-modulate demodulator software arrangements MBN file, it is characterised in that including:
Obtain the specification of the Board coding of terminal;
According to default multiple specifications of the Board coding and the corresponding relation of MBN parameter value, determine described specification of the Board coding correspondence MBN parameter value;Wherein, the corresponding relation of described default multiple specifications of the Board coding and MBN parameter value is stored in described end The memory block of end;
According to the described MBN parameter value determined, generate the MBN file that described terminal is corresponding;
Described MBN file is loaded onto modem modem.
2. the method for claim 1, it is characterised in that described specification of the Board coding include terminal operator coding and The coding of terminal work mode;Described MBN parameter value includes first order parameter value and second level parameter value;
The specification of the Board coding that described basis is preset and the corresponding relation of MBN parameter value, determine described specification of the Board coding correspondence MBN parameter value, including:
Coding according to default terminal operator and the corresponding relation of first order parameter value, determine described terminal operator The described first order parameter value that coding is corresponding;
Coding according to default terminal work mode and the corresponding relation of second level parameter value, determine described terminal works mould The described second level parameter value of the coding correspondence of formula;
According to described first order parameter value and described second level parameter value, determine the described of described specification of the Board coding correspondence MBN parameter value.
3. method as claimed in claim 2, it is characterised in that the collection of the parameter item that described second level parameter value is corresponding is combined into institute State the subset of the set of parameter item corresponding to first order parameter value;
Described according to described first order parameter value with described second level parameter value, determine the institute that described specification of the Board coding is corresponding State MBN parameter value, including:
Determine that parameter item corresponding with described second level parameter value in parameter item corresponding in described first order parameter value is identical Parameter item;
Determine that parameter item corresponding from described second level parameter value in parameter item corresponding in described first order parameter value is different Parameter item;
The parameter value corresponding in the parameter value of the described second level by described identical parameter item, and described different parameter item is in institute State the parameter value in the first parameter value, as described MBN parameter value.
4. the method for claim 1, it is characterised in that before the specification of the Board coding of described acquisition terminal, also include:
The circuit components parameter value on the veneer of terminal is identified by identification circuit;
According to the corresponding relation of default circuit components parameter value with specification of the Board coding, determine that described circuit components is joined The described specification of the Board coding of the described terminal that numerical value is corresponding.
5. method as claimed in claim 4, it is characterised in that described identified the electricity on the veneer of terminal by identification circuit After the component parameter value of road, also include:
Described circuit elements device is not included in determining default circuit components parameter value and the corresponding relation of specification of the Board coding During part parameter value, the described specification of the Board coding that acquiescence specification of the Board encoding setting is described terminal that will pre-set;
After the specification of the Board coding of described acquisition terminal, also include:
When there is not described specification of the Board coding in determining the corresponding relation of default specification of the Board coding and MBN parameter value, Default MBN file is set to the MBN file that described terminal is corresponding.
6. method as claimed in claim 5, it is characterised in that the specification of the Board coding of described acquisition terminal, including:
Determine need to generate MBN file corresponding to described terminal time, obtain the specification of the Board coding of terminal;
Wherein, following determine in the case of any one need to generate the MBN file that described terminal is corresponding:
When determining operation modem first;
Determine receive for indicating the instruction information generating MBN file corresponding to described terminal time.
7. the device of a load-modulate demodulator software arrangements MBN file, it is characterised in that including:
Acquisition module, for obtaining the specification of the Board coding of terminal;
Determine module, for according to the multiple specifications of the Board coding preset and the corresponding relation of MBN parameter value, determining described veneer The MBN parameter value that specification coding is corresponding;Wherein, described default multiple specifications of the Board coding and the corresponding relation of MBN parameter value It is stored in the memory block of described terminal;
Generation module, for according to the described MBN parameter value determined, generates the MBN file that described terminal is corresponding;
Processing module, for being loaded onto modem modem by described MBN file.
8. device as claimed in claim 7, it is characterised in that described specification of the Board coding include terminal operator coding and The coding of terminal work mode;Described MBN parameter value includes first order parameter value and second level parameter value;
Described determine module, specifically for:
Coding according to default terminal operator and the corresponding relation of first order parameter value, determine described terminal operator The described first order parameter value that coding is corresponding;
Coding according to default terminal work mode and the corresponding relation of second level parameter value, determine described terminal works mould The described second level parameter value of the coding correspondence of formula;
According to described first order parameter value and described second level parameter value, determine the described of described specification of the Board coding correspondence MBN parameter value.
9. device as claimed in claim 8, it is characterised in that the collection of the parameter item that described second level parameter value is corresponding is combined into institute State the subset of the set of parameter item corresponding to first order parameter value;
Described determine module, specifically for:
Determine that parameter item corresponding with described second level parameter value in parameter item corresponding in described first order parameter value is identical Parameter item;
Determine that parameter item corresponding from described second level parameter value in parameter item corresponding in described first order parameter value is different Parameter item;
The parameter value corresponding in the parameter value of the described second level by described identical parameter item, and described different parameter item is in institute State the parameter value in the first parameter value, as described MBN parameter value.
10. device as claimed in claim 7, it is characterised in that also include identification module, be used for:
Identify the circuit components parameter value on the veneer of terminal;
According to the corresponding relation of default circuit components parameter value with specification of the Board coding, determine that described circuit components is joined The described specification of the Board coding of the described terminal that numerical value is corresponding.
11. devices as claimed in claim 10, it is characterised in that described identification module, specifically for:
Described circuit elements device is not included in determining default circuit components parameter value and the corresponding relation of specification of the Board coding During part parameter value, the described specification of the Board coding that acquiescence specification of the Board encoding setting is described terminal that will pre-set;
Described generation module, is used for:
Determine that module determines that default specification of the Board encodes and there is not described veneer in the corresponding relation of MBN parameter value described During specification coding, default MBN file is set to the MBN file that described terminal is corresponding.
12. devices as claimed in claim 11, it is characterised in that described acquisition module, specifically for:
Determine need to generate MBN file corresponding to described terminal time, obtain the specification of the Board coding of terminal;
Wherein, following determine in the case of any one need to generate the MBN file that described terminal is corresponding:
When determining operation modem first;
Determine receive for indicating the instruction information generating MBN file corresponding to described terminal time.
CN201610353003.2A 2016-05-24 2016-05-24 Method and device for loading MBN file Active CN106066802B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610353003.2A CN106066802B (en) 2016-05-24 2016-05-24 Method and device for loading MBN file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610353003.2A CN106066802B (en) 2016-05-24 2016-05-24 Method and device for loading MBN file

Publications (2)

Publication Number Publication Date
CN106066802A true CN106066802A (en) 2016-11-02
CN106066802B CN106066802B (en) 2019-12-20

Family

ID=57420754

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610353003.2A Active CN106066802B (en) 2016-05-24 2016-05-24 Method and device for loading MBN file

Country Status (1)

Country Link
CN (1) CN106066802B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106899774A (en) * 2017-01-17 2017-06-27 宇龙计算机通信科技(深圳)有限公司 The dynamic adaptation method and dynamic adaptation device of terminal modem softwares
CN106937320A (en) * 2017-03-31 2017-07-07 努比亚技术有限公司 A kind of operator parameter method of automatic configuration and terminal
CN107135516A (en) * 2017-06-29 2017-09-05 努比亚技术有限公司 A kind of parameter testing processing method, mobile terminal and computer-readable recording medium
CN107318099A (en) * 2017-05-02 2017-11-03 深圳市万普拉斯科技有限公司 Modem configuration files processing method, device and mobile terminal
CN107948965A (en) * 2017-11-28 2018-04-20 宇龙计算机通信科技(深圳)有限公司 A kind of method and apparatus of generation MBN files
CN112672387A (en) * 2020-12-21 2021-04-16 广西东信易联科技有限公司 Method and system for automatically switching network modes according to user data

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002247665A (en) * 2001-02-15 2002-08-30 Hitachi Telecom Technol Ltd Communication system
CN102055603A (en) * 2009-11-03 2011-05-11 中兴通讯股份有限公司 Method and system for configuring voice over internet phone (VOIP) veneer
CN104780557A (en) * 2014-01-09 2015-07-15 中兴通讯股份有限公司 Configuration method and device
CN105101479A (en) * 2015-05-29 2015-11-25 努比亚技术有限公司 Adaptive configuration method and device for network frequency band of mobile terminal
CN105101162A (en) * 2015-07-13 2015-11-25 广东欧珀移动通信有限公司 Method and device for automatically loading MBN (ModemConfiguration Binary File)

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002247665A (en) * 2001-02-15 2002-08-30 Hitachi Telecom Technol Ltd Communication system
CN102055603A (en) * 2009-11-03 2011-05-11 中兴通讯股份有限公司 Method and system for configuring voice over internet phone (VOIP) veneer
CN104780557A (en) * 2014-01-09 2015-07-15 中兴通讯股份有限公司 Configuration method and device
CN105101479A (en) * 2015-05-29 2015-11-25 努比亚技术有限公司 Adaptive configuration method and device for network frequency band of mobile terminal
CN105101162A (en) * 2015-07-13 2015-11-25 广东欧珀移动通信有限公司 Method and device for automatically loading MBN (ModemConfiguration Binary File)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106899774A (en) * 2017-01-17 2017-06-27 宇龙计算机通信科技(深圳)有限公司 The dynamic adaptation method and dynamic adaptation device of terminal modem softwares
CN106899774B (en) * 2017-01-17 2021-05-25 宇龙计算机通信科技(深圳)有限公司 Dynamic adaptation method and dynamic adaptation device for terminal modem software
CN106937320A (en) * 2017-03-31 2017-07-07 努比亚技术有限公司 A kind of operator parameter method of automatic configuration and terminal
CN106937320B (en) * 2017-03-31 2020-11-10 浙江国信房地产营销策划有限公司 Automatic operator parameter configuration method and terminal
CN107318099A (en) * 2017-05-02 2017-11-03 深圳市万普拉斯科技有限公司 Modem configuration files processing method, device and mobile terminal
CN107318099B (en) * 2017-05-02 2020-02-04 深圳市万普拉斯科技有限公司 Modem configuration file processing method and device and mobile terminal
CN107135516A (en) * 2017-06-29 2017-09-05 努比亚技术有限公司 A kind of parameter testing processing method, mobile terminal and computer-readable recording medium
CN107135516B (en) * 2017-06-29 2020-10-09 商机盒子(北京)科技有限公司 Parameter test processing method, mobile terminal and computer readable storage medium
CN107948965A (en) * 2017-11-28 2018-04-20 宇龙计算机通信科技(深圳)有限公司 A kind of method and apparatus of generation MBN files
CN112672387A (en) * 2020-12-21 2021-04-16 广西东信易联科技有限公司 Method and system for automatically switching network modes according to user data
CN112672387B (en) * 2020-12-21 2021-08-31 广西东信易联科技有限公司 Method and system for automatically switching network modes according to user data

Also Published As

Publication number Publication date
CN106066802B (en) 2019-12-20

Similar Documents

Publication Publication Date Title
CN106066802A (en) A kind of method and apparatus loading MBN file
CN107894952A (en) Generation method, device, equipment and the readable storage medium storing program for executing of interface testing use-case
CN104991793A (en) Method, device and system used for application program subpackage
CN106598667A (en) Method and device used for restoring kernel vulnerability
CN110351346A (en) A kind of eSIM changes chucking method and relevant device
US20100088498A1 (en) System and method for managing hardware configuration parameters
CN104199706A (en) Firmware upgrade method and device for eMMC
CN103024782B (en) A kind of method and system of base station software version management
CN104219654A (en) Sim card reading and writing method and terminal
CN105933888A (en) Burning method and device of eSIM (Subscriber Identity Module) card based on NFC
CN105765533A (en) Method and apparatus for firmware virtualization
CN103716346A (en) Management method and device of application on android handset client
CN103257869B (en) A kind of ECU program smart download method
CN104461667A (en) Root method and device for intelligent terminal
CN107729072A (en) Control property read method, device, terminal and readable storage medium storing program for executing
CN101170765B (en) Generation and authentication method for telecommunication intelligent card
CN107957887A (en) A kind of component loading method of equipment, device and Internet of things system
CN108874495B (en) Theme resource conversion method and device and electronic equipment
CN105095009B (en) A kind of method for deleting and device of memory
CN102609650B (en) Realize the system and method that in electronic equipment, software cryptography is downloaded
CN108834126B (en) Card changing equipment and method
CN109684026A (en) APP replacing skins method, apparatus, electronic equipment and storage medium
CN102073541A (en) Data access method and mobile terminal
CN102801749B (en) A kind of dispositions method of J2ME application program and device
CN101662770B (en) Method for accessing wireless application protocol network, mobile terminal, server and system

Legal Events

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