CN109618327B - Software adaptation method and device, electronic equipment and readable storage medium - Google Patents

Software adaptation method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN109618327B
CN109618327B CN201811426892.6A CN201811426892A CN109618327B CN 109618327 B CN109618327 B CN 109618327B CN 201811426892 A CN201811426892 A CN 201811426892A CN 109618327 B CN109618327 B CN 109618327B
Authority
CN
China
Prior art keywords
operator
client
code
software
mark code
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.)
Active
Application number
CN201811426892.6A
Other languages
Chinese (zh)
Other versions
CN109618327A (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

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Stored Programmes (AREA)

Abstract

The application relates to a software adaptation method and device, electronic equipment and a readable storage medium, wherein an operator mark code is configured in a non-volatile memory NV, wherein the operator mark code is used for marking an operator corresponding to a delivery area of a client; reading an operator mark code in NV (network video) in a factory setting mode; and the operator software corresponding to the operator mark code is adapted to enable the client to be normally connected with the network, and the operator software is used for providing an operator network corresponding to the delivery area for the client. After the client side introduces the unified software installation package, the operator mark codes are configured in the NV according to the shipment area, and the operator mark codes are read to enable the client side to be matched with the operator software corresponding to the shipment area, so that the problem that normal networking of different shipment areas cannot be met by configuring the unified software installation package for the mobile equipment is solved, the operation is simple and efficient, independent development is avoided, and the cost is saved.

Description

Software adaptation method and device, electronic equipment and readable storage medium
Technical Field
The present application relates to the field of mobile communications technologies, and in particular, to a software adaptation method and apparatus, an electronic device, and a readable storage medium.
Background
In the current mobile equipment industry, mobile equipment has gradually become the mainstream, and the mobile equipment produced in China is sold overseas due to the characteristics of high cost performance, complete functions and the like, and shows a rather unsophisticated market potential abroad. The same may be true for mobile device hardware both inside and outside the open ocean, but due to operator inconsistencies around the world. The problem that the mobile device normally surfs the internet in different delivery areas becomes the key point of research and development of the mobile device. At present, different operator software needs to be configured for different delivery areas of the mobile equipment so that the mobile equipment can normally use a network. Due to the fact that different shipment areas of the mobile equipment are different in operator networks, the mobile equipment cannot be normally networked by configuring the unified software installation package.
Disclosure of Invention
The embodiment of the application provides a software adaptation method and device, electronic equipment and a readable storage medium, which can enable the mobile equipment to be configured with a unified software installation package to meet the requirement of normal networking in different delivery areas.
A software adaptation method applied to a client, the method comprising:
configuring an operator mark code in a non-volatile memory (NV), wherein the operator mark code is used for identifying an operator corresponding to a goods discharge area of the client;
reading the operator mark code in the NV under a factory setting mode;
and adapting the operator software corresponding to the operator identifier to enable the client to be normally connected with the network, wherein the operator software is used for providing an operator network corresponding to the delivery area for the client.
A software adaptation method applied to a coding device comprises the following steps:
receiving a code writing instruction for a client, wherein the code writing instruction is used for configuring an operator mark code corresponding to a delivery area of the client for the client;
sending a request to an execution manufacturing system (MES), wherein the request is used for acquiring the operator mark code pre-stored in the MES;
receiving the operator mark code sent by the MES;
the operator identity code is configured in a non-volatile memory NV of the client.
A software adapting device applied to a coding device is characterized in that the device comprises:
the system comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is used for receiving a code writing instruction for a client, and the code writing instruction is used for configuring an operator mark code corresponding to a delivery area of the client for the client;
a request module, configured to send a request to an execution manufacturing system MES, where the request is used to obtain the operator identifier pre-stored in the MES;
the second receiving module is used for receiving the operator identifier sent by the MES;
and the writing module is used for configuring the operator mark code into a nonvolatile memory NV of the client.
A software adapting device applied to a client, the device comprising:
the configuration module is used for configuring an operator mark code in a nonvolatile memory NV, wherein the operator mark code is used for identifying an operator corresponding to a goods discharge area of the client;
the reading module is used for reading the operator mark code in the NV in a factory setting mode;
the adaptation module is used for adapting operator software for the client according to the operator mark code so as to enable the client to be normally connected with the network, and the operator software is used for providing an operator network corresponding to the delivery area for the client.
An electronic device comprises a memory and a processor, wherein the memory stores a computer program, and the computer program, when executed by the processor, causes the processor to execute the steps of the software adaptation method.
A non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the software adaptation method described above.
The software adapting method and device, the electronic device and the readable storage medium configure an operator identifier in a non-volatile memory (NV), wherein the operator identifier is used for identifying an operator corresponding to a delivery area of the client; reading the operator mark code in the NV under a factory setting mode; and adapting the operator software corresponding to the operator identifier to enable the client to be normally connected with the network, wherein the operator software is used for providing an operator network corresponding to the delivery area for the client. After the client side introduces the unified software installation package, the operator mark codes are configured in the NV according to the shipment area, and the operator mark codes are read to enable the client side to be matched with the operator software corresponding to the shipment area, so that the problem that the mobile equipment installation unified software installation package cannot meet normal networking of different shipment areas is solved, the operation is simple and efficient, software is prevented from being independently developed, and the cost is saved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow diagram of a method of software adaptation in one embodiment;
FIG. 2 is a flow diagram of a method for verifying the authorization of a coding device in one embodiment;
FIG. 3 is a flow diagram of a method for operator identifier code backup in one embodiment;
FIG. 4 is a flow chart of a method of software adaptation in yet another embodiment;
FIG. 5 is a diagram illustrating an exemplary software adapting apparatus;
FIG. 6 is a diagram illustrating the structure of a software adapting apparatus according to another embodiment;
fig. 7 is a block diagram showing an internal configuration of an electronic device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, a first receiving module may be referred to as a second receiving module, and similarly, a second receiving module may be referred to as a first receiving module, without departing from the scope of the present application. The first and second receiving modules are both receiving modules, but they are not the same receiving module.
Fig. 1 is a flowchart of an embodiment of a software adaptation method applied to a client, the software adaptation method including:
step 101, configuring an operator mark code in a Non-Volatile memory (NV), wherein the operator mark code is used for identifying an operator corresponding to a delivery area of a client; the operator identifier code is configured by importing or writing the operator identifier code into NV, where the operator identifier code may be set by an engineer of a client development company in a customized manner, and may have any length, for example, 5 bits, 8 bits, 10 bits, or any other length, and the operator identifier code may be 2-ary, 10-ary, 16-ary, or other-ary, which is not limited herein. The operator mark code and the delivery area of the client are in a mapping relation, and the operator mark code marks the operator corresponding to the delivery area of the client.
For example, the operator identifier is set to be an 8-bit binary code, a batch of clients are sent to the market of the united states, three operators in the united states are Verizon and AT & T, Sprint, the operator identifier corresponding to Verizon in the united states is set to be 0001001, the operator identifier corresponding to AT & T in the united states is set to be 0001010, the operator identifier corresponding to Sprint in the united states is set to be 0001011, and the operator identifier set here is an example.
It should be noted that, if the client is compatible with two operators combined arbitrarily, the identifier codes of the two operators corresponding to the two operators can be written into the NV of the client; if the client is compatible with the three operators, the identifier codes of the three operators can be written into the NV of the client. An operator identifier can also be set according to the compatibility of the client with a plurality of operators, for example, the client is compatible with Verizon in the United states and the corresponding operator identifier is set to 0001100 by AT & T in the United states; the client is compatible with the Verizon and Sprint in the United states, and sets a corresponding operator mark code to be 0001101; the client is compatible with the American AT & T and the American Sprint, and the corresponding operator identifier is set to be 0001110. The client is compatible with US AT & T, US Sprint and US Verizon, and sets the corresponding operator mark code to 0001111.
Step 102, reading an operator mark code in NV (network video) in a factory setting mode; the factory setting restoration method includes two conditions of a state before first startup and a factory setting restoration state, and the factory setting restoration refers to restoration of the personality setting of the equipment or the instrument to a factory default state, such as a starting interface, a standby mode, operation of a shortcut key, timing reminding and the like, and stored data cannot be deleted when the personality setting of the equipment or the instrument is restored to the factory setting. Under the condition of starting up for the first time or recovering factory settings, the client can acquire data in the NV through means in the prior art. For example, the client may be caused to read data in the NV by sending an "nvread" command to the client. And the client reads the operator mark code in the NV, so that the operator corresponding to the operator mark code can be determined.
And 103, adapting operator software corresponding to the operator identifier to enable the client to be normally connected with the network, wherein the operator software is used for providing an operator network corresponding to the shipment area for the client. In step 102, the client reads the operator identifier in the NV, and determines the operator corresponding to the operator identifier. The operator software corresponding to the operator identification code is found out in the client, and the operator software is used for providing an operator network corresponding to the delivery area for the client. For example, setting the operator identifier corresponding to the us Verizon to 0001001, reading that the operator identifier stored in the NV of the client is 0001001, determining that the operator applicable to the client is the us Verizon, searching the operator software corresponding to the us Verizon from all the operator software of the client, and configuring the operator software into the client, so that the client can use the Verizon operator to surf the internet normally in the us.
It should be noted that, if the client is compatible with multiple operators in one area, and there are two or more operator identifiers in the operator identifier code, the client is made to normally network according to the inserted Subscriber Identity Module (SIM). For example, the client is compatible with both the us Verizon and the us AT & T, and two operator identifiers for reading the operator identifiers are provided, which identify the compatibility with the us Verizon and the us AT & T, respectively, and then determine and configure the corresponding operator software according to the inserted SIM. If the NV reads an operator id indicating compatibility with multiple operators, for example, the client is compatible with Verizon and AT & T in the united states, and the NV reads an operator id of 0001100, which indicates compatibility with Verizon and AT & T in the united states, then the corresponding operator software is determined and configured according to the inserted SIM.
The method provided by the embodiment of the application further comprises the following steps: a connection is established with the coding device to cause the coding device to obtain the operator identification code from the Manufacturing Execution System (MES) and configure the operator identification code in the NV of the client. The client establishes a connection with the code writing device, so that the code writing device can configure an operator identifier in the NV of the client. Before writing the operator identifier in the NV of the client, the code writing device may send a request to the MES to acquire the operator identifier corresponding to the client. It should be noted here that the code writing device knows the shipment area of the client in advance, i.e. the area where the client is sold, and the MES stores the mapping relationship between the shipment area of the client and the operator identifier. And the MES finds the corresponding operator mark code according to the mapping relation between the delivery area of the client and the operator mark code and sends the operator mark code to the code writing equipment.
The method provided by the embodiment of the application further comprises the following steps as shown in fig. 2:
step 201, performing authority verification operation on the code writing device when the read-write mode of NV is a read-only mode; and setting an external interface of the NV of the client to be in a read-only mode, and preventing the code writing equipment without permission verification from directly writing or erasing data stored in the NV. The authority verification operation is carried out on the coding device, the client can know the identity information of the coding device with the read-write authority, the coding device sends the identity information to the client, and the client determines whether the coding device belongs to the coding device with the read-write authority so as to verify the authority of the coding device. Specifically, the permission verification operation may be that the client agrees a communication key with the coding device in advance, the coding device encrypts the identity information using the communication key and sends the information to the client, and the client decrypts the identity information using the communication key to verify the permission of the coding device. Or the third party arbitrates to send the communication key to the client and the code writing device, the code writing device encrypts the identity information by using the communication key and sends the information to the client, and the client decrypts the identity information by using the communication key to verify the authority of the code writing device.
Step 202, if the authority verification of the code writing equipment is successful, switching the NV from a read-only mode to a read-write mode; if the client verifies that the code writing equipment has the read-write permission, namely the code writing equipment permission is successfully verified, a read-only mode set by an external interface in an NV (network video) area in the client is switched to a read-write mode, so that the code writing equipment sends the operator mark code to the client in the NV area, and the client configures the operator mark code into a nonvolatile memory NV.
Step 203, receiving the operator identifier sent by the code writing device, configuring the operator identifier into the non-volatile memory NV, and switching the NV from the read-write mode to the read-only mode. The code writing device sends the operator mark code to the client, and the client receives the operator mark code sent by the code writing device and configures the operator mark code into the non-volatile memory NV. After the operator mark code is configured, the client sets the external interface of the NV area from a read-write mode to a read-only mode, and prevents code writing equipment without permission verification from writing or erasing the operator mark code stored in the NV.
The method provided by the embodiment of the application further comprises the following steps as shown in fig. 3:
301, performing NV backup on the configured operator mark code, and storing the backed-up operator mark code into a hidden partition; and carrying out NV backup on the operator mark code configured in the NV of the client, and storing the backed-up operator mark code in the hidden partition. The NV backup refers to backing up an operator logo code into NV of a client, so as to cope with possible accidents such as file loss and data damage. The hidden partition holds system boot files and disk boot sector information. Under normal conditions, part of the space of the hard disk, which cannot be used directly as well, is not displayed. And the space of the hidden partition may not be divided, or may be a format partition unknown to the current system, or may be a backup partition that can be hidden.
Step 302, if it is detected that the operator identifier of the NV backup does not exist, the operator identifier stored in the hidden partition is obtained. If the operator mark code of NV backup is detected to be absent under the possible unexpected conditions of file backup, data loss or damage and the like, the operator mark code is obtained from the hidden partition. The data in the hidden partition is not displayed under normal conditions, and the data recovery display of the hidden partition can be a reinstallation system, and the data of the hidden partition is displayed because the registry is changed. Or software recovery, such as software diskgenius, fbensttool, and the like, the obtaining of the operator identifier of the hidden partition may be other methods for recovering and obtaining the data of the hidden partition in the prior art, and details are not repeated here.
The method provided by the embodiment of the application further comprises the following steps: the NV configures a corresponding International Mobile Equipment Identity (IMEI) for the client. The IMEI is allocated in NV to identify mobile communication devices, such as individual mobile phones, in a mobile phone network, and corresponds to an identification card of a mobile phone. Each mobile telephone is assigned a unique IMEI code. The IMEI code may be used to query warranty or production information. Wherein, the IMEI is an electronic serial number composed of 15 digits or 17 digits. The IMEI includes five parts: the first part, Type Allocation Code (TAC), is composed of 8 digits (6 digits in the early stage), is a Code that distinguishes the brand and model of a mobile phone, and is allocated by GSMA and its authority. The second part, the Final Assembly Code (FAC), consists of 2-digit numbers, and is present in early mobile phones with TAC Code 6 digits, and no FAC when TAC Code is 8 digits. The third partial Serial Number (SNR) is composed of 6 digits from the 9 th digit, and distinguishes the production Serial Number of each handset. The fourth part of the verification code (Check Digit, CD) is calculated from the first 14 digits by the Luhn algorithm. The fifth part of Software Version Number (SVN) distinguishes different Software versions used when the same model of mobile phone leaves the factory, and exists only in part of models of a part of brands.
The embodiment of the present application further provides a software adaptation method, applied to a coding device, where the method includes the steps shown in fig. 4:
step 401, receiving a code writing instruction for a client, wherein the code writing instruction is used for configuring an operator mark code corresponding to a delivery area of the client for the client; the code writing instruction to the client is received, and the code writing instruction can be an instruction from the client, or can be a device for issuing commands, such as a test tool and a configuration tool. The code writing equipment receives a code writing instruction to the client, wherein the code writing instruction comprises a delivery area of the client, namely a sales place to which the client is ready to send, and the code writing equipment determines delivery area information of the delivery area of the client according to the delivery area information.
Step 402, sending a request to an execution manufacturing system (MES), wherein the request is used for acquiring an operator mark code pre-stored in the MES; the code writing device receives a code writing instruction which comprises a delivery area of the client, namely a sales place to which the client is ready to send, determines delivery area information of the delivery area of the client by the code writing device, and sends a request to an MES for requesting an operator mark code corresponding to the delivery area of the client. It should be noted that the MES stores the mapping relationship between the shipment area of the client and the operator identifier. And the MES receives a request sent by the code writing equipment, wherein the request comprises a delivery area of the client, finds the corresponding operator mark code according to the mapping relation between the delivery area of the client and the operator mark code, and sends the operator mark code to the code writing equipment.
Step 403, receiving an operator identifier sent by the MES; the MES sends the operator identifier to the coding facility. And the code writing equipment receives the operator mark code which is sent by the MES and corresponds to the client shipment area, and configures the operator mark code into the NV of the client.
Step 404, the operator identifier code is configured in the non-volatile memory NV of the client. And sending the operator mark code corresponding to the client shipment area sent by the MES to the non-volatile memory NV of the client, so that the client configures the operator mark into the non-volatile memory NV. In other words, the code writing device writes the operator log corresponding to the client shipment area into the non-volatile memory NV of the client.
It should be understood that although the various steps in the flow charts in fig. 1-4 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-4 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
An embodiment of the present invention further provides a software adapting device as shown in fig. 5, which is applied to a client, and the software adapting device includes:
a configuration module 501, configured to configure an operator identifier code in a Non-Volatile memory (NV), where the operator identifier code is used to identify an operator corresponding to a shipment area of a client; the operator identifier code is configured by importing or writing the operator identifier code into NV, where the operator identifier code may be set by an engineer of a client development company in a customized manner, and may have any length, for example, 5 bits, 8 bits, 10 bits, or any other length, and the operator identifier code may be 2-ary, 10-ary, 16-ary, or other-ary, which is not limited herein. The operator mark code and the delivery area of the client are in a mapping relation, and the operator mark code marks the operator corresponding to the delivery area of the client.
For example, the operator identifier is set to be an 8-bit binary code, a batch of clients are sent to the market of the united states, three operators in the united states are Verizon and AT & T, Sprint, the operator identifier corresponding to Verizon in the united states is set to be 0001001, the operator identifier corresponding to AT & T in the united states is set to be 0001010, the operator identifier corresponding to Sprint in the united states is set to be 0001011, and the operator identifier set here is an example.
It should be noted that, if the client is compatible with two operators combined arbitrarily, the identifier codes of the two operators corresponding to the two operators can be written into the NV of the client; if the client is compatible with the three operators, the identifier codes of the three operators can be written into the NV of the client. An operator identifier can also be set according to the compatibility of the client with a plurality of operators, for example, the client is compatible with Verizon in the United states and the corresponding operator identifier is set to 0001100 by AT & T in the United states; the client is compatible with the Verizon and Sprint in the United states, and sets a corresponding operator mark code to be 0001101; the client is compatible with the American AT & T and the American Sprint, and the corresponding operator identifier is set to be 0001110. The client is compatible with US AT & T, US Sprint and US Verizon, and sets the corresponding operator mark code to 0001111.
A reading module 502, configured to read an operator identifier in NV in a factory setting mode; the factory setting restoration method includes two conditions of a state before first startup and a factory setting restoration state, and the factory setting restoration refers to restoration of the personality setting of the equipment or the instrument to a factory default state, such as a starting interface, a standby mode, operation of a shortcut key, timing reminding and the like, and stored data cannot be deleted when the personality setting of the equipment or the instrument is restored to the factory setting. Under the condition of starting up for the first time or recovering factory settings, the client can acquire data in the NV through means in the prior art. For example, the client may be caused to read data in the NV by sending an "nvread" command to the client. And the client reads the operator mark code in the NV, so that the operator corresponding to the operator mark code can be determined.
The adaptation module 503 is configured to adapt an operator software for the client according to the operator identifier, so that the client is normally connected to the network, and the operator software is configured to provide an operator network corresponding to the shipment area for the client. In step 102, the client reads the operator identifier in the NV, and determines the operator corresponding to the operator identifier. The operator software corresponding to the operator identification code is found out in the client, and the operator software is used for providing an operator network corresponding to the delivery area for the client. For example, setting the operator identifier corresponding to the us Verizon to 0001001, reading that the operator identifier stored in the NV of the client is 0001001, determining that the operator applicable to the client is the us Verizon, searching the operator software corresponding to the us Verizon from all the operator software of the client, and configuring the operator software into the client, so that the client can use the Verizon operator to surf the internet normally in the us.
It should be noted that, if the client is compatible with multiple operators in one area, and there are two or more operator identifiers in the operator identifier code, the client is made to normally network according to the inserted Subscriber Identity Module (SIM). For example, the client is compatible with both the us Verizon and the us AT & T, and two operator identifiers for reading the operator identifiers are provided, which identify the compatibility with the us Verizon and the us AT & T, respectively, and then determine and configure the corresponding operator software according to the inserted SIM. If the NV reads an operator id indicating compatibility with multiple operators, for example, the client is compatible with Verizon and AT & T in the united states, and the NV reads an operator id of 0001100, which indicates compatibility with Verizon and AT & T in the united states, then the corresponding operator software is determined and configured according to the inserted SIM.
An embodiment of the present application further provides a software adapting device as shown in fig. 6, which is applied to a coding device, and the software adapting device includes:
a first receiving module 601, configured to receive a code writing instruction for a client, where the code writing instruction is used to configure an operator identifier corresponding to a delivery area of the client for the client; the code writing instruction to the client is received, and the code writing instruction can be an instruction from the client, or can be a device for issuing commands, such as a test tool and a configuration tool. The code writing equipment receives a code writing instruction to the client, wherein the code writing instruction comprises a delivery area of the client, namely a sales place to which the client is ready to send, and the code writing equipment determines delivery area information of the delivery area of the client according to the delivery area information.
A request module 602, configured to send a request to an execution manufacturing system MES, the request being used to obtain an operator identifier pre-stored in the MES; the code writing instruction received by the code writing equipment comprises a delivery area of the client, namely a sales place to which the client is ready to send, and the code writing equipment determines the delivery area information of the delivery area of the client and sends a request to an MES for requesting an operator mark code corresponding to the delivery area of the client. It should be noted that the MES stores the mapping relationship between the shipment area of the client and the operator identifier. And the MES receives a request sent by the code writing equipment, wherein the request comprises a delivery area of the client, finds the corresponding operator mark code according to the mapping relation between the delivery area of the client and the operator mark code, and sends the operator mark code to the code writing equipment.
A second receiving module 603, configured to receive an operator identifier sent by the MES; the MES sends the operator identifier to the coding facility. And the code writing equipment receives the operator mark code which is sent by the MES and corresponds to the client shipment area, and configures the operator mark code into the NV of the client.
A writing module 604 for configuring the operator identifier code into the non-volatile memory NV of the client. And sending the operator mark code corresponding to the client shipment area sent by the MES to the non-volatile memory NV of the client, so that the client configures the operator mark into the non-volatile memory NV. In other words, the code writing device writes the operator log corresponding to the client shipment area into the non-volatile memory NV of the client.
The division of each module in the software adapting apparatus is only for illustration, and in other embodiments, the software adapting apparatus may be divided into different modules as required to complete all or part of the functions of the software adapting apparatus.
For the specific limitation of the soft adaptation device, reference may be made to the above limitation of the soft adaptation method, which is not described herein again. The modules in the software adapting device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
Fig. 7 is a schematic diagram of an internal structure of an electronic device in one embodiment. As shown in fig. 7, the electronic device includes a processor and a memory connected by a system bus. Wherein, the processor is used for providing calculation and control capability and supporting the operation of the whole electronic equipment. The memory may include a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The computer program can be executed by a processor to implement a method for resource import provided in the following embodiments. The internal memory provides a cached execution environment for the operating system computer programs in the non-volatile storage medium. The electronic device may be a mobile phone, a tablet computer, or a personal digital assistant or a wearable device, etc.
An embodiment of the present application further provides an electronic device, which includes a memory and a processor, where the memory stores a computer program, and each module in the client is implemented in the form of the computer program. The computer program may be run on a terminal or a server. The program modules constituted by the computer program may be stored on the memory of the terminal or the server. The computer program, when executed by the processor, causes the processor to perform the steps of the software adaptation method described above.
Configuring an operator mark code in a nonvolatile memory NV, wherein the operator mark code is used for identifying an operator corresponding to a goods discharge area of a client;
reading an operator mark code in NV (network video) in a factory setting mode;
and the operator software corresponding to the operator mark code is adapted to enable the client to be normally connected with the network, and the operator software is used for providing an operator network corresponding to the delivery area for the client.
Embodiments of the present application also provide a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the steps of the software adaptation method.
Configuring an operator mark code in a nonvolatile memory NV, wherein the operator mark code is used for identifying an operator corresponding to a goods discharge area of a client;
reading an operator mark code in NV (network video) in a factory setting mode;
and the operator software corresponding to the operator mark code is adapted to enable the client to be normally connected with the network, and the operator software is used for providing an operator network corresponding to the delivery area for the client.
Any reference to memory, storage, database, or other medium used by embodiments of the present application may include non-volatile and/or volatile memory. Suitable non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A software adaptation method applied to a client, the method comprising:
configuring an operator mark code in a non-volatile memory (NV), wherein the operator mark code is used for identifying an operator corresponding to a goods discharge area of the client;
reading the operator mark code in the NV under a factory setting mode;
and adapting the operator software corresponding to the operator identifier to enable the client to be normally connected with the network, wherein the operator software is used for providing an operator network corresponding to the delivery area for the client.
2. The method for software adaptation according to claim 1, wherein before configuring the carrier identity code in the non-volatile memory NV, the method further comprises:
and establishing a connection with the code writing equipment so that the code writing equipment acquires the operator identification code from an execution manufacturing system (MES) and configures the operator identification code into the NV of the client.
3. The method of software adaptation according to claim 2, further comprising:
when the read-write mode of the NV is a read-only mode, performing permission verification operation on the code writing equipment;
if the authority verification of the code writing equipment is successful, switching the NV from a read-only mode to a read-write mode;
and receiving the operator mark code sent by the code writing equipment, configuring the operator mark code into a non-volatile memory (NV), and switching the NV from a read-write mode to a read-only mode.
4. The method of software adaptation according to claim 1, further comprising:
NV backup is carried out on the configured operator mark code, and the backed-up operator mark code is stored in a hidden partition;
and if the operator identifier of the NV backup is detected to be absent, acquiring the operator identifier stored in the hidden partition.
5. The method of software adaptation according to claim 1, further comprising: and configuring a corresponding International Mobile Equipment Identity (IMEI) for the client in the NV.
6. A software adaptation method applied to a coding device is characterized in that the method comprises the following steps:
receiving a code writing instruction for a client, wherein the code writing instruction is used for configuring an operator mark code corresponding to a delivery area of the client for the client;
sending a request to an execution manufacturing system (MES), wherein the request is used for acquiring the operator mark code pre-stored in the MES;
receiving the operator mark code sent by the MES;
and configuring the operator mark code in a nonvolatile memory (NV) of the client, wherein the operator mark code is used for adapting to corresponding operator software so as to enable the client to be normally networked, and the operator software is used for providing an operator network corresponding to a delivery area for the client.
7. A software adapting device applied to a coding device is characterized in that the device comprises:
the system comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is used for receiving a code writing instruction for a client, and the code writing instruction is used for configuring an operator mark code corresponding to a delivery area of the client for the client;
a request module, configured to send a request to an execution manufacturing system MES, where the request is used to obtain the operator identifier pre-stored in the MES;
the second receiving module is used for receiving the operator identifier sent by the MES;
and the writing module is used for configuring the operator mark code into a nonvolatile memory NV of the client, the operator mark code is used for adapting to corresponding operator software so as to enable the client to be normally networked, and the operator software is used for providing an operator network corresponding to the delivery area for the client.
8. A software adapting device applied to a client, the device comprising:
the configuration module is used for configuring an operator mark code in a nonvolatile memory NV, wherein the operator mark code is used for identifying an operator corresponding to a goods discharge area of the client;
the reading module is used for reading the operator mark code in the NV in a factory setting mode;
the adaptation module is used for adapting operator software for the client according to the operator mark code so as to enable the client to be normally connected with the network, and the operator software is used for providing an operator network corresponding to the delivery area for the client.
9. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program which, when executed by the processor, causes the processor to carry out the steps of the method as claimed in any one of claims 1 to 6.
10. A non-transitory computer-readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the steps of the method for software adaptation according to any one of claims 1 to 6.
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 CN109618327A (en) 2019-04-12
CN109618327B true 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)

