Method and device for preventing equipment number conflict, terminal equipment and storage medium

By obtaining and updating the IMEI code and ICCID code of the wireless communication device, and combining with the production barcode to confirm the device identity, the problem of data conflict after the device encoding is replaced is solved, ensuring the correct communication connection between the device and the platform.

CN119276417APending Publication Date: 2025-01-07HANGZHOU ROBAM APPLIANCES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411318252.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-20
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

In wireless communication devices, after the device encoding is replaced, the management platform may update the IMEI code and ICCID code of the original device to the encoding of the illegal device, resulting in data conflicts.

Method used

By obtaining the initial IMEI code, ICCID code and production barcode of the device, and updating the initial IMEI code and ICCID code to the current IMEI code and ICCID code during the production barcode scanning action, ensuring the communication connection between the device and the platform and avoiding illegal devices entering the same code Data conflicts caused.

Benefits of technology

It effectively avoids data conflicts caused by illegal devices by entering the same code as the original device, ensures the correct communication connection between the device and the platform, and solves the problem of data reporting errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119276417A_ABST
    Figure CN119276417A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a method and device for preventing equipment number conflicts, terminal equipment and a storage medium. The method comprises the following steps: firstly, acquiring and recording an equipment code, an initial IMEI code and an initial ICCID code of equipment; obtaining and recording a production bar code of the equipment, and binding the equipment code, the initial IMEI code and the initial ICCID code with the production bar code; acquiring a current IMEI code, a current ICCID code and a current equipment code of the equipment in real time; and when a production bar code scanning action is obtained, updating the recorded initial IMEI code and the initial ICCID code bound with the production bar code as the current code. According to the technical scheme, the problem of data conflict caused by wrong data obtained by communication with illegal equipment suggested by the platform to update the recorded code of the original equipment into the code of the illegal equipment by inputting the equipment number which is the same as that of the original equipment by the illegal equipment is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of wireless communication technology, and in particular, to a method, an apparatus, a terminal device, and a storage medium for preventing device number conflicts. Background Art

[0002] Wireless communication devices are included in the public smoke ducts of residential buildings, centralized smoke exhaust systems in commercial complexes, or IoT monitoring systems. After the wireless communication device is installed, it establishes a connection with the management platform through the IoT module on the device motherboard to report data.

[0003] For the management platform, since the device has been bound to the platform through the device code, the management platform identifies the corresponding device through the device code. Therefore, when the device motherboard is replaced, if the illegal device is flashed with the same device code as the current device, the platform will identify the illegal device as the current device, thereby updating the stored code to the code of the illegal device, thereby establishing a connection with the illegal device, resulting in erroneous data being reported, leading to data conflicts. Summary of the invention

[0004] The embodiments of the present invention provide a method, an apparatus, a terminal device and a storage medium for preventing device number conflicts, so as to exclude illegal devices with the same device code and avoid data reporting conflicts.

[0005] In a first aspect, an embodiment of the present invention provides a method for preventing device number conflicts, including:

[0006] Obtaining and recording the device code, initial IMEI code and initial ICCID code of the device to establish a communication connection with the device;

[0007] Obtain and record the production barcode of the device, and bind the device code, the initial IMEI code and the initial ICCID code to the production barcode;

[0008] Obtain the current IMEI code, current ICCID code and current device code of the device in real time;

[0009] When the production barcode scanning action is obtained, the recorded initial IMEI code and initial ICCID code bound to the production barcode are updated to the current IMEI code and ICCID code.

[0010] Optionally, after obtaining the current IMEI code, the current ICCID code and the current device code of the device in real time, the method further includes:

[0011] If the production barcode scanning action is not obtained, a barcode scanning action prompt is issued when the current IMEI code and the initial IMEI code are inconsistent.

[0012] Optionally, after obtaining the current IMEI code, the current ICCID code and the current device code of the device in real time, the method further includes:

[0013] If the production barcode scanning action does not occur, then when the current IMEI code is consistent with the initial IMEI code, and the current ICCID code is inconsistent with the initial ICCID code, the initial ICCID code is updated.

