CN109145022B - Writing method, device and storage medium for network identity of mobile equipment - Google Patents

Writing method, device and storage medium for network identity of mobile equipment Download PDF

Info

Publication number
CN109145022B
CN109145022B CN201810930451.3A CN201810930451A CN109145022B CN 109145022 B CN109145022 B CN 109145022B CN 201810930451 A CN201810930451 A CN 201810930451A CN 109145022 B CN109145022 B CN 109145022B
Authority
CN
China
Prior art keywords
identifier
identification
network identity
mobile equipment
written
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
CN201810930451.3A
Other languages
Chinese (zh)
Other versions
CN109145022A (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 CN201810930451.3A priority Critical patent/CN109145022B/en
Publication of CN109145022A publication Critical patent/CN109145022A/en
Application granted granted Critical
Publication of CN109145022B publication Critical patent/CN109145022B/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

Abstract

The embodiment of the application provides a method, a device and a storage medium for writing a network identity mark of mobile equipment. And acquiring the network identity to be written. And judging whether the machine body identifier is bound with a prior network identity identifier or not according to the binding state association table of the machine body identifier and the network identity identifier of the mobile equipment. If the body identifier is bound with the prior network identity identifier, the binding relationship between the body identifier and the prior network identity identifier is removed, the identifier information of the prior network identity identifier written into the mobile equipment is deleted, and the identifier information of the network identity identifier to be written into the mobile equipment is written into the mobile equipment. And binding the machine body identifier and the network identity identifier to be written in, and updating the binding state association table. The writing method, the writing device and the storage medium for the network identity of the mobile equipment ensure the accuracy of the writing process and prevent errors in the writing process.

Description

Writing method, device and storage medium for network identity of mobile equipment
Technical Field
The present application relates to the field of electronic device technologies, and in particular, to a method and an apparatus for writing a network identity of a mobile device, and a storage medium.
Background
The network identity (e.g., international mobile equipment identity) is a certificate for identifying the mobile terminal device, and an existing mobile device is prone to errors in the process of writing the network identity, even a situation that a plurality of mobile devices correspond to one same network identity occurs. Leading to inaccurate identification of the mobile device.
Disclosure of Invention
The application aims to provide a method, a device and a storage medium for writing a network identity identifier of mobile equipment, so as to prevent errors from occurring when the network identity identifier is written into the mobile equipment.
In a first aspect, an embodiment of the present application provides a method for writing a network identity identifier of a mobile device, including: a body identification of the mobile device is obtained. And acquiring the network identity to be written. And judging whether the machine body identifier is bound with a prior network identity identifier or not according to the binding state association table of the machine body identifier and the network identity identifier of the mobile equipment. If the body identifier is bound with the prior network identity identifier, the binding relationship between the body identifier and the prior network identity identifier is removed, the identifier information of the prior network identity identifier written into the mobile equipment is deleted, and the identifier information of the network identity identifier to be written into the mobile equipment is written into the mobile equipment. And binding the machine body identifier and the network identity identifier to be written in, and updating the binding state association table.
In a second aspect, an embodiment of the present application provides a writing device for a network identity of a mobile device, including a first obtaining module, a second obtaining module, an identity determining module, and a processing module. The first acquisition module is used for acquiring the body identification of the mobile device. The second obtaining module is used for obtaining the network identity to be written. The identification judging module is used for judging whether the machine body identification is bound with the prior network identity identification according to the binding state association table of the machine body identification and the network identity identification of the mobile equipment. The processing module is used for removing the binding relationship between the body identifier and the prior network identifier when the body identifier is bound with the prior network identifier, deleting the identifier information of the prior network identifier written into the mobile equipment, and writing the identifier information of the network identifier to be written into the mobile equipment; and binding the machine body identifier and the network identity identifier to be written in, and updating the binding state association table.
In a third aspect, an embodiment of the present application provides a computer-readable storage medium. The computer readable storage medium stores program codes, and the program codes can be called by the processor to execute the mobile device network identity writing method.
Compared with the prior art, the writing method, the writing device and the storage medium of the mobile equipment network identity provided by the application judge according to the binding state association table of the mobile equipment body identity and the network identity in the process of writing the network identity, if the body identity is bound with the prior network identity, the binding relation is firstly released, then the network identity to be written is written, and then the binding state association table is updated. The accuracy of the writing process is guaranteed, and errors in the writing process are prevented.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a method for writing a network identity of a mobile device according to a first embodiment of the present application;
fig. 2 is a flowchart of a method for writing a network identity of a mobile device according to a second embodiment of the present application;
fig. 3 is a flowchart of step S220 in a method for writing a network identity of a mobile device according to a second embodiment of the present application;
fig. 4 is a flowchart of step S250 in a method for writing a network identity of a mobile device according to a second embodiment of the present application;
fig. 5 is a flowchart of a method for writing a network identity of a mobile device according to a third embodiment of the present application;
fig. 6 is a flowchart of step S320 in a method for writing a network identity of a mobile device according to a third embodiment of the present application;
fig. 7 is a flowchart of step S350 in a method for writing a network identity of a mobile device according to a third embodiment of the present application;
fig. 8 is a block diagram of a writing apparatus according to a fourth embodiment of the present application;
fig. 9 is another block diagram of a writing apparatus according to a fourth embodiment of the present application;
fig. 10 is a block diagram of still another structure of a writing apparatus according to a fourth embodiment of the present application;
fig. 11 is a block diagram of a storage medium according to a sixth embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
An International Mobile Equipment Identity (IMEI) is a network Identity used for identifying Mobile Equipment, and in the prior art, it is required to ensure that each Mobile Equipment has a unique IMEI and is written into a memory of the Mobile Equipment in a manufacturing process of the Mobile Equipment. However, in the manufacturing or writing process, the nameplate sticker may have some quality problems and needs to be replaced, and how to ensure that the replaced nameplate sticker is consistent with the international mobile equipment identification code written in the memory of the mobile equipment in the replacing process is an urgent problem to be solved. Therefore, the inventor proposes a method, an apparatus, and a storage medium for writing a network identity of a mobile device in the embodiments of the present application. Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
First embodiment
Referring to fig. 1, the present embodiment provides a method for writing a network identity of a mobile device, where the network identity refers to an identifier for identifying an identity of the mobile device, and the network identity may be, for example, an international mobile device identifier, which may be disposed on a housing of the mobile device, or may be written into a memory of the mobile device, and is identified in a process of entering a mobile network, where the mobile network may be, for example, a communication network such as 2G, 3G, 4G, and 5G, or may be the internet. Mobile devices refer to portable mobile terminals, such as: cell-phone, panel computer, smart watch etc..
The method specifically comprises the following steps:
step S110, a body identifier of the mobile device is obtained.
The body identifier is an identifier for uniquely identifying hardware of the mobile device, and the body identifier may be, for example, an identifier of the mobile terminal itself, or an identifier of a part of the mobile terminal, such as an identifier of a motherboard of the mobile terminal. It is understood that the body identifier of the mobile device can be, for example, self-numbered by the manufacturer, assembler, vendor, and user based on predetermined rules, or uniformly assigned by the international organization for standardization. In this embodiment, the body identifier of the mobile device is a serial number of a main board, which is a component in the mobile device.
The method for acquiring the body identifier of the mobile device may be directly obtained by inputting after visual observation, or may be directly acquiring the body identifier of the mobile device through a scanning device and an image device.
Step S120: and acquiring the network identity to be written.
The network identity to be written in refers to: a network identification available to the mobile device and ready to be written to the network identity of the mobile device.
The manner of obtaining the network identity to be written may be various, for example:
as one way, one network identity may be selected as the network identity to be written in the alternative network identities according to other predetermined rules. The predetermined rule may be, for example, a random manner. The network identity available for alternative is the network identity that is not used yet and available for use.
It is to be understood that the execution sequence of step S110 and step S120 is not necessarily limited, and step S110 may be executed first, and then step S120 may be executed, or step S110 and step S120 may be executed simultaneously, or step S120 may be executed first, and then step S110 may be executed.
After step S110, step S130 is executed. Step S130 may be performed before step S120, or may be performed after step S120. Step S130: and judging whether the body identifier is bound with a prior network identity identifier or not according to a binding state association table of the body identifier of the mobile equipment and the network identity identifier.
The binding state association table refers to: the association table of the body identifier and the network identity identifier is used for determining a corresponding relationship between the body identifier and the network identity identifier.
In some embodiments, only the bound body identifier and the bound network device identifier may be included in the binding state association table, such as the binding state association table shown in table 1.
TABLE 1 binding state association table
Figure BDA0001766472560000051
Figure BDA0001766472560000061
As one way, the binding state association table may further include the fuselage identifier that has not been bound and the network identity identifier that has not been bound. In some embodiments, the network identities that have not yet been bound may be marked as a first state, which may be, for example, "unused", "available for use", or the like. The bound fuselage identification may be marked as a second state, which may be, for example, "used," "unusable," etc. In some embodiments, when a network identity that has not been bound is bound, it may change from a first state to a second state; the bound network identity may be changed from the second state to the first state when it is unbound.
For example: as an example, Table 2 illustrates an embodiment of a binding state association table.
Table 2 binding state association table
Figure BDA0001766472560000062
The binding state association table can be pre-established and stored, and after the body identifier of the mobile device is obtained, whether the body identifier is bound with the prior network identity identifier can be judged by inquiring in the binding state association table.
When the query result shows that the fuselage identification is not bound with the prior network identification, the written identification information in the mobile equipment can be directly deleted, and then the network identification to be written is written into the mobile equipment.
If the fuselage identification is bound with the prior network identification, step S140 is executed.
Step S140: and removing the binding relationship between the body identifier and the prior network identity identifier, deleting the identifier information of the prior network identity identifier written into the mobile equipment, and writing the identifier information of the network identity identifier to be written into the mobile equipment.
Wherein: the removing of the binding relationship between the body identifier and the prior network identity identifier means that the binding relationship between the body identifier and the prior network identity identifier is removed in the binding state association table. After the binding relation is removed, the machine body identification does not have the network identity identification corresponding to the machine body identification. In some embodiments, the unbound network identity may also be available for subsequent reuse.
Deleting the identification information of the previous network identity written by the mobile equipment means deleting the identification information written in the memory of the mobile equipment. Deleting the identification information of the previous network identity that the mobile device has written may be performed by controlling an existing memory writing tool.
The writing of the identification information of the network identity to be written in the mobile device may also be performed by controlling a writing tool, and the writing may be performed in a Memory of the mobile device, for example, a Random Access Memory (RAM) or a Read-Only Memory (ROM). After writing, the memory can be set to a read-only mode to prevent error modification.
In some embodiments, the writing tool may further authenticate the writing instruction before executing the writing instruction, so as to ensure that the writing instruction is not from an illegal channel, ensure the security of the information written by the mobile device, and avoid an error in the identification information written into the mobile device.
After step S140, step S150 is performed.
Step S150: and binding the fuselage identification and the network identity identification to be written in, and updating the binding state association table.
The step of binding the body identifier and the network identity identifier to be written in refers to binding the body identifier and the network identity identifier to be written in a binding state association table in a one-to-one correspondence manner.
And updating the binding state association table means updating the binding relationship of the binding state association table after the body identifier and the network identity identifier to be written are bound. As an example, table 3, table 4, and table 5 show change information of the binding state association table during execution.
As shown in table 3: fuselage identification 1 step S140 is previously bound with network identification 1.
As shown in table 4: after step S140 is executed, the body identifier 1 releases the binding relationship with the network identity identifier 1.
As shown in table 5: after step S150 is executed, in the binding state association table, the body identifier 1 is bound to the network identifier 5 to be written, and the binding relationship of the binding state association table is updated to be that the body identifier 1 is bound to the network identifier 5.
Table 3 binding state association table before unbinding
Fuselage identification information Network identity information
Fuselage identification 1 Network identification information 1
Fuselage identification 2 Network identification information 2
Table 4 binding state association table after unbinding
Fuselage identification information Network identity information
- -
Fuselage identification 2 Network identification information 2
Table 5 updated binding state association table
Fuselage identification information Network identity information
Fuselage identification 1 Network identification information 5
Fuselage identification 2 Network identification information 2
In the method for writing the network identity of the mobile device provided in this embodiment, before the network identity of the mobile device is rewritten, the binding relationship of the body identifier of the mobile device is queried and determined, the binding relationship between the body identifier and the previous network identity is released, and after the network identity to be written is rewritten, the binding state relationship table is updated. The corresponding relation between the machine body identifier and the network identity identifier written in the mobile equipment can be ensured to be consistent with the binding state association table in the whole process. The network identification can be ensured to be suitable for the mobile equipment in one-to-one correspondence, and the situation that one network identification is written into a plurality of mobile equipment can not occur.
Second embodiment
Referring to fig. 2, in the embodiment, the network identity is specifically an International Mobile Equipment Identity (IMEI), wherein the mobile equipment has a memory for writing a digitized international mobile equipment identity, and meanwhile, the mobile equipment is attached with a nameplate sticker having a nameplate sticker identifier, which may be a barcode, a two-dimensional code, or another digitized identifier, and the nameplate sticker identifier should be consistent with the international mobile equipment identity written into the memory of the mobile equipment before the mobile equipment leaves a factory.
In some cases, the tag labels may have quality problems, such as being unable to be read efficiently, during manufacturing, assembly, testing, etc. of the mobile device. At this moment, the nameplate sticker needs to be replaced, for example, the nameplate sticker 1 is replaced by the nameplate sticker 2. After the nameplate sticker is replaced, the international mobile equipment identification code written in the memory of the mobile equipment needs to be rewritten correspondingly so that the international mobile equipment identification code is consistent with the nameplate sticker identification of the nameplate sticker 2.
Based on the application scenario, the method for writing the network identity of the mobile device provided in this embodiment includes:
step S210: a body identification of the mobile device is obtained.
Step S220: and acquiring the network identity to be written.
Referring to fig. 3, in the present embodiment, step S220 includes:
step S221: an image of a nameplate sticker of a mobile device is collected.
The nameplate sticker of the mobile equipment refers to a replaced nameplate sticker, namely, an image of the nameplate sticker after the factors such as unqualified quality are collected and replaced. The collection mode can be that a scanning device, an image processing device and the like image the nameplate sticker to obtain picture information or video images. Step S222 is executed after step S221.
Step S222: and identifying and obtaining the current nameplate sticker identification of the mobile equipment according to the image of the nameplate sticker.
The identification and acquisition of the nameplate identifier from the acquired picture information or video image can be performed, for example, in the following manner:
and identifying the picture information or the video image, identifying character information, bar code information, two-dimensional code information and the like in the picture information or the video image, and using the identified information as a nameplate label. Or, the nameplate sticker identifier can encrypt character information, bar code information, two-dimensional code and other information, after picture information or video images are obtained, the character information, the bar code information or the two-dimensional code information are identified, and the nameplate sticker identifier is obtained after decryption in a preset decryption mode.
Step S223 is performed after step S222.
Step S223: and judging whether the network identity mark corresponding to the nameplate labeling mark is bound with a prior machine body mark or not according to the binding state association table. If so, the new nameplate sticker can be replaced again. If not, go to step S224. Executing step S223 can ensure that the network id corresponding to the newly replaced nameplate sticker is not bound to other airframe ids before, i.e., the network id corresponding to the newly replaced nameplate sticker is not used before.
Step S224: and acquiring the network identity mark to be written according to the current nameplate sticker mark of the mobile equipment.
Namely: and determining the network identity corresponding to the nameplate label as the network identity to be written in by acquiring the nameplate label on the replaced nameplate label. The method can ensure that the replaced nameplate label is consistent with the network identity label to be written in, and prevent the situation that the network identity label to be written in is different from the nameplate label on the replaced nameplate label. Thereby preventing the network identity mark written in the mobile equipment from being different from the nameplate labeling mark.
It should be noted that, in some embodiments, after step S222 is executed, step S224 may be directly executed.
Step S230: reading a binding state association table which is established in advance and corresponds to the mobile equipment body identification and the network identity identification one by one.
The binding state association table may be established in advance and stored, and the step S230 may be executed after the step S210 or the step S220, may be executed before the step S210 or the step S220, and may be executed simultaneously with the step S210 and/or the step S220.
Step S240: and judging whether the body identifier is bound with a prior network identity identifier or not according to a binding state association table of the body identifier of the mobile equipment and the network identity identifier. Step S250 is performed after step S240.
Step S250: if the body identifier is bound with a prior network identity identifier, the binding relationship between the body identifier and the prior network identity identifier is removed, the identifier information of the prior network identity identifier written into by the mobile equipment is deleted, and the identifier information of the network identity identifier to be written into is written into the mobile equipment.
Referring to fig. 4, in the present embodiment, step S250 includes:
step S251: and if the machine body identification is bound with the prior network identity identification, judging whether the product inspection corresponding to the machine body identification is in a qualified state.
Judging whether the product corresponding to the machine body identifier is in a qualified state or not is as follows: judging whether the mobile equipment corresponding to the body identification has quality problems, wherein the quality problems include but are not limited to one or more of the following: wear, software anomalies, circuit anomalies, ground anomalies, call state anomalies, power anomalies, and the like, as well as other anomalous situations of the mobile device. If the product is not in a qualified state, the mobile equipment needs to be maintained, scrapped or reworked.
If the product is qualified, step S252 is executed.
Step S252: and removing the binding relationship between the body identifier and the prior network identity identifier, deleting the identifier information of the prior network identity identifier written into the mobile equipment, and writing the identifier information of the network identity identifier to be written into the mobile equipment.
The method for writing the network identity of the mobile device provided by this embodiment further includes step S260.
Step S260: and binding the fuselage identification and the network identity identification to be written in, and updating the binding state association table.
It is understood that step S220 or step S250 in the present embodiment may be performed in the same manner as step S120 or step S140 in the first embodiment.
In the method for writing the network identity of the mobile device provided by this embodiment, in the execution process, the network identity to be written is obtained by obtaining the replaced nameplate sticker, so that the consistency of the nameplate sticker and the network identity to be written into the mobile device is ensured. Meanwhile, before the network identity to be written is written into the mobile equipment, product inspection is carried out on the machine body identity, and only when the product inspection is in a qualified state, the network identity to be written is written into the mobile equipment, so that writing failure is prevented. The method can ensure that the nameplate sticker is consistent with the network identity written in the mobile equipment in the process of replacing the nameplate sticker, and the binding relationship between the machine body identity and the network identity of the mobile equipment is updated.
Likewise, when the mobile device needs to replace the nameplate sticker again, the method can also be carried out in the manner described above.
Third embodiment
Referring to fig. 5, the embodiment provides a method for writing a network identity of a mobile device, which is the same as the second embodiment, and is also mainly applied to a process of replacing a nameplate sticker of the mobile device.
The method for writing the network identity of the mobile equipment provided by the embodiment comprises the following steps:
step S310: a body identification of the mobile device is obtained.
Step S320: and acquiring the network identity to be written.
Referring to fig. 6, in the present embodiment, the step S320 includes a step S321, a step S322, and a step S323.
Step S321: and acquiring the current nameplate label identification of the mobile equipment.
The current nameplate sticker refers to a replaced nameplate sticker, namely a new nameplate sticker after replacing a prior nameplate sticker. The manner of obtaining the nameplate label of the nameplate label can be the same as that in the second embodiment, and is not described herein again.
Step S322: and acquiring the identity of the network to be selected.
The identity of the network to be selected refers to: the network identity that has been preliminarily selected as the network identity to be written, is not used or bound. The number of the candidate network identities may be one or more.
Step S323: and judging whether the identification information of the nameplate label identification is the same as the identification information of the network identity identification to be selected, and if so, determining that the network identity identification to be selected is the network identity identification to be written in.
When the identification information of the nameplate sticker identification is the same as the identification information of the network identification to be selected, the network identification to be selected can be regarded as the network identification to be written in, and the network identification to be selected is consistent with the identification information of the nameplate sticker identification on the nameplate sticker.
As a manner, when there are a plurality of network identities to be selected, it may be determined whether the identification information of the nameplate sticker identification is the same as one of the network identities to be selected, and if there is a network identity identical to the identification information of the nameplate sticker identification, it is determined that the network identity identical to the identification information of the nameplate sticker identification is the network identity to be written in.
And if the identification information of the nameplate label is different from the identification information of the network identity label to be selected, the nameplate label can be replaced again.
Step S330: reading a binding state association table which is established in advance and corresponds to the mobile equipment body identification and the network identity identification one by one.
Step S340: and judging whether the body identifier is bound with a prior network identity identifier or not according to a binding state association table of the body identifier of the mobile equipment and the network identity identifier.
Step S350: if the body identifier is bound with a prior network identity identifier, removing the binding relationship between the body identifier and the prior network identity identifier, deleting the identifier information of the prior network identity identifier written into by the mobile equipment, and writing the identifier information of the network identity identifier to be written into in the mobile equipment.
Referring to fig. 7, in the present embodiment, step S350 may be executed as follows:
step S351: and if the machine body identifier is bound with a prior network identity identifier, acquiring the current nameplate sticker identifier of the mobile equipment.
Obtaining the current nameplate sticker identifier of the mobile device can be independently obtained again in the same way as the method. In some aspects, the identification information of the nameplate label acquired in step S321 may be stored during step S321, and the identification information of the nameplate label acquired in step S321 may be directly called during step S351.
Step S352: and judging whether the identification information of the nameplate label identification is the same as the identification information of the prior network identity identification, and if so, removing the binding relationship between the machine body identification and the prior network identity identification.
The prior network identity identification information refers to network identity identification information which is bound in advance by the machine body identification, when the identification information of the nameplate sticker identification is different from the identification information of the prior network identity identification, the fact that no binding relationship exists between the current nameplate sticker identification and the machine body identification is shown, and meanwhile, the current nameplate sticker is a new nameplate sticker after being replaced. Unbinding the binding relationship between the body identity and the prior network identity may be performed.
Correspondingly, when the identification information of the nameplate label is the same as the identification information of the prior network identity, it is determined whether the nameplate label is really replaced by a new nameplate label. The method avoids that in the process of replacing the nameplate stickers of the mobile equipment in batches, the nameplate stickers of a part of the mobile equipment are not replaced, the binding step is mistakenly executed, and a new network identity to be written is written in the subsequent process, so that the nameplate sticker identifier of the mobile equipment is different from the network identity written in the mobile equipment.
Step S353: and deleting the identification information of the previous network identity written by the mobile equipment, and writing the identification information of the network identity to be written in the mobile equipment.
After step S350, step S360 may be performed.
Step S360: and binding the fuselage identification and the network identity identification to be written in, and updating the binding state association table.
The method for writing the network identity mark of the mobile device provided by the embodiment can ensure that the network identity mark written into the mobile device and the nameplate sticker mark attached to the nameplate sticker keep consistent in the writing process, and avoids the outflow of products in which the network identity mark written into the mobile device and the nameplate sticker mark attached to the nameplate sticker are inconsistent.
Fourth embodiment
Referring to fig. 8, the present embodiment provides a writing apparatus 200 for a network identity of a mobile device, which includes a first obtaining module 210, a second obtaining module 220, an identity determining module 230, and a processing module 240. Which may be used to perform the mobile device network identity writing method of the first embodiment.
The first obtaining module 210 is configured to obtain a body identifier of the mobile device.
The second obtaining module 220 is configured to obtain a network identity to be written.
The identifier determining module 230 is communicatively connected to both the first obtaining module 210 and the second obtaining module 220, and is configured to determine whether the body identifier is bound with a previous network identity identifier according to the binding state association table of the body identifier of the mobile device and the network identity identifier. In some embodiments, the binding state association table may be pre-established and stored in the identification determination module 230.
The processing module 240 is in communication connection with the identifier determining module 230, and the processing module 240 is configured to, when the body identifier is bound with the previous network identifier, remove the binding relationship between the body identifier and the previous network identifier, delete the identifier information of the previous network identifier written in by the mobile device, and write the identifier information of the network identifier to be written in the mobile device; and binding the machine body identifier and the network identity identifier to be written in, and updating the binding state association table.
Referring to fig. 9, the present embodiment further provides another writing apparatus 200 for a network identity of a mobile device, where the writing apparatus 200 further includes an image obtaining module 240, a first judging module 250, a third obtaining module 270, and a second judging module 260, where the image obtaining module 240 is configured to obtain a nameplate sticker identifier of the mobile device, and the image obtaining module 240 is in communication connection with the identifier judging module 230.
The third obtaining module 270 is configured to obtain the identity of the network to be selected.
The first determining module 250 is in communication connection with the image obtaining module and the third obtaining module 270, and is configured to determine whether the identification information of the nameplate sticker identifier is the same as the identification information of the to-be-selected network identity identifier, and if so, determine that the to-be-selected network identity identifier is the to-be-written network identity identifier.
The second judging module 260 is in communication connection with the image acquiring module, and is configured to judge whether the identification information of the nameplate sticker identifier is the same as the identification information of the previous network identity identifier, and if the identification information of the nameplate sticker identifier is different from the identification information of the previous network identity identifier, remove the binding relationship between the body identifier and the previous network identity identifier.
Referring to fig. 10, the present embodiment further provides a writing apparatus 200 for a network identity of a mobile device, where the writing apparatus 200 further includes: a third determination module 280 and an image acquisition module 240.
The image obtaining module 240 is configured to obtain a nameplate sticker identifier of the mobile device, and the image obtaining module 240 is in communication connection with the identifier determining module 230.
The third determining module 280 is configured to determine whether the product inspection corresponding to the body identifier is in a qualified status. The third determination module 280 is communicatively coupled to the processing module 240.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, the coupling or direct coupling or communication connection between the modules shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or modules may be in an electrical, mechanical or other form.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
Sixth embodiment
Referring to fig. 11, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable medium 800 has stored therein a program code that can be called by a processor to execute the method described in the above-described method embodiments.
The computer-readable storage medium 800 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 800 includes a non-transitory computer-readable storage medium. The computer readable storage medium 800 has storage space for program code 810 to perform any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. The program code 810 may be compressed, for example, in a suitable form.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (8)

1. A method for writing network identity of mobile equipment is characterized by comprising the following steps:
acquiring a body identifier of the mobile equipment, wherein the body identifier is a serial number of a main board;
collecting an image of a nameplate sticker of the mobile equipment;
identifying the current nameplate sticker identification of the mobile equipment according to the image of the nameplate sticker;
judging whether the network identity mark corresponding to the nameplate labeling mark is bound with a prior machine body mark or not according to a binding state association table of the machine body mark of the mobile equipment and the network identity mark; if so, acquiring a network identity to be written according to the current nameplate sticker identifier of the mobile equipment, and if not, after replacing the nameplate sticker, determining the network identity corresponding to the replaced nameplate sticker identifier as the network identity to be written;
judging whether the machine body identification is bound with a prior network identification or not according to the binding state association table, wherein the binding state association table comprises a one-to-one correspondence relationship between the bound machine body identification and the bound network identification;
if the machine body identification is bound with a prior network identification, removing the binding relationship between the machine body identification and the prior network identification, deleting the identification information of the prior network identification written into the mobile equipment, and writing the identification information of the network identification to be written into the mobile equipment; and
and binding the fuselage identification and the network identity identification to be written in, and updating the binding state association table.
2. The method of claim 1, wherein obtaining the network identity to be written comprises:
acquiring a current nameplate label identifier of the mobile equipment;
acquiring an identity of a network to be selected; and
and judging whether the identification information of the nameplate label identification is the same as the identification information of the network identity identification to be selected, and if so, determining that the network identity identification to be selected is the network identity identification to be written in.
3. The method of claim 1, wherein prior to unbinding the fuselage identification from the prior network identity, the method further comprises:
obtaining a current nameplate sticker identifier of the mobile device, and
and judging whether the identification information of the nameplate label identification is the same as the identification information of the prior network identity identification, and if so, removing the binding relationship between the machine body identification and the prior network identity identification.
4. The method of claim 2 or 3, wherein obtaining the current nameplate label of the mobile device comprises:
collecting an image of a nameplate sticker of the mobile equipment; and
and identifying and obtaining the current nameplate sticker identification of the mobile equipment according to the image of the nameplate sticker.
5. The method of claim 1, further comprising:
reading a binding state association table which is established in advance and corresponds to the mobile equipment body identification and the network identity identification one by one.
6. The method according to claim 1, wherein if the body identifier is bound with a previous network identifier, removing the binding relationship between the body identifier and the previous network identifier, deleting the identifier information of the previous network identifier written in by the mobile device, and writing the identifier information of the network identifier to be written in the mobile device, includes:
if the machine body identification is bound with a prior network identity identification, judging whether the product inspection corresponding to the machine body identification is in a qualified state;
if so, removing the binding relationship between the body identifier and the prior network identity identifier, deleting the identifier information of the prior network identity identifier written into the mobile equipment, and writing the identifier information of the network identity identifier to be written into the mobile equipment.
7. A writing apparatus for network identity of a mobile device, comprising:
the first acquisition module is used for acquiring a machine body identifier of the mobile equipment, wherein the machine body identifier is a serial number of a mainboard;
the second acquisition module is used for acquiring an image of a nameplate sticker of the mobile equipment; identifying and acquiring the current nameplate sticker identifier of the mobile equipment according to the image of the nameplate sticker; judging whether the network identity mark corresponding to the nameplate labeling mark is bound with a prior machine body mark or not according to a binding state association table of the machine body mark of the mobile equipment and the network identity mark; if so, acquiring a network identity to be written according to the current nameplate label of the mobile equipment;
the identification judgment module is used for judging whether the machine body identification is bound with a prior network identity identification according to the binding state association table, and the binding state association table comprises a one-to-one corresponding relation between the bound machine body identification and the bound network identity identification;
the processing module is used for removing the binding relationship between the body identifier and the prior network identifier when the body identifier is bound with the prior network identifier, deleting the identifier information of the prior network identifier written into the mobile equipment, and writing the identifier information of the network identifier to be written into the mobile equipment; and binding the body identifier and the network identity identifier to be written in, and updating the binding state association table.
8. A computer-readable storage medium, having stored thereon program code that can be invoked by a processor to perform the method according to any one of claims 1 to 6.
CN201810930451.3A 2018-08-15 2018-08-15 Writing method, device and storage medium for network identity of mobile equipment Active CN109145022B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810930451.3A CN109145022B (en) 2018-08-15 2018-08-15 Writing method, device and storage medium for network identity of mobile equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810930451.3A CN109145022B (en) 2018-08-15 2018-08-15 Writing method, device and storage medium for network identity of mobile equipment

Publications (2)

Publication Number Publication Date
CN109145022A CN109145022A (en) 2019-01-04
CN109145022B true CN109145022B (en) 2022-01-11

Family

ID=64789699

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810930451.3A Active CN109145022B (en) 2018-08-15 2018-08-15 Writing method, device and storage medium for network identity of mobile equipment

Country Status (1)

Country Link
CN (1) CN109145022B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110572285B (en) * 2019-09-02 2022-02-25 深圳市丰润达科技有限公司 Device code writing method, device code writing device and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103648089A (en) * 2013-11-07 2014-03-19 北京奇虎科技有限公司 Anti-theft processing method and anti-theft processing device for mobile equipment
CN106559388A (en) * 2015-09-28 2017-04-05 腾讯科技(深圳)有限公司 The method and apparatus of bound device
CN107257392A (en) * 2017-06-21 2017-10-17 深圳Tcl新技术有限公司 Equipment Serial Number establishing method and device and computer-readable recording medium
CN107567014A (en) * 2017-08-24 2018-01-09 深圳天珑无线科技有限公司 A kind of method, system and mobile terminal for realizing IMEI programmings

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9143942B2 (en) * 2013-03-14 2015-09-22 Tekelec Global, Inc. Methods, systems, and computer readable media for providing a multi-network equipment identity register

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103648089A (en) * 2013-11-07 2014-03-19 北京奇虎科技有限公司 Anti-theft processing method and anti-theft processing device for mobile equipment
CN106559388A (en) * 2015-09-28 2017-04-05 腾讯科技(深圳)有限公司 The method and apparatus of bound device
CN107257392A (en) * 2017-06-21 2017-10-17 深圳Tcl新技术有限公司 Equipment Serial Number establishing method and device and computer-readable recording medium
CN107567014A (en) * 2017-08-24 2018-01-09 深圳天珑无线科技有限公司 A kind of method, system and mobile terminal for realizing IMEI programmings

Also Published As

Publication number Publication date
CN109145022A (en) 2019-01-04

Similar Documents

Publication Publication Date Title
CN103592898B (en) A kind of electronic product manufacture automatic control system and method
CN109165170B (en) Method and system for automatic request test
CN111143150A (en) Method and system for testing PCBA (printed circuit board assembly), testing equipment and micro-control unit
CN107908553B (en) Association testing method, application server and computer readable storage medium
CN104932955A (en) Method for backing up data during factory setting restoring of mobile terminal, and mobile terminal
CN109145022B (en) Writing method, device and storage medium for network identity of mobile equipment
CN110908943A (en) Board card automatic adapting method, device, network equipment and storage medium
CN109145021B (en) Mobile equipment network identity identification rewriting method, device and storage medium
CN103559098A (en) Smart card test number control method, device and system
CN108717533B (en) Intelligent license plate recognition method and device and related equipment
CN116225317A (en) Data read-write method and device for user identification card, user identification card and medium
US20220156543A1 (en) Management method of test fixtures applied to test procedure
CN110442387B (en) Parameter self-adaption method and device of vehicle-mounted system and vehicle
JP4721689B2 (en) Method for installing firmware in electronic equipment and printed circuit board
CN114298717A (en) Server complete machine compliance authentication control method, system, terminal and storage medium
CN111009074B (en) Management server, vending machine, and device identification information providing method
CN106941413B (en) Service management method and device
CN115102843B (en) Method and device for obtaining server serial number and computer equipment
CN114691440B (en) Data extraction method and device of equipment, computer equipment and storage medium
US20240118824A1 (en) Methods and system to remove data from mobile device
CN109508270B (en) BIOS register checking and testing method and device
JP2012220980A (en) Device test system and device testing method
CN111444981A (en) Leakage current fault positioning device and method
CN108287726A (en) Update detection method, device and the service terminal of extension
CN109240904B (en) FRU write test system and method

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