Families Citing this family (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

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724657B (en) * 2012-06-19 2015-08-19 惠州Tcl移动通信有限公司 The mobile terminal parameter automatic configuration method of android system and system
CN104105166B (en) * 2013-04-09 2019-09-27 南京中兴新软件有限责任公司 A kind of mobile terminal looks for the method and mobile terminal of net automatically
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
CN106792637B (en) * 2016-12-13 2019-08-16 Oppo广东移动通信有限公司 International mobile equipment identification number wiring method, device and mobile terminal

Also Published As

Publication number Publication date
CN109618327A (en) 2019-04-12

Similar Documents

Publication Publication Date Title
CN109474578B (en) Message checking method, device, computer equipment and storage medium
CN106162517B (en) Virtual SIM card management method and system
JP6585072B2 (en) Safe reading of data into non-volatile memory or secure elements
CN111372249B (en) System and method for testing consistency of code number downloading process of eSIM (embedded subscriber identity Module) terminal of Internet of things
WO2021223278A1 (en) Sim card configuration distribution method and system
CN114416121A (en) Firmware burning method and device, burning equipment and firmware burning system
CN111586671B (en) Embedded user identification card configuration method and device, communication equipment and storage medium
WO2015180516A1 (en) Method, device and system for implementing number-portability network upgrade
CN114467320A (en) System, method and computer program for transferring Subscriber Identity Module (SIM) information for SIM card or ESIM activation
WO2016179866A1 (en) Method and system for updating smart card of mobile terminal
CN109618327B (en) Software adaptation method and device, electronic equipment and readable storage medium
CN108199877B (en) Electronic equipment and authentication method and firmware upgrading method thereof
CN114585002A (en) Communication processing method, communication processing device, terminal equipment and computer readable storage medium
US10809930B2 (en) Configuring an embedded subscriber identity module
EP3486827B1 (en) "window-of-time" encryption session key transference
CN111328068A (en) Card writing method and device, computer equipment and storage medium
KR20170089887A (en) Method of restoring a secure element to a factory state
KR20230019032A (en) Pre-personalized secure element and embedded personalization
US7684992B2 (en) Remote application correction
CN110875895A (en) Method, system, equipment and vehicle for realizing intelligent terminal software login
CN114579985A (en) Remote card writing method, card writing terminal, server and storage medium
CN113282319A (en) Smart card and updating method thereof
CN112799878A (en) Communication data configuration method and device, computer equipment and storage medium
JP7538473B2 (en) ELECTRONIC INFORMATION STORAGE MEDIUM, INFORMATION PROCESSING METHOD, AND PROGRAM
US9363362B2 (en) Method of performing network personalization on mobile devices

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