[0014] Optionally, if the production barcode scanning action does not occur, when the current IMEI code is consistent with the initial IMEI code, and the current ICCID code is inconsistent with the initial ICCID code, after updating the initial ICCID code, it also includes:

[0015] The initial ICCID code is shut down.

[0016] Optionally, after obtaining the current IMEI code, the current ICCID code and the current device code of the device in real time, the method further includes:

[0017] If the production barcode scanning action does not occur, when the current IMEI of the device is consistent with the initial IMEI and the current ICCID code is consistent with the initial ICCID code, the current communication is maintained.

[0018] Optionally, when the production barcode scanning action is obtained, the recorded initial IMEI code and initial ICCID code bound to the production barcode are updated to the current IMEI code and ICCID code, including:

[0019] If the current IMEI code is inconsistent with the initial IMEI code, when the production barcode scanning action is obtained, the recorded initial IMEI code and initial ICCID code bound to the production barcode are updated to the current IMEI code and ICCID code to restore the communication connection with the device.

[0020] Optionally, if the current IMEI code is inconsistent with the initial IMEI code, when the production barcode scanning action is obtained, the recorded initial IMEI code and initial ICCID code bound to the production barcode are updated to the current IMEI code and ICCID code to restore the communication connection with the device, and further includes:

[0021] The initial ICCID code is shut down.

[0022] In a second aspect, an embodiment of the present invention further provides a device for preventing device number conflicts, including:

[0023] An initial code acquisition module, used to acquire and record the device code, initial IMEI code and initial ICCID code of the device, so as to establish a communication connection with the device;

[0024] A production barcode acquisition module, used to acquire and record the production barcode of the device, and bind the device code, the initial IMEI code and the initial ICCID code to the production barcode;

[0025] A current code acquisition module is used to acquire the current IMEI code, current ICCID code and current device code of the device in real time;

[0026] The coding update module is used to update the recorded initial IMEI code and initial ICCID code bound to the production barcode to the current IMEI code and ICCID code when the production barcode scanning action is obtained.

[0027] In a third aspect, an embodiment of the present invention further provides a device for preventing device number conflicts, including:

[0028] one or more processors;

[0029] A storage device for storing one or more programs;

[0030] When the one or more programs are executed by the one or more processors, the one or more processors implement the method for preventing device number conflicts as described in any one of the first aspects of the present invention.

[0031] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a method for preventing device number conflicts as described in any one of the first aspects of the present invention.

[0032] The embodiment of the present invention provides a method, device, terminal device and storage medium for preventing device number conflicts. The method first obtains and records the device code, initial IMEI code and initial ICCID code of the device to establish a communication connection with the device; obtains and records the production barcode of the device, and binds the device code, initial IMEI code and initial ICCID code to the production barcode; obtains the current IMEI code, current ICCID code and current device code of the device in real time; when the production barcode scanning action is obtained, the recorded initial IMEI code and initial ICCID code bound to the production barcode are updated to the current IMEI code and ICCID code. The above technical scheme avoids the problem of data conflict caused by the illegal device entering the same device number as the original device, so that the platform updates the recorded IMEI code and ICCID code of the original device to the IMEI code and ICCID code of the illegal device, thereby suggesting communication with the illegal device and obtaining wrong data. Before updating the IMEI code and ICCID code of the device, it is also necessary to obtain the production barcode scanning action, that is, through the production barcode, reconfirm the device to be updated to solve the data conflict. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 It is a flowchart of a method for preventing device number conflicts provided in Embodiment 1 of the present invention;

[0034] Figure 2 This is a schematic diagram of data transmission between a management platform and a device provided by an embodiment of the present invention;

[0035] Figure 3 It is a flowchart of a method for preventing device number conflicts provided by Embodiment 2 of the present invention;

[0036] Figure 4 1 is a flow chart of a method for preventing device number conflicts provided in Embodiment 3 of the present invention;

[0037] Figure 5 This is a flow chart of a solution for preventing device coding conflicts provided by Embodiment 4 of the present invention;

