CN109618327A - A kind of method and apparatus of software adaptation, electronic equipment, readable storage medium storing program for executing - Google Patents

A kind of method and apparatus of software adaptation, electronic equipment, readable storage medium storing program for executing Download PDF

Info

Publication number
CN109618327A
CN109618327A CN201811426892.6A CN201811426892A CN109618327A CN 109618327 A CN109618327 A CN 109618327A CN 201811426892 A CN201811426892 A CN 201811426892A CN 109618327 A CN109618327 A CN 109618327A
Authority
CN
China
Prior art keywords
code
client
operator
logos
software
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
CN201811426892.6A
Other languages
Chinese (zh)
Other versions
CN109618327B (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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent 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 Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201811426892.6A priority Critical patent/CN109618327B/en
Publication of CN109618327A publication Critical patent/CN109618327A/en
Application granted granted Critical
Publication of CN109618327B publication Critical patent/CN109618327B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Abstract

This application involves a kind of method and apparatus of software adaptation, electronic equipment, readable storage medium storing program for executing, and operator logos code is configured in nonvolatile memory NV, wherein operator logos code is used to identify the corresponding operator of goods area out of client;Under default setting mode, the operator logos code in NV is read;It is adapted to operator corresponding with operator logos code software, so that client normally networks, operator's software is used to provide the carrier network of corresponding goods area out for client.After client imports unified software installation packet, operator logos code is configured in NV according to goods area out, and reading operator logos code makes client be adapted to operator corresponding with goods area out software, solve the problems, such as that the unified software installation packet of mobile device configuration is unable to satisfy different goods areas out and normally networks, it is easy to operate efficient, it avoids individually developing, save the cost.

Description

A kind of method and apparatus of software adaptation, electronic equipment, readable storage medium storing program for executing
Technical field
This application involves mobile communication technology fields, set more particularly, to a kind of method and apparatus of software adaptation, electronics Standby, readable storage medium storing program for executing.
Background technique
In current mobile device industry, mobile device has been increasingly becoming mainstream, and the mobile device of domestic production is due to its height The features such as cost performance, perfect in shape and function, is sold abroad, and shows original market potential in foreign countries.For being exported to shifting at home and abroad Dynamic device hardware may be the same, but inconsistent due to operator all over the world.Then mobile device is going out goods areas just for difference The emphasis that the problem of often online researches and develops as mobile device.Currently, mobile device need to configure different fortune for different goods areas out Quotient's software is sought, so that mobile device normal use network, the above method need to individually develop corresponding mobile device software and individually life Hardware is produced, whole process is individually operated in production process, and operating process is cumbersome.Since mobile device difference goes out goods area carrier network not Together, the normal networking that unified software installation packet is unable to satisfy different goods areas out is configured to mobile device.
Summary of the invention
The embodiment of the present application provides a kind of method and apparatus of software adaptation, electronic equipment, readable storage medium storing program for executing, can make Mobile device configures unified software installation packet, and to meet, in difference, goods area normally networks out.
A kind of method of software adaptation, is applied to client, which comprises
Operator logos code is configured in nonvolatile memory NV, wherein the operator logos code is for identifying institute That states client goes out operator corresponding to goods area;
Under default setting mode, the operator logos code in the NV is read;
It is adapted to operator's software corresponding with the operator logos code, so that the client normally networks, the fortune Battalion's quotient's software is used to provide the carrier network of corresponding goods area out for the client.
The method of a kind of software adaptation, applied to writing decoding apparatus, which comprises
Receive the code instruction of writing to client, the code instruction of writing is for for client configuration and the client Go out the corresponding operator logos code of goods area;
Request is sent to manufacture system MES is executed, the request is for obtaining the operation pre-saved in the MES Quotient's identity code;
Receive the operator logos code that the MES is sent;
By operator logos code configuration in the nonvolatile memory NV of the client.
The device of a kind of software adaptation, applied to writing decoding apparatus, which is characterized in that described device includes:
First receiving module, for receiving the code instruction of writing to client, the code instruction of writing is for for the client End configuration operator logos code corresponding with the goods area out of the client;
Request module, for manufacture system MES transmission request is executed, the request to be for obtaining in the MES in advance The operator logos code saved;
Second receiving module, the operator logos code sent for receiving the MES;
Writing module, for the operator logos code to be configured in the nonvolatile memory NV of the client.
A kind of device of software adaptation, is applied to client, which is characterized in that described device includes:
Configuration module, for configuring operator logos code in nonvolatile memory NV, wherein the operator logos Code is for identifying operator corresponding to the goods area out of the client;
Read module, for reading the operator logos code in the NV under default setting mode;
Adaptation module, for being that the client is adapted to operator's software according to the operator logos code, so that described Client normally networks, and operator's software is used to provide the carrier network of corresponding goods area out for the client.
A kind of electronic equipment, including memory and processor store computer program, the calculating in the memory When machine program is executed by the processor, so that the step of processor executes the method for above-mentioned software adaptation.
A kind of non-volatile computer readable storage medium storing program for executing is stored thereon with computer program, the computer program quilt Processor realizes the step of method of above-mentioned software adaptation when executing.
The method and apparatus of above-mentioned software adaptation, electronic equipment, readable storage medium storing program for executing, match in nonvolatile memory NV Set operator logos code, wherein the operator logos code is used to identify the corresponding operator of goods area out of the client;? Under default setting mode, the operator logos code in the NV is read;It is adapted to fortune corresponding with the operator logos code Quotient's software is sought, so that the client normally networks, operator's software is used to provide corresponding goods area out for the client Carrier network.After client imports unified software installation packet, operator logos code is configured in NV according to goods area out, and read It takes operator logos code that client is made to be adapted to operator corresponding with goods area out software, solves mobile device and unified software is installed Installation kit be unable to satisfy it is different go out goods area the problem of normally networking, it is easy to operate efficiently to avoid individually developing software, saving at This.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is the flow chart of the method for software adaptation in one embodiment;
Fig. 2 is the flow chart for the method that decoding apparatus permission is write in verifying in one embodiment;
Fig. 3 is the flow chart of the method for operator logos code backup in one embodiment;
Fig. 4 is the flow chart of the method for software adaptation in another embodiment;
Fig. 5 is the structural schematic diagram of the device of software adaptation in one embodiment;
Fig. 6 is the structural schematic diagram of the device of software adaptation in another embodiment;
Fig. 7 is the internal structure block diagram of electronic equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, and It is not used in restriction the application.
It is appreciated that term " first " used in this application, " second " etc. can be used to describe various elements herein, But these elements should not be limited by these terms.These terms are only used to distinguish the first element from the other element.Citing comes It says, in the case where not departing from scope of the present application, the first receiving module can be known as the second receiving module, and similarly, Second receiving module can be known as the first receiving module.First receiving module and the second receiving module both receiving module, But it is not same receiving module.
Fig. 1 is a kind of method for software adaptation that one embodiment provides, and is applied to client, method includes:
Step 101 configures operator logos code in nonvolatile memory (Non-Volatile memory, NV), In, operator logos code is used to identify operator corresponding to the goods area out of client;Operator is imported or is written in NV Identity code configures operator logos code, and operator logos code can be researched and developed the customized setting of engineer of company by client , can be any length, such as 5,8,10 or any other length, while operator logos code can be 2 into System, 10 systems, 16 systems or other systems, herein with no restrictions.Wherein, operator logos code and client go out goods area at Mapping relations, operator logos code identify operator corresponding to the goods area out of client.
For example, setting operator logos code is 8 binary codes, and a collection of client will be sent to American market, the U.S. Three big operators be respectively Verizon, AT&T, Sprint, the corresponding operator logos code of setting U.S. Verizon is The corresponding operator logos code of 0001001, setting U.S. AT&T is 0001010, the corresponding operation trade mark of setting U.S. Sprint Will code is 0001011, and the operator logos code being arranged herein is for example, in practical operation, and operator logos code can be by work Cheng Shi voluntarily arranges and is arranged as desired, herein with no restrictions.
It should be noted that if the Liang Zhong operator of the compatible wherein any combination of client, then it can be corresponding by two Operator logos code is written in the NV of client;If the compatible wherein above-mentioned three kinds of operators of client, can be right by three The operator logos code answered is written in the NV of client.One fortune can also be set according to the compatible multiple operators of client Quotient's identity code is sought, for example, the corresponding operator logos code of client compatible US Verizon and U.S. AT&T setting is 0001100;It is 0001101 that corresponding operator logos code, which is arranged, in client compatible US Verizon and U.S. Sprint;Client Holding compatible US AT&T and U.S. Sprint that corresponding operator logos code is arranged is 0001110.The compatible beauty in client custom end It is 0001111 that corresponding operator logos code, which is arranged, in state AT&T, U.S. Sprint, U.S. Verizon.
Step 102, the operator logos code under default setting mode, in reading NV;It include the under default setting mode The primary two kinds of situations of preceding state and factory reset state that are switched on, factory reset are referred to the individual character of the equipment or instrument The default conditions for being restored to factory are set, and such as beginning interface, standby mode, key swift to operate, timed reminding etc. are restored to factory The data of storage are not will be deleted when setting.In the case where first powering on or factory reset, the prior art can be passed through In means make client obtain NV in data.For example, can be ordered by transmission " nvread " to client makes client Read the data in NV in end.Client reads the operator logos code in NV, then can determine that operator logos code is corresponding Operator.
Step 103, adaptation operator corresponding with operator logos code software, so that client normally networks, operator Software is used to provide the carrier network of corresponding goods area out for client.In a step 102, client reads the operator in NV Identity code, it is determined that go out the corresponding operator of operator logos code.It finds out in the client corresponding with operator logos code Operator's software, operator's software are used to provide the carrier network of corresponding goods area out for client.For example, the setting U.S. The corresponding operator logos code of Verizon is 0001001, and reading the operator logos code saved in client NV is 0001001, it is determined that the applicable operator of client is U.S. Verizon, then in all operator's softwares of client, searches The corresponding operator's software of U.S. Verizon, and be configured in the client, so that client can use in the U.S. Verizon operator can normally surf the Internet.
It should be noted that if the regional multiple operators that client is compatible, reading operator logos code has two A or multiple operator logos codes, then according to the subscriber identification card (Subscriber of insertion IdentificationModule, SIM) adaptation operator's software, so that client normally networks.Such as client is compatible U.S. Verizon and U.S. AT&T, reading operator logos code, there are two identify compatible US Verizon and U.S. AT&T respectively Operator logos code, then determine and configure corresponding operator's software further according to the SIM of insertion.If reading in NV as expression One operator logos code of compatible multiple operators, such as, client compatible US Verizon and U.S. AT&T are read Operator logos code is 0001100, then it represents that the operator logos code of client compatible US Verizon and U.S. AT&T, then It is determined further according to the SIM of insertion and configures corresponding operator's software.
Method provided by the embodiments of the present application further include: the connection of decoding apparatus is established and write, so as to write decoding apparatus from execution Obtain operator logos code in manufacture system (Manufacturing Execution System, MES), and by operator logos Code is configured in the NV of client.It client and writes decoding apparatus and establishes connection, enable and write decoding apparatus in the NV of client With merging operator logos code.It writes decoding apparatus to be written before operator logos code in the NV of client, can send and ask to MES It asks and obtains the corresponding operator logos code of client.It should be noted that, write the shipment that the client is known in advance in decoding apparatus herein The area that the area i.e. client is sold, and the mapping relations for going out goods area and operator logos code of client are saved in MES. MES passes through the request for receiving and writing decoding apparatus transmission, includes the goods area out of client in request, then MES going out according to client Goods area finds corresponding operator logos code with the mapping relations of operator logos code, and operator logos code is sent to and writes code Equipment.
Method provided by the embodiments of the present application include thes steps that as shown in Figure 2:
Step 201, NV read-write mode be a reading mode under, to write decoding apparatus carry out Authority Verification operation;By client The external interface of the NV at end is set as a reading mode, prevent without Authority Verification write decoding apparatus write direct or erasable NV in The data of storage.Decoding apparatus is write to this and carries out Authority Verification operation, can be client and know that the code of writing for possessing access limit is set Standby identity information writes decoding apparatus and sends identity information to client, and whether client, which determines to write decoding apparatus and belong to, possesses read-write power Limit writes decoding apparatus, to verify the permission for writing decoding apparatus.Particularly, Authority Verification operation can be client make an appointment with The communication key between decoding apparatus is write, write decoding apparatus using communication key crypto identity information and sends information to client, Client verifies the permission for writing decoding apparatus using communication key decryption identity information.Or it is close by third party's arbitration transmission communication Key is to client and writes decoding apparatus, writes decoding apparatus using communication key crypto identity information and sends information to client, visitor The permission for writing decoding apparatus is verified using communication key decryption identity information in family end.
If step 202, write decoding apparatus Authority Verification success, by NV by read-only pattern switching be read-write mode;If client End verifying write decoding apparatus possess access limit write decoding apparatus Authority Verification successfully, then the external interface in the area NV in client is set The read-only pattern switching set is read-write mode, sends operator logos code in client in the area NV so that this writes decoding apparatus, And client is configured to quotient's identity code is sought in nonvolatile memory NV.
The operator logos code of decoding apparatus transmission is write in step 203, reception, and operator logos code is configured to non-volatile In memory NV, and NV is switched to a reading mode by read-write mode.It writes decoding apparatus and sends client for operator logos code In, client receives the operator logos code for writing decoding apparatus transmission, and battalion's quotient's identity code is configured to nonvolatile memory NV In.After the completion of configuring operator logos code, the external interface in the area NV is arranged client is set as a reading mode by read-write mode, What is prevented writes the operator logos code stored in decoding apparatus write-in or erasing NV without Authority Verification.
Method provided by the embodiments of the present application include thes steps that as shown in Figure 3:
The operator logos code of configuration is carried out NV backup, and the operator logos code after backup is saved in by step 301 Hidden partition;The operator logos code being configured in client NV is subjected to NV backup, and by the operator logos code after backup It is saved in hidden partition.NV backup refers to backing up to operator logos code in the NV of client, and to deal with file, data are lost The fortuitous event that mistake or damage etc. are likely to occur.Hidden partition saves the information of System guides file and disk boot sector. Under normal conditions, the segment space for the hard disk that can not directly use is not shown.And the space of hidden partition may not drawn It branches away, it is also possible to the unacquainted format subregion of current system, or the backup subregion that can be hidden.
If step 302 detects that the operator logos code of NV backup is not present, the fortune of the preservation in hidden partition is obtained Seek quotient's identity code.If the fortuitous event that backup file, loss of data or damage etc. are likely to occur, the operator of NV backup is detected Identity code is not present, then obtains operator logos code from hidden partition.Data in hidden partition are not shown under normal conditions Show, what data were restored to show can be refitting system, because registration table changes, can show the data of hidden partition.Or Person's software rejuvenation, such as diskgenius, FbinstTool software, obtain hidden partition operator logos code can be it is existing The method that other in technology restore and obtain hidden partition data, details are not described herein again.
Method provided by the embodiments of the present application further include: configure corresponding International Mobile Equipment Identity in NV for client Code (International Mobile Equipment Identity, IMEI).IMEI is configured in NV to be used in mobile phone The mobile communication equipments such as each independent mobile phone are identified in network, are equivalent to the identity card of mobile phone.Each mobile electricity Words are endowed a unique IMEI code.IMEI code can be used for inquiring guarantee or production information.Wherein, IMEI is by 15 The electronics string number of number or 17 bit digitals composition.IMEI includes five parts: first part, type assigned code (TAC) (TypeAllocation Code, TAC) forms (being 6 in early days) by 8 bit digitals, is to discriminate between the coding of mobile phone brand and model, The code is distributed by GSMA and its authorized organization.Second part, final assembly ground code (FinalAssembly Code, FAC) is by 2 Bit digital is constituted, and is existed in the mobile phone that earlier T AC code is 6, when TAC code is 8, no FAC.Part III sequence number (Serial Number, SNR), 6 bit digitals started by the 9th form, and distinguish the production sequence number of every mobile phone.4th Divide identifying code (Check Digit, CD), is calculated by preceding 14 bit digital by Luhn algorithm.Part V software version number (Software Version Number, SVN) distinguishes the different software versions used when the factory of homotype trumpeter machine, only in part Exist in the part type of brand.
The embodiment of the present application also provides a kind of method of software adaptation, and applied to decoding apparatus is write, method includes as shown in Figure 4 The step of:
Step 401 receives and writes code instruction to client, write code instruction for for client configuration with client out The corresponding operator logos code of goods area;Reception writes code instruction to client, can be the instruction from client, is also possible to The device of testing tool, configuration tool etc transmitting order to lower levels.It writes decoding apparatus and receives and code instruction is write to client, wherein write The market for going out the preparation of goods area, that is, client and being sent in code instruction including client, writes decoding apparatus with this and determines client Go out goods area go out goods area information.
Step 402, Xiang Zhihang manufacture system MES send request, request for obtaining the operation trade mark pre-saved in MES Will code;The received market for going out the goods area i.e. preparation of client and being sent to write in code instruction including client of decoding apparatus is write, is write Decoding apparatus determines the goods area information out for going out goods area of client with this, then it is corresponding to go out goods area with client to MES transmission request Operator logos code.It should be noted that, the mapping pass for going out goods area and operator logos code of client is saved in MES herein System.MES receives the request for writing decoding apparatus transmission, includes that client goes out goods area in request, then MES is according to the shipment of client Area finds corresponding operator logos code with the mapping relations of operator logos code, and operator logos code is sent to and writes code and sets It is standby.
Step 403, the operator logos code for receiving MES transmission;Operator logos code is sent to and writes decoding apparatus by MES. That writes that decoding apparatus receives MES transmission goes out the corresponding operator logos code of goods area with client, and operator logos code is configured Into the NV of client.
Step 404 configures operator logos code in the nonvolatile memory NV of client.By MES send with Client goes out the corresponding operator logos code of goods area and is sent in the nonvolatile memory NV of client, so that client will transport Battalion's trade mark will is configured in nonvolatile memory NV.In other words, the corresponding operator of goods area will be gone out with client by writing decoding apparatus In the nonvolatile memory NV of mark write-in client.
It should be understood that although each step in flow chart in Fig. 1-4 is successively shown according to the instruction of arrow, It is these steps is not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps There is no stringent sequences to limit for rapid execution, these steps can execute in other order.Moreover, in Fig. 1-4 at least A part of step may include that perhaps these sub-steps of multiple stages or stage are not necessarily in same a period of time to multiple sub-steps Quarter executes completion, but can execute at different times, the execution in these sub-steps or stage be sequentially also not necessarily according to Secondary progress, but in turn or can replace at least part of the sub-step or stage of other steps or other steps Ground executes.
The embodiment of the present application also provides a kind of device of software adaptation as shown in Figure 5, is applied to client, software adaptation Device includes:
Configuration module 501, for configuring operator in nonvolatile memory (Non-Volatile memory, NV) Identity code, wherein operator logos code is used to identify operator corresponding to the goods area out of client;It imports or writes in NV Enter operator logos code and configure operator logos code, operator logos code can be made by oneself by the engineer that client researches and develops company Justice setting, it can be any length, such as 5,8,10 or any other length, while operator logos code can be with It is 2 systems, 10 systems, 16 systems or other systems, herein with no restrictions.Wherein, operator logos code and client go out For goods area at mapping relations, operator logos code identifies operator corresponding to the goods area out of client.
For example, setting operator logos code is 8 binary codes, and a collection of client will be sent to American market, the U.S. Three big operators be respectively Verizon, AT&T, Sprint, the corresponding operator logos code of setting U.S. Verizon is The corresponding operator logos code of 0001001, setting U.S. AT&T is 0001010, the corresponding operation trade mark of setting U.S. Sprint Will code is 0001011, and the operator logos code being arranged herein is for example, in practical operation, and operator logos code can be by work Cheng Shi voluntarily arranges and is arranged as desired, herein with no restrictions.
It should be noted that if the Liang Zhong operator of the compatible wherein any combination of client, then it can be corresponding by two Operator logos code is written in the NV of client;If the compatible wherein above-mentioned three kinds of operators of client, can be right by three The operator logos code answered is written in the NV of client.One fortune can also be set according to the compatible multiple operators of client Quotient's identity code is sought, for example, the corresponding operator logos code of client compatible US Verizon and U.S. AT&T setting is 0001100;It is 0001101 that corresponding operator logos code, which is arranged, in client compatible US Verizon and U.S. Sprint;Client Holding compatible US AT&T and U.S. Sprint that corresponding operator logos code is arranged is 0001110.The compatible beauty in client custom end It is 0001111 that corresponding operator logos code, which is arranged, in state AT&T, U.S. Sprint, U.S. Verizon.
Read module 502, for reading the operator logos code in NV under default setting mode;Default setting mode Lower includes two kinds of situations of state and factory reset state before being switched on for the first time, and factory reset is referred to equipment or instrument The individual character setting of device is restored to the default conditions of factory, and such as beginning interface, standby mode, key swift to operate, timed reminding etc. are extensive The data of storage are not will be deleted when arriving default setting again.In the case where first powering on or factory reset, can pass through Means in the prior art make client obtain the data in NV.For example, can be ordered by transmission " nvread " to client End makes client read the data in NV.Client reads the operator logos code in NV, then can determine operator logos The corresponding operator of code.
Adaptation module 503, for being that client is adapted to operator's software according to operator logos code, so that client is normal Networking, operator's software are used to provide the carrier network of corresponding goods area out for client.In a step 102, client is read Operator logos code in NV, it is determined that go out the corresponding operator of operator logos code.It finds out in the client and operator The corresponding operator's software of identity code, operator's software are used to provide the carrier network of corresponding goods area out for client.For example, It is 0001001 that the corresponding operator logos code of U.S. Verizon, which is arranged, reads the operator logos code saved in client NV It is 0001001, it is determined that the applicable operator of client is that U.S. Verizon is looked into then in all operator's softwares of client The corresponding operator's software of U.S. Verizon is looked for, and is configured in the client, so that client can use in the U.S. Verizon operator can normally surf the Internet.
It should be noted that if the regional multiple operators that client is compatible, reading operator logos code has two A or multiple operator logos codes, then according to the subscriber identification card of insertion (Subscriber Identification Module, SIM) adaptation operator's software, so that client normally networks.Such as client compatible US Verizon and beauty State AT&T, read operator logos code there are two respectively identify compatible US Verizon and U.S. AT&T operator logos code, Corresponding operator's software is then determined and configured further according to the SIM of insertion.If reading in NV as the compatible multiple operators of expression An operator logos code, such as, client compatible US Verizon and U.S. AT&T, read operator logos code be 0001100, then it represents that the operator logos code of client compatible US Verizon and U.S. AT&T, then further according to the SIM of insertion To determine and configure corresponding operator's software.
The embodiment of the present application also provides a kind of device of software as shown in FIG. 6 adaptation, applied to writing decoding apparatus, device packet It includes:
First receiving module 601 writes code instruction to client for receiving, write code instruction for for client configuration Operator logos code corresponding with the goods area out of client;Reception writes code instruction to client, can be from client Instruction, is also possible to the device of testing tool, configuration tool etc transmitting order to lower levels.It writes decoding apparatus and receives and code is write to client Instruction, wherein write the market for going out the goods area i.e. preparation of client and being sent in code instruction including client, write decoding apparatus with this Determine the goods area information out for going out goods area of client.
Request module 602 requests to pre-save in MES for obtaining for sending request to executing manufacture system MES Operator logos code;Write the received pin for going out the goods area i.e. preparation of client and being sent to write in code instruction including client of decoding apparatus Ground is sold, the goods area information out for going out goods area that decoding apparatus determines client is write, then sends request to MES and go out goods area pair with client The operator logos code answered.It should be noted that, the mapping for going out goods area and operator logos code of client is saved in MES herein Relationship.MES receives the request for writing decoding apparatus transmission, includes the goods area out of client in request, then MES going out according to client Goods area finds corresponding operator logos code with the mapping relations of operator logos code, and operator logos code is sent to and writes code Equipment.
Second receiving module 603, for receiving the operator logos code of MES transmission;MES sends operator logos code To writing decoding apparatus.That writes that decoding apparatus receives MES transmission goes out the corresponding operator logos code of goods area with client, and by operator Identity code is configured in the NV of client.
Writing module 604, for being configured to operator logos code in the nonvolatile memory NV of client.By MES What is sent goes out the corresponding operator logos code of goods area with client and is sent in the nonvolatile memory NV of client, so that objective Operator logos are configured in nonvolatile memory NV by family end.In other words, writing decoding apparatus, will to go out goods area with client corresponding Operator logos write-in client nonvolatile memory NV in.
The division of modules is only used for for example, in other embodiments, can incite somebody to action in the device of above-mentioned software adaptation The device of software adaptation is divided into different modules as required, to complete all or part of function of the device of above-mentioned software adaptation Energy.
The specific of device device about software adaptation limits the limit that may refer to the method being adapted to above for software Fixed, details are not described herein.Modules in the device of above-mentioned software adaptation can be fully or partially through software, hardware and its group It closes to realize.Above-mentioned each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also be with Software form is stored in the memory in computer equipment, executes the corresponding behaviour of the above modules in order to which processor calls Make.
Fig. 7 is the schematic diagram of internal structure of electronic equipment in one embodiment.As shown in fig. 7, the electronic equipment includes logical Cross the processor and memory of system bus connection.Wherein, which supports entire electricity for providing calculating and control ability The operation of sub- equipment.Memory may include non-volatile memory medium and built-in storage.Non-volatile memory medium is stored with behaviour Make system and computer program.The computer program can be performed by processor, to be mentioned for realizing following each embodiment The method that a kind of resource supplied imports.Built-in storage provides height for the operating system computer program in non-volatile memory medium The running environment of speed caching.The electronic equipment can be mobile phone, tablet computer or personal digital assistant or wearable device etc..
The embodiment of the present application also provides a kind of electronic equipment, including memory and processor, stores calculating in memory Machine program, modules in client realize can be computer program form.The computer program can be in terminal or clothes It is run on business device.The program module that the computer program is constituted is storable on the memory of terminal or server.Computer journey When sequence is executed by processor, so that the step of processor executes the method for above-mentioned software adaptation.
Operator logos code is configured in nonvolatile memory NV, wherein operator logos code is for identifying client Go out goods area corresponding to operator;
Under default setting mode, the operator logos code in NV is read;
It is adapted to operator corresponding with operator logos code software, so that client normally networks, operator's software is used for The carrier network of corresponding goods area out is provided for client.
The embodiment of the present application also provides a kind of non-volatile computer readable storage medium storing program for executing, is stored thereon with computer journey Sequence, the step of method of above-mentioned software adaptation is realized when computer program is executed by processor.
Operator logos code is configured in nonvolatile memory NV, wherein operator logos code is for identifying client Go out goods area corresponding to operator;
Under default setting mode, the operator logos code in NV is read;
It is adapted to operator corresponding with operator logos code software, so that client normally networks, operator's software is used for The carrier network of corresponding goods area out is provided for client.
It may include non-to any reference of memory, storage, database or other media used in the embodiment of the present application Volatibility and/or volatile memory.Suitable nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM), it is used as external cache.By way of illustration and not limitation, RAM in a variety of forms may be used , such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDR SDRAM), Enhanced SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM).
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously The limitation to the application the scope of the patents therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art For, without departing from the concept of this application, various modifications and improvements can be made, these belong to the guarantor of the application Protect range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (10)

