CN105208141A - Equipment coding processing method and server - Google Patents

Equipment coding processing method and server Download PDF

Info

Publication number
CN105208141A
CN105208141A CN201510510977.2A CN201510510977A CN105208141A CN 105208141 A CN105208141 A CN 105208141A CN 201510510977 A CN201510510977 A CN 201510510977A CN 105208141 A CN105208141 A CN 105208141A
Authority
CN
China
Prior art keywords
subscriber equipment
sequence number
request instruction
memory
encode request
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
Application number
CN201510510977.2A
Other languages
Chinese (zh)
Inventor
刘俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Meizu Technology China Co Ltd
Original Assignee
Meizu Technology China Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Meizu Technology China Co Ltd filed Critical Meizu Technology China Co Ltd
Priority to CN201510510977.2A priority Critical patent/CN105208141A/en
Publication of CN105208141A publication Critical patent/CN105208141A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4555Directories for electronic mail or instant messaging

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention relates to the field of communications, and specifically relates to an equipment coding processing method and a server. A coding request instruction for user equipment is received, wherein the coding request instruction comprises equipment parameters of the user equipment; according to the coding request instruction, a serial number for uniquely identifying the user equipment is generated, and storing a corresponding relation between the serial number and the equipment parameters of the user equipment is stored in a memory, wherein the serial number does not include the equipment parameters of the user equipment; and the serial number is sent to the user equipment. According to the embodiments of the invention, since transmission of the equipment parameters is unnecessary, enormous flow in a service process can be saved, the data transmission time is shortened, and the performance is improved. Besides, since the serial number only needs to be uniquely corresponding to the user equipment and does not have to include other information, the format can be customized according to actual conditions, and since the serial number can be realized through a quite short system digit number, the flow for transmitting equipment codes is further reduced.

Description

