CN109558755A - Method for writing data, electronic equipment and computer readable storage medium - Google Patents
Method for writing data, electronic equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN109558755A CN109558755A CN201811465050.1A CN201811465050A CN109558755A CN 109558755 A CN109558755 A CN 109558755A CN 201811465050 A CN201811465050 A CN 201811465050A CN 109558755 A CN109558755 A CN 109558755A
- Authority
- CN
- China
- Prior art keywords
- data
- network mark
- electronic device
- international mobile
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K1/00—Methods or arrangements for marking the record carrier in digital fashion
- G06K1/12—Methods or arrangements for marking the record carrier in digital fashion otherwise than by punching
Abstract
A kind of method for writing data, electronic equipment and computer readable storage medium, the target data pair comprising network mark data and international mobile equipment identification number can be obtained on the same number of the writing station, later, on the number of the writing station, it will be in two data write-in target electronic device of the target data centering, thus, in the present embodiment, it only needs to carry out the number of writing operation to electronic device on the number of a writing station, it can be realized and network mark data and international mobile equipment identification number are written to target electronic device, station quantity needed for reducing write-in network mark data and international mobile equipment identification number, also the less quantity of write step, not only reduce the production cost of electronic device, also reduce the write time, be conducive to be promoted the production efficiency of electronic device.
Description
Technical field
This application involves electronic device production technical field more particularly to a kind of method for writing data, electronic equipment and meter
Calculation machine readable storage medium storing program for executing.
Background technique
When producing electronic device, needs that international mobile equipment identification number is written to electronic device and Ministry of Industry and Information mentions
The electronics network mark data of confession.But for by the scheme of electronics network mark data and IMEI writing electronic, depositing in the prior art
The at high cost and low efficiency the problem of, it is unfavorable for large-scale production of the manufacturer to electronic device.
Summary of the invention
The embodiment of the present application provides a kind of method for writing data, electronic equipment and computer readable storage medium, can reduce
The production cost of electronic device promotes the production efficiency of electronic device.
The embodiment of the present application first aspect provides a kind of method for writing data, which includes:
On the default number of writing station, target data pair is obtained, wherein the target data centering includes network mark data and state
Border mobile device identification code, the network mark data and international mobile equipment identification number of the target data centering are not by any electronics
Device uses;
On the default number of the writing station, by the target data in write-in target electronic device.
The embodiment of the present application second aspect provides a kind of electronic equipment, which includes:
Module is obtained, for obtaining target data pair, wherein the target data centering packet in the default number of writing station
Data containing network mark and international mobile equipment identification number, the network mark data and international mobile equipment identification number of the target data centering
It is not used by any electronic device;
Writing module, for presetting the number of writing station described, by the target data in write-in target electronic device.
The embodiment of the present application third aspect provides another electronic equipment, comprising: memory, processor and is stored in storage
On device and the computer program that can run on a processor, when processor executes computer program, realize that above-mentioned the application is implemented
Each step in method for writing data that example first aspect provides.
The embodiment of the present application fourth aspect provides a kind of computer readable storage medium, is stored thereon with computer program,
When computer program is executed by processor, realize each in the method for writing data of above-mentioned the embodiment of the present application first aspect offer
Step.
Method for writing data, electronic equipment and the computer readable storage medium proposed using the embodiment of the present application, can be with
The target data pair comprising network mark data and international mobile equipment identification number is obtained on the same number of the writing station, later, at this
On the number of writing station, by two data write-in target electronic device of the target data centering, as a result, in the present embodiment, only need
Will on the number of a writing station to electronic device carry out the number of writing operation, can be realized to target electronic device write-in network mark data and
International mobile equipment identification number, reduce write-in network mark data and international mobile equipment identification number needed for station quantity, also compared with
The quantity for having lacked write operation not only reduces the production cost of electronic device, also reduces the write time, is conducive to promote electricity
The production efficiency of sub-device.
Detailed description of the invention
Fig. 1 is the flow diagram for the method for writing data that the application first embodiment provides;
Fig. 2 is the flow diagram for the method for writing data that the application second embodiment provides;
Fig. 3 is the program module schematic diagram for the electronic device that the application 3rd embodiment provides;
Fig. 4 is the structural schematic diagram for the electronic device that the application fourth embodiment provides.
Specific embodiment
To enable present invention purpose, feature, advantage more obvious and understandable, below in conjunction with the application
Attached drawing in embodiment, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described reality
Applying example is only some embodiments of the present application, and not all embodiments.Based on the embodiment in the application, those skilled in the art
Member's every other embodiment obtained without making creative work, shall fall in the protection scope of this application.
In order to reduce the production cost to electronic device in the prior art, the production efficiency of electronic device, this implementation are promoted
A kind of method for writing data is proposed in example, it, can be rapidly by the method for writing data in the generating process of electronic device
Network mark data and international mobile equipment identification number are written to electronic device.
Referring to Fig. 1, which includes the following steps:
Step 101, on the default number of writing station, obtain target data pair, wherein target data centering include network mark data
And international mobile equipment identification number, the network mark data and international mobile equipment identification number of target data centering are not by any electronics
Device uses;
Step 102, on the default number of writing station, by target data to write-in target electronic device in.
In the present embodiment, target electronic device can be any required write-in network mark data and international mobile equipment identification number
Electronic device, such as mobile phone, intelligent wearable device etc..Wherein, international for using the electronic devices of different network formats
Mobile device identification code may have some differences, such as the international mobile equipment identification number of GSM mobile handset is
International Mobile Equipment Identity, abbreviation IMEI number, the international mobile device identification of CDMA mobile phone
Code be Mobile Equipment Identifier, abbreviation MEID.It is understood that an electronic device is one corresponding
Unique IMEI (or MEID) number.
It is understood that being provided with the corresponding number of writing tool on the above-mentioned default number of writing station.The default number of the writing station
Can be in producing line with the number of writing tool just has originally, is also possible to specially to be arranged, the present embodiment is not limited in this respect.Such as
The default number of the writing station can be the station being used to originally to electronic device write-in IMEI code (or network mark data), and the number of writing tool is
Originally it is used to the tool to electronic device write-in IMEI code (or network mark data).In the present embodiment, it is used to using script to electronics
The station and the number of writing tool of IMEI code (or network mark data) is written in device, may be implemented to answer existing station and the number of writing tool
With avoiding the case where multiple data of write-in need the multiple number of writing stations and the number of writing tool, advantageously reduce the life of electronic device
Cost is produced, meanwhile, the write-in to network mark data and IMEI code is realized on the same number of the writing station and the same number of the writing tool, it can
Further to simplify the production stage of target electronic device, the production efficiency of electronic device is promoted.
In the present embodiment, on the default number of writing station, target data pair is obtained, can be by the default number of writing station
The number of writing tool obtains target data pair.In practice, the production of electronic device relates generally to complicated assembly line, for the ease of life
Management is produced, enterprise has been generally used production management system, as manufacturing enterprise's production process executes system (Manufacturing
Execution System, MES), which connects and controls a plurality of assembly line, and then controls different on assembly line
The tool of station.
In one embodiment, can by EMS system request network mark data and international mobile equipment identification number side
Formula obtains target data pair.Optionally, before step 101, EMS system is docked with Ministry of Industry and Information, obtains the net that Ministry of Industry and Information sends
Mark data;EMS system is stored using network mark data as virtual resource into the resources bank of itself.
Before step 101, further includes: obtain IMEI number.Optionally, the mode for obtaining IMEI number includes that EMS system is raw
At IMEI number.It is understood that EMS system generates the step of IMEI number can obtain what Ministry of Industry and Information sent prior to EMS system
The step of network mark data, can also be after the step of EMS system obtains the network mark data of Ministry of Industry and Information's transmission, the present embodiment is to this
There is no limit, if latter situation, then EMS system generate IMEI number when, can according to the quantity of network mark data in resources bank,
Generate the IMEI number of identical quantity.
In practice, the network mark data of every electronic device are unique, and IMEI number is unique, so needing target in the present embodiment
The network mark data and international mobile equipment identification number of data centering are not used by any electronic device.Optionally, the present embodiment
In, identification information can be respectively set for network mark data and international mobile equipment identification number, the identification information is for indicating network mark
Whether data and international mobile equipment identification number are used by electronic device.
Optionally, before step 101, further includes: the network mark data and international mobile device stored in EMS system are known
Other code, is respectively set identification information, wherein identifies to the network mark data and international mobile device not used by any electronic device
Code is individually identified as being not used, to being individually identified as by network mark data and international mobile equipment identification number that electronic device uses
It has used.In one embodiment, identification information can be flag bit, indicate using 0 or 1, for not by any electronic device
The network mark data and international mobile equipment identification number used, flag bit are set as 0, for the network mark data used by electronic device
And international mobile equipment identification number, flag bit are set as 1.
Optionally, target data is obtained to including: identification information according to network mark data and international mobile equipment identification number,
Not used network mark data and international mobile equipment identification number are identified the selection as, is set with the network mark data of the selection and international movement
Standby identification code forms target data pair.Such as selection marker position forms mesh for 0 network mark data and international mobile equipment identification number
Mark data pair.
Optionally, in one embodiment, EMS system will can set network mark data and the world of identification information in advance
Mobile device identification code is stored on the number of the writing tool of the default number of writing station, when needed so as to the number of writing tool, can be with quick obtaining
Network mark data and international mobile equipment identification number.
It optionally, in one embodiment, before step 101, can also be to the network mark number not used by electronic device
It is bound in advance according to international mobile equipment identification number, a pair of of network mark data and international mobile equipment identification number after binding
For a data pair, optionally, target data is obtained to including: to identify according to the identification information and international mobile device of network mark data
The identification information of code selects network mark data and international mobile equipment identification number to be individually identified as not used data pair, by the number
According to as target data pair.
Optionally, in the present embodiment, not used network mark data and international mobile equipment identification number can also be written
In one data acquisition system.To obtain target data clock synchronization, data directly can be selected from the data acquisition system.Optionally, exist
Before step 101, further includes: the network mark data and international mobile equipment identification number that are not used by any electronic device are written pre-
If data acquisition system in.Obtain target data to include: from preset data acquisition system obtain target data pair.That is, from default
Data acquisition system in choose data obtain target data pair.
It, can when needed, to target electricity after obtaining network mark data and international mobile equipment identification number in the present embodiment
The two data are written in sub-device, optionally, by target data to including: by target data to writing in write-in target electronic device
Enter in the nonvolatile memory (non-volatile memory, NVRAM) of target electronic device.
It is understood that the network mark data and international mobile equipment identification number of target data centering, fill in target electronic
Storage address in setting can be different.
The method for writing data proposed using the embodiment of the present application, can obtain on the same number of the writing station includes network mark
The target data pair of data and international mobile equipment identification number, later, on the number of the writing station, by the two of the target data centering
In a data write-in target electronic device, as a result, in the present embodiment, it is only necessary to be carried out on the number of a writing station to electronic device
The number of writing operation, can be realized and network mark data and international mobile equipment identification number are written to target electronic device, reduce write-in net
Station quantity needed for marking data and international mobile equipment identification number, the also less quantity of write operation, not only reduces electricity
The production cost of sub-device, also reduces the write time, is conducive to the production efficiency for promoting electronic device.
Referring to Fig. 2, Fig. 2 is a kind of method for writing data that second embodiment of the invention provides, the method for writing data
Include:
Step 201, on the default number of writing station, from preset data acquisition system obtain target data pair, wherein it is preset
Data acquisition system includes the network mark data not used by any electronic device and international mobile equipment identification number.
Above-mentioned steps 201 are the refinement steps of step 101 in embodiment one.
Optionally, before step 201, further includes: obtain the network mark data not used by electronic device, obtain not electric
The international mobile equipment identification number that sub-device uses;Network mark data and the international mobile equipment identification number write-in that will acquire are preset
In data acquisition system.
Optionally, target data clock synchronization is being obtained from preset data acquisition system, can choose not by any electronic device
The network mark data and international mobile equipment identification number used form target data pair.Mesh is obtained from preset data acquisition system
Data are marked to including: to select a network mark data and an international mobile equipment identification number from preset data acquisition system, with the network mark
Data and international mobile equipment identification number form target data pair.
In one embodiment, two subclass can be set in preset data acquisition system, store network mark data respectively
And international mobile equipment identification number.Optionally, before step 201, further includes: a data acquisition system is preset, it is default at this
Data acquisition system in setting network mark data subset close and identification code subclass;The network mark data not used by electronic device are obtained,
It will be in the network mark data write-in network mark data subset conjunction of the acquisition;The international mobile device not used by electronic device is obtained to identify
Code, will be in the international mobile equipment identification number write-in identification code subclass of the acquisition.
In this embodiment, target data is obtained from preset data acquisition system to including:
Go out a network mark data from network mark data subset conjunction, takes out international mobile device identification from identification code subclass
Code;
With the network mark data and international mobile equipment identification number of taking-up, target data pair is formed.
In the present embodiment, closing in view of above-mentioned network mark data subset with what is stored in identification code subclass is respectively not by electronics
The network mark data and international mobile equipment identification number that device uses, it is possible to from network mark data by the way of randomly selecting
A network mark data are taken out in set, and are taken out an international mobile device from identification code subclass by the way of randomly selecting and known
Other code.It is understood that closing from network mark data subset and taking out network mark data and international shifting in identification code subclass at random
After dynamic EIC equipment identification code, network mark data subset close and identification code subclass in data can be updated, be removed and use
Network mark data are not present in the conjunction of network mark data subset, and are removed the international mobile equipment identification number used and are not present in knowing
In other numeral set, to guarantee the network mark data saved in the conjunction of network mark data subset and identification code subclass and international mobile device
Identification code is the data not used by electronic device.
Optionally, target data is being obtained to later, can be by the target data to being stored in MES system, Huo Zheji
It is stored in MES system in the target data to by the corresponding relationship of network mark data and international mobile equipment identification number.So as to MES
System understands the corresponding relationship of network mark data and international mobile equipment identification number used in the same electronic device, convenient for inquiry
Or product backtracking is carried out when something goes wrong in electronic device.
In above-described embodiment, closed and the scheme of identification code subclass using network mark data subset is respectively set, it can be to avoid
Network mark data and international mobile equipment identification number these two types data mixing bring need the problem of distinguishing data type, Ke Yibang
It helps the number of writing tool quickly and accurately to obtain network mark data and international mobile equipment identification number, accelerates the number of writing speed.
Further, identification information can also be set for each network mark data and international mobile equipment identification number, optionally,
To not being individually identified as being not used by network mark data and international mobile equipment identification number that any electronic device uses, to electric
The network mark data and international mobile equipment identification number that sub-device uses are individually identified as having used.In one embodiment, it identifies
Information can be indicated using flag bit, be indicated using 0 and 1, for the network mark data not used by any electronic device and the world
Mobile device identification code, flag bit are set as 0, and the network mark data and international mobile device that are used by electronic device are identified
Code, flag bit are set as 1.
In the scheme of above-mentioned setting identification information, network mark data and international mobile device identification in preset data acquisition system
Code is identified as to be not used.It is understood that going out a network mark data from network mark data subset conjunction, from identification subset of codes
Conjunction goes out an international mobile equipment identification number;With the network mark data and international mobile equipment identification number of taking-up, target data is formed
To later, further includes: by the identification information of the network mark data of target data centering and international mobile equipment identification number from be not used
It is revised as having used.Based on the update of above-mentioned identification information, can further avoid in the present embodiment in preset data set
There are the data used by electronic device in conjunction.Guarantee that network mark data and international mobile equipment identification number are only on electronic device
One property.
In another embodiment, target data can be being obtained from preset data acquisition system to before, in advance by net
Mark data and international mobile equipment identification number are bound, and are needing to obtain target data clock synchronization, according to binding relationship, Ji Ketong
When get the network mark data and international mobile equipment identification number of needs, further improve and obtain network mark data and the world is mobile
The speed of EIC equipment identification code.
In this embodiment, optionally, target data is being obtained from preset data acquisition system to before, further including following
Step a-c:
A, the network mark data not used by any electronic device and international mobile equipment identification number are obtained;
B, network mark data and international mobile equipment identification number are bound according to one-to-one relationship, forms data
It is right;
C, by data in the preset data acquisition system of write-in.
In above-mentioned steps b, network mark data and international mobile equipment identification number can be ranked up respectively, obtain network mark
Data sequence and international mobile equipment identification number sequence;Then to the network mark data of same position in the two sequences and international shifting
Dynamic EIC equipment identification code is bound, and multiple data pair are obtained.
Optionally, in this embodiment, target data is obtained from preset data acquisition system to including: from preset data
A data are taken out in set to as target data pair.It is understood that in the present embodiment, it can be at random from preset data
A data are taken out in set to as target data pair.Optionally, a data are being taken out from preset data acquisition system to conduct
Target data is to rear, and just right there is no the target data in preset data acquisition system, this can guarantee each target data pair
It is only used by an electronic device, guarantees the uniqueness of network mark data and international mobile equipment identification number in electronic device.
Optionally, in the present embodiment, network mark data and international movement can be set to each pair of data to setting identification information
The data pair that standby identification code is not used by any electronic device, are identified as unused, know to network mark data and international mobile device
The data pair that other code has been used by electronic device, are identified as and have used.In one embodiment, identification information can be using mark
Position indicates, indicates using 0 and 1, the number not used by any electronic device for network mark data and international mobile equipment identification number
According to right, flag bit is set as 0, for the data pair that network mark data and international mobile equipment identification number have been used by electronic device,
Flag bit is set as 1.It is understood that taken out from preset data acquisition system a data to as target data to rear,
Further include: the identification information of target data pair is revised as having used from unused.
Optionally, in the present embodiment, after step c, further includes: in preset data acquisition system network mark data and state
The corresponding relationship of border mobile device identification code is stored.
Optionally, by data to being written in preset data acquisition system after, preset data acquisition system can also be stored in pre-
If in the number of the writing tool of the number of writing station, with reduce that the number of writing tool obtains that network mark data and international mobile equipment identification number need when
Between.
In the above-described embodiments, based on the scheme for presetting data pair, network mark data and international mobile device are being obtained
When identification code, the operation that a data acquisition can be only carried out in data acquisition system just obtains the two data, further
The acquisition speed for promoting network mark data and international mobile equipment identification number is conducive to the speed of production for promoting electronic device.
It is understood that can have a plurality of identical assembly line in the present embodiment, in MES system, in fact it could happen that same
When the default number of writing station on a plurality of assembly line on, the step of completing the method for writing data of the present embodiment, in such case
Under, for the scheme for the number of the writing tool for needing preset data acquisition system to be written on the default number of writing station, MES system can basis
The quantity of the default number of writing station, is arranged a data acquisition system in advance for each station, is written into each data acquisition system suitable
Then the number of the writing work of the corresponding default number of writing station is written in each data acquisition system by network mark data and international mobile equipment identification number
In tool.
Step 202, on the default number of writing station, by target data to write-in target electronic device in.
Optionally, in the present embodiment, the network mark data and international mobile equipment identification number of target data centering be can be written into
In the nonvolatile memory of target electronic device.In the present embodiment, for network mark data and the world in nonvolatile memory
The specific storage address of mobile device identification code, can be different.
Optionally, on the default number of writing station, by target data to write-in target electronic device in include:
On the default number of writing station, the first storage address for being used to store network mark data in target electronic device is obtained, with
And the second storage address for storing international mobile equipment identification number;
The first storage address is written into the network mark data of target data centering, by the international mobile device of target data centering
The second storage address is written in identification code.
Further, the first storage address for being used to store network mark data in target electronic device is obtained, and for depositing
Storage international mobile equipment identification number the second storage address include:
Obtain the model of target electronic device;
According to the model of the corresponding relationship and the target electronic device of preset model and storage address, obtain in mesh
For storing the first storage address of network mark data in mark electronic device, and for storing international mobile equipment identification number
Two storage address.
Wherein, the corresponding relationship of preset model and storage address can be pre-set in MES system.
Optionally, in the present embodiment, before step 202, can also first to the number of the writing tool on the default number of writing station into
Row identification authentication passes through in the identification authentication of the number of writing tool and then network mark is written to target electronic device using the number of writing tool
Data and international mobile equipment identification number.
The method for writing data proposed using the embodiment of the present application, can obtain on the same number of the writing station includes network mark
The target data pair of data and international mobile equipment identification number, later, on the number of the writing station, by the two of the target data centering
In a data write-in target electronic device, as a result, in the present embodiment, it is only necessary to be carried out on the number of a writing station to electronic device
The number of writing operation, can be realized and network mark data and international mobile equipment identification number are written to target electronic device, reduce write-in net
Station quantity needed for marking data and international mobile equipment identification number, the also less quantity of write operation, not only reduces electricity
The production cost of sub-device, also reduces the write time, is conducive to the production efficiency for promoting electronic device.
Referring to Fig. 3, Fig. 3 is a kind of electronic equipment that third embodiment of the invention provides.The electronic equipment can be used for reality
Method for writing data in any embodiment shown in existing Fig. 1 or Fig. 2.As shown in figure 3, the electronic equipment specifically includes that
Module 301 is obtained, in the default number of writing station, acquisition target data pair, wherein target data centering includes
Network mark data and international mobile equipment identification number, the network mark data and international mobile equipment identification number of target data centering not by
Any electronic device uses;
Writing module 302, in the default number of writing station, by target data in write-in target electronic device.
Optionally, module 301 is obtained, for obtaining target data pair from preset data acquisition system, wherein preset number
Include the network mark data not used by any electronic device and international mobile equipment identification number according to set.
Optionally, in the present embodiment, preset data acquisition system include network mark data subset close and identification code subclass,
Network mark data subset includes the network mark data not used by any electronic device in closing, and includes not any in identification code subclass
The international mobile equipment identification number that electronic device uses;Optionally, module 301 is obtained, for going out from network mark data subset conjunction
One network mark data take out an international mobile equipment identification number from identification code subclass;It is mobile with the network mark data of taking-up and the world
EIC equipment identification code forms target data pair.
Optionally, the electronic equipment of the present embodiment further includes binding module, is not used by any electronic device for obtaining
Network mark data and international mobile equipment identification number;Network mark data and international mobile equipment identification number are closed according to one-to-one
System is bound, and data pair are formed;By data in the preset data acquisition system of write-in;Optionally, obtain module 301, for from
A data are taken out in preset data acquisition system to as target data pair.
Optionally, writing module 302, for obtaining in target electronic device for storing net in the default number of writing station
Mark the first storage address of data, and the second storage address for storing international mobile equipment identification number;By target data
The first storage address is written in the network mark data of centering, by the second storage of international mobile equipment identification number write-in of target data centering
Address.
Optionally, writing module 302, for obtaining the model of target electronic device;According to preset model and storage ground
The corresponding relationship of location and the model of target electronic device obtain in target electronic device for storing the first of network mark data
Storage address, and the second storage address for storing international mobile equipment identification number.
The electronic equipment proposed using the embodiment of the present application, can obtain on the same number of the writing station includes network mark data
With the target data pair of international mobile equipment identification number, later, on the number of the writing station, by two numbers of the target data centering
According to write-in target electronic device in, as a result, in the present embodiment, it is only necessary to carry out the number of writing to electronic device on the number of a writing station
Operation can be realized and network mark data and international mobile equipment identification number are written to target electronic device, reduce write-in network mark number
According to station quantity needed for international mobile equipment identification number, the also less quantity of write operation not only reduces electronics dress
The production cost set, also reduces the write time, is conducive to the production efficiency for promoting electronic device.
Referring to Fig. 4, Fig. 4 is a kind of electronic equipment that fourth embodiment of the invention provides.The electronic equipment can be used for reality
Method for writing data in any embodiment shown in existing Fig. 1 or Fig. 2.As shown in figure 4, the electronic equipment specifically includes that
It memory 401, processor 402, bus 403 and is stored on memory 401 and can run on the processor 402
Computer program, memory 401 and processor 402 are connected by bus 403.It is real when processor 402 executes the computer program
Method for writing data in any embodiment shown in existing Fig. 1 or Fig. 2.Wherein, the quantity of processor can be one or more.
Memory 401 can be high random access memory body (RAM, Random Access Memory) memory,
It can be non-labile memory (non-volatile memory), such as magnetic disk storage.Memory 401 can for storing
Program code is executed, processor 402 is coupled with memory 401.
The electronic equipment proposed using the embodiment of the present application, can obtain on the same number of the writing station includes network mark data
With the target data pair of international mobile equipment identification number, later, on the number of the writing station, by two numbers of the target data centering
According to write-in target electronic device in, as a result, in the present embodiment, it is only necessary to carry out the number of writing to electronic device on the number of a writing station
Operation can be realized and network mark data and international mobile equipment identification number are written to target electronic device, reduce write-in network mark number
According to station quantity needed for international mobile equipment identification number, the also less quantity of write operation not only reduces electronics dress
The production cost set, also reduces the write time, is conducive to the production efficiency for promoting electronic device.
Further, the embodiment of the present application also provides a kind of computer readable storage medium, the computer-readable storages
Medium can be in the electronic equipment being set in the various embodiments described above, which can be earlier figures 4
Memory in illustrated embodiment.
Be stored with computer program on the computer readable storage medium, the program realized when being executed by processor Fig. 1 or
Method for writing data in any embodiment shown in Fig. 2.Further, the computer can storage medium can also be USB flash disk, movement
Hard disk, read-only memory (ROM, Read-Only Memory), RAM, magnetic or disk etc. are various to can store program code
Medium.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it
Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of module, only
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple module or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or module
It connects, can be electrical property, mechanical or other forms.
Module may or may not be physically separated as illustrated by the separation member, show as module
Component may or may not be physical module, it can and it is in one place, or may be distributed over multiple networks
In module.Some or all of the modules therein can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, can integrate in a processing module in each functional module in each embodiment of the application
It is that modules physically exist alone, can also be integrated in two or more modules in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.
If integrated module is realized and when sold or used as an independent product in the form of software function module, can
To be stored in a computer readable storage medium.Based on this understanding, the technical solution of the application substantially or
Say that all or part of the part that contributes to existing technology or the technical solution can embody in the form of software products
Out, which is stored in a readable storage medium storing program for executing, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) execute each embodiment method of the application whole or
Part steps.And readable storage medium storing program for executing above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can be with
Store the medium of program code.
It should be noted that for the various method embodiments described above, describing for simplicity, therefore, it is stated as a series of
Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because
According to the application, certain steps can use other sequences or carry out simultaneously.Secondly, those skilled in the art should also know
It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules might not all be this Shen
It please be necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, it may refer to the associated description of other embodiments.
The above are retouching to method for writing data provided herein, electronic device and computer readable storage medium
It states, for those skilled in the art, according to the thought of the embodiment of the present application, can in specific embodiments and applications
There is change place, to sum up, the contents of this specification should not be construed as limiting the present application.
Claims (10)
1. a kind of method for writing data characterized by comprising
On the default number of writing station, target data pair is obtained, wherein the target data centering includes network mark data and international shifting
Dynamic EIC equipment identification code, the network mark data and international mobile equipment identification number of the target data centering are not by any electronic device
It uses;
On the default number of the writing station, by the target data in write-in target electronic device.
2. method for writing data according to claim 1, which is characterized in that the acquisition target data is to including:
Target data pair is obtained from preset data acquisition system, wherein comprising not filled by any electronics in preset data acquisition system
Set the network mark data used and international mobile equipment identification number.
3. method for writing data according to claim 2, which is characterized in that the preset data acquisition system includes network mark number
Network mark number according to subclass and identification code subclass, in the network mark data subset conjunction comprising not used by any electronic device
According to comprising the international mobile equipment identification number that is not used by any electronic device in the identification code subclass;
The target data that obtains from preset data acquisition system is to including:
Go out a network mark data from the network mark data subset conjunction, takes out an international mobile device from the identification code subclass and know
Other code;
With the network mark data and international mobile equipment identification number of taking-up, target data pair is formed.
4. method for writing data according to claim 2, which is characterized in that obtained from preset data acquisition system described
Target data is to before, further includes:
Obtain the network mark data not used by any electronic device and international mobile equipment identification number;
The network mark data and international mobile equipment identification number are bound according to one-to-one relationship, form data pair;
By the data in the preset data acquisition system of write-in;
Then the target data that obtains from preset data acquisition system is to including:
A data are taken out from preset data acquisition system to as target data pair.
5. method for writing data according to claim 1-4, which is characterized in that described in the default number of the writing work
On position, by the target data to write-in target electronic device in include:
On the default number of the writing station, the first storage address for being used to store network mark data in target electronic device is obtained, with
And the second storage address for storing international mobile equipment identification number;
First storage address is written into the network mark data of the target data centering, by the world of the target data centering
Second storage address is written in mobile device identification code.
6. method for writing data according to claim 5, which is characterized in that for depositing in the acquisition target electronic device
The first storage address of network mark data is stored up, and the second storage address for storing international mobile equipment identification number includes:
Obtain the model of target electronic device;
According to the model of the corresponding relationship and the target electronic device of preset model and storage address, obtain in the mesh
For storing the first storage address of network mark data in mark electronic device, and for storing international mobile equipment identification number
Two storage address.
7. a kind of electronic equipment characterized by comprising
Module is obtained, for obtaining target data pair in the default number of writing station, wherein the target data centering includes net
Data and international mobile equipment identification number are marked, the network mark data and international mobile equipment identification number of the target data centering are not
It is used by any electronic device;
Writing module, for presetting the number of writing station described, by the target data in write-in target electronic device.
8. electronic equipment according to claim 7, which is characterized in that the acquisition module is used for from preset data set
Target data pair is obtained in conjunction, wherein in preset data acquisition system comprising the network mark data that are not used by any electronic device and
International mobile equipment identification number.
9. a kind of electronic equipment characterized by comprising memory, processor and be stored on the memory and can be in institute
State the computer program run on processor, which is characterized in that when the processor executes the computer program, realize right
It is required that the step in any one of 1 to 6 the method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
When being executed by processor, the step in any one the method in claim 1 to 6 is realized.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811465050.1A CN109558755B (en) | 2018-12-03 | 2018-12-03 | Data writing method, electronic device, and computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811465050.1A CN109558755B (en) | 2018-12-03 | 2018-12-03 | Data writing method, electronic device, and computer-readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109558755A true CN109558755A (en) | 2019-04-02 |
CN109558755B CN109558755B (en) | 2022-03-29 |
Family
ID=65868623
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811465050.1A Active CN109558755B (en) | 2018-12-03 | 2018-12-03 | Data writing method, electronic device, and computer-readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109558755B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1756397A (en) * | 2004-09-29 | 2006-04-05 | 杭州波导软件有限公司 | Mobile communication terminal with collecting identity data function |
CN105354603A (en) * | 2015-10-08 | 2016-02-24 | 广东欧珀移动通信有限公司 | Processing method and device of mobile equipment |
CN106792637A (en) * | 2016-12-13 | 2017-05-31 | 广东欧珀移动通信有限公司 | International mobile equipment identification number wiring method, device and mobile terminal |
WO2017217873A1 (en) * | 2016-06-16 | 2017-12-21 | Camus Loredo Jorge Luis | System and method for disabling mobile telephones of all communication networks of mobile telephone operating companies |
CN107992379A (en) * | 2017-10-30 | 2018-05-04 | 深圳市金立通信设备有限公司 | A kind of method, mobile terminal and computer-readable medium for reading data message |
CN108536454A (en) * | 2017-12-29 | 2018-09-14 | 广东欧珀移动通信有限公司 | Jig for the electronic device number of writing equipment |
CN108810668A (en) * | 2018-08-31 | 2018-11-13 | 江苏唯侓机器人科技有限公司 | A kind of IMEI numbers of writing test equipment |
-
2018
- 2018-12-03 CN CN201811465050.1A patent/CN109558755B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1756397A (en) * | 2004-09-29 | 2006-04-05 | 杭州波导软件有限公司 | Mobile communication terminal with collecting identity data function |
CN105354603A (en) * | 2015-10-08 | 2016-02-24 | 广东欧珀移动通信有限公司 | Processing method and device of mobile equipment |
WO2017217873A1 (en) * | 2016-06-16 | 2017-12-21 | Camus Loredo Jorge Luis | System and method for disabling mobile telephones of all communication networks of mobile telephone operating companies |
CN106792637A (en) * | 2016-12-13 | 2017-05-31 | 广东欧珀移动通信有限公司 | International mobile equipment identification number wiring method, device and mobile terminal |
CN107992379A (en) * | 2017-10-30 | 2018-05-04 | 深圳市金立通信设备有限公司 | A kind of method, mobile terminal and computer-readable medium for reading data message |
CN108536454A (en) * | 2017-12-29 | 2018-09-14 | 广东欧珀移动通信有限公司 | Jig for the electronic device number of writing equipment |
CN108810668A (en) * | 2018-08-31 | 2018-11-13 | 江苏唯侓机器人科技有限公司 | A kind of IMEI numbers of writing test equipment |
Also Published As
Publication number | Publication date |
---|---|
CN109558755B (en) | 2022-03-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107766194A (en) | Method of testing, device, system, terminal device and computer-readable recording medium | |
CN109710340A (en) | Software tool call method and device, software tool packaging method and device | |
CN104468174A (en) | Method and device for cluster servers to execute task | |
CN109933376A (en) | PCIE silk-screen information updating method, device, controlled terminal and storage medium in a kind of BIOS setup | |
CN106708748B (en) | Method and system for improving mounting performance of OpenStack block storage volume | |
CN109948938A (en) | The bill of materials configuration method and device and equipment of a kind of enterprise resource planning | |
CN107770299A (en) | A kind of MAC Address writes with a brush dipped in Chinese ink method, system, device and storage medium | |
CN104572994B (en) | Method and apparatus for searching for data | |
CN109710397A (en) | Data processing method, device, storage medium, processor and system | |
CN113727429A (en) | Cross-network-group clock synchronization method and device, storage medium and terminal | |
CN109902056A (en) | A kind of method, apparatus of serial transmission, equipment and computer readable storage medium | |
JP2015500537A (en) | Security information interaction system, apparatus and method based on extended parameter collection | |
CN109558755A (en) | Method for writing data, electronic equipment and computer readable storage medium | |
CN109120731B (en) | Universal communication method, system and device | |
CN109788034B (en) | Configuration method for gateway access equipment, electronic equipment and storage medium | |
CN109634353A (en) | Server host cascades BOX topological structure clock synchronizing method, device, terminal and storage medium | |
CN113347115B (en) | Message processing method and device, electronic equipment and medium | |
CN109189718A (en) | A kind of SOCKET Component that supporting multiple network interface and method | |
CN110971696B (en) | System and method for realizing virtual electronic card communication | |
CN108460002A (en) | Affiliate's automatic butt method, apparatus, equipment and storage medium | |
CN107454021B (en) | Communication method and device | |
CN106909331A (en) | A kind of BMS parameter spreads and display system | |
CN103051528B (en) | A kind of message rapid distribution method for bus and device | |
CN111507447A (en) | Label identification method and device | |
CN106412657B (en) | A kind of method and system of set-top box programming sequence code |
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 |