1. a kind of method of software adaptation, is applied to client, which is characterized in that the described method includes:
Operator logos code is configured in nonvolatile memory NV, wherein the operator logos code is for identifying the visitor Family end goes out operator corresponding to goods area;
Under default setting mode, the operator logos code in the NV is read;
It is adapted to operator's software corresponding with the operator logos code, so that the client normally networks, the operator Software is used to provide the carrier network of corresponding goods area out for the client.
2. the method for software adaptation according to claim 1, which is characterized in that described to match in nonvolatile memory NV Before setting operator logos code, the method also includes:
The connection of decoding apparatus is established and writes, so that the decoding apparatus of writing obtains the operation trade mark from execution manufacture system MES Will code, and the operator logos code is configured in the NV of the client.
3. the method for software adaptation according to claim 2, which is characterized in that the method also includes:
The NV read-write mode be a reading mode under, to it is described write decoding apparatus carry out Authority Verification operation;
If it is described write decoding apparatus Authority Verification success, by the NV by read-only pattern switching be read-write mode;
The operator logos code of decoding apparatus transmission is write described in reception, and the operator logos code is configured to non-volatile In memory NV, and the NV is switched to a reading mode by read-write mode.
4. the method for software adaptation according to claim 1, which is characterized in that the method also includes:
The operator logos code of configuration is subjected to NV backup, and the operator logos code after backup is saved in hiding Subregion;
If detecting, the operator logos code of the NV backup is not present, and obtains the institute of the preservation in the hidden partition State operator logos code.
5. the method for software adaptation according to claim 1, which is characterized in that the method also includes: in the NV Corresponding International Mobile Equipment Identity code IEMI is configured for the client.
6. a kind of method of software adaptation, applied to writing decoding apparatus, which is characterized in that the described method includes:
Receive the code instruction of writing to client, it is described write code instruction for for client configuration and the client out The corresponding operator logos code of goods area;
Request is sent to manufacture system MES is executed, the request is for obtaining the operation trade mark pre-saved in the MES Will code;
Receive the operator logos code that the MES is sent;
By operator logos code configuration in the nonvolatile memory NV of the client.
7. a kind of device of software adaptation, applied to writing decoding apparatus, which is characterized in that described device includes:
First receiving module, for receiving the code instruction of writing to client, the code instruction of writing is for matching for the client Set operator logos code corresponding with the goods area out of the client;
Request module, for manufacture system MES transmission request is executed, the request to be pre-saved for obtaining in the MES The operator logos code;
Second receiving module, the operator logos code sent for receiving the MES;
Writing module, for the operator logos code to be configured in the nonvolatile memory NV of the client.
8. a kind of device of software adaptation, is applied to client, which is characterized in that described device includes:
Configuration module, for configuring operator logos code in nonvolatile memory NV, wherein the operator logos code is used Go out operator corresponding to goods area in the mark client;
Read module, for reading the operator logos code in the NV under default setting mode;
Adaptation module, for being that the client is adapted to operator's software according to the operator logos code, so that the client Rectify often networking, operator's software is used to provide the carrier network for corresponding to goods area for the client.
9. a kind of electronic equipment, including memory and processor, which is characterized in that store computer journey in the memory Sequence, when the computer program is executed by the processor, so that the processor executes such as any one of claims 1 to 6 The step of method of software adaptation.
10. a kind of non-volatile computer readable storage medium storing program for executing, is stored thereon with computer program, which is characterized in that the meter The step of method such as any one of claims 1 to 6 software adaptation is realized when calculation machine program is executed by processor.
CN201811426892.6A 2018-11-27 2018-11-27 Software adaptation method and device, electronic equipment and readable storage medium Active CN109618327B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811426892.6A CN109618327B (en) 2018-11-27 2018-11-27 Software adaptation method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811426892.6A CN109618327B (en) 2018-11-27 2018-11-27 Software adaptation method and device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN109618327A true CN109618327A (en) 2019-04-12
CN109618327B CN109618327B (en) 2021-08-13