A kind of device coding processing method and server
Technical field
The present invention relates to communication field, be specifically related to a kind of device coding processing method and server.
Background technology
In existing equipment ID distribution method, in order to ensure the uniqueness of ID or the relevant information for convenience of understanding equipment, as manufacturer, model, the time of making the product etc., usually some device-dependent information are used for component devices ID.
Prior art adopts the international identity code (InternationalMobileEquipmentIdentity as Android device uses usually, be called for short IMEI), series number (SerialNumber, be called for short SN) etc. as the only ID of equipment, the relevant information of some equipment is contained, as manufacturer, model, the time of making the product, the place of production etc. in the ID of these classifications; Some is as general unique identifier (UniversallyUniqueIdentifier again, be called for short UUID), GUID (GloballyUniqueIdentifier, be called for short GUID), this UUID is made up of " time+clock sequence+IEEE identification code ".
But, although these ID and equipment are uniquely corresponding, and stress some relevant informations comprising equipment, but because the kind of these ID current is too many, inquire about in actual applications or use during these ID and can expend more query time and more query resource, and the system figure place that these ID take itself is longer, as UUID forming by " time+clock sequence+IEEE identification code ", can impact server database handling property further.
Summary of the invention
Embodiments provide a kind of device coding processing method and server, the flow in a large number of services process can be saved, and save data transmission period, thus improve performance.
In view of this, embodiment of the present invention first aspect provides a kind of device coding processing method, can comprise:
Receive the encode request instruction for subscriber equipment, in encode request instruction, comprise the device parameter of subscriber equipment;
Generate the sequence number being used for unique identification subscriber equipment according to encode request instruction, sequence number does not comprise the device parameter of subscriber equipment, and is stored in memory by the corresponding relation between sequence number and the device parameter of subscriber equipment;
Sequence number is sent to subscriber equipment.
In conjunction with first aspect, in the first possible implementation of first aspect, before generating according to encode request instruction the sequence number being used for unique identification subscriber equipment, method also can comprise:
According to the device parameter of the subscriber equipment in encode request instruction, inquire about from memory and whether there is the sequence number corresponding with the device parameter of subscriber equipment;
If so, then the sequence number inquired from described memory is defined as the sequence number of subscriber equipment described in unique identification;
If not, then trigger according to the execution of encode request instruction generation for the sequence number of unique identification subscriber equipment.
In conjunction with first aspect, in the implementation that the second of first aspect is possible, before generating according to encode request instruction the sequence number being used for unique identification subscriber equipment, method also comprises:
Send query statement according to encode request instruction to subscriber equipment, query statement is used for inquiring user equipment and whether stores sequence number;
Receive the Query Result that subscriber equipment returns according to query statement;
If Query Result is when there is not sequence number in the memory device of subscriber equipment, then trigger according to the sequence number of encode request instruction generation for unique identification subscriber equipment.
In conjunction with first aspect or the first possible implementation of first aspect or the possible implementation of the second of first aspect, in the third possible implementation of first aspect, sequence number is made up of the timestamp of 32 or 64.
In conjunction with first aspect or the first possible implementation of first aspect or the possible implementation of the second of first aspect, in the 4th kind of possible implementation of first aspect, in encode request instruction, also comprise at least one among the cell-phone number of subscriber authorisation, safety code and mailbox;
After generating according to encode request instruction the sequence number being used for unique identification subscriber equipment, the method also can comprise:
Corresponding relation between at least one among the cell-phone number of subscriber authorisation, safety code and mailbox and sequence number is stored in memory.
Embodiment of the present invention second aspect also provides a kind of server, can comprise:
Receiver module, for receiving the encode request instruction for subscriber equipment, comprises the device parameter of subscriber equipment in encode request instruction;
Generation module, for generating the sequence number being used for unique identification subscriber equipment according to encode request instruction, sequence number does not comprise the device parameter of subscriber equipment, and is stored in memory by the corresponding relation between sequence number and the device parameter of subscriber equipment;
Sending module, for being sent to subscriber equipment by sequence number.
In conjunction with second aspect, in the first possible implementation of second aspect, server also can comprise:
Enquiry module, for the device parameter according to the subscriber equipment in encode request instruction, inquires about and whether there is the sequence number corresponding with the device parameter of subscriber equipment from memory;
Calling module, for when there is the sequence number corresponding with the device parameter of subscriber equipment, is then defined as the sequence number of subscriber equipment described in unique identification by the sequence number inquired from described memory;
First trigger module, for when there is not the sequence number corresponding with the device parameter of subscriber equipment, triggering generation module and generating the sequence number being used for unique identification subscriber equipment according to encode request instruction.
In conjunction with the first possible implementation of second aspect, in the implementation that the second of second aspect is possible, sending module is also for sending query statement according to encode request instruction to subscriber equipment, and query statement is used for whether storing sequence number in the memory device of inquiring user equipment;
Receiver module is also for receiving the Query Result that subscriber equipment returns according to query statement;
This server also comprises:
Second trigger module, if be when there is not sequence number in the memory device of subscriber equipment for Query Result, trigger generation module and generates the sequence number being used for unique identification subscriber equipment according to encode request instruction.
In conjunction with second aspect or the first possible implementation of second aspect or the possible implementation of the second of second aspect, in the third possible implementation of second aspect, generation module specifically for:
The sequence number be made up of the timestamp of 32 or 64 being used for unique identification subscriber equipment is generated according to encode request instruction.
In conjunction with second aspect or kind of possible implementation of second aspect or the possible implementation of the second of second aspect, in the 4th kind of possible implementation of second aspect, in encode request instruction, also comprise at least one among the cell-phone number of subscriber authorisation, safety code and mailbox;
Server also comprises:
Memory module, for being stored in the corresponding relation between at least one among the cell-phone number of subscriber authorisation, safety code and mailbox and sequence number in memory.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages: in the embodiment of the present invention by IMEI, the ID of the types such as SN and UUID and the hardware information of equipment etc. are as the device parameter of this equipment, the sequence number uniquely corresponding with subscriber equipment according to the encode request instruction generation of subscriber equipment by server, then the corresponding relation of the device parameter of this sequence number and subscriber equipment is stored in memory, transmit as IMEI there being service needed, during the information such as the ID of the types such as SN and UUID and the hardware information of equipment, only need to transmit this sequence number, server obtains the device parameter of relative user equipment by this sequence number, due to without the need to transmission equipment parameter, the flow in a large number of services process can be saved, and saving data transmission period, thus raising performance, and because sequence number only needs uniquely corresponding with subscriber equipment, without the need to comprising other information, therefore its form can according to actual conditions self-defining, and can be realized by shorter system figure place, the flow of further saving transmission equipment coding.
Term " first ", " second ", " the 3rd " " 4th " etc. (if existence) in specification of the present invention and claims and above-mentioned accompanying drawing are for distinguishing similar object, and need not be used for describing specific order or precedence.The embodiments described herein should be appreciated that the data used like this can be exchanged in the appropriate case, so that can be implemented with the order except the content except here diagram or description.In addition, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, such as, contain those steps or module that the process of series of steps or module, method, system, product or equipment is not necessarily limited to clearly list, but can comprise clearly do not list or for intrinsic other step of these processes, method, product or equipment or module.
The embodiment of the present invention provides a kind of device coding processing method, comprising:
Receive the encode request instruction for subscriber equipment, in described encode request instruction, comprise the device parameter of described subscriber equipment;
The sequence number being used for subscriber equipment described in unique identification is generated according to described encode request instruction, described sequence number does not comprise the device parameter of described subscriber equipment, and is stored in memory by the corresponding relation between described sequence number and the device parameter of described subscriber equipment;
Described sequence number is sent to described subscriber equipment.
Concrete, refer to Fig. 1, be the schematic flow sheet of an embodiment of the device coding processing method of the embodiment of the present invention, one embodiment of the present of invention provide a kind of device coding processing method, can comprise following content:
101, the encode request instruction for subscriber equipment is received.
Wherein, the device parameter of subscriber equipment is comprised in encode request instruction;
Be understandable that, when subscriber equipment needs sequence number, encode request instruction can be sent, to obtain sequence number to server, and the device parameter of this subscriber equipment is except sending in the lump with encode request instruction, also can separates with this encode request instruction and transmit.
102, the sequence number being used for unique identification subscriber equipment is generated according to encode request instruction.
Wherein, sequence number does not comprise the device parameter of subscriber equipment, and is stored in memory by the corresponding relation between sequence number and the device parameter of subscriber equipment;
Be understandable that, after receiving the encode request instruction that subscriber equipment sends, server can generate the sequence number for unique identification subscriber equipment, and the composition of this sequence number or not direct relation between generation and the device parameter of subscriber equipment, but the corresponding relation between this sequence number and device parameter of subscriber equipment is stored in memory.
It should be noted that, this memory can be the memory be arranged in server, also can be the memory device connected by each cable, also the memory device etc. or with this Server remote be connected, all can be used as aforesaid memory to use, specifically different from the difference of practical application scene, be not construed as limiting.
103, sequence number is sent to subscriber equipment.
Wherein, after the sequence number generating unique identification subscriber equipment, this sequence number can be sent to subscriber equipment, make subscriber equipment can get this sequence number.
Therefore, the embodiment of the present invention is by IMEI, the ID of the types such as SN and UUID and the hardware information of equipment etc. are as the device parameter of this equipment, the sequence number uniquely corresponding with subscriber equipment according to the encode request instruction generation of subscriber equipment by server, then the corresponding relation of the device parameter of this sequence number and subscriber equipment is stored in memory, transmit as IMEI there being service needed, during the information such as the ID of the types such as SN and UUID and the hardware information of equipment, only need to transmit this sequence number, server obtains the device parameter of relative user equipment by this sequence number, due to without the need to transmission equipment parameter, the flow in a large number of services process can be saved, and saving data transmission period, thus raising performance, and because sequence number only needs uniquely corresponding with subscriber equipment, without the need to comprising other information, therefore its form can according to actual conditions self-defining, and can be realized by shorter system figure place, the flow of further saving transmission equipment coding.
As optionally, before step 102, also can carry out the process that server is checked oneself, refer to Fig. 2, Fig. 2 is the schematic flow sheet of another embodiment of the device coding processing method of the embodiment of the present invention, and on basis embodiment illustrated in fig. 1, the method also can comprise:
101a, device parameter according to the subscriber equipment in encode request instruction, inquire about and whether there is the sequence number corresponding with the device parameter of subscriber equipment from memory;
If 101b inquires from memory there is the sequence number corresponding with the device parameter of described subscriber equipment, then the sequence number inquired from memory is defined as the sequence number of unique identification subscriber equipment;
Wherein, when inquiry exists the sequence number corresponding with the device parameter of subscriber equipment, the sequence number of unique identification subscriber equipment will can be defined as to sequence number.
When inquiry does not exist the sequence number corresponding with the device parameter of subscriber equipment, then triggered step 102, namely when not inquiring corresponding sequence number, can jump to step 102 formation sequence number.
As can be seen here, can before step 102 be formation sequence number, first inquire about in memory and whether there is the sequence number corresponding with the device parameter of subscriber equipment, if when there is the sequence number corresponding with the device parameter of subscriber equipment in inquiry, the sequence number that can will be defined as unique identification subscriber equipment to sequence number, secondly, if when there is not the sequence number corresponding with the device parameter of subscriber equipment in inquiry, just can trigger and carry out step 102, namely after server can't receive encode request instruction one, carry out the step of sequence number generation immediately, but can first carry out inquiring about whether have sequence number, namely whether for this subscriber equipment generated sequence number before, thus the resource of server can be saved on the one hand, on the other hand, ensure that and can not generate different sequence numbers for same subscriber equipment, and avoid the problem needing regularly to screen the duplicate serial numbers in memory, the resource of further saving server.
As optionally, before step 102, also can carry out the process that subscriber equipment is checked oneself, concrete, also can comprise before step 102:
101d, send query statement according to encode request instruction to subscriber equipment.
Wherein, whether query statement stores sequence number for inquiring user equipment; Namely server is after receiving encode request instruction, directly can't carry out step 102 formation sequence number, but first sends query statement to subscriber equipment, subscriber equipment is inquired about and self whether stores corresponding sequence number.
The Query Result that 101e, reception subscriber equipment return according to query statement;
Wherein, subscriber equipment, after inquiry completes, can return a Query Result, and server can receive this result, and perform different strategies according to the difference of this result to server.
101f, judge whether Query Result is there is not sequence number in the memory device of subscriber equipment.
If Query Result is when there is not sequence number in the memory device of subscriber equipment, then trigger according to the sequence number of encode request instruction generation for unique identification subscriber equipment.
Wherein, Query Result is there is not sequence number in the memory device of subscriber equipment to represent in subscriber equipment there is not this sequence number, now can triggered step 102 thus formation sequence number, certainly, if Query Result is there is sequence number in the memory device of subscriber equipment, then server completes depending on this encode request instruction.
As can be seen here, using step 101d to step 101f as step previous step, namely server is after receiving encode request instruction, directly can't carry out step 102 formation sequence number, but first determine, in subscriber equipment, whether there is this sequence number, if when there is this sequence number in subscriber equipment, then need not generate, only have when there is not this sequence number in a user device, server is just according to encode request instruction formation sequence number, thus the resource of server can be saved on the one hand, on the other hand, ensure that the sequence number that can not generate repetition, and need the regular problem that duplicate serial numbers in memory is screened, the resource of further saving server.
Needs illustrate, step 101d to step 101f also can coordinate with step 101a to step 101b step, namely before step 102, first the sequence number of relative user equipment whether is there is by server lookup self, and make subscriber equipment inquire about self whether to have sequence number by sending query statement to subscriber equipment, when among server or subscriber equipment, either party determines to have this sequence number, wherein, server knows to there is this sequence number from memory, and subscriber equipment is from self knowing whether there is sequence number, now, server can't generate corresponding sequence number, if subscriber equipment self has this sequence number, then server is considered as this encode request instruction and completes, if when there is in server lookup to memory this sequence number, this sequence number can be sent to subscriber equipment, and only in subscriber equipment inquiry, self not there is this sequence number, and when server does not inquire this sequence number from memory yet, just step 102 can be performed, thus greatly improve the validity performing step 102, namely the sequence number subscriber equipment be as not having this sequence number that each execution step 102 obtains generates, thus greatly saves the resource of server.
As optionally, sequence number is made up of the timestamp of 32 or 64, thus make the sequence number for each subscriber equipment be unique, because the moment of formation sequence number is unique, thus the sequence number be made up of the timestamp of 32 or 64 is also unique, and the length of 32 or 64 bit times stamp is far below the length of the character string ID such as UUID, IMEI, SN, thus enhances the ability of server database to equipment Serial Number index.
As optionally, in encode request instruction, also comprise at least one among the cell-phone number of subscriber authorisation, safety code and mailbox;
After step 102, the method also can comprise:
102a, the corresponding relation between at least one among the cell-phone number of subscriber authorisation, safety code and mailbox and sequence number to be stored in memory.
As can be seen here, be not limited in the corresponding relation between this kind of fixing information of storing device information and sequence number, also can store the corresponding relation between some variable information and sequence numbers, namely as variable at least one among the cell-phone number of subscriber authorisation, safety code and mailbox information, but these information again can the information of corresponding identifying user equipment, thus make the extensibility of embodiment of the present invention scheme strengthen.
Above the device coding processing method of the embodiment of the present invention is introduced, below the server of the embodiment of the present invention is introduced,
Refer to Fig. 3, Fig. 3 is the structural representation of an embodiment of the server of the embodiment of the present invention, and the embodiment of the present invention provides a kind of server, can comprise:
Receiver module 201, for receiving the encode request instruction for subscriber equipment, comprises the device parameter of subscriber equipment in encode request instruction;
Generation module 202, for generating the sequence number being used for unique identification subscriber equipment according to encode request instruction, sequence number does not comprise the device parameter of subscriber equipment, and is stored in memory by the corresponding relation between sequence number and the device parameter of subscriber equipment;
Sending module 203, for being sent to subscriber equipment by sequence number.
As can be seen here, receiver module 201 is after receiving the encode request instruction for subscriber equipment, owing to comprising the device parameter of subscriber equipment in this encode request instruction, thus can generate by generation module 202 sequence number being used for unique identification subscriber equipment according to encode request instruction, and sequence number does not comprise the device parameter of subscriber equipment, and the corresponding relation between sequence number and the device parameter of subscriber equipment is stored in memory, and by sending module 203, this sequence number is sent to subscriber equipment, thus having service needed to transmit as IMEI, during the information such as the ID of the types such as SN and UUID and the hardware information of equipment, only need to transmit this sequence number, generation module 202 obtains the device parameter of relative user equipment by this sequence number, due to without the need to transmission equipment parameter, the flow in a large number of services process can be saved, and saving data transmission period, thus raising performance, and because sequence number only needs uniquely corresponding with subscriber equipment, without the need to comprising other information, therefore its form can according to actual conditions self-defining, and can be realized by shorter system figure place, the flow of further saving transmission equipment coding.
As optionally, before by generation module 202 formation sequence number, server also can carry out checking oneself process, refer to Fig. 4, Fig. 4 is the structural representation of another embodiment of the server of the embodiment of the present invention, and on basis embodiment illustrated in fig. 3, this server also can comprise:
Enquiry module 204, for the device parameter according to the subscriber equipment in encode request instruction, inquires about and whether there is the sequence number corresponding with the device parameter of subscriber equipment from memory;
Calling module 205, for when there is the sequence number corresponding with the device parameter of subscriber equipment, determines that the sequence number inquired from memory is the sequence number of unique identification subscriber equipment;
First trigger module 206, for when there is not the sequence number corresponding with the device parameter of subscriber equipment, triggering generation module and generating the sequence number being used for unique identification subscriber equipment according to encode request instruction.
As can be seen here, before generation module 202 formation sequence number, first can inquire about by enquiry module 204 step that whether there is the sequence number corresponding with the device parameter of subscriber equipment in memory, then, if when there is the sequence number corresponding with the device parameter of subscriber equipment in inquiry, the sequence number that can will be defined as unique identification subscriber equipment to sequence number by calling module 205, secondly, if when there is not the sequence number corresponding with the device parameter of subscriber equipment in inquiry, just can trigger generation module 202 formation sequence number by the first trigger module 206, namely after receiver module 201 can't receive encode request instruction one, the step of sequence number generation is carried out immediately by generation module 202, but can first carry out inquiring about whether have sequence number, thus the resource of server can be saved on the one hand, on the other hand, ensure that the sequence number that can not generate repetition, and need the regular problem that duplicate serial numbers in memory is screened, the resource of further saving server.
As optionally, sending module 203 is also for sending query statement according to encode request instruction to subscriber equipment, and query statement is used for whether storing sequence number in the memory device of inquiring user equipment;
Receiver module 201 is also for receiving the Query Result that subscriber equipment returns according to query statement;
This server also can comprise:
If the second trigger module 207 is also when there is not sequence number in the memory device of subscriber equipment for Query Result, triggers generation module and generate the sequence number being used for unique identification subscriber equipment according to encode request instruction.
As can be seen here, receiver module 201 is after receiving encode request instruction, can't directly by generation module 202 formation sequence number, but first send query statement by sending module 203, thus determine, in subscriber equipment, whether there is this sequence number, be specially subscriber equipment to check oneself, and a Query Result can be received by receiver module 201, in this Query Result, if when there is this sequence number in subscriber equipment, then generation module 202 need not generate, only have when there is not this sequence number in a user device, just can trigger generation module 202 according to encode request instruction formation sequence number by the second trigger module 207, thus the resource of server can be saved on the one hand, on the other hand, ensure that the sequence number that can not generate repetition, and need the regular problem that duplicate serial numbers in memory is screened, the resource of further saving server.
As optionally, generation module 202 is used for the sequence number be made up of the timestamp of 32 or 64 of unique identification subscriber equipment specifically for generating according to encode request instruction.
It can thus be appreciated that, use aforesaid way formation sequence that the sequence number for each subscriber equipment can be made to be unique, because the moment of formation sequence number is unique, thus the sequence number be made up of the timestamp by 32 or 64 is also unique, and the length of 32 or 64 bit times stamp is far below the length of the character string ID such as UUID, IMEI, SN, thus enhances the ability of server database to equipment Serial Number index.
As optionally, in encode request instruction, also comprise at least one among the cell-phone number of subscriber authorisation, safety code and mailbox;
This server also can comprise:
Memory module 208, for being stored in the corresponding relation between at least one among the cell-phone number of subscriber authorisation, safety code and mailbox and sequence number in memory.
As can be seen here, memory module 208 is not limited in the corresponding relation between this kind of fixing information of storing device information and sequence number, also can store the corresponding relation between some variable information and sequence numbers, namely as variable at least one among the cell-phone number of subscriber authorisation, safety code and mailbox information, but these information again can the information of corresponding identifying user equipment, thus make the extensibility of embodiment of the present invention scheme strengthen.
It should be noted that, this memory module 208 also can realize the corresponding relation between the device parameter of aforementioned storage subscriber equipment, namely this memory module 208 can comprise the function of aforementioned memory, can be also separate design therebetween certainly, specifically depending on actual conditions.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that, disclosed system, apparatus and method, can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), magnetic disc or CD etc. various can be program code stored medium.
The above, above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of an embodiment of the device coding processing method of the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another embodiment of the device coding processing method of the embodiment of the present invention;
Fig. 3 is the structural representation of an embodiment of the server of the embodiment of the present invention;
Fig. 4 is the structural representation of another embodiment of the server of the embodiment of the present invention.
Embodiment
Embodiments provide a kind of device coding processing method and server, for saving data transmission period, thus improve performance, and can be realized by shorter system figure place, save the flow of transmission equipment coding further.
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.
Below be described in detail respectively.

