CN109982314A - Identification code detection method of electronic device, electronic device, equipment and storage medium - Google Patents
Identification code detection method of electronic device, electronic device, equipment and storage medium Download PDFInfo
- Publication number
- CN109982314A CN109982314A CN201910153167.4A CN201910153167A CN109982314A CN 109982314 A CN109982314 A CN 109982314A CN 201910153167 A CN201910153167 A CN 201910153167A CN 109982314 A CN109982314 A CN 109982314A
- Authority
- CN
- China
- Prior art keywords
- electronic device
- identification code
- international identification
- mobile
- mobile equipment
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/22—Processing or transfer of terminal data, e.g. status or physical capabilities
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
技术领域technical field
本申请涉及电子技术领域,特别是涉及一种电子装置的移动设备国际标识码的检验方法、电子装置、终端设备以及存储介质。The present application relates to the field of electronic technologies, and in particular, to a method for checking the international identification code of a mobile device of an electronic device, an electronic device, a terminal device, and a storage medium.
背景技术Background technique
每台手机、平板电脑等电子装置中均有写入移动设备国际标识码,也称为IMEI号,作为电子装置的身份证,每台电子装置均具有一个全球唯一的IMEI号。电子装置在正式量产前,会先有试产的业务,很多试产的时候,电子装置因为是提前预研,所以还未到国家政府机构进行认证申请,这种情况下手机申请不了正式的型号核准号码(也称TAC号),其中TAC号为IMEI号的前8位。为了试产能正常进行,电子装置的生产厂商会自己虚拟一个非国家公布的TAC号用于试产业务,在正式TAC号申请回来后,再对电子装置进行重写IMEI号。出厂之前,工作人员对已经重写和还没用重写IMEI号的电子装置进行标记和分类,但是以上方案往往导致部分电子装置漏写国家核准的TAC号对应的IMEI号就出库,导致部分电子装置存在品质问题。Every mobile phone, tablet computer and other electronic devices are written with the International Mobile Equipment Identification Code, also known as the IMEI number. As the ID card of the electronic device, each electronic device has a globally unique IMEI number. Before the official mass production of electronic devices, there will be a trial production business. In many trial productions, the electronic devices are pre-researched in advance, so the certification application has not yet been submitted to the national government agency. In this case, the mobile phone cannot apply for official certification. Type approval number (also called TAC number), where the TAC number is the first 8 digits of the IMEI number. In order to carry out the trial production normally, the manufacturer of the electronic device will create a virtual TAC number that is not announced by the state for the trial production business. After the official TAC number is applied for, the IMEI number of the electronic device will be rewritten. Before leaving the factory, the staff will mark and classify the electronic devices whose IMEI numbers have been rewritten and those whose IMEI numbers have not yet been rewritten. However, the above solutions often lead to some electronic devices leaving the warehouse without the IMEI number corresponding to the TAC number approved by the state, resulting in some electronic devices leaving the warehouse. Electronic devices have quality problems.
发明内容SUMMARY OF THE INVENTION
本申请提供一种电子装置的移动设备国际标识码的检验方法、电子装置、终端设备以及存储介质。The present application provides a method for checking the international identification code of a mobile device of an electronic device, an electronic device, a terminal device, and a storage medium.
本申请采用的一个技术方案是:提供一种电子装置的移动设备国际标识码的检验方法,其包括:A technical solution adopted in this application is to provide a method for checking the international identification code of a mobile device of an electronic device, which includes:
获取电子装置的移动设备国际标识码;Obtain the international identification code of the mobile device of the electronic device;
检测所述移动设备国际标识码是否为重新编写的编码;Detecting whether the international identification code of the mobile device is a rewritten code;
输出检测结果。Output the detection result.
本申请还提供一种电子装置的移动设备国际标识码的检验方法,其包括:The application also provides a method for checking the international identification code of a mobile device of an electronic device, which includes:
响应预设命令输出电子装置的移动设备国际标识码的相关图案于屏幕上,其中所述移动设备国际标识码为电子装置是否能够出厂的验证码。In response to the preset command, a pattern related to the international identification code of the mobile device of the electronic device is output on the screen, wherein the international identification code of the mobile device is a verification code for whether the electronic device can be shipped from the factory.
本申请还提供一种电子装置,包括:The application also provides an electronic device, comprising:
获取模块,用于获取电子装置的移动设备国际标识码;an acquisition module for acquiring the international identification code of the mobile device of the electronic device;
检测模块,用于检测所述移动设备国际标识码是否为重新编写的编码;a detection module for detecting whether the international identification code of the mobile device is a rewritten code;
输出模块,用于输出检测结果。The output module is used to output the detection result.
本申请还提供一种一种电子装置,包括:The application also provides an electronic device, comprising:
响应模块,用于响应预设命令输出电子装置的移动设备国际标识码的相关图案于屏幕上,其中所述移动设备国际标识码为电子装置是否能够出厂的验证码。The response module is used for outputting the relevant pattern of the mobile device international identification code of the electronic device on the screen in response to the preset command, wherein the mobile device international identification code is a verification code for whether the electronic device can be shipped from the factory.
本申请还提供一种终端设备,其包括:The application also provides a terminal device, which includes:
处理器、存储器以及存储在所述储存器上的计算机程序,所述处理器耦合所述存储器,所述处理器在工作时执行所述计算机程序以实现如以上任一项所述的方法。A processor, a memory and a computer program stored on the memory, the processor coupled to the memory, the processor in operation executing the computer program to implement a method as described in any of the above.
本申请还提供一种存储介质,其特征在于,存储有程序数据,所述程序数据被执行时实现如以上任一项所述的方法。The present application further provides a storage medium, which is characterized in that program data is stored, and when the program data is executed, the method described in any of the above is implemented.
本申请提供的电子装置的移动设备国际标识码的检验方法在电子装置出库前进行检验,首先获取电子装置的移动设备国际标识码,然后检测该移动设备国际标识码是否为重新编写的编码。可以理解的,移动设备国际标识码重新编写前和重新编写后是存在明显差异的,因此能够根据重新编写前和重新编写后的移动设备国际标识码的差异性进行检测。最后输出检测结果,如果检测结果为该电子装置的移动设备国际标识码没有重新编写,则该电子装置不能出库,需要重新编写。以上检测方案由机器在电子装置出库前对每台电子装置自动进行检测,效率高且能够良好地防止未重新编写移动设备国际标识码的电子装置出库,导致产品质量问题。The method for checking the mobile device international identification code of the electronic device provided by the present application is checked before the electronic device is released from the warehouse. First, the mobile device international identification code of the electronic device is obtained, and then it is detected whether the mobile device international identification code is a rewritten code. It can be understood that there are obvious differences before and after the rewriting of the international identification code of the mobile device, so the detection can be performed according to the difference between the international identification code of the mobile device before and after the rewriting. Finally, the detection result is output. If the detection result is that the international identification code of the mobile device of the electronic device has not been rewritten, the electronic device cannot be released from the warehouse and needs to be rewritten. The above detection scheme uses the machine to automatically detect each electronic device before the electronic device is released from the warehouse, which is efficient and can well prevent the electronic device without re-writing the international identification code of the mobile device from being released from the warehouse, resulting in product quality problems.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the drawings that are used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative effort.
图1是本申请电子装置的移动设备国际标识码的检验方法一实施例的流程示意图;1 is a schematic flowchart of an embodiment of a method for checking the international identification code of a mobile device of an electronic device of the present application;
图2是本申请电子装置的移动设备国际标识码的检验方法另一实施例的流程示意图;2 is a schematic flowchart of another embodiment of a method for checking the international identification code of a mobile device of an electronic device of the present application;
图3是本申请电子装置的移动设备国际标识码的检验方法又一实施例中流程示意图;3 is a schematic flowchart of another embodiment of a method for checking the international identification code of a mobile device of an electronic device of the present application;
图4是本申请电子装置一实施例中的结构示意图;4 is a schematic structural diagram of an embodiment of an electronic device of the present application;
图5是本申请电子装置另一实施例中的结构示意图;5 is a schematic structural diagram of another embodiment of the electronic device of the present application;
图6是本申请电子装置再一实施例中的结构示意图;6 is a schematic structural diagram of another embodiment of the electronic device of the present application;
图7是本申请终端设备一实施例中的结构示意图;7 is a schematic structural diagram of an embodiment of a terminal device of the present application;
图8是本申请存储介质一实施例中的结构示意图。FIG. 8 is a schematic structural diagram of an embodiment of a storage medium of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。可以理解的是,此处所描述的具体实施例仅用于解释本申请,而非对本申请的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本申请相关的部分而非全部结构。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application. In addition, it should be noted that, for the convenience of description, the drawings only show some but not all the structures related to the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor a separate or alternative embodiment that is mutually exclusive of other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
每台手机、平板电脑等电子装置中均有写入移动设备国际标识码,也称为IMEI号,作为电子装置的身份证,每台电子装置均具有一个全球唯一的IMEI号。可以理解的,电子装置在使用过程中,很多地方都需要用到移动设备国际标识码对手机进行验证,手机、平板电脑等电子装置已经深入人们的日常生活,电子装置的功能越来越强大,电子装置上一般都安装有很多第三方应用,通过第三方应用实现更多功能,因此电子装置在实现某些功能的时候需要与第三方应用配合。第三方应用为了确认安全需要确保电子装置为正规出厂的机子,例如微信指纹支付功能的实现则需要对电子装置进行验证,只有当电子装置写入的移动设备国际标识码与微信平台备案的移动设备国际标识码一致,则微信指纹支付功能才能正常使用。可选地,以上只是举例,第三方应用可以是QQ、支付宝、唯品会、小红书等,此不做具体限定。预设功能除了可以为第三方应用的指纹支付功能,也可以是其他涉及支付或者安全相关的功能。Every mobile phone, tablet computer and other electronic devices are written with the International Mobile Equipment Identification Code, also known as the IMEI number. As the ID card of the electronic device, each electronic device has a globally unique IMEI number. It is understandable that in the process of using electronic devices, the international identification code of mobile devices needs to be used to verify mobile phones in many places. Electronic devices such as mobile phones and tablet computers have penetrated into people's daily life, and the functions of electronic devices are becoming more and more powerful. Generally, many third-party applications are installed on the electronic device, and more functions are realized through the third-party applications. Therefore, the electronic device needs to cooperate with the third-party applications when realizing certain functions. In order to confirm safety, third-party applications need to ensure that the electronic device is a regular factory machine. For example, the realization of the WeChat fingerprint payment function needs to verify the electronic device. Only when the international identification code of the mobile device written in the electronic device and the mobile device registered on the WeChat platform If the international identification code is the same, the WeChat fingerprint payment function can be used normally. Optionally, the above is just an example, and the third-party application may be QQ, Alipay, Vipshop, Xiaohongshu, etc., which is not specifically limited. In addition to the fingerprint payment function of a third-party application, the preset function can also be other functions related to payment or security.
电子装置在正式量产前,会先有试产的业务,很多试产的时候,电子装置因为是提前预研,所以还未到国家政府机构进行认证申请,这种情况下手机申请不了正式的型号核准号码(也称TAC号),其中TAC号为IMEI号的前8位。为了试产能正常进行,电子装置的生产厂商会自己虚拟一个非国家公布的TAC号用于试产业务,在正式TAC号申请回来后,再根据国家公布的TAC号对电子装置进行重写IMEI号。出厂之前,工作人员对已经重写和还没用重写IMEI号的电子装置进行标记和分类,但是以上方案往往导致部分电子装置漏写国家公布的TAC号对应的IMEI号就出库,导致部分电子装置存在品质问题。本申请在MES系统(制造企业生产过程执行系统,是一套面向制造企业车间执行层的生产信息化管理系统)中增加电子装置出库前IMEI号检测程序,以防止未根据国家公布的TAC号重新写入IMEI号的电子装置出库导致品质问题。Before the official mass production of electronic devices, there will be a trial production business. In many trial productions, the electronic devices are pre-researched in advance, so the certification application has not yet been submitted to the national government agency. In this case, the mobile phone cannot apply for official certification. Type approval number (also called TAC number), where the TAC number is the first 8 digits of the IMEI number. In order to carry out the trial production normally, the manufacturer of the electronic device will create a virtual TAC number that is not published by the state for the trial production business. . Before leaving the factory, the staff will mark and classify the electronic devices whose IMEI numbers have been rewritten and those whose IMEI numbers have not yet been rewritten. However, the above solutions often lead to some electronic devices leaving the warehouse without writing the IMEI number corresponding to the TAC number published by the state, resulting in some electronic devices leaving the warehouse. Electronic devices have quality problems. In this application, the MES system (manufacturing enterprise production process execution system, which is a set of production information management system oriented to the workshop execution layer of manufacturing enterprise) adds the IMEI number detection procedure before the electronic device is shipped out of the warehouse, so as to prevent the TAC number not published according to the state. Electronic devices with rewritten IMEI numbers are shipped out of the warehouse, resulting in quality problems.
请参阅图1,图1是本申请一种电子装置的移动设备国际标识码的检验方法一实施例的流程示意图。如图1所示,该方法包括步骤101至步骤103,其中:Please refer to FIG. 1 . FIG. 1 is a schematic flowchart of an embodiment of a method for checking the international identification code of a mobile device of an electronic device according to the present application. As shown in Figure 1, the method includes steps 101 to 103, wherein:
步骤101:获取电子装置的移动设备国际标识码。Step 101: Obtain the international identification code of the mobile device of the electronic device.
由于每台电子装置的移动设备国际标识码都是独一无二的,因此可以作为电子装置的验证码。具体的,国际移动设备识别码一般贴于电子装置的机身背面与外包装上,同时也存在于手机存储器中,通过输入预设命令即可呈现在手机屏幕上,预设命令例如为“*#06#”即可查询。本申请不同的实施例中可以通过不同的方式获得移动设备国际标识码。以下通过各个实施例进行说明。将电子装置的移动设备国际标识码与其他呈现在箱子或者外包装上的编码绑定存储到预设数据库中,MES系统获取电子装置的移动设备国际标识码的时候访问预设数据库即可获得,以下通过不同的实施例进行讲解。Since the mobile device international identification code of each electronic device is unique, it can be used as the verification code of the electronic device. Specifically, the international mobile equipment identification code is generally pasted on the back of the body and the outer packaging of the electronic device, and also exists in the mobile phone memory. It can be displayed on the screen of the mobile phone by entering a preset command, such as "* #06#” to query. In different embodiments of the present application, the international identification code of the mobile device may be obtained in different ways. The following description will be given by means of various embodiments. The international identification code of the mobile device of the electronic device is bound and stored in the preset database with other codes presented on the box or outer packaging. When the MES system obtains the international identification code of the mobile device of the electronic device, it can be obtained by accessing the preset database. The following is explained through different embodiments.
可选地,一实施例中,MES系统直接识别或者扫描电子装置的机身背面或者外包装,进而获得电子装置的移动设备国际标识码以备检验。另一实施例中,获取电子装置的移动设备国际标识码的步骤包括:扫描电子装置的屏幕上形成相关图案,以获取电子装置的移动设备国际标识码。具体的,工作人员在电子装置中输入预设命令,使得电子装置的移动设备国际标识码或者包含移动设备国际识别码的相关图案呈现在电子装置的屏幕上,MES系统直接识别或者扫描电子装置屏幕上的字符或者相关图案,例如二维码或者条形码即可获得电子装置的移动设备国际标识码。Optionally, in an embodiment, the MES system directly identifies or scans the back of the body or the outer package of the electronic device, and then obtains the international identification code of the mobile device of the electronic device for inspection. In another embodiment, the step of obtaining the international identification code of the mobile device of the electronic device includes: scanning a relevant pattern formed on the screen of the electronic device to obtain the international identification code of the mobile device of the electronic device. Specifically, the staff enters a preset command in the electronic device, so that the international identification code of the mobile device of the electronic device or a related pattern including the international identification code of the mobile device is displayed on the screen of the electronic device, and the MES system directly recognizes or scans the screen of the electronic device Characters or related patterns on the electronic device, such as a two-dimensional code or a barcode, can obtain the international identification code of the mobile device of the electronic device.
具体的,电子装置在出库的时候一般不会一台一台出库,如果一台一台获取电子装置的移动设备国际标识码进行检验,则速度非常有限。一般情况下电子装置按箱出货,每一箱中均包括多台电子装置,本实施例中,每个箱子的箱号都是不同的,只要将电子装置的移动设备国际标识码与箱号绑定,MES系统获得箱号即可获得箱子里面的电子装置对应的移动设备国际标识码。Specifically, the electronic devices are generally not shipped out one by one when they are out of the warehouse. If the international identification codes of the mobile devices of the electronic devices are obtained one by one for inspection, the speed is very limited. In general, electronic devices are shipped in boxes, and each box contains multiple electronic devices. In this embodiment, the box number of each box is different, as long as the international identification code of the mobile device of the electronic device is compared with the box number Binding, the MES system can obtain the international identification code of the mobile device corresponding to the electronic device in the box by obtaining the box number.
该实施例中,获取电子装置的移动设备国际标识码的步骤包括:获取电子装置的包装盒上的箱号,以获取该电子装置的移动设备国际标识码。具体的,电子装置的移动设备国际标识码与箱号绑定,且将箱号和电子装置的移动设备国际标识码存储到预设数据库,则获取电子装置的包装盒上的箱号,以获取电子装置的移动设备国际标识码的步骤包括:获取电子装置的包装盒上的箱号,利用箱号访问预设数据库以获得箱号对应的移动设备国际标识码。可选地,一实施例中,预设数据库是MES系统内部的数据库,则MES系统只要获取箱号即可访问内部的数据库以获得该箱号对应的多台电子装置的移动设备国际标识码。另一实施例中,一个箱子里面也可以只有一台电子装置,此不做具体限定。其他实施例中,预设数据库为MES以外的其他设备或者平台,则MES系统与该设备或者平台连接,根据箱号查找获取该箱号对应的一台或者多台电子装置的移动设备国际标识码。In this embodiment, the step of obtaining the international identification code of the mobile device of the electronic device includes: obtaining the box number on the packaging box of the electronic device to obtain the international identification code of the mobile device of the electronic device. Specifically, the international identification code of the mobile device of the electronic device is bound to the box number, and the box number and the international identification code of the mobile device of the electronic device are stored in a preset database, and then the box number on the packaging box of the electronic device is obtained to obtain The step of the mobile device international identification code of the electronic device includes: acquiring the box number on the packaging box of the electronic device, and using the box number to access a preset database to obtain the mobile device international identification code corresponding to the box number. Optionally, in an embodiment, the preset database is an internal database of the MES system, and the MES system can access the internal database as long as the box number is obtained to obtain the mobile device international identification codes of the plurality of electronic devices corresponding to the box number. In another embodiment, there may be only one electronic device in a box, which is not specifically limited. In other embodiments, the preset database is other equipment or platform other than MES, then the MES system is connected to the equipment or platform, and the mobile device international identification code of one or more electronic devices corresponding to the box number is searched and obtained according to the box number. .
可选地,一实施例中,MES通过字符直接识别呈现在箱子上的箱号,或者通过扫描呈现在箱子上的相关图案,例如二维码或者条形码,以获取该箱子上的箱号。Optionally, in an embodiment, the MES directly recognizes the box number displayed on the box through characters, or obtains the box number on the box by scanning a related pattern, such as a two-dimensional code or a barcode, displayed on the box.
步骤102:检测移动设备国际标识码是否为重新编写的编码。Step 102: Detect whether the international identification code of the mobile device is a rewritten code.
可以理解的,电子装置试生产阶段写入的移动设备国际标识码为生产厂商自行编写的,与国家公布的电子装置的正式TAC号申请回来后,根据国家公布的TAC号对电子装置进行重写的移动设备国际标识码必定存在明显差异。因此能够根据重新编写前和重新编写后的移动设备国际标识码的差异性进行检测出库时电子装置的移动设备国际标识码是否为重新编写的编码。It is understandable that the international identification code of the mobile device written in the trial production stage of the electronic device is written by the manufacturer itself. After applying for the official TAC number of the electronic device published by the state, rewrite the electronic device according to the TAC number published by the state. There must be significant differences in the International Identification Numbers of mobile devices. Therefore, it can be detected whether the international identification code of the mobile device of the electronic device is a rewritten code when the library is checked out according to the difference between the international identification code of the mobile device before and after the rewriting.
可选地,一实施例中,检测移动设备国际标识码是否为重新编写的编码的步骤包括:检测移动设备国际标识码预设位置的编码是否为预设编码。可以理解的,以手机为例,电子装置的移动设备国际标识码(International Mobile Equipment Identity,IMEI),即通常所说的手机序列号、手机“串号”,用于在移动电话网络中识别每一部独立的手机的移动通信设备,相当于手机的身份证。序列号共有15~17位数字,前8位(TAC号)是型号核准号码(早期为6位),是区分手机品牌和型号的编码。接着2位(FAC号)是最后装配号(仅在早期机型中存在),代表最终装配地代码。后6位(SNR号)是串号,代表生产顺序号。最后1位(SP号)一般为0,是检验码。因此,可以根据正规移动设备国际标识码的这些特性识别出库时电子装置的移动设备国际标识码是否是重新编写的。Optionally, in an embodiment, the step of detecting whether the international identification code of the mobile device is a rewritten code includes: detecting whether the encoding of the preset position of the international identification code of the mobile device is a preset encoding. It can be understood that, taking a mobile phone as an example, the International Mobile Equipment Identity (IMEI) of the electronic device, that is, the commonly known mobile phone serial number and the "serial number" of the mobile phone, is used to identify each mobile phone network in the mobile phone network. The mobile communication device of an independent mobile phone is equivalent to the ID card of the mobile phone. The serial number has 15 to 17 digits in total. The first 8 digits (TAC number) are the model approval number (6 digits in the early days), which is the code to distinguish the brand and model of the mobile phone. The next 2 digits (FAC number) is the last assembly number (existing only in earlier models), which represents the final assembly code. The last 6 digits (SNR number) are serial numbers, representing the production sequence number. The last 1 bit (SP number) is generally 0, which is the check code. Therefore, it can be recognized whether the international mobile equipment identification code of the electronic device is rewritten when the library is stored according to these characteristics of the regular international identification code of the mobile equipment.
可以理解的,为了MES系统能够更容易检测,一实施例中电子装置的生产厂商不按移动设备国际标识码上述存在的特性进行编写,则降低MES系统检测的难度。一实施例中,检测所述移动设备国际标识码是否为重新编写的编码的步骤包括:检测移动设备国际标识码预设位置的编码是否为预设编码。可选地,一实施例中,移动设备国际标识码预设位置的编码为移动设备国际标识码的前两位编码,例如,移动设备国际标识码的前两位编码为国际区号,例如中国国际区号86、英国国际区号35,美国国际区号为01。其他实施例中,移动设备国际标识码预设位置的编码也可以是其他位置的编码,只要这个编码是比较固定的,或者为几个编码中的一个,而电子装置的生产厂商编写的相对应位置的编码并没有正规移动设备国际标识码的可能存在的这几个编码。则步骤102可以根据这一差异性检测出出库时的电子装置对应的移动设备国际标识码是否是重新编写过的。It can be understood that, in order to make the MES system easier to detect, in an embodiment, the manufacturer of the electronic device does not write according to the above-mentioned existing characteristics of the international identification code of the mobile device, which reduces the difficulty of the MES system detection. In one embodiment, the step of detecting whether the international identification code of the mobile device is a rewritten code includes: detecting whether the encoding of the preset position of the international identification code of the mobile device is a preset encoding. Optionally, in an embodiment, the code of the preset position of the international identification code of the mobile device is the first two codes of the international identification code of the mobile device, for example, the first two codes of the international identification code of the mobile device are the international area code, such as China International Code. The area code is 86, the international area code of the United Kingdom is 35, and the international area code of the United States is 01. In other embodiments, the code of the preset position of the international identification code of the mobile device may also be the code of other positions, as long as the code is relatively fixed, or one of several codes, and the corresponding code written by the manufacturer of the electronic device. The encoding of the location does not have these encodings that may exist in the regular international identification code of the mobile device. In step 102, it can be detected whether the international identification code of the mobile device corresponding to the electronic device at the time of delivery has been rewritten according to the difference.
另一实施例中,移动设备国际标识码预设位置的编码为整串编码,即包括整串移动设备国际标识码所有位置的编码。本实施例中,首先将该批次所有或者部分电子装置(例如以每天出库的量进行区分)的移动设备国际标识码均保存在预设数据中。则检测移动设备国际标识码预设位置的编码是否为预设编码的步骤包括:访问预设数据库检测移动设备国际标识码是否与预设数据库中保存的一致。即每台电子装置的移动设备国际标识码如果能够在预设数据库中找到一模一样的,如果能够找到说明该电子装置的移动设备国际标识码正常,如果无法找到则说明异常。具体的,预设数据库可以是MES系统内部的数据库,也可以是其他独立与MES系统外的但是与MES系统连接的数据库,此不作具体限定。In another embodiment, the encoding of the preset position of the international identification code of the mobile equipment is a whole string of encodings, that is, the encoding of all positions of the international identification code of the mobile equipment in the entire string. In this embodiment, firstly, the international identification codes of mobile devices of all or part of the electronic devices in the batch (for example, are distinguished by the quantity shipped out of the warehouse each day) are stored in the preset data. The step of detecting whether the code of the preset position of the international identification code of the mobile device is a preset code includes: accessing a preset database to detect whether the international identification code of the mobile device is consistent with that stored in the preset database. That is, if the mobile device international identification code of each electronic device can be found exactly the same in the preset database, if it can be found, the mobile device international identification code of the electronic device is normal, and if it cannot be found, it is abnormal. Specifically, the preset database may be a database within the MES system, or may be other databases that are independent of the MES system but connected to the MES system, which are not specifically limited.
步骤103:输出检测结果。Step 103: Output the detection result.
最后输出检测结果,如果检测结果为该电子装置的移动设备国际标识码没有重新编写,则该电子装置不能出库,需要重新编写。以上检测方案由机器在电子装置出库前对每台电子装置自动进行检测,效率高且能够良好地防止未重新编写移动设备国际标识码的电子装置出库,导致产品质量问题。Finally, the detection result is output. If the detection result is that the international identification code of the mobile device of the electronic device has not been rewritten, the electronic device cannot be released from the warehouse and needs to be rewritten. The above detection scheme uses the machine to automatically detect each electronic device before the electronic device is released from the warehouse, which is efficient and can well prevent the electronic device without re-writing the international identification code of the mobile device from being released from the warehouse, resulting in product quality problems.
进一步,一实施例中,如果检测结果异常,输出检测结果的步骤包括:提示检测结果异常原因。例如没有重新编写,或者只有部分写入或者没有写入,移动设备国际标识码为空,此不进行限定。可以理解的,如果检测结果异常,本实施例中输出检测结果的同时还提示了检测结果异常的原因,则能够使工作人员了解移动设备国际标识码异常的根源,进而能够以最准确的方法重新编写电子装置的移动设备国际标识码。Further, in one embodiment, if the detection result is abnormal, the step of outputting the detection result includes: prompting the reason for the abnormal detection result. For example, there is no rewriting, or only partial writing or no writing, and the international identification code of the mobile device is empty, which is not limited. It can be understood that if the detection result is abnormal, in this embodiment, the reason for the abnormal detection result is also prompted when the detection result is output, so that the staff can understand the root cause of the abnormality of the international identification code of the mobile device, and then can use the most accurate method. Write the International Mobile Device Identification Code for the electronic device.
参见图2为本申请电子装置的移动设备国际标识码的检验方法另一实施例的流程示意图。该方法为电子终端侧完成,该方法包括步骤201。具体的:Referring to FIG. 2 , it is a schematic flowchart of another embodiment of a method for checking the international identification code of a mobile device of an electronic device of the present application. The method is completed on the electronic terminal side, and the method includes step 201 . specific:
步骤201:响应预设命令输出电子装置的移动设备国际标识码的相关图案于屏幕上,其中移动设备国际标识码为电子装置是否能够出厂的验证码。Step 201: In response to a preset command, output a pattern related to the international identification code of the mobile device of the electronic device on the screen, wherein the international identification code of the mobile device is a verification code for whether the electronic device can be shipped from the factory.
具体的,工作人员在电子装置中输入预设命令,使得电子装置的移动设备国际标识码或者包含移动设备国际识别码的相关图案呈现在电子装置的屏幕上。使得MES系统直接识别或者扫描电子装置屏幕上的字符或者相关图案。可选地,相关图案包括条形码或者二维码,则MES系统扫描电子装置屏幕上的相关图案即可获得电子装置的移动设备国际标识码。Specifically, the staff inputs a preset command in the electronic device, so that the international identification code of the mobile device of the electronic device or a related pattern including the international identification code of the mobile device is displayed on the screen of the electronic device. Make the MES system directly identify or scan the characters or related patterns on the screen of the electronic device. Optionally, the relevant pattern includes a barcode or a two-dimensional code, and the MES system can scan the relevant pattern on the screen of the electronic device to obtain the international identification code of the mobile device of the electronic device.
参见图3为本申请电子装置的移动设备国际标识码的检验方法另一实施例的流程示意图。如图3所示,该方法包括步骤301和步骤302,其中步骤301与上一实施例中的步骤201一致,此不赘述,具体的该方法包括:Referring to FIG. 3 , it is a schematic flowchart of another embodiment of a method for checking the international identification code of a mobile device of an electronic device of the present application. As shown in FIG. 3, the method includes step 301 and step 302, wherein step 301 is the same as step 201 in the previous embodiment, which is not repeated here, and the specific method includes:
401:响应预设命令输出电子装置的移动设备国际标识码的相关图案于屏幕上,其中移动设备国际标识码为电子装置是否能够出厂的验证码。401 : In response to the preset command, output a pattern related to the international identification code of the mobile device of the electronic device on the screen, wherein the international identification code of the mobile device is a verification code for whether the electronic device can be shipped from the factory.
402:接收预设命令或者预设时间段之后,电子装置的屏幕上显示的相关图案消失。402: After receiving the preset command or the preset time period, the related pattern displayed on the screen of the electronic device disappears.
可以理解的,电子装置在显示屏上移动设备国际标识码的相关图案只是为了让机器或者工作人员识别以获取电子装置的信息,只需要一小段时间,该实施例中,预设时间段之后,电子装置的屏幕上显示的相关图案自动消失。其他实施例中,也可以是电子装置在接收预设命令之后相关图案消失,不同实施例中,预设命令可以是工作人员按压后退键或者Home键,或者通过语音,或者输入某些预设的指令消失,此不做具体限定。It can be understood that it only takes a short period of time for the electronic device to display the relevant pattern of the international identification code of the mobile device on the display screen for the machine or staff to recognize and obtain the information of the electronic device. In this embodiment, after the preset time period, The relevant pattern displayed on the screen of the electronic device disappears automatically. In other embodiments, the related pattern may disappear after the electronic device receives the preset command. In different embodiments, the preset command may be that the staff presses the back button or the Home button, or uses voice, or enters some preset commands. The command disappears, which is not specifically limited.
如图4所示,为本申请电子装置一实施例的的结构示意图,该电子装置100包括获取模块10、检测模块20以及输出模块30,其中:As shown in FIG. 4 , which is a schematic structural diagram of an embodiment of an electronic device of the present application, the electronic device 100 includes an acquisition module 10 , a detection module 20 and an output module 30 , wherein:
获取模块10,用于获取电子装置的移动设备国际标识码。The obtaining module 10 is configured to obtain the international identification code of the mobile device of the electronic device.
检测模块20,用于检测所述移动设备国际标识码是否为重新编写的编码。The detection module 20 is configured to detect whether the international identification code of the mobile device is a rewritten code.
输出模块30,用于输出检测结果The output module 30 is used for outputting the detection result
如图5所示,再一实施例中,本申请还提供一种电子装置100a,该电子装置100a包括响应模块40,其中:As shown in FIG. 5, in yet another embodiment, the present application further provides an electronic device 100a, the electronic device 100a includes a response module 40, wherein:
响应模块40,用于响应预设命令输出电子装置的移动设备国际标识码的相关图案于屏幕上,其中所述移动设备国际标识码为电子装置是否能够出厂的验证码。The response module 40 is used for outputting the relevant pattern of the international identification code of the mobile device of the electronic device on the screen in response to the preset command, wherein the international identification code of the mobile device is a verification code of whether the electronic device can be shipped from the factory.
如图6所示,再一实施例中,电子装置100a除了包括响应模块40外,还包括处理模块50,其中:As shown in FIG. 6, in yet another embodiment, the electronic device 100a includes, in addition to the response module 40, a processing module 50, wherein:
处理模块50,用于接收预设命令或者预设时间段之后,电子装置的屏幕上显示的相关图案消失。The processing module 50 is configured to, after receiving a preset command or a preset time period, the related pattern displayed on the screen of the electronic device disappears.
在本申请所提供的实施方式中,应该理解到,所揭露的电子装置、电子设备和方法,可以通过其它的方式实现。例如,以上所描述的装置实施方式仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed electronic devices, electronic devices and methods may be implemented in other manners. For example, the device implementations described above are only illustrative. For example, the division of the modules is only a logical function division. In actual implementation, there may be other divisions. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施方式方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this implementation manner.
另外,在本发明各个实施方式中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
本申请还提供一种终端设备,如图7所示为该终端设备200一实施例的结构示意图,该终端设备200包括处理器210、存储器220以及存储在存储器210上的计算机程序,处理器210耦合存储器220。处理器210在工作时执行计算机程序以实现以上各实施例所描述的电子装置的移动设备国际标识码的检验方法,其中该方法可以是MES侧实现的方法,也可以是电子装置侧实现的方法。The present application also provides a terminal device. FIG. 7 is a schematic structural diagram of an embodiment of the terminal device 200. The terminal device 200 includes a processor 210, a memory 220, and a computer program stored in the memory 210. The processor 210 Coupling memory 220 . The processor 210 executes the computer program during operation to realize the method for checking the international identification code of the mobile device of the electronic device described in the above embodiments, wherein the method may be a method realized by the MES side or a method realized by the electronic device side .
如图8所示,本申请还提供一种存储介质300,存储有程序数据310,该程序数据310被执行时实现以上各实施例所描述的电子装置的移动设备国际标识码的检验方法,其中该方法可以是MES侧实现的方法,也可以是电子装置侧实现的方法。As shown in FIG. 8 , the present application further provides a storage medium 300 that stores program data 310, and when the program data 310 is executed, implements the method for checking the international identification code of the mobile device of the electronic device described in the above embodiments, wherein The method may be implemented on the MES side, or may be implemented on the electronic device side.
可以理解的,以上软件集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明各个实施方式所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random AccessMemory)、磁碟或者光盘等各种可以存储程序代码的介质。It can be understood that, if the above software-integrated units are implemented in the form of software functional units and sold or used as independent products, they may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: U disk, removable hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes.
以上所述仅为本申请的实施方式,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above description is only an embodiment of the present application, and is not intended to limit the scope of the patent of the present application. Any equivalent structure or equivalent process transformation made by using the contents of the description and drawings of the present application, or directly or indirectly applied to other related technologies Fields are similarly included within the scope of patent protection of this application.
Claims (18)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910153167.4A CN109982314A (en) | 2019-02-28 | 2019-02-28 | Identification code detection method of electronic device, electronic device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910153167.4A CN109982314A (en) | 2019-02-28 | 2019-02-28 | Identification code detection method of electronic device, electronic device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109982314A true CN109982314A (en) | 2019-07-05 |
Family
ID=67077643
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910153167.4A Pending CN109982314A (en) | 2019-02-28 | 2019-02-28 | Identification code detection method of electronic device, electronic device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109982314A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111199353A (en) * | 2019-12-31 | 2020-05-26 | Oppo(重庆)智能科技有限公司 | Test method and test system |
CN111538632A (en) * | 2020-04-27 | 2020-08-14 | Oppo(重庆)智能科技有限公司 | Inspection method, inspection system, and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101222698A (en) * | 2007-01-12 | 2008-07-16 | 展讯通信(上海)有限公司 | IMEI code protection method based on hardware sequence number |
CN104270436A (en) * | 2014-09-25 | 2015-01-07 | 深圳市财富之舟科技有限公司 | Method for checking international mobile equipment identity information |
US20160147994A1 (en) * | 2014-11-20 | 2016-05-26 | Alibaba Group Holding Limited | Method and apparatus for displaying information |
-
2019
- 2019-02-28 CN CN201910153167.4A patent/CN109982314A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101222698A (en) * | 2007-01-12 | 2008-07-16 | 展讯通信(上海)有限公司 | IMEI code protection method based on hardware sequence number |
CN104270436A (en) * | 2014-09-25 | 2015-01-07 | 深圳市财富之舟科技有限公司 | Method for checking international mobile equipment identity information |
US20160147994A1 (en) * | 2014-11-20 | 2016-05-26 | Alibaba Group Holding Limited | Method and apparatus for displaying information |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111199353A (en) * | 2019-12-31 | 2020-05-26 | Oppo(重庆)智能科技有限公司 | Test method and test system |
CN111199353B (en) * | 2019-12-31 | 2023-04-18 | Oppo(重庆)智能科技有限公司 | Test method and test system |
CN111538632A (en) * | 2020-04-27 | 2020-08-14 | Oppo(重庆)智能科技有限公司 | Inspection method, inspection system, and storage medium |
CN111538632B (en) * | 2020-04-27 | 2023-08-08 | Oppo(重庆)智能科技有限公司 | Inspection method, inspection system, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111104392B (en) | Database migration method and device, electronic equipment and storage medium | |
TWI582616B (en) | Formatting data by example | |
CN110764942A (en) | Multi-type data checking method, device, computer system and readable storage medium | |
US11960880B2 (en) | Systems and methods for remediation of software configuration | |
CN115098139A (en) | Firmware updating method and system, lower computer and storage medium | |
CN112799722A (en) | Command identification method, apparatus, device and storage medium | |
CN110135130B (en) | Method and system for preventing embedded equipment software from being modified | |
CN109982314A (en) | Identification code detection method of electronic device, electronic device, equipment and storage medium | |
CN116644123A (en) | Business process data query method, device, storage medium and server | |
US11625366B1 (en) | System, method, and computer program for automatic parser creation | |
CN110148051A (en) | The financial system configuration method and loan requests message treatment method of facing multiple users | |
CN112860780A (en) | Data export method and device and terminal equipment | |
CN112416784A (en) | Interface checking method, system and device based on configuration center and storage medium | |
US20230229656A1 (en) | Systems and methods for maintaining data quality in a data store receiving both low and high quality data | |
CN107506474B (en) | Database operation method and device based on object mapping | |
CN114968725A (en) | Task dependency relationship correction method and device, computer equipment and storage medium | |
CN109948328A (en) | Key information generation method, key information inspection method, electronic device, key information inspection apparatus, and storage medium | |
CN115509618A (en) | Drive control method, device, apparatus, storage medium, and program product | |
CN114490415A (en) | Business test method, computer equipment, storage medium and computer program product | |
CN114691602A (en) | Data import method and device, computer equipment and storage medium | |
CN112907220A (en) | System, method and device for engineering cost | |
WO2021051614A1 (en) | Method, apparatus and device for accessing database, and computer-readable storage medium | |
CN112965905A (en) | Data testing method, device, equipment and storage medium | |
CN112463042A (en) | Data volume import data verification method, device, terminal and storage medium | |
CN114826726B (en) | Network asset vulnerability detection method, device, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190705 |
|
RJ01 | Rejection of invention patent application after publication |