Family

ID=66005185

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811426892.6A Active CN109618327B (en) 2018-11-27 2018-11-27 Software adaptation method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN109618327B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102663598B1 (en) 2022-03-28 2024-05-03 부산가톨릭대학교 산학협력단 Apparatus and method for detecting and extracting hidden area and hidden files created using the FbinstTool

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724657A (en) * 2012-06-19 2012-10-10 惠州Tcl移动通信有限公司 Method and system for automatically configuring mobile terminal parameters of Android system
WO2014166185A1 (en) * 2013-04-09 2014-10-16 中兴通讯股份有限公司 Method for automatic network search of mobile terminal and mobile terminal
CN105101171A (en) * 2014-05-16 2015-11-25 中兴通讯股份有限公司 Terminal network parameter configuration method, and terminal
CN105188048A (en) * 2015-07-31 2015-12-23 上海海漾软件技术有限公司 Method, device and terminal equipment for loading customized applications for mobile terminal
CN106792637A (en) * 2016-12-13 2017-05-31 广东欧珀移动通信有限公司 International mobile equipment identification number wiring method, device and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724657A (en) * 2012-06-19 2012-10-10 惠州Tcl移动通信有限公司 Method and system for automatically configuring mobile terminal parameters of Android system
WO2014166185A1 (en) * 2013-04-09 2014-10-16 中兴通讯股份有限公司 Method for automatic network search of mobile terminal and mobile terminal
CN105101171A (en) * 2014-05-16 2015-11-25 中兴通讯股份有限公司 Terminal network parameter configuration method, and terminal
CN105188048A (en) * 2015-07-31 2015-12-23 上海海漾软件技术有限公司 Method, device and terminal equipment for loading customized applications for mobile terminal
CN106792637A (en) * 2016-12-13 2017-05-31 广东欧珀移动通信有限公司 International mobile equipment identification number wiring method, device and mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102663598B1 (en) 2022-03-28 2024-05-03 부산가톨릭대학교 산학협력단 Apparatus and method for detecting and extracting hidden area and hidden files created using the FbinstTool