Claims (10)

1. a device coding processing method, is characterized in that, comprising:
Receive the encode request instruction for subscriber equipment, in described encode request instruction, comprise the device parameter of described subscriber equipment;
The sequence number being used for subscriber equipment described in unique identification is generated according to described encode request instruction, described sequence number does not comprise the device parameter of described subscriber equipment, and is stored in memory by the corresponding relation between described sequence number and the device parameter of described subscriber equipment;
Described sequence number is sent to described subscriber equipment.
2. method according to claim 1, is characterized in that, described generate the sequence number being used for subscriber equipment described in unique identification according to described encode request instruction before, described method also comprises:
According to the device parameter of the subscriber equipment in described encode request instruction, from described memory, inquire about whether there is the sequence number corresponding with the device parameter of described subscriber equipment;
If so, then the sequence number inquired from described memory is defined as the sequence number of subscriber equipment described in unique identification;
If not, then trigger and describedly generate execution for the sequence number of subscriber equipment described in unique identification according to described encode request instruction.
3. method according to claim 1, is characterized in that, described generate the sequence number being used for subscriber equipment described in unique identification according to described encode request instruction before, described method also comprises:
Send query statement according to described encode request instruction to described subscriber equipment, whether described query statement stores described sequence number for inquiring about described subscriber equipment;
Receive the Query Result that described subscriber equipment returns according to described query statement;
If described Query Result is when there is not described sequence number in the memory device of described subscriber equipment, then trigger described according to the sequence number of described encode request instruction generation for subscriber equipment described in unique identification.
4. the method according to any one of claims 1 to 3, is characterized in that, described sequence number is made up of the timestamp of 32 or 64.
5. the method according to any one of claims 1 to 3, is characterized in that, also comprises at least one among the cell-phone number of subscriber authorisation, safety code and mailbox in described encode request instruction;
Described generate the sequence number being used for subscriber equipment described in unique identification according to described encode request instruction after, described method also comprises:
At least one among the cell-phone number of described subscriber authorisation, safety code and mailbox and the corresponding relation between described sequence number are stored in described memory.
6. a server, is characterized in that, comprising:
Receiver module, for receiving the encode request instruction for subscriber equipment, comprises the device parameter of described subscriber equipment in described encode request instruction;
Generation module, for generating the sequence number being used for subscriber equipment described in unique identification according to described encode request instruction, described sequence number does not comprise the device parameter of described subscriber equipment, and is stored in memory by the corresponding relation between described sequence number and the device parameter of described subscriber equipment;
Sending module, for being sent to described subscriber equipment by described sequence number.
7. server according to claim 6, is characterized in that, described server also comprises:
Enquiry module, for the device parameter according to the subscriber equipment in described encode request instruction, inquires about whether there is the sequence number corresponding with the device parameter of described subscriber equipment from described memory;
Calling module, for when there is the sequence number corresponding with the device parameter of described subscriber equipment, is then defined as the sequence number of subscriber equipment described in unique identification by the sequence number inquired from described memory;
First trigger module, for when there is not the sequence number corresponding with the device parameter of described subscriber equipment, triggers described generation module according to the sequence number of described encode request instruction generation for subscriber equipment described in unique identification.
8. server according to claim 6, is characterized in that,
Described sending module also for sending query statement according to described encode request instruction to described subscriber equipment, described query statement for inquire about described subscriber equipment memory device in whether store described sequence number;
Described receiver module is also for receiving the Query Result that described subscriber equipment returns according to described query statement;
Described server also comprises:
Second trigger module, if be when there is not described sequence number in the memory device of described subscriber equipment for described Query Result, trigger described generation module and generates sequence number for subscriber equipment described in unique identification according to described encode request instruction.
9. the server according to any one of claim 6 to 8, is characterized in that, described generation module specifically for:
The sequence number be made up of the timestamp of 32 or 64 being used for subscriber equipment described in unique identification is generated according to described encode request instruction.
10. the server according to any one of claim 6 to 8, is characterized in that, also comprises at least one among the cell-phone number of subscriber authorisation, safety code and mailbox in described encode request instruction;
Described server also comprises:
Memory module, for being stored at least one among the cell-phone number of described subscriber authorisation, safety code and mailbox and the corresponding relation between described sequence number in described memory.
CN201510510977.2A 2015-08-19 2015-08-19 Equipment coding processing method and server Pending CN105208141A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510510977.2A CN105208141A (en) 2015-08-19 2015-08-19 Equipment coding processing method and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510510977.2A CN105208141A (en) 2015-08-19 2015-08-19 Equipment coding processing method and server

