WO2017035755A1 - 一种获取终端的识别码的方法及其设备 - Google Patents

一种获取终端的识别码的方法及其设备 Download PDF

Info

Publication number
WO2017035755A1
WO2017035755A1 PCT/CN2015/088647 CN2015088647W WO2017035755A1 WO 2017035755 A1 WO2017035755 A1 WO 2017035755A1 CN 2015088647 W CN2015088647 W CN 2015088647W WO 2017035755 A1 WO2017035755 A1 WO 2017035755A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
identifier
processor
identification code
connector
Prior art date
Application number
PCT/CN2015/088647
Other languages
English (en)
French (fr)
Inventor
郑涛
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to JP2018510985A priority Critical patent/JP6586513B2/ja
Priority to CN201580063983.6A priority patent/CN107006061B/zh
Priority to EP15902562.6A priority patent/EP3334197B1/en
Priority to PCT/CN2015/088647 priority patent/WO2017035755A1/zh
Priority to US15/754,764 priority patent/US20200226083A1/en
Publication of WO2017035755A1 publication Critical patent/WO2017035755A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/36Handling requests for interconnection or transfer for access to common bus or bus system
    • G06F13/362Handling requests for interconnection or transfer for access to common bus or bus system with centralised access control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and device for acquiring an identification code of a terminal.
  • Each terminal is assigned a globally unique identifier, such as: International Mobile Equipment Identity (IMEI), Mobile Equipment Identifier (MEID), Serial Number (SN), and the like.
  • IMEI International Mobile Equipment Identity
  • MEID Mobile Equipment Identifier
  • SN Serial Number
  • the identification code of the terminal is printed on the terminal, and then the identification code of the terminal can be obtained by using the scanning code to scan the identification code on the terminal.
  • Method 1 Print the identification code on the sticker, and then paste the sticker on the back of the battery of the terminal.
  • the sticker needs to occupy a large space.
  • the sticker has no place to be attached; way 2: The identification code laser is on the SIM card holder, which will bring various problems to the SIM card holder replacement.
  • the embodiment of the present invention provides a method for acquiring a terminal identification code, which can acquire the identification code of the terminal simply and quickly.
  • an embodiment of the present invention provides a method for acquiring an identifier of a terminal, where the terminal is When the terminal is connected to the identifier acquisition device or receives the acquisition request sent by the identifier acquisition device, the identifier of the processor of the terminal is acquired; the identifier of the processor is sent to the identifier acquisition device, and the identifier is
  • the code acquisition device receives the identification code of the processor; acquires an identification code of the terminal according to the identification code of the processor and the correspondence between the identification code of the processor and the identification code of the terminal; When detecting that the trigger condition for acquiring the processor identifier is met, the terminal acquires and sends the identifier of the processor, and the identifier acquiring device may be based on the identifier of the processor and the processor.
  • the identification code of the terminal and the identification code of the terminal find the identification code of the terminal, so that the identification code of the terminal can be obtained, so that the identification code of the terminal can be obtained simply and quickly.
  • the receiving request sent by the receiving identifier acquiring device may be specifically: receiving, by the reserved pin of the connector of the terminal, the acquiring request sent by the identifier acquiring device.
  • the identifier acquisition device only needs to encapsulate a very simple acquisition request, and the terminal only needs to parse the acquisition request according to a simple rule, so that the overall solution for acquiring the identifier of the terminal is very simple.
  • Sending the identifier of the processor to the identifier acquiring device specifically: sending the identifier of the processor to the identifier acquiring device through a reserved pin of a connector of the terminal, such that The terminal device can encapsulate the identifier of the processor in a relatively simple package.
  • the processor may be a programmable processor or a micro control unit, so that the programmable processor or the microprocessor can be normally turned on, but the programmable processing can still be acquired and transmitted.
  • the micro-processed identification code, and then the identifier acquisition device may search for the terminal according to the identifier of the processor and the correspondence between the identifier of the processor and the identifier of the terminal. The identification code, and thus, the identification code of the terminal can be obtained.
  • an embodiment of the present invention provides a method for acquiring an identifier of a terminal, where the terminal acquires an identification code of the terminal when the terminal is connected to the identifier acquisition device or receives an acquisition request sent by the identifier acquisition device; Sending the identification code of the terminal to the identification code acquiring device, so that after the trigger condition for acquiring the identification code of the terminal is satisfied, the identification code of the terminal is automatically acquired, and the identification code of the terminal is sent out, so that the identification code is obtained.
  • the acquisition device can obtain the identification code of the terminal simply and quickly.
  • the receiving request sent by the identifier acquiring device may be specifically: receiving, by the reserved pin of the connector of the terminal, the acquiring request sent by the identifier acquiring device.
  • the unique code acquisition device only needs to encapsulate a very simple acquisition request, and the terminal only needs to parse the acquisition request according to a simple rule, so that the overall solution for acquiring the terminal identification code is very simple.
  • Sending the identifier of the terminal to the identifier acquiring device specifically: sending the identifier of the terminal to the identifier acquiring device through the reserved pin of the connector of the terminal, so that the terminal device can compare
  • the identifier of the terminal is encapsulated in a simple encapsulation manner.
  • the processor may be a programmable processor or a micro control unit, so that the terminal can not be powered on, but the programmable processor or the micro control unit can still obtain the identity of the terminal. code.
  • FIG. 1 is a schematic diagram of a method for acquiring an identifier of a terminal according to an embodiment of the present invention
  • USB Type-C interface 2 is a front view of a USB Type-C interface
  • FIG. 3 is a schematic diagram of another method for acquiring an identifier of a terminal according to an embodiment of the present invention.
  • FIG. 5 is a method for acquiring an identifier of another terminal according to an embodiment of the present invention.
  • FIG. 6 is a structural diagram of a terminal according to an embodiment of the present invention (only parts related to the present invention are shown).
  • FIG. 1 is a schematic diagram of a method for acquiring an identifier of a terminal according to an embodiment of the present invention, where the method is applied to a terminal and an identifier acquiring device.
  • the terminal includes a processor and a connector, and the terminal is connected to the identifier acquisition device through the connector.
  • the identifier acquisition device may be any device independent of the terminal, for example, may be a notebook, a desktop, a terminal, or the like.
  • the method comprises the following steps:
  • Step 101 Determine whether the terminal and the identification code acquiring device are connected.
  • the processor of the terminal is an application processor (AP), a Field Programmable Gate Array (FPGA) or a Microcontroller Unit (MCU).
  • AP application processor
  • FPGA Field Programmable Gate Array
  • MCU Microcontroller Unit
  • the application processor is different from the FPGA and the MCU, and the application processor is the main processor of the terminal terminal, and processes most of the control functions.
  • the user can write some program code in the FPGA and MCU, and the function of the program code can be executed when the FPGA or MCU is running.
  • the FPGA or MCU can operate independently of the application processor.
  • the processor has a unique identification code, for example, the identifier of the FPGA is called a Trace ID.
  • the terminal and the identifier acquisition device can have multiple connection modes, such as a wired connection method or a wireless connection method.
  • the terminal uses a different connector to connect with the identification code acquisition device.
  • the connector may be a USB connector.
  • the USB connector contains a variety of interface types, such as: USB Type-A interface, USB Type-B interface, and USB Type-C interface.
  • USB Type-C interface uses the USB Type-C interface as an example to describe the use of the pins involved in the embodiment of the present invention, such as the front view of the USB Type-C interface shown in FIG.
  • the USB Type-C interface solves the problem that the USB 2.0 interface or the USB 3.0 interface is difficult to distinguish between the front and the back, and the interfaces of the same arrangement structure are designed on the front side and the back side, so that the user can insert the USB connector arbitrarily without distinguishing between the front and the back.
  • the USB Type-C interface consists of A and B planes, each of which contains 1-12 pins, which are GND for grounding; TX+, TX-, RX+ for data transmission and reception. , RX-, D+, D-, where TX+, TX- is used for USB 3.0, D+, D- is used for USB 2.0; VBus for powering the terminal; CC for identifying the front and back; reserved pin
  • the SBU the embodiment of the present invention can use the reserved pin as the acquisition request and the identifier of the terminal. Transfer pin.
  • the terminal detects whether the state of the VBus pin changes from the empty state to the connected state. If the state of the VBus pin changes from the empty state to the connected state, the terminal and the identification code acquiring device are connected through the connector; or the terminal detects the SBU pin. Whether the state changes from the empty state to the connected state, and if the state of the SBU pin changes from the empty state to the connected state, the terminal and the identification code acquisition device are connected through the connector.
  • the detection pin defined by the prior art may be used to detect whether an identification code acquisition device is connected to the terminal through the connector; a new detection pin may also be defined for detection. Is there an identifier acquisition device connected to the terminal through the connector, the newly defined detection pin can be a reserved pin in the USB connector, and how to detect the detection pin can be used in the prior art. Detection method, no longer repeat here.
  • the terminal When the terminal and the identification code acquiring device are connected through the connector, the terminal can initiate a subsequent operation, which is simple and convenient, and does not require additional operations, thereby effectively improving the user experience of the terminal. .
  • Step 102 When the terminal is connected to the identifier acquisition device, obtain an identifier of the processor of the terminal, and the identifier of the processor is saved in the terminal.
  • the processor is assigned a unique identification code before leaving the factory.
  • the identifier of the processor is stored in the terminal. It can be understood that the identifier of the processor can be stored in the memory of the terminal. Can also be written to the processor. If the identifier of the processor is stored in the memory, the terminal needs to obtain the identifier of the processor in a normally powered state; if the identifier of the processor exists in the processor, that is, the identifier of the FPGA or the MCU The code is stored in the processor, and the identifier of the processor can still be obtained if the terminal cannot be powered on, but the FPGA or the MCU can operate normally.
  • the identification code of the processor is stored in the memory, the identification code is written into the memory of the terminal before leaving the factory, and the processor can acquire the identification code of the processor by reading the data in the memory; If the identification code is written into the processor, and the program code for acquiring the identification code is written in the processor, the identification code of the processor may be acquired by running the program code.
  • the terminal will be assigned one or more identification codes before leaving the factory, and the manufacturer will save the correspondence between the processor's identification code and the terminal's identification code.
  • the identifier of the terminal can be: International Mobile Equipment Identity (IMEI), Mobile Equipment Identifier (MEID) or Serial Number (SN).
  • IMEI International Mobile Equipment Identity
  • MEID Mobile Equipment Identifier
  • SN Serial Number
  • the identifier that uniquely identifies the terminal device can be understood as the identification code of the terminal in the embodiment of the present invention.
  • Step 103 Send an identifier of the processor to the identifier acquisition device.
  • the identification code of the processor may be transmitted between the terminal and the identification code acquisition device by using an existing data transmission pin and data transmission manner, or the identification code acquisition device may also pass the USB
  • the reserved pin of the connector (for example, the terminal is connected to the identification code acquisition device via a USB connector, and the USB connector can be a Type C connector) transmits the identification code of the processor.
  • Step 104 The identifier acquiring device acquires an identifier of the terminal according to the identifier of the processor and the correspondence between the identifier of the processor and the identifier of the terminal.
  • the correspondence between the identifier of the processor and the identifier of the terminal is a correspondence maintained by the manufacturer of the terminal in the process of producing the terminal
  • 105 in FIG. 1 is the identifier of the processor and the The correspondence between the identification codes of the terminals.
  • the corresponding relationship may be stored in the storage device on the identifier acquiring device, or may be stored in a storage device of the terminal manufacturer or the vendor. In this case, the identifier acquiring device may be connected to the terminal manufacturer or sales.
  • the storage device of the vendor searches for the identification code of the terminal according to the identifier of the processor and the corresponding relationship.
  • the processor is an FPGA
  • the identifier of the FPGA is Trace ID
  • the identifier of the terminal is IMEI and S/N.
  • Table 1 is an example diagram of the correspondence between the identifier of the processor of the terminal and the identifier of the terminal.
  • the identifier acquisition device searches for the IMEI and S/N corresponding to the Trace ID in the correspondence according to the Trace ID. For example, if the Trace ID of the processor is 23456789012368, then the IMEI of the terminal is 1101722343440, and the S/N of the terminal is A9Q0114C25000096.
  • the identifier of the terminal may be further used.
  • the identifier of the terminal may be used to: display an identifier of the terminal, or send an identifier of the terminal to another device, such as a device of a maintenance department, so that the device of the maintenance department may
  • the identifier of the terminal further determines whether the terminal corresponding to the terminal identifier is genuine.
  • a method for obtaining a terminal identification code is provided by the embodiment of the present invention.
  • the terminal When the terminal is connected to the identifier acquisition device or receives an acquisition request sent by the identifier acquisition device, the terminal acquires the identifier of the processor. Transmitting an identifier of the processor to the identifier acquiring device, where the identifier acquiring device is configured according to an identifier of the processor and a correspondence between an identifier of the processor and an identifier of the terminal Obtain an identification code of the terminal.
  • the terminal detects that the trigger condition for acquiring the identifier of the processor is satisfied, the terminal acquires and sends the identifier of the processor, and the identifier acquiring device can be based on the identifier of the processor. And the corresponding relationship between the identifier of the processor and the identifier of the terminal is used to find the identifier of the terminal, so that the identifier of the terminal can be obtained simply and quickly.
  • FIG. 3 is a schematic diagram of a method for acquiring an identifier of a terminal according to another embodiment of the present invention. The embodiment is implemented based on the embodiment shown in FIG. 1. Only the differences from FIG. 1 are described herein. The same points as those in FIG. 1 are described in FIG. 1 and will not be described again.
  • the identifier acquisition device sends an acquisition request to the terminal, where the acquisition request is used to acquire an identifier of the processor.
  • the identifier acquisition device may send the acquisition request to the terminal; or, the identifier may be displayed on the identifier acquisition device.
  • a button when the "get" button is pressed, the identification code acquisition device may send the acquisition request to the terminal.
  • the acquiring request may be transmitted between the terminal and the identifier acquiring device by using an existing data transmission pin and a data transmission manner.
  • the identifier acquisition device encapsulates the acquisition request, and then the terminal parses the acquisition request after receiving the acquisition request; the identifier acquisition device may also send the acquisition by using a reserved pin in a USB connector.
  • the request for example, can encapsulate a one-byte get request, for example: 1, because the one-byte get request is from Received by the reserved pin, the reserved pin is used to receive the acquisition request, so when the content parsed from the content received by the reserved pin is 1, it can be determined that the terminal receives the acquisition request. .
  • the terminal can start the subsequent operation after receiving the acquisition request, which is more accurate and saves resources of the terminal.
  • the user can obtain the identification code of the terminal by typing “*#06#” on the terminal, but the premise of this mode is that the terminal can be powered on normally, that is, the application processor works normally, if the terminal cannot be normal. Work, then this method will not be able to get the terminal's identification code.
  • the problem can be solved well, because the FPGA or the MCU is a processor that can be independently operated independently of the application processor of the terminal, so even if the The terminal application processor is not working properly, but the FPGA or MCU can still work normally, and when the terminal is exhausted, when another device is connected to the terminal, the FPGA or MCU can be powered by the power supply pins of other devices. Therefore, the function of the embodiment of the present invention is further completed, that is, the identifier of the FPGA or the MCU is sent out.
  • the method for obtaining the terminal identification code is provided by the embodiment of the present invention.
  • the terminal When receiving the acquisition request sent by the identifier acquisition device, the terminal acquires the identifier of the processor of the terminal, and sends the identifier of the processor.
  • Obtaining the identification code acquisition device acquiring the identification code of the terminal according to the identifier of the processor and the correspondence between the identifier of the processor and the identifier of the terminal; thus, when the terminal detects that the acquisition is satisfied
  • the terminal acquires and sends the identifier of the processor, and the identifier acquiring device may be based on the identifier of the processor and the identifier of the processor and the terminal.
  • the identifier of the terminal is searched for the identifier of the terminal, so that the identifier of the terminal can be obtained. Therefore, the identifier of the terminal can be obtained simply and quickly.
  • FIG. 4 is a schematic diagram of an method for acquiring an identifier of a terminal according to an embodiment of the present invention.
  • the terminal includes a processor and a connector, and the terminal is connected to the identification code acquisition device through the connector, and the processor is an application processor, a programmable processor or a micro control unit.
  • Step 401 Detect whether an identifier acquisition device is connected to the terminal.
  • Step 402 When the identifier acquisition device is connected to the terminal, the processor of the terminal acquires an identifier of the terminal.
  • Step 403 The processor sends the identifier of the terminal to the identifier acquiring device.
  • the detection terminal acquires the connection device by the detection code; when the terminal is connected to the identification code acquisition device, acquires the identification code of the terminal; and sends the identification code of the terminal to the identification code to obtain The device, so that when the trigger condition for acquiring the identifier of the terminal is satisfied, the identifier of the terminal is automatically obtained, and the identifier of the terminal is sent out, so that the identifier acquiring device can acquire the identifier of the terminal simply and quickly. .
  • FIG. 5 is a schematic diagram of a method for acquiring an identifier of a terminal according to an embodiment of the present invention.
  • the embodiment is implemented based on the embodiment shown in FIG. 4, and only the design different from that in FIG. 4 is described herein. The same design as that in FIG. 4 is described in FIG. 4, and details are not described herein again.
  • Step 401 may be, in step 501, determining whether an acquisition request sent by the identifier acquisition device is received, and the obtaining request is used to acquire an identifier of the terminal.
  • the terminal can start the subsequent operation when receiving the acquisition request, which is more accurate and saves resources of the terminal.
  • the terminal when the terminal receives the acquisition request sent by the identifier acquisition device, the terminal acquires the identifier of the terminal, and sends the identifier of the terminal to the identifier acquisition device, but the detection may be detected.
  • the triggering condition of the identifier of the terminal is satisfied, the identifier of the terminal is automatically obtained, and the identifier of the terminal is sent out, so that the identifier acquiring device can obtain the identifier of the terminal.
  • the terminal includes a processor and a connector, and the processor is an application processor, a programmable processor, or a micro control unit.
  • the processor is configured to: when the terminal is connected to the identifier acquisition device by using the connector, or obtain an acquisition request sent by the identifier acquisition device by using the connector, obtain an identifier of the processor, where The obtaining request is used to acquire an identifier of the processor;
  • the processor is further configured to send, by the connector, an identifier of the processor to the identifier acquiring device, so that the identifier acquiring device is configured according to an identifier of the processor and the processing Obtaining the identification code of the terminal by the correspondence between the identifier of the device and the identifier of the terminal.
  • the processor is configured to receive, by using the connector, an acquisition request sent by the identifier acquisition device, where the processor is configured to receive by using a reserved pin of the connector.
  • the identification code acquires an acquisition request sent by the device.
  • the processor is configured to send the identifier of the processor to the identifier acquisition device by using the connector, where specifically, the processor is configured to: use the processor to reserve the identifier through the connector
  • the identification code is sent to the identification code acquisition device.
  • terminal may be used to perform the foregoing methods in FIG. 1 and FIG. 3, so the related content is described in the method part, and details are not described herein again.
  • the following is a processor as a programmable processor FPGA
  • the connector is a USB connector as an example to illustrate the connection relationship between the processor and the USB connector and the data transmission process.
  • a structural diagram of a terminal provided by an embodiment of the present invention (only parts related to the present invention are shown).
  • the terminal includes an FPGA 601, a USB connector 602, a power control 603, and an SS Switch 604.
  • the VBus pin is the charging pin of the FPGA 601 through which the FPGA 601 can be powered.
  • the SS Switch 604 controls the data transmission using the TX1/RX1 or the TX2/RX2 according to the instruction of the FPGA 601. How the specific FPGA 601 controls the SS Swi tch switching is a prior art, and details are not described herein again.
  • the FPGA 601 continuously detects whether the SBU pin of the USB connector 602 changes from an empty state to a connected state. If the SBU pin of the USB connector 602 changes from an empty state to a connected state, the FPGA 601 detects the SBU pin. The circuit changes, so it can be determined that there are other devices connected to the USB connector, the program code written in the FPGA 601 is automatically run, and the program code can be obtained to obtain the identification code of the FPGA 601, and the identification code is passed through the USB. The connector is sent out, which can be sent out through the SBU pin or TX pin of the USB connector.
  • the FPGA 601 continuously detects whether there is a message sent by another device, and the message can be received from the SBU pin or received from the RX pin. If the message request is received, the FPGA 601 parses the message according to a preset rule, if the message is The preset rule can be simple from the SBU pin, because the SBU pin is a dedicated pin and has a single function. If the message is received from the RX pin, the preset rule needs to be relative to the former. More complicated, if the parsed message is an acquisition request, the program code written in the FPGA is automatically run, and the program code can be obtained to obtain the identification code of the FPGA 601, and the identification code is sent through the USB connector 602. Go out, where it can be sent out via the SBU pin or TX pin of the USB connector.
  • the terminal when the terminal is connected to the identifier acquisition device or receives an acquisition request sent by the identifier acquisition device, the terminal acquires the knowledge of the processor. a code; the identification code of the processor is sent to the identification code acquisition device.
  • the terminal detects that the trigger condition for acquiring the identifier condition is met, the terminal acquires and transmits the identifier of the processor, so that the identifier acquiring device according to the identifier of the processor and the processing
  • the identification code of the terminal is found in the correspondence between the identifier of the identifier and the identifier of the terminal, so that the identifier of the terminal can be obtained, so that the identifier of the terminal can be obtained simply and quickly.
  • An identifier acquiring device provided by an embodiment of the present invention, where the identifier acquiring device includes a connector and a first processor:
  • the first processor is configured to receive, by using the connector, an identifier of a second processor that is sent by the terminal, where the first processor is further configured to: according to the identifier of the second processor, and the Obtaining an identifier of the terminal by the correspondence between the identifier of the second processor and the identifier of the terminal.
  • the first processor is further configured to send an acquisition request to the terminal by using the connector, where the obtaining request is used to acquire an identifier of the second processor.
  • terminal can be used to perform the foregoing method, so the related content is described in the method part, and details are not described herein again.
  • the identifier acquiring device receives the identifier of the second processor sent by the terminal, and the identifier of the second processor and the identifier of the second processor and the identifier of the terminal. Corresponding relationship, the identification code of the terminal is obtained, so that the acquisition of the identification code of the terminal can be completed together with the terminal.
  • the terminal includes a processor and a connector, and the terminal is connected to the identification code acquisition device through the connector, and the processor is an application processor, a programmable processor or a micro control unit.
  • the processor is configured to acquire an identifier of the terminal when the terminal is connected to the identifier acquisition device by using the connector or when receiving an acquisition request sent by the identifier acquisition device, where The obtaining request is used to obtain an identifier of the terminal;
  • the processor is further configured to send the identifier of the terminal to the identifier acquiring device by using the connector.
  • the processor is configured to receive the acquisition request sent by the identifier acquisition device, where the processor is configured to receive the identifier acquisition device by using a reserved pin of a connector of the terminal. The get request sent.
  • the processor is configured to send the identifier of the terminal to the identifier acquiring device, where the processor is configured to: pass the identifier of the terminal to a reserved pin of a connector of the terminal. Sended to the identification code acquisition device.
  • terminal may be used to perform the foregoing methods in FIG. 4 and FIG. 5, so the related content is described in the method part, and details are not described herein again.
  • the terminal when the terminal is connected to the identifier acquisition device through the connector or receives an acquisition request sent by the identifier acquisition device, the terminal acquires an identifier of the terminal;
  • the connector sends the identification code of the terminal to the identification code acquisition device, so that when the trigger condition for acquiring the identification code of the acquisition terminal is satisfied, the identification code of the terminal is automatically acquired, and the identification code of the terminal is sent out.
  • the identification code acquisition device can acquire the identification code of the terminal simply and quickly.
  • the aforementioned program can be stored in a computer readable storage medium.
  • the program when executed, performs the steps including the foregoing method embodiments; and the foregoing storage medium includes various media that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Stored Programmes (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明提供一种获取终端的识别码的方法和终端。当终端与识别码获取设备连接或者接收所述识别码获取设备发送的获取请求时,终端获取所述终端的处理器的识别码;将所述处理器的识别码发送给所述识别码获取设备;所述识别码获取设备根据所述处理器的识别码以及所述处理器的识别码和所述终端的识别码的对应关系获取所述终端的识别码;这样,终端检测到获取所述处理器识别码的触发条件满足时,终端就会获取并发送所述处理器的识别码,所述识别码获取设备就可以根据所述处理器的识别码以及所述处理器的识别码和所述终端的识别码的对应关系查找到所述终端的识别码,从而,因此,可以简单快速地获取该终端的识别码。

Description

一种获取终端的识别码的方法及其设备 技术领域
本发明涉及通信领域,尤其涉及一种获取终端的识别码的方法及其设备。
背景技术
每个终端会被分配全球唯一的识别码,例如:移动设备国际识别码(International Mobile Equipment Identity,IMEI),移动设备识别码(Mobile Equipment Identifier,MEID),序列号(Series Number,SN)等。现有技术中,在终端上印该终端的识别码,然后可以通过使用扫码枪扫印在终端上的识别码来获取终端的识别码。然而,将该识别码印在终端上存在多种方式,每种方式都存在各自的问题。方式一:将该识别码印在贴纸上,然后将该贴纸贴到终端的电池背面,然而,贴纸需要占用较大空间,对于一体化机身的终端,贴纸没地方贴;方式二:将该识别码镭射在SIM卡座上,这样,会给SIM卡座更换带来各种问题,而且随着在终端中使用越来越小的SIM卡座,在SIM卡座上已经没有足够的空间镭射该识别码;方式三:将该识别码镭射在终端的机身上,该种方式会给终端的生产带来巨大的挑战,而且机身上镭射这么多字也不美观;方式四:将该识别码印在贴膜上,然而,贴膜容易丢失。
综上,若采用上面提到的在终端上印该终端的识别码,然后通过使用扫码枪扫印在终端上的识别码来获取终端的识别码的方式,都存在各种各样的问题,因此,如何简单快速地获取终端的识别码是一个亟待解决的问题。
发明内容
有鉴于此,本发明实施例提供一种获取终端识别码的方法,可以简单快速地获取终端的识别码。
第一方面,本发明实施例提供一种获取终端的识别码的方法,当所述终 端与识别码获取设备连接或者接收识别码获取设备发送的获取请求时,获取所述终端的处理器的识别码;将所述处理器的识别码发送给所述识别码获取设备,所述识别码获取设备接收所述处理器的识别码;根据所述处理器的识别码以及所述处理器的识别码和所述终端的识别码的对应关系获取所述终端的识别码;这样,当终端检测到获取所述处理器识别码的触发条件满足时,终端就会获取并发送所述处理器的识别码,所述识别码获取设备就可以根据所述处理器的识别码以及所述处理器的识别码和所述终端的识别码的对应关系查找到所述终端的识别码,从而,可以获取到所述终端的识别码,因此可以简单快速地获取该终端的识别码。
接收识别码获取设备发送的获取请求具体可以为,通过所述终端的连接器的预留引脚接收所述识别码获取设备发送的获取请求。这样,所述识别码获取设备只需要封装很简单的获取请求,所述终端只需要根据简单的规则来解析该获取请求即可,因此使得获取终端的识别码的整体方案非常简单。
将所述处理器的识别码发送给所述识别码获取设备,具体为:将所述处理器的识别码通过所述终端的连接器的预留引脚发送给所述识别码获取设备,这样,终端设备可以以比较简单的封装方式封装所述处理器的识别码。
所述处理器可以为可编程处理器或者微控制单元,因此可以在终端无法开机,但是所述可编程处理器或者微处理器能够正常运行的情况下,仍然可以获取并发送所述可编程处理或者微处理的身份识别码,然后,所述识别码获取设备就可以根据所述处理器的识别码以及所述处理器的识别码和所述终端的识别码的对应关系查找到所述终端的识别码,从而,可以获取到所述终端的识别码。
在第二方面,本发明实施例提供一种获取终端的识别码的方法,当所述终端与识别码获取设备连接或者接收识别码获取设备发送的获取请求时,获取所述终端的识别码;将所述终端的识别码发送给所述识别码获取设备,这样,获取所述终端的识别码的触发条件满足后,自动获取终端的识别码,并将终端的识别码发送出去,使得识别码获取设备可以简单快速地获取到终端的识别码。
接收所述识别码获取设备发送的获取请求具体可以为,通过所述终端的连接器的预留引脚接收所述识别码获取设备发送的获取请求。这样,所述识 别码获取设备只需要封装很简单的获取请求,所述终端只需要根据简单的规则来解析该获取请求即可,因此使得获取终端的识别码的整体方案非常简单。
将所述终端的识别码发送给识别码获取设备,具体为:将所述终端的识别码通过所述终端的连接器的预留引脚发送给识别码获取设备,这样,终端设备可以以比较简单的封装方式封装所述终端的识别码。
所述处理器可以为可编程处理器或者微控制单元,因此可以在终端无法开机,但是所述可编程处理器或者微控制单元可以正常运行的情况下,仍然可以获取到所述终端的身份识别码。
附图说明
为了更清楚地说明本发明实施例的技术方案,下面将对实施例描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例提供的一种获取终端的识别码的方法;
图2为USB Type-C接口的前视图;
图3为本发明实施例提供的另一种获取终端的识别码的方法;
图4为本发明实施例提供的一种终端的识别码获取方法;
图5为本发明实施例提供的另一种终端的识别码获取方法;
图6为本发明实施例提供的终端的一种结构图(仅示出与本发明相关部分)。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获 得的所有其他实施例,都属于本发明保护的范围。
图1为本发明实施例提供的一种终端的识别码的获取方法,该方法应用于终端和识别码获取设备。该终端包括处理器和连接器,该终端通过该连接器与该识别码获取设备连接,该识别码获取设备可以是独立于该终端的任何设备,例如:可以是笔记本,台式机,终端等。该方法包括如下步骤:
步骤101,判断终端与识别码获取设备是否连接。
该终端的处理器为应用处理器(Application processor,AP),可编程处理器(Field Programmable Gate Array,FPGA)或者微控制单元(Microcontroller Unit,MCU)。需要说明的是应用处理器和FPGA、MCU不同,应用处理器是终端终端的主要处理器,处理大部分的控制功能。用户可以在FPGA、MCU中写入一些程序代码,且FPGA或MCU运行时,可以执行该程序代码的功能。FPGA或MCU可以独立于应用处理器工作。
需要说明的是,该处理器存在一个唯一的识别码,例如:FPGA的识别码被称为Trace ID。
一般来讲,终端与识别码获取设备可以有多种的连接方式,例如:有线连接方式或者无线连接方式。在不同的连接方式下,终端会使用不同的连接器与该识别码获取设备连接,在有线连接方式中,连接器可以是USB连接器。该识别码获取设备通过USB连接器与终端连接之后,终端可以检测出终端上USB连接器的引脚的状态变化,通过该状态变化可以确定有识别码获取设备与所述终端连接。
USB连接器包含多种接口类型,例如:USB Type-A接口、USB Type-B接口和USB Type-C接口。下面以USB Type-C接口为例说明本发明实施例中涉及到的有关引脚的使用情况,如图2所示的USB Type-C接口的前视图。USB Type-C接口解决了USB 2.0接口或者USB 3.0接口很难区分正反面的问题,在正面和反面设计了的相同排列结构的接口,从而,用户可以任意插USB连接器,不用区分正反面。从图2可以看出USB Type-C接口包含A面和B面,每个面都包含了1-12个引脚,分别是用于接地的GND;用于数据收发的TX+,TX-,RX+,RX-,D+,D-,其中TX+,TX-是USB 3.0时使用,D+,D-在USB 2.0时使用;用于给终端供电的VBus;用于识别正反面的CC;预留引脚SBU,本发明实施例可以使用这个预留引脚作为获取请求和终端的识别码的 传输引脚。
终端检测VBus引脚的状态是否从空的状态变成连接状态,如果VBus引脚的状态从空的状态变成连接状态,则终端和识别码获取设备通过连接器连接;或者终端检测SBU引脚的状态是否从空的状态变成了连接状态,如果SBU引脚的状态是从空的状态变成了连接状态,则终端和识别码获取设备通过连接器连接。
需要说明的是,本发明实施例中,可以使用现有技术定义的检测引脚检测是否有识别码获取设备与所述终端通过所述连接器连接;也可以定义新的检测引脚用于检测是否有识别码获取设备与所述终端通过所述连接器连接,该新定义的检测引脚可以为USB连接器中的预留引脚,如何对检测引脚进行检测可以采用现有技术中的检测方法,此处不再赘述。
当所述终端与所述识别码获取设备通过所述连接器连接时,所述终端即可启动后面的操作,这种方式简单方便,不需要额外的操作,因此可以有效的提升终端的用户体验。
步骤102,当终端与该识别码获取设备连接时,获取该终端的处理器的识别码,该处理器的识别码保存在终端中。
需要说明的是,所述处理器在出厂之前会被分配一个唯一的识别码,该处理器的识别码保存在终端中,可以理解为,所述处理器的识别码可以存储在终端的存储器中,也可以写入所述处理器中。若所述处理器的识别码存储在存储器中,需要终端可以正常开机状态下获取所述处理器的识别码;若所述处理器的识别码存在所述处理器中,即FPGA或者MCU的识别码存储在处理器中,在终端无法开机,但FPGA或者MCU可以正常运行的情况下,仍然可以获取所述处理器的识别码。
若所述处理器的识别码存储在存储器中,则该识别码在出厂前被写入所述终端的存储器中,处理器可以通过读取存储器中的数据的方式获取该处理器的识别码;若该识别码被写入所述处理器中,并且在所述处理器中写入了获取该识别码的程序代码,可以采用运行此程序代码的方式获取该处理器的识别码。
终端出厂之前会被分配一个或者多个的识别码,生产厂商会将该处理器的识别码和该终端的识别码的对应关系保存起来。
可以理解的是,该终端的识别码可以为:移动设备国际识别码(International Mobile Equipment Identity,IMEI)、移动设备识别码(Mobile Equipment Identifier,MEID)或者序列号(Series Number,SN),凡是可以唯一标识终端设备的标识都可以理解为是本发明实施例中终端的识别码。
步骤103、将所述处理器的识别码发送给所述识别码获取设备。
如前所述,所述终端和所述识别码获取设备之间可以通过现有的数据传输的引脚和数据传输方式传输所述处理器的识别码,或者该识别码获取设备也可以通过USB连接器的预留引脚(例如,终端与识别码获取设备通过USB连接器连接,该USB连接器可以为Type C连接器)发送该处理器的识别码。
步骤104、所述识别码获取设备根据所述处理器的识别码以及所述处理器的识别码和所述终端的识别码的对应关系,获取所述终端的识别码。
需要说明的是,所述处理器的识别码和所述终端的识别码的对应关系是终端的生产厂商在生产终端过程中保存的对应关系,图1中105为处理器的识别码和所述终端的识别码的对应关系。该对应关系可以存储在所述识别码获取设备上的存储设备,也可以是存储在终端生产厂商或者销售厂商的存储设备上,此时,所述识别码获取设备可以连接至终端生产厂商或者销售厂商的存储设备,根据所述处理器的识别码和该对应关系查找所述终端的识别码。
举例说明,处理器为FPGA,FPGA的识别码为Trace ID,终端的识别码为IMEI和S/N,表1为终端的处理器的识别码和终端的识别码的对应关系的示例图。所述识别码获取设备根据Trace ID在该对应关系中查找与该Trace ID对应的IMEI和S/N。例如:所述处理器的Trace ID为23456789012368,那么查找对应关系得到终端的IMEI为1101722343440,终端的S/N为A9Q0114C25000096。
表1
TraceID IMEI S/N
123456789012365 1101722343437 A9Q0114C25000091
123456789012366 1101722343438 A9Q0114C25000092
123456789012368 1101722343440 A9Q0114C25000096
…… …… ……
需要说明的是,获取所述终端的识别码后,可以进一步使用所述终端的识别码。其中,使用所述终端的识别码,具体可以为:显示所述终端的识别码,或者,发送所述终端的识别码给其他设备,比如:维修部门的设备,从而维修部门的设备可以根据此终端的识别码进一步判断该终端识别码对应的终端是否为正品。
本发明实施例提供的一种获取终端识别码的方法,当所述终端与所述识别码获取设备连接或者接收所述识别码获取设备发送的获取请求时,终端获取所述处理器的识别码;将所述处理器的识别码发送给所述识别码获取设备,所述识别码获取设备根据所述处理器的识别码以及所述处理器的识别码和所述终端的识别码的对应关系获取所述终端的识别码。这样,当终端检测到获取所述处理器的识别码的触发条件满足时,终端就会获取并发送所述处理器的识别码,所述识别码获取设备就可以根据所述处理器的识别码以及所述处理器的识别码和所述终端的识别码的对应关系查找到所述终端的识别码,从而,可以简单快速地获取该终端的识别码。
图3为本发明另一实施例提供的一种终端的识别码的获取方法。本实施例基于图1所示实施例实现,此处只描述与图1中不同的之处,与图1中相同的之处参见图1中的描述,此处不再赘述。
步骤101还可以为步骤301,识别码获取设备向终端发送的获取请求,所述获取请求用于获取所述处理器的识别码。
需要说明的是,当所述识别码获取设备与所述终端连接时,所述识别码获取设备可以向所述终端发送所述获取请求;或者,在所述识别码获取设备上可以显示“获取”按钮,当该“获取”按钮被按下时,所述识别码获取设备可以向所述终端发送所述获取请求。
需要说明的是,所述终端和所述识别码获取设备之间可以采用现有的数据传输引脚和数据传输方式传输所述获取请求。首先所述识别码获取设备封装所述获取请求,然后所述终端接收所述获取请求后,解析出所述获取请求;该识别码获取设备也可以使用USB连接器中预留引脚发送该获取请求,比如:可以封装一个字节的获取请求,例如:1,因为该一个字节的获取请求是从 该预留引脚接收的,此预留引脚是用于接收该获取请求的,故当从该预留引脚接收的内容中解析出的内容是1,就可以确定终端接收到了该获取请求。
此种方式可以使得终端在接收获取请求后时才启动后面的操作,这样更加准确,节省了终端的资源。
现有技术中,用户可以通过在终端上键入“*#06#”即可获取到终端的识别码,但是这种方式的前提是终端可以正常开机,即应用处理器正常工作,如果终端无法正常工作,那么此种方法将不能获取终端的识别码。本发明实施例中,当处理器为FPGA或者MCU时,可以很好的解决这个问题,因为所述FPGA或者MCU是可以独立于所述终端的应用处理器独立运行的处理器,所以即使所述终端应用处理器无法正常工作,但是该FPGA或者MCU仍然可以正常工作,而且,当终端的电量耗尽时,有其他设备与终端连接时,该FPGA或者MCU可以利用其他设备的供电引脚进行供电,从而进一步的完成本发明实施例的功能,即将FPGA或者MCU的识别码发送出去。
本发明实施例提供的一种获取终端识别码的方法,当接收所述识别码获取设备发送的获取请求时,终端获取所述终端的处理器的识别码;将所述处理器的识别码发送给所述识别码获取设备;根据所述处理器的识别码以及所述处理器的识别码和所述终端的识别码的对应关系获取所述终端的识别码;这样,当终端检测到满足获取识别码的触发条件时,终端就会获取并发送所述处理器的识别码,所述识别码获取设备就可以根据所述处理器的识别码以及所述处理器的识别码和所述终端的识别码的对应关系查找到所述终端的识别码,从而,可以获取到所述终端的识别码,因此,可以简单快速地获取该终端的识别码。
图4为本发明实施例提供的一种终端的识别码获取方法。所述终端包括处理器和连接器,所述终端通过所述连接器与所述识别码获取设备连接,所述处理器为应用处理器、可编程处理器或者微控制单元。
步骤401,检测是否有识别码获取设备与所述终端连接;
具体的检测方法参见图1的相关描述,此处不再赘述。
步骤402,当所述识别码获取设备与所述终端连接时,所述终端的处理器获取所述终端的识别码。
获取所述终端的识别码的方式参见图1中获取所述终端的处理器的识别码的方式,此处不再赘述。
步骤403,所述处理器将所述终端的识别码发送给所述识别码获取设备。
在本发明实施例中,通过检测终端与识别码获取设备是否连接;当终端与识别码获取设备连接时,获取所述终端的识别码;将所述终端的识别码发送给所述识别码获取设备,这样,检测到获取所述终端的识别码的触发条件满足时,自动获取终端的识别码,并将终端的识别码发送出去,使得识别码获取设备可以简单快速地获取到终端的识别码。
图5为本发明实施例提供的一种终端的识别码获取方法。本实施例基于图4所示实施例实现,此处只描述与图4中不同的设计,与图4中相同的设计参见图4中的描述,此处不再赘述。
步骤401可以为步骤501,判断是否接收到识别码获取设备发送的获取请求,所述获取请求用于获取所述终端的识别码。
对于获取请求的发送可以参见图3中的说明,在此不再赘述。
此种方式可以使得终端在接收获取请求时,才启动后面的操作,这样更加准确,节省了终端的资源。
在本发明实施例中,当终端接收识别码获取设备发送的获取请求时,获取所述终端的识别码;将所述终端的识别码发送给所述识别码获取设备,这样,但是可以检测获取所述终端的识别码的触发条件满足时,自动获取终端的识别码,并将终端的识别码发送出去,使得识别码获取设备可以获取到终端的识别码。
本发明实施例提供的一种终端。该终端包括:处理器和连接器,所述处理器为应用处理器、可编程处理器或者微控制单元。
所述处理器用于,当所述终端通过所述连接器与识别码获取设备连接,或者,通过所述连接器接收识别码获取设备发送的获取请求时,获取所述处理器的识别码,其中,所述获取请求用于获取所述处理器的识别码;
所述处理器,还用于通过所述连接器将所述处理器的识别码发送给所述识别码获取设备,以使所述识别码获取设备根据所述处理器的识别码以及所述处理器的识别码和所述终端的识别码的对应关系,获取所述终端的识别码。
可选的,所述处理器用于,通过所述连接器接收所述识别码获取设备发送的获取请求,具体为:所述处理器用于,通过所述连接器的预留引脚接收 所述识别码获取设备发送的获取请求。
所述处理器用于,通过所述连接器将所述处理器的识别码发送给所述识别码获取设备,具体为:处理器用于,通过所述连接器的预留引脚将所述处理器的识别码发送给所述识别码获取设备。
需要说明的是,此终端可以用于执行上述图1,图3的方法,故相关内容参见方法部分的描述,此处不再赘述。
为了更加清晰的描述本发明实施例的具体实现,下面以处理器为可编程处理器FPGA,连接器为USB连接器为例,说明处理器和USB连接器的连接关系和数据传输流程,图6为本发明实施例提供的终端的一种结构图(仅示出与本发明相关的部分)。所述终端包括FPGA 601,USB连接器602,电源控制603,SS Switch 604。VBus引脚是FPGA 601的充电引脚,通过该VBus引脚可以给FPGA 601供电。SS Switch 604是根据FPGA 601的指令控制使用TX1/RX1或者TX2/RX2的进行数据传输,具体FPGA 601如何控制SS Swi tch切换是现有技术,此处不再赘述。
FPGA 601持续检测USB连接器602的SBU引脚是否从空的状态变成连接状态,若USB连接器602的SBU引脚从空的状态变成连接状态,则FPGA 601会检测到SBU引脚上的电路变化,故可以确定有其他设备与USB连接器连接,则会自动运行写在FPGA 601内的程序代码,运行该程序代码可以获取到FPGA601的身份识别码,并将该身份识别码通过USB连接器发送出去,其中,可以通过USB连接器的SBU引脚或者TX引脚发送出去。
FPGA 601持续检测是否有其他设备发送的消息,该消息可以从SBU引脚接收或者从RX引脚接收,如接收到该消息请求,则FPGA 601会根据预设规则解析该消息,如果该消息是从SBU引脚接收的,则预设规则可以很简单,因为SBU引脚是专用的引脚,功能单一,而如果该消息是从RX引脚接收的,则预设规则需要相对前一种方式复杂一些,若解析出的消息是获取请求,则会自动运行写在FPGA内的程序代码,运行该程序代码可以获取到FPGA 601的身份识别码,并将该身份识别码通过USB连接器602发送出去,其中,可以通过USB连接器的SBU引脚或者TX引脚发送出去。
本发明实施例还可以有其他的实现方式,此处不一一列举。
本发明实施例提供的一种终端,当所述终端与所述识别码获取设备连接或者接收所述识别码获取设备发送的获取请求时,终端获取所述处理器的识 别码;将所述处理器的识别码发送给所述识别码获取设备。这样,当终端检测到获取识别码条件的触发条件满足时,终端就会获取并发送所述处理器的识别码,以使所述识别码获取设备根据所述处理器的识别码以及所述处理器的识别码和所述终端的识别码的对应关系查找到所述终端的识别码,从而,可以获取到所述终端的识别码,因此可以简单快速地获取该终端的识别码。
本发明实施例提供的一种识别码获取设备,所述识别码获取设备包括连接器和第一处理器:
所述第一处理器,用于通过所述连接器接收终端发送的第二处理器的识别码;所述第一处理器,还用于根据所述第二处理器的识别码以及所述第二处理器的识别码和所述终端的识别码的对应关系,获取所述终端的识别码。
可选的,所述第一处理器,还用于通过所述连接器向所述终端发送获取请求,所述获取请求用于获取所述第二处理器的识别码。
需要说明的是,此终端可以用于执行上述方法,故相关内容参见方法部分的描述,此处不再赘述。
本发明实施例提供的识别码获取设备,接收终端发送的第二处理器的识别码;根据所述第二处理器的识别码以及所述第二处理器的识别码和所述终端的识别码的对应关系,获取所述终端的识别码,从而,可以和终端一起配合完成终端的识别码的获取。
本发明实施例提供的另一种终端。所述终端包括处理器和连接器,所述终端通过所述连接器与识别码获取设备连接,所述处理器为应用处理器、可编程处理器或者微控制单元。
所述处理器,用于当所述终端通过所述连接器与所述识别码获取设备连接或者,接收所述识别码获取设备发送的获取请求时,获取所述终端的识别码,其中,所述获取请求用于获取所述终端的识别码;
所述处理器,还用于通过所述连接器将所述终端的识别码发送给所述识别码获取设备。
可选的,所述处理器用于,接收所述识别码获取设备发送的获取请求,具体为:所述处理器用于,通过所述终端的连接器的预留引脚接收所述识别码获取设备发送的获取请求。
所述处理器用于,将所述终端的识别码发送给所述识别码获取设备,具体为:所述处理器用于,将所述终端的识别码通过所述终端的连接器的预留引脚发送给所述识别码获取设备。
需要说明的是,此终端可以用于执行上述图4和图5的方法,故相关内容参见方法部分的描述,此处不再赘述。
在本发明实施例中,当所述终端通过所述连接器与所述识别码获取设备连接或者,接收所述识别码获取设备发送的获取请求时,获取所述终端的识别码;通过所述连接器将所述终端的识别码发送给所述识别码获取设备,这样,当检测到获取终端的识别码的触发条件满足时,自动获取终端的识别码,并将终端的识别码发送出去,使得识别码获取设备可以简单快速地获取到终端的识别码。
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims (20)

  1. 一种获取终端的识别码的方法,其特征在于,所述方法包括:
    当所述终端与识别码获取设备连接,或者,接收识别码获取设备发送的获取请求时,获取所述终端的处理器的识别码;其中,所述获取请求用于获取所述处理器的识别码;
    将所述处理器的识别码发送给所述识别码获取设备,以使所述识别码获取设备根据所述处理器的识别码以及所述处理器的识别码和所述终端的识别码的对应关系,获取所述终端的识别码。
  2. 根据权利要求1所述的方法,其特征在于,所述接收所述识别码获取设备发送的获取请求,具体为:
    通过所述终端的连接器的预留引脚接收所述识别码获取设备发送的获取请求。
  3. 根据权利要求1或2所述的方法,其特征在于,将所述处理器的识别码发送给所述识别码获取设备,具体为:将所述处理器的识别码通过所述终端的连接器的预留引脚发送给所述识别码获取设备。
  4. 根据权利要求1至3任一项所述的方法,其特征在于,所述处理器为应用处理器、可编程处理器或者微控制单元。
  5. 一种获取终端的识别码的方法,其特征在于,包括:
    接收所述终端发送的处理器的识别码;
    根据所述处理器的识别码以及所述处理器的识别码和所述终端的识别码的对应关系,获取所述终端的识别码。
  6. 根据权利要求5所述的方法,其特征在于,所述接收所述终端发送的所述处理器的识别码之前,所述方法还包括:
    向所述终端发送获取请求,所述获取请求用于获取所述处理器的识别码。
  7. 一种终端的识别码获取方法,其特征在于,所述方法包括:
    当所述终端与识别码获取设备连接,或者,接收识别码获取设备发送的获取请求时,所述终端的处理器获取所述终端的识别码;其中,所述获取请 求用于获取所述终端的识别码;
    所述处理器将所述终端的识别码发送给所述识别码获取设备。
  8. 根据权利要求7所述的方法,其特征在于,所述接收识别码获取设备发送的获取请求,具体为:
    通过所述终端的连接器的预留引脚接收识别码获取设备发送的获取请求。
  9. 根据权利要求7或8所述的方法,其特征在于,所述将所述终端的识别码发送给所述识别码获取设备,具体为:
    将所述终端的识别码通过所述终端的连接器的预留引脚发送给所述识别码获取设备。
  10. 根据权利要求7至9任一项所述的方法,其特征在于,所述处理器为应用处理器、可编程处理器或者微控制单元。
  11. 一种终端,其特征在于,包括:处理器和连接器,其中,
    所述处理器用于,当所述终端通过所述连接器与识别码获取设备连接,或者,通过所述连接器接收识别码获取设备发送的获取请求时,获取所述处理器的识别码;
    所述处理器还用于,通过所述连接器将所述处理器的识别码发送给所述识别码获取设备,以使所述识别码获取设备根据所述处理器的识别码以及所述处理器的识别码和所述终端的识别码的对应关系,获取所述终端的识别码。
  12. 根据权利要求11所述的终端,其特征在于,所述处理器用于,通过所述连接器接收所述识别码获取设备发送的获取请求,具体为:
    所述处理器用于,通过所述连接器的预留引脚接收所述识别码获取设备发送的获取请求。
  13. 根据权利要求11或12所述的终端,其特征在于,所述处理器用于,通过所述连接器将所述处理器的识别码发送给所述识别码获取设备,具体为:处理器用于,通过所述连接器的预留引脚将所述处理器的识别码发送给所述识别码获取设备。
  14. 根据权利要求11至13任一项所述的终端,其特征在于,所述处理 器为应用处理器、可编程处理器或者微控制单元。
  15. 一种识别码获取设备,其特征在于,所述识别码获取设备包括连接器和第一处理器:
    所述第一处理器,用于通过所述连接器接收终端发送的第二处理器的识别码;
    所述第一处理器,还用于根据所述第二处理器的识别码以及所述第二处理器的识别码和所述终端的识别码的对应关系,获取所述终端的识别码。
  16. 根据权利要求15所述的方法,其特征在于,所述第一处理器,还用于通过所述连接器向所述终端发送获取请求,所述获取请求用于获取所述第二处理器的识别码。
  17. 一种终端,其特征在于,所述终端包括处理器和连接器,其中,
    所述处理器,用于当所述终端通过所述连接器与识别码获取设备连接,或者,通过所述连接器接收识别码获取设备发送的获取请求时,获取所述终端的识别码,其中,所述获取请求用于获取所述终端的识别码;
    所述处理器,还用于通过所述连接器将所述终端的识别码发送给所述识别码获取设备。
  18. 根据权利要求17所述的方法,其特征在于,所述处理器用于通过所述连接器接收识别码获取设备发送的获取请求,具体为:
    所述处理器用于通过所述终端的连接器的预留引脚接收所述识别码获取设备发送的获取请求。
  19. 根据权利要求17或18所述的终端,其特征在于,所述处理器,还用于通过所述连接器将所述终端的识别码发送给所述识别码获取设备,具体为:
    所述处理器,还用于通过所述连接器的预留引脚将所述终端的识别码发送给所述识别码获取设备。
  20. 根据权利要求17至19任一项所述的终端,其特征在于,所述处理器为应用处理器、可编程处理器或者微控制单元。
PCT/CN2015/088647 2015-08-31 2015-08-31 一种获取终端的识别码的方法及其设备 WO2017035755A1 (zh)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP2018510985A JP6586513B2 (ja) 2015-08-31 2015-08-31 端末の識別子を取得するための方法および装置
CN201580063983.6A CN107006061B (zh) 2015-08-31 2015-08-31 一种获取终端的识别码的方法及其设备
EP15902562.6A EP3334197B1 (en) 2015-08-31 2015-08-31 Method and system for acquiring identification code of terminal
PCT/CN2015/088647 WO2017035755A1 (zh) 2015-08-31 2015-08-31 一种获取终端的识别码的方法及其设备
US15/754,764 US20200226083A1 (en) 2015-08-31 2015-08-31 Method and device for obtaining identifier of terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/088647 WO2017035755A1 (zh) 2015-08-31 2015-08-31 一种获取终端的识别码的方法及其设备

Publications (1)

Publication Number Publication Date
WO2017035755A1 true WO2017035755A1 (zh) 2017-03-09

Family

ID=58186474

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/088647 WO2017035755A1 (zh) 2015-08-31 2015-08-31 一种获取终端的识别码的方法及其设备

Country Status (5)

Country Link
US (1) US20200226083A1 (zh)
EP (1) EP3334197B1 (zh)
JP (1) JP6586513B2 (zh)
CN (1) CN107006061B (zh)
WO (1) WO2017035755A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019055590A (ja) * 2017-09-21 2019-04-11 ベーハーエス コルゲーテッド マシーネン−ウント アンラーゲンバウ ゲゼルシャフト ミット ベシュレンクテル ハフツング 段ボール設備

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101137244A (zh) * 2007-10-15 2008-03-05 深圳华为通信技术有限公司 一种终端设备全球设备标识信息提供方法及系统
CN103229537A (zh) * 2012-11-28 2013-07-31 华为技术有限公司 无线通信建立方法和设备
US20140327523A1 (en) * 2013-05-01 2014-11-06 Cellco Partnership D/B/A Verizon Wireless Storing and retrieving electronic device information
CN104468260A (zh) * 2014-11-13 2015-03-25 百度在线网络技术(北京)有限公司 一种移动终端设备的识别方法、装置及系统

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05233844A (ja) * 1992-02-19 1993-09-10 Sharp Corp マイクロコンピュータ
FR2923051B1 (fr) * 2007-10-30 2010-01-01 Oberthur Card Syst Sa Authentification d'une etiquette electronique lors de l'acces a un service, procedes et systeme associes.
JP2008276794A (ja) * 2008-06-13 2008-11-13 Toshiba Corp 携帯通信端末
US8225019B2 (en) * 2008-09-22 2012-07-17 Micron Technology, Inc. SATA mass storage device emulation on a PCIe interface
US20100100876A1 (en) * 2008-10-21 2010-04-22 Enfora, Inc. Wireless device provisioning hardware tool
US8879526B2 (en) * 2009-01-22 2014-11-04 Telefonaktiebolaget L M Ericsson (Publ) Method and system for addressing a mobile terminal
US9395780B2 (en) * 2011-04-21 2016-07-19 Texas Instruments Incorporated USB bridge circuit gating RID—A and RID—GND for IDGND
JP6024585B2 (ja) * 2013-04-24 2016-11-16 富士通株式会社 無線通信装置及び再送制御方法
CN104836796A (zh) * 2015-04-14 2015-08-12 百度在线网络技术(北京)有限公司 获取网络内容信息的方法与装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101137244A (zh) * 2007-10-15 2008-03-05 深圳华为通信技术有限公司 一种终端设备全球设备标识信息提供方法及系统
CN103229537A (zh) * 2012-11-28 2013-07-31 华为技术有限公司 无线通信建立方法和设备
US20140327523A1 (en) * 2013-05-01 2014-11-06 Cellco Partnership D/B/A Verizon Wireless Storing and retrieving electronic device information
CN104468260A (zh) * 2014-11-13 2015-03-25 百度在线网络技术(北京)有限公司 一种移动终端设备的识别方法、装置及系统

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019055590A (ja) * 2017-09-21 2019-04-11 ベーハーエス コルゲーテッド マシーネン−ウント アンラーゲンバウ ゲゼルシャフト ミット ベシュレンクテル ハフツング 段ボール設備

Also Published As

Publication number Publication date
CN107006061A (zh) 2017-08-01
CN107006061B (zh) 2020-09-04
EP3334197A4 (en) 2018-06-13
JP2018533250A (ja) 2018-11-08
JP6586513B2 (ja) 2019-10-02
EP3334197B1 (en) 2020-01-15
US20200226083A1 (en) 2020-07-16
EP3334197A1 (en) 2018-06-13

Similar Documents

Publication Publication Date Title
US20200241888A1 (en) Method and apparatus for plug and play, networkable iso 18000-7 connectivity
US8510587B2 (en) Time synchronization system and server using a baseboard management controller acquiring time signals to record occurrence time of system logs before than host system
CN101957807B (zh) USB设备识别主机Windows操作系统版本类型的方法
CN109062745B (zh) 一种具有测试服务器硬件温度的测试终端
US10609633B2 (en) Method for triggering registrar protocol interaction, access point, and station
CN110072219A (zh) 用于无线接近配对的电子设备、方法和计算机可读介质
CN106658756B (zh) 一种终端设备与热点连接的识别方法及装置
KR20110049121A (ko) 디바이스 활성화 방법 및 장치
WO2017032112A1 (zh) 一种与无中央处理器单板通讯的方法及通讯设备
CN106487847B (zh) 一种信息处理方法及中转服务器
CN106455980A (zh) 用于终端用户医疗设备的设置同步装置和方法
US20210048850A1 (en) Firmware setup menu options for docking stations
CN112256501A (zh) 一种拓展设备接口检测电路、接口拓展装置及拓展坞
US20170371684A1 (en) Pin control method and device
CN109168093B (zh) Odn上光纤端口的定位管理装置及方法
WO2017035755A1 (zh) 一种获取终端的识别码的方法及其设备
CN110557739A (zh) 一种基于蓝牙协议的多路can fd总线监控系统及监控方法
KR101574767B1 (ko) 저전력 블루투스 장치 검색 시스템과 제어방법
CN103332075B (zh) 用于胎压感应系统的设定工具
CN104899164A (zh) 集成电路总线的地址寻址方法、集成电路总线设备和系统
CN112165715A (zh) 设备的检测方法和装置、存储介质、电子装置
CN112819115B (zh) 设备标识的校验方法、装置和存储介质及电子装置
US9052849B1 (en) Method and apparatus for dynamically adapting a printing appliance to a printer
CN210986441U (zh) 一种sim卡模拟器、vsim解释器和系统
CN116702821A (zh) 一种集成多芯片的智能卡及其控制方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15902562

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2018510985

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2015902562

Country of ref document: EP