[0038] Figure 6 It is a structural schematic diagram of a device for preventing device number conflicts provided by Embodiment 5 of the present invention;

[0039] Figure 7 It is a structural diagram of a device for preventing device number conflicts provided in Embodiment 6 of the present invention. DETAILED DESCRIPTION

[0040] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.

[0041] It should be mentioned before discussing exemplary embodiments in more detail that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow charts describe various operations (or steps) as sequential processes, many operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of various operations can be rearranged. The process can be terminated when its operation is completed, but can also have additional steps not included in the accompanying drawings. The process can correspond to methods, functions, procedures, subroutines, subprograms, etc. In addition, the embodiments in the present invention and the features in the embodiments can be combined with each other without conflict.

[0042] The term “including” and its variations used in the present invention are open inclusions, that is, “including but not limited to.” The term “based on” means “based at least in part on.” The term “one embodiment” means “at least one embodiment.”

[0043] It should be noted that the concepts such as "first" and "second" mentioned in the present invention are only used to distinguish the corresponding contents, and are not used to limit the order or interdependence.

[0044] It should be noted that the modifications of "one" and "plurality" mentioned in the present invention are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0045] Embodiment 1

[0046] Figure 1 It is a flow chart of a method for preventing device number conflicts provided in Example 1 of the present invention. The method can be applied to situations where device number conflicts are prevented. The method can be executed by a device for preventing device number conflicts, wherein the device can be implemented by software and / or hardware.

[0047] like Figure 1 As shown, a method for preventing device number conflicts provided in Embodiment 1 of the present invention includes the following steps:

[0048] S110, obtaining and recording the device code, initial IMEI code and initial ICCID code of the device to establish a communication connection with the device.

[0049] Specifically, wireless communication equipment is included in public smoke ducts in residential buildings, centralized smoke exhaust systems in commercial complexes, or Internet of Things monitoring systems. Figure 2 This is a schematic diagram of data transmission between a management platform and a device provided by an embodiment of the present invention, with reference to Figure 2 After the wireless communication device is installed, it establishes a connection with the management platform through the IoT module on the device mainboard to report data; for example, data such as oil fume concentration can be uploaded to the management platform; and to establish a communication connection between devices, the platform first needs to record the device code, IMEI code and ICCID code of the device, that is, the platform will receive the data of the device only after recording the device code, IMEI code and ICCID code of the device. Therefore, it is necessary to upload the device code, initial IMEI code and initial ICCID code of the device to the management platform so that the platform can obtain and record the device code, initial IMEI code and initial ICCID code of the device to establish a communication connection with the device.

[0050] S120, obtaining and recording the production barcode of the device, and binding the device code, initial IMEI code and initial ICCID code to the production barcode.

[0051] Specifically, the production barcode indicates the identity of the device, that is, after the initial IMEI code and initial ICCID code of the subsequent device are replaced, the management platform can also identify the device through the production barcode, thereby updating the IMEI code and ICCID code of the corresponding device recorded in the platform. Therefore, it is necessary to obtain and record the production barcode of the device, and bind the device code, initial IMEI code and initial ICCID code to the production barcode.

[0052] S130, obtaining the current IMEI code, current ICCID code and current device code of the device in real time.

[0053] S140. When the production barcode scanning action is obtained, the recorded initial IMEI code and initial ICCID code bound to the production barcode are updated to the current IMEI code and ICCID code.

[0054] Specifically, after the device replaces the IMEI code and ICCID code, in order to establish communication with the platform, the IMEI code and ICCID code of the device recorded in the platform must be updated accordingly, so that the IMEI code and ICCID code of the device in the platform are consistent with those in the device, and communication can be established; the platform identifies the device through the device code. In order to prevent illegal devices with the same device code from establishing communication with the platform, resulting in erroneous code updates and data reporting conflicts, a production barcode confirmation step is added. That is, the production barcode also represents the identity of the device. Only when the production platform obtains the production barcode of the device again, it indicates that the real-time coding data uploaded by the receiving device at this time is the new data desired by the device, thereby updating the recorded initial IMEI code and initial ICCID code bound to the production barcode to the current IMEI code and ICCID code.