Also Published As

Publication number Publication date
CN109618327B (en) 2021-08-13

Similar Documents

Publication Publication Date Title
CN100472445C (en) Configuring load application method and system of communication apparatus
JP6585072B2 (en) Safe reading of data into non-volatile memory or secure elements
US9008575B2 (en) Portable mobile communication device and method of controlling near field communication
CN101137154A (en) Apparatus and method for downloading sim data in mobile communication system
CN101977263B (en) Method and mobile terminal for encrypting double-card mobile terminal
CN101751593A (en) Smart card and backup, recovering method and system thereof
CN102833817A (en) Network access method and system based on home gateway and home gateway
CN101112064B (en) Method, system and microcontroller card for communicating application services from a microcontroller card to a terminal
CN106406939A (en) EMMC chip-based mobile terminal rollback prevention method and system
CN106293529A (en) Method, device and the smart card of a kind of smart cards for storage data
CN104765652A (en) Data backup and data recovery method and device
CN101170765B (en) Generation and authentication method for telecommunication intelligent card
CN108170456B (en) Firmware upgrading method and device for electronic equipment
CN104468947A (en) Information processing method and electronic equipment
CN104079610A (en) Cloud server, and method and system for cloud synchronization of application software
CN109618327A (en) A kind of method and apparatus of software adaptation, electronic equipment, readable storage medium storing program for executing
CN107169053A (en) log information deriving method and device
CN111767553A (en) Data encryption and decryption method, MCU, electronic equipment and readable storage medium
CN103309758B (en) A kind of mthods, systems and devices blocking application and download
CN105659229A (en) Identifying service providers for integrating a secure element into a short-range wireless communication apparatus
JP2015060302A (en) Universal ic card and security attribute verification method
CN113377581B (en) Data backup method and device, computer equipment and storage medium
CN117336204B (en) T-BOX test method and system for intelligent network-connected automobile
US20080300019A1 (en) Cellular phone
CN115002218B (en) Traffic distribution method, traffic distribution device, computer equipment and storage medium

Legal Events

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