Publications (1)

Publication Number Publication Date
CN105208141A true CN105208141A (en) 2015-12-30

Family

ID=54955563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510510977.2A Pending CN105208141A (en) 2015-08-19 2015-08-19 Equipment coding processing method and server

Country Status (1)

Country Link
CN (1) CN105208141A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445847A (en) * 2016-09-12 2017-02-22 天脉聚源(北京)传媒科技有限公司 U disk SN code obtaining method and device
CN108156268A (en) * 2016-12-05 2018-06-12 腾讯科技(深圳)有限公司 Acquisition methods and server, the terminal device of device identification
CN110795604A (en) * 2019-10-29 2020-02-14 中国工商银行股份有限公司 Method, apparatus, computing device and medium for generating transaction serial number
CN111353786A (en) * 2018-12-20 2020-06-30 美的集团股份有限公司 Product after-sale information acquisition method, user terminal and server
CN112380586A (en) * 2020-11-11 2021-02-19 随锐科技集团股份有限公司 Processing method and system for bar code information of hardware equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6490637B1 (en) * 1999-08-24 2002-12-03 Conexant Systems Inc. System and method for dynamic assignment of unique serial number to system device
CN1725220A (en) * 2004-07-21 2006-01-25 洛克威尔软件股份有限公司 Time stamp methods for unified plant model
CN102801755A (en) * 2011-05-27 2012-11-28 腾讯科技(深圳)有限公司 Application management method and application platform
CN103353867A (en) * 2005-12-29 2013-10-16 亚马逊科技公司 Distributed replica storage system with web services interface
CN103731284A (en) * 2012-10-11 2014-04-16 腾讯科技(深圳)有限公司 Method and system for correlating a plurality of network accounts
CN103823810A (en) * 2012-11-19 2014-05-28 中国电信股份有限公司 Method, device and system for generating unique keys in distributed system
CN104811931A (en) * 2014-01-23 2015-07-29 腾讯科技(深圳)有限公司 System and method for distributing unique identifiers of mobile terminals

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6490637B1 (en) * 1999-08-24 2002-12-03 Conexant Systems Inc. System and method for dynamic assignment of unique serial number to system device
CN1725220A (en) * 2004-07-21 2006-01-25 洛克威尔软件股份有限公司 Time stamp methods for unified plant model
CN103353867A (en) * 2005-12-29 2013-10-16 亚马逊科技公司 Distributed replica storage system with web services interface
CN102801755A (en) * 2011-05-27 2012-11-28 腾讯科技(深圳)有限公司 Application management method and application platform
CN103731284A (en) * 2012-10-11 2014-04-16 腾讯科技(深圳)有限公司 Method and system for correlating a plurality of network accounts
CN103823810A (en) * 2012-11-19 2014-05-28 中国电信股份有限公司 Method, device and system for generating unique keys in distributed system
CN104811931A (en) * 2014-01-23 2015-07-29 腾讯科技(深圳)有限公司 System and method for distributing unique identifiers of mobile terminals

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445847A (en) * 2016-09-12 2017-02-22 天脉聚源(北京)传媒科技有限公司 U disk SN code obtaining method and device
CN108156268A (en) * 2016-12-05 2018-06-12 腾讯科技(深圳)有限公司 Acquisition methods and server, the terminal device of device identification
CN111353786A (en) * 2018-12-20 2020-06-30 美的集团股份有限公司 Product after-sale information acquisition method, user terminal and server
CN110795604A (en) * 2019-10-29 2020-02-14 中国工商银行股份有限公司 Method, apparatus, computing device and medium for generating transaction serial number
CN112380586A (en) * 2020-11-11 2021-02-19 随锐科技集团股份有限公司 Processing method and system for bar code information of hardware equipment