[0055] The embodiment of the present invention provides a method for preventing device number conflicts. The method first obtains and records the device code, initial IMEI code and initial ICCID code of the device to establish a communication connection with the device; obtains and records the production barcode of the device, and binds the device code, initial IMEI code and initial ICCID code to the production barcode; obtains the current IMEI code, current ICCID code and current device code of the device in real time; when the production barcode scanning action is obtained, the recorded initial IMEI code and initial ICCID code bound to the production barcode are updated to the current IMEI code and ICCID code. The above technical scheme avoids the problem of data conflicts caused by the illegal device entering the same device number as the original device, so that the platform updates the recorded IMEI code and ICCID code of the original device to the IMEI code and ICCID code of the illegal device, thereby suggesting communication with the illegal device and obtaining wrong data. Before updating the IMEI code and ICCID code of the device, it is also necessary to obtain the production barcode scanning action, that is, through the production barcode, reconfirm the device to be updated to solve the data conflict.

[0056] Based on the above embodiment, a variant embodiment of the above embodiment is proposed. It should be noted that in order to make the description concise, only the differences from the above embodiment are described in the variant embodiment.

[0057] In one embodiment, after obtaining the current IMEI code, the current ICCID code and the current device code of the device in real time, the method further includes:

[0058] If the production barcode scanning action is not obtained, a barcode scanning action prompt is issued when the current IMEI code and the initial IMEI code are inconsistent.

[0059] Specifically, when the current IMEI code obtained is inconsistent with the initial IMEI code, it indicates that the motherboard has been replaced. Therefore, the initial IMEI code in the production platform needs to be updated to the current IMEI code of the replaced motherboard. Therefore, a scan code action prompt needs to be issued to prompt the user to scan the production barcode to update the IMEI code.

[0060] After obtaining the current IMEI code, the current device code and the current ICCID code of the device in real time, the method further includes:

[0061] If the production barcode scanning action does not occur, and the current IMEI is consistent with the initial IMEI and the current ICCID code is consistent with the initial ICCID code, the current communication is maintained.

[0062] Specifically, if the production barcode scanning action does not occur, and the current IMEI is consistent with the initial IMEI and the current ICCID code is consistent with the initial ICCID code, it indicates that the device has not been replaced, so there is no need to update the platform coding and maintain current communication.

[0063] Embodiment 2

[0064] Figure 3 The flowchart of a method for preventing device number conflicts provided in the second embodiment of the present invention is optimized on the basis of the above embodiments. In this embodiment, after obtaining the current IMEI code, current ICCID code and current device code of the device in real time in step S130, the following steps are added:

[0065] If the production barcode scanning action does not occur, when the current IMEI code is consistent with the initial IMEI code and the current ICCID code is inconsistent with the initial ICCID code, the initial ICCID code is updated.

[0066] The initial ICCID code is shut down.

[0067] For details not yet provided in this embodiment, please refer to Embodiment 1.

[0068] like Figure 3 As shown, a method for preventing device number conflicts provided by Embodiment 2 of the present invention includes the following steps:

[0069] S210, obtaining and recording the device code, initial IMEI code and initial ICCID code of the device to establish a communication connection with the device.

[0070] S220, obtaining and recording the production barcode of the device, and binding the device code, initial IMEI code and initial ICCID code to the production barcode.

[0071] S230, obtaining the current IMEI code, current ICCID code and current device code of the device in real time.

[0072] S240: If the production barcode scanning action does not occur, when the current IMEI code is consistent with the initial IMEI code and the current ICCID code is inconsistent with the initial ICCID code, the initial ICCID code is updated.

[0073] Specifically, when the production barcode scanning action does not occur and the current IMEI code is consistent with the initial IMEI code, it indicates that no scanning is required, but the current ICCID code is inconsistent with the initial ICCID code at this time, which means that only the SIM card has been replaced, so only the recorded initial ICCID code needs to be updated.