Similar Documents

Publication Publication Date Title
CN105208141A (en) Equipment coding processing method and server
CN105391811A (en) DNS (domain name resolution) method, access method for application server, and terminal
CN103547342A (en) Information sending method, information reading and notifying method, information receiving method and device
CN104021141B (en) Method, device and system for data processing and cloud service
CN104253741A (en) Information sending method and device and system thereof
CN104618312A (en) Remote registration method, device and system for M2M (Machine-to-Machine) application
CN101299674B (en) Method, system and management platform for implementing terminal identification
CN104301141A (en) Method, device and system for storing configuration information
CN102056188B (en) Data generation method, data transmission method and related equipment
CN103702329A (en) Communication terminal identity authentication method, communication terminal and base station
CN109274777B (en) A kind of method, apparatus, equipment and readable storage medium storing program for executing exporting configuration file
CN105099769A (en) Method, device and system for processing abnormal operations of service platform
CN103987030A (en) Method, device and system for achieving number-portability upgrading network
CN103024719A (en) Mobility management entity (MME) selection method and MME selection system for terminal group
US9781010B2 (en) Managing remote devices
CN111277983A (en) RFID middleware, publish-subscribe system and data transmission method
CN105450589A (en) Remote procedure call method and system
CN103929469A (en) Internet of Things management platform of eUICC and mobile number remote management method
CN102487500A (en) Subscriber identification module card, terminal management method and platform
CN105491553A (en) Virtual SIM/USIM card management method
CN105323117A (en) Application identification method, application identification device, application identification system and application server
CN106254040B (en) Command response processing method and device
CN102598735B (en) Set up the method for utility cession, equipment and corresponding notice
CN104333515A (en) Method and device for processing SWIFT messages
CN106341861B (en) Method, server and system for identifying wireless access point

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20151230

RJ01 Rejection of invention patent application after publication