[0074] S250, shut down the initial ICCID code.

[0075] Specifically, since the IMEI code and ICCID code are bound one to one, a replaced SIM card cannot be used on other devices even if it is normal, which will cause the SIM card and the machine to be separated and shut down. After the platform recognizes that only the ICCID has been replaced, the replaced card needs to be shut down to avoid reuse.

[0076] A method for preventing device number conflicts provided in the second embodiment of the present invention, if the production barcode scanning action does not occur, then when the current IMEI code and the initial IMEI code are consistent, and the current ICCID code and the initial ICCID code are inconsistent, the initial ICCID code is updated and the initial ICCID code is shut down, thereby avoiding the reuse of the SIM card.

[0077] Embodiment 3

[0078] Figure 4 A flowchart of a method for preventing device number conflicts provided in Embodiment 3 of the present invention is provided. Embodiment 3 is optimized based on the above embodiments. In this embodiment, step S140, when the production barcode scanning action is obtained, the recorded initial IMEI code and initial ICCID code bound to the production barcode are updated to the current IMEI code and ICCID code, is specifically implemented as follows: if the current IMEI code is inconsistent with the initial IMEI code, when the production barcode scanning action is obtained, the recorded initial IMEI code and initial ICCID code bound to the production barcode are updated to the current IMEI code and ICCID code to restore the communication connection with the device.

[0079] For details not yet provided in this embodiment, please refer to Embodiment 1.

[0080] like Figure 4As shown, a method for preventing device number conflicts provided by Embodiment 3 of the present invention includes the following steps:

[0081] S310, obtaining and recording the device code, initial IMEI code and initial ICCID code of the device to establish a communication connection with the device.

[0082] S320, obtain and record the production barcode of the device, and bind the device code, initial IMEI code and initial ICCID code to the production barcode.

[0083] S330, obtaining the current IMEI code, current ICCID code and current device code of the device in real time.

[0084] S340. If the current IMEI code is inconsistent with the initial IMEI code, when the production barcode scanning action is obtained, the recorded initial IMEI code and initial ICCID code bound to the production barcode are updated to the current IMEI code and ICCID code to restore the communication connection with the device.

[0085] Specifically, if the current IMEI code is inconsistent with the initial IMEI code, it means that the motherboard of the device has been replaced. Therefore, when the production barcode scanning action is obtained, that is, when the user decides to update the platform side of the device, the recorded initial IMEI code and initial ICCID code bound to the production barcode will be updated to the current IMEI code and ICCID code to restore the communication connection with the device.

[0086] S350, shut down the initial ICCID code.

[0087] According to the technical solution of the embodiment of the present invention, if the current IMEI code is inconsistent with the initial IMEI code, then when the production barcode scanning action is obtained, the recorded initial IMEI code and initial ICCID code bound to the production barcode are updated to the current IMEI code and ICCID code to restore the communication connection with the device. That is, after the mainboard is replaced and the production barcode scanning action is obtained and the device identity of the replaced mainboard is identified, the recorded initial IMEI code and initial ICCID code bound to the production barcode are updated to the current IMEI code and ICCID code, and the initial ICCID code is shut down, further avoiding coding conflicts.

[0088] Embodiment 4

[0089] Figure 5 is a flowchart of a solution for preventing device coding conflicts provided by the fourth embodiment of the present invention, with reference to Figure 5The device code will only be reported to the platform when the device is powered on. After that, it will not be reported again unless the motherboard is remotely controlled and restarted. There are four types of power-on situations: when the device is produced and installed, when the device replaces the motherboard, when the device replaces the SIM card, and when the device is powered off and restarted. Among them, the three-code record of the device on the management platform needs to be updated when: production and installation, replacement of the motherboard, and replacement of the SIM card.

[0090] When the device is produced, a new motherboard will be installed first. At this time, the device will record the IMEI code and ICCID code. The new motherboard must be flashed with a new device code to establish a connection with the platform. At this time, the device flashes and records the device code. After that, the motherboard restarts to connect to the network and reports the three-code information (device code, IMEI code, ICCID code). After the management platform obtains the three-code information, it first determines whether there is a production barcode scan update. If the production barcode is scanned or entered, the three-code update is completed.

[0091] When the mainboard is replaced, the device replaces the new mainboard; the IMEI code and ICCID code of the new mainboard are also different from the previous one, so the device records the new IMEI code and ICCID code; at the same time, the new mainboard must be flashed with the previous device code, and the device code is unified and consistent; then the mainboard restarts to connect to the Internet, and reports the three-code information (device code, IMEI code, ICCID code); after the management platform obtains the three-code information, it first determines whether there is a production barcode scan update. If the code is scanned or the production barcode is entered, the production barcode and the device code are bound one by one, and the IMEI code and ICCID code are bound to the device code, then the three codes are updated; if not, it determines whether the IMEI code is equal to the IMEI record value of the management platform. If not, it prompts to scan the production barcode to update; if so, it determines whether the ICCID code is equal to the ICCID record value of the management platform. If not, the original SIM card is shut down for processing, and the new ICCID code is directly updated. If so, the reported three codes are consistent with the record values ​​of the management platform, and the device operates normally;

[0092] When the SIM card is replaced, the device replaces the new SIM card. Since the mainboard remains unchanged, only the ICCID code is different, and the IMEI code is consistent with the record of the management platform. Since the mainboard remains unchanged, the device code is also unchanged, and the device code is consistent with the record of the management platform. The mainboard restarts to connect to the Internet and reports the three-code information (device code, IMEI code, ICCID code). After the management platform obtains the three-code information, it first determines whether there is a production barcode scan update. If the production barcode is scanned or entered, the production barcode and the device code are bound one by one, and the IMEI code and ICCID code are bound to the device code, then the three codes are updated; if not, it determines whether the IMEI code is equal to the IMEI record value of the management platform. If not, it prompts to scan the production barcode for update. If so, it determines whether the ICCID code is equal to the ICCID record value of the management platform. If not, the original SIM card is shut down for processing, and the ICCID code is directly updated. If so, the reported three codes are consistent with the record values ​​of the management platform, and the device operates normally.

[0093] Embodiment 5

[0094] Figure 6 This is a schematic diagram of the structure of a device for preventing device number conflicts provided in Embodiment 5 of the present invention. The device can be applicable to the case of a device for preventing device number conflicts, wherein the device can be implemented by software and / or hardware.

[0095] like Figure 6 As shown, the device comprises:

[0096] The initial code acquisition module 410 is used to acquire and record the device code, initial IMEI code and initial ICCID code of the device to establish a communication connection with the device;

[0097] The production barcode acquisition module 420 is used to acquire and record the production barcode of the device, and bind the device code, initial IMEI code and initial ICCID code to the production barcode;

[0098] The current code acquisition module 430 is used to obtain the current IMEI code, current ICCID code and current device code of the device in real time;

[0099] The code updating module 440 is used to update the recorded initial IMEI code and initial ICCID code bound to the production barcode to the current IMEI code and ICCID code when the production barcode scanning action is obtained.

[0100] In this embodiment, the device first obtains and records the device code, initial IMEI code and initial ICCID code of the device through the initial code acquisition module 410 to establish a communication connection with the device; then obtains and records the production barcode of the device through the production barcode acquisition module 420, and binds the device code, initial IMEI code and initial ICCID code to the production barcode; and obtains the current IMEI code, current ICCID code and current device code of the device in real time through the current code acquisition module 430; finally, using the code update module 440, when the production barcode scanning action is obtained, the recorded initial IMEI code and initial ICCID code bound to the production barcode are updated to the current IMEI code and ICCID code. The above technical solution avoids the problem of data conflict caused by an illegal device entering the same device number as the original device, causing the platform to update the recorded IMEI code and ICCID code of the original device to the IMEI code and ICCID code of the illegal device, thereby suggesting communication with the illegal device and obtaining erroneous data. Before updating the IMEI code and ICCID code of the device, it is also necessary to obtain the production barcode scanning action, that is, through the production barcode, reconfirm the device to be updated to resolve the data conflict.

[0101] Optionally, the device further comprises:

[0102] The code scanning action prompt module is used to issue a code scanning action prompt when the current IMEI code and the initial IMEI code are inconsistent if the production barcode scanning action is not obtained.

[0103] The initial ICCID code update module is used to update the initial ICCID code if the production barcode scanning action does not occur, when the current IMEI code is consistent with the initial IMEI code and the current ICCID code is inconsistent with the initial ICCID code.

[0104] The initial ICCID code shutdown module is used to shut down the initial ICCID code.

[0105] The communication maintaining module is used to maintain the current communication if the production barcode scanning action does not occur, and the current IMEI is consistent with the initial IMEI and the current ICCID code is consistent with the initial ICCID code.

[0106] Optionally, the code updating module 440 is specifically configured to:

[0107] If the current IMEI code is inconsistent with the initial IMEI code, when the production barcode scanning action is obtained, the recorded initial IMEI code and initial ICCID code bound to the production barcode will be updated to the current IMEI code and ICCID code to restore the communication connection with the device.

[0108] The above-mentioned device for preventing equipment number conflicts can execute the method for preventing equipment number conflicts provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0109] Embodiment 6

[0110] Figure 7 This is a schematic diagram of a device for preventing device number conflicts provided by Embodiment 6 of the present invention. Figure 7 As shown, the device provided by the sixth embodiment of the present invention includes: one or more processors 51 and a storage device 52; the processor 51 in the device may be one or more, Figure 7 A processor 51 is taken as an example; the storage device 52 is used to store one or more programs; the one or more programs are executed by the one or more processors 51, so that the one or more processors 51 implement the method for preventing device number conflicts as described in any one of the embodiments of the present invention.

[0111] The device may further include: an input device 53 and an output device 54 .

[0112] The processor 51, storage device 52, input device 53 and output device 54 in the device may be connected via a bus or other means. Figure 7 The example of connecting through bus is taken in the following.

[0113] The storage device 52 in the device is a computer-readable storage medium that can be used to store one or more programs, which can be software programs, computer executable programs and modules, such as program instructions / modules corresponding to the method for preventing device number conflicts provided in Embodiment 1 or 2 of the present invention. The processor 51 executes various functional applications and data processing of the terminal device by running the software programs, instructions and modules stored in the storage device 52, that is, the method for preventing device number conflicts in the above method embodiments is implemented.

[0114] The storage device 52 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the device, etc. In addition, the storage device 52 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the storage device 52 may further include a memory remotely arranged relative to the processor 51, and these remote memories may be connected to the device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0115] The input device 53 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the device. The output device 54 may include a display device such as a display screen.

[0116] Furthermore, when one or more programs included in the above device are executed by the one or more processors 51, the program performs the following operations:

[0117] Obtain and record the device code, initial IMEI code and initial ICCID code of the device to establish a communication connection with the device;

[0118] Obtain and record the production barcode of the device, and bind the device code, initial IMEI code and initial ICCID code to the production barcode;

[0119] Get the current IMEI code, ICCID code and device code of the device in real time;

[0120] When the production barcode scanning action is obtained, the recorded initial IMEI code and initial ICCID code bound to the production barcode are updated to the current IMEI code and ICCID code.

[0121] Embodiment 7

[0122] Embodiment 7 of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, the method for preventing device number conflicts includes:

[0123] Obtain and record the device code, initial IMEI code and initial ICCID code of the device to establish a communication connection with the device;

[0124] Obtain and record the production barcode of the device, and bind the device code, initial IMEI code and initial ICCID code to the production barcode;

[0125] Get the current IMEI code, ICCID code and device code of the device in real time;

[0126] When the production barcode scanning action is obtained, the recorded initial IMEI code and initial ICCID code bound to the production barcode are updated to the current IMEI code and ICCID code.

[0127] Optionally, when the program is executed by a processor, it can also be used to execute the method for preventing device number conflicts provided by any embodiment of the present invention.

[0128] The computer storage medium of the embodiment of the present invention may adopt any combination of one or more computer-readable media. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (AM), a read-only memory (OM), an erasable programmable read-only memory (EPOM), a flash memory, an optical fiber, a portable CD-OM, an optical storage device, a magnetic storage device, or any suitable combination thereof. The computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, device or device.

[0129] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to: electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0130] The program code contained on the computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, radio frequency (adioFequency, F), etc., or any suitable combination of the above.

[0131] Computer program code for performing the operations of the present invention may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0132] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A method for preventing device number conflicts, characterized in that: include: Obtaining and recording the device code, initial IMEI code and initial ICCID code of the device to establish a communication connection with the device; Obtain and record the production barcode of the device, and bind the device code, the initial IMEI code and the initial ICCID code to the production barcode; Obtain the current IMEI code, current ICCID code and current device code of the device in real time; When the production barcode scanning action is obtained, the recorded initial IMEI code and initial ICCID code bound to the production barcode are updated to the current IMEI code and ICCID code.

2. The method for preventing device number conflicts according to claim 1, characterized in that: After obtaining the current IMEI code, the current ICCID code and the current device code of the device in real time, the method further includes: If the production barcode scanning action is not obtained, a barcode scanning action prompt is issued when the current IMEI code and the initial IMEI code are inconsistent.

3. The method for preventing device number conflicts according to claim 1, characterized in that: After obtaining the current IMEI code, the current ICCID code and the current device code of the device in real time, the method further includes: If the production barcode scanning action does not occur, then when the current IMEI code is consistent with the initial IMEI code, and the current ICCID code is inconsistent with the initial ICCID code, the initial ICCID code is updated.

4. The method for preventing device number conflicts according to claim 3, characterized in that: If the production barcode scanning action does not occur, then when the current IMEI code is consistent with the initial IMEI code, and the current ICCID code is inconsistent with the initial ICCID code, after updating the initial ICCID code, the method further includes: The initial ICCID code is shut down.

5. The method for preventing device number conflicts according to claim 1, characterized in that: After obtaining the current IMEI code, the current ICCID code and the current device code of the device in real time, the method further includes: If the production barcode scanning action does not occur, when the current IMEI of the device is consistent with the initial IMEI and the current ICCID code is consistent with the initial ICCID code, communication with the device is maintained.

6. The method for preventing device number conflicts according to claim 1, characterized in that: When the production barcode scanning action is obtained, the recorded initial IMEI code and initial ICCID code bound to the production barcode are updated to the current IMEI code and ICCID code, including: If the current IMEI code is inconsistent with the initial IMEI code, when the production barcode scanning action is obtained, the recorded initial IMEI code and initial ICCID code bound to the production barcode are updated to the current IMEI code and ICCID code to restore the communication connection with the device.

7. The method for preventing device number conflicts according to claim 6, characterized in that: If the current IMEI code is inconsistent with the initial IMEI code, when the production barcode scanning action is obtained, the recorded initial IMEI code and initial ICCID code bound to the production barcode are updated to the current IMEI code and ICCID code to restore the communication connection with the device, and further comprising: The initial ICCID code is shut down.

8. A device for preventing equipment number conflicts, characterized in that: include: An initial code acquisition module, used to acquire and record the device code, initial IMEI code and initial ICCID code of the device, so as to establish a communication connection with the device; A production barcode acquisition module, used to acquire and record the production barcode of the device, and bind the device code, the initial IMEI code and the initial ICCID code to the production barcode; A current code acquisition module is used to acquire the current IMEI code, current ICCID code and current device code of the device in real time; The coding update module is used to update the recorded initial IMEI code and initial ICCID code bound to the production barcode to the current IMEI code and ICCID code when the production barcode scanning action is obtained.

9. A device for preventing device number conflicts, characterized in that: include: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method for preventing device number conflicts as described in any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method for preventing device number conflicts as described in any one of claims 1 to 7 is implemented.