CN109088956A - IPv6 address approach and device are generated based on the information of Item Information or people - Google Patents
IPv6 address approach and device are generated based on the information of Item Information or people Download PDFInfo
- Publication number
- CN109088956A CN109088956A CN201810874058.7A CN201810874058A CN109088956A CN 109088956 A CN109088956 A CN 109088956A CN 201810874058 A CN201810874058 A CN 201810874058A CN 109088956 A CN109088956 A CN 109088956A
- Authority
- CN
- China
- Prior art keywords
- information
- target object
- people
- characteristic information
- ipv6
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
- H04L61/5014—Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/40—Scenes; Scene-specific elements in video content
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/06—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
- H04L9/0643—Hash functions, e.g. MD5, SHA, HMAC or f9 MAC
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Power Engineering (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
IPv6 address approach and device are generated based on the information of Item Information or people the present invention provides a kind of, it is related to technical field of network communication, it include: the characteristic information for obtaining target object, wherein, the target object is article and/or people, and the characteristic information is used to characterize the identity information of the target object;The characteristic information is calculated by Hash hash algorithm, obtains target data;The address IPv6 is generated according to the target data, solves the surge of IP demand existing in the prior art, distributes the rational and orderly of the address Ipv6 and management aspect the technical issues of there is also many shortcomings.
Description
Technical field
The present invention relates to technical field of network communication, are generated more particularly, to a kind of based on the information of Item Information or people
IPv6 address approach and device.
Background technique
Currently, the internet of things era, people connects object and object connects the demand of object and previous Internet era and different, and people connects object
General web-enabled intelligence system, such as intelligent appliance, network camera can be referred to.Way substantially is all to pass through meter
Calculation machine or handheld apparatus are connected to long-range device.And another mode of connection is then that object connects object, operation principles are
The interconnection and interaction of device itself.
Due to the utilization of NAT technology, the problem of shortage of ip address, has obtained respite, but can not solve at all.With
The surge of IP demand, the address Ipv6 rational and orderly distribution there is also many shortcomings with management aspect.
Summary of the invention
In view of this, generating IPv6 address party based on the information of Item Information or people the purpose of the present invention is to provide a kind of
Method and device make rational and orderly distribution and the manager of the address Ipv6 to solve the surge of IP demand existing in the prior art
The technical issues of there is also many shortcomings in face.
In a first aspect, the embodiment of the invention provides a kind of sides for generating the address IPv6 based on the information of Item Information or people
Method is applied to dynamic host configuration protocol DHCP server, comprising:
Obtain the characteristic information of target object, wherein the target object is article and/or people, and the characteristic information is used
In the identity information for characterizing the target object;
The characteristic information is calculated by Hash hash algorithm, obtains target data;
The address IPv6 is generated according to the target data.
With reference to first aspect, the embodiment of the invention provides the first possible embodiments of first aspect, wherein logical
It crosses following at least one mode and obtains the characteristic information:
The characteristic information is obtained by image-recognizing method;
The characteristic information is obtained by near-field communication NFC method;
The input information that user inputs is determined as the characteristic information.
With reference to first aspect, the embodiment of the invention provides second of possible embodiments of first aspect, wherein when
The mode for obtaining the characteristic information is to obtain the characteristic information by described image recognition methods, then the acquisition mesh
The step of marking the characteristic information of object, comprising:
Obtain the image information comprising the target object;
Described image information is analyzed, the characteristic image of the identity information comprising the target object is obtained;
Feature extraction is carried out to the characteristic image, obtains the characteristic information of the target object.
With reference to first aspect, the embodiment of the invention provides the third possible embodiments of first aspect, wherein when
When the target object is article, the characteristic information is the identification information for indicating article identity;
When the target object is people, the characteristic information is the identity information of people.
With reference to first aspect, the embodiment of the invention provides the 4th kind of possible embodiments of first aspect, wherein institute
The identity information for stating people includes: at least one of ID card information, face information, finger print information, iris information;
The identification information of the article includes: item identification code, commodity sequence number, Brand, the type of merchandise, commodity-type
At least one of number.
With reference to first aspect, the embodiment of the invention provides the 5th kind of possible embodiments of first aspect, wherein institute
It states and the characteristic information is calculated by hash algorithm, obtain target data, comprising:
Data calculating is carried out to the characteristic information by 64 hash algorithms using hash function, obtains 64 binary systems
Number, and 64 bit is determined as the target data.
With reference to first aspect, the embodiment of the invention provides the 6th kind of possible embodiments of first aspect, wherein institute
State the step of address IPv6 is generated according to the target data, comprising:
Obtain 64 network IDs of the target object;
64 network IDs of the target object are merged with 64 bit, with generating 128 IPv6
Location.
Second aspect, the embodiment of the present invention also provide a kind of dress that the address IPv6 is generated based on the information of Item Information or people
It sets, is applied to Dynamic Host Configuration Protocol server, comprising:
Module is obtained, for obtaining the characteristic information of target object, wherein the target object is article and/or people, institute
Characteristic information is stated for characterizing the identity information of the target object;
Conversion module obtains target data for calculating by Hash hash algorithm the characteristic information;
Generation module, for generating the address IPv6 according to the target data.
The third aspect, the embodiment of the present invention also provide a kind of electronic equipment, including memory, processor, the memory
In be stored with the computer program that can be run on the processor, the processor is realized when executing the computer program
The step of stating method as described in relation to the first aspect.
Fourth aspect, the embodiment of the present invention also provide a kind of meter of non-volatile program code that can be performed with processor
Calculation machine readable medium, said program code make the method for the processor execution as described in relation to the first aspect.
Technical solution provided in an embodiment of the present invention brings following the utility model has the advantages that provided in an embodiment of the present invention based on object
Product information or the information of people generate IPv6 address approach and device includes: the characteristic information for obtaining target object, wherein target pair
As for article and/or people, characteristic information is used to characterize the identity information of target object, then, by Hash hash algorithm to spy
Reference breath is calculated, and target data is obtained, and is generated the address IPv6 according to target data later and is therefore made full use of target pair
The feature of elephant simultaneously passes through Hash hash algorithm, so that the address IPv6 generated is provided with the characteristic for indicating target object feature, energy
Enough make a large amount of IPv6 network address different from, in order to which a large amount of IPv6 network address is managed and is distributed, from
And solve the surge of IP demand existing in the prior art, make the address Ipv6 rational and orderly distribute and management aspect there is also
The technical issues of many shortcomings.
Other features and advantages of the present invention will illustrate in the following description, also, partly become from specification
It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention are in specification and attached drawing
Specifically noted structure is achieved and obtained.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate
Appended attached drawing, is described in detail below.
Detailed description of the invention
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art
Embodiment or attached drawing needed to be used in the description of the prior art be briefly described, it should be apparent that, it is described below
Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor
It puts, is also possible to obtain other drawings based on these drawings.
Fig. 1 shows the side for generating the address IPv6 provided by the embodiment of the present invention one based on the information of Item Information or people
The flow chart of method;
Fig. 2 shows the sides for generating the address IPv6 provided by the embodiment of the present invention two based on the information of Item Information or people
The flow chart of method;
Fig. 3 shows a kind of based on the information of Item Information or people the generation address IPv6 provided by the embodiment of the present invention three
Device structural schematic diagram;
Fig. 4 shows the structural schematic diagram of a kind of electronic equipment provided by the embodiment of the present invention four.
Icon: 3- generates the device of the address IPv6 based on the information of Item Information or people;31- obtains module;32- modulus of conversion
Block;33- generation module;4- electronic equipment;41- memory;42- processor;43- bus;44- communication interface.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention
Technical solution be clearly and completely described, it is clear that described embodiments are some of the embodiments of the present invention, rather than
Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise
Under every other embodiment obtained, shall fall within the protection scope of the present invention.
Currently, basic network on-link mode (OLM) someone of Internet of Things connects object and object connects object.People, which connects object and can refer to, generally may be used
The intelligence system of networking, such as intelligent appliance, network camera.Way substantially is all by computer or hand-held
Device is connected to long-range device.And another mode of connection is then that object connects object, operation principles are the interconnection of device itself
And interaction.For example, the concept that people connects object can be by the air-conditioning in the preparatory remote opening man of mobile phone, after one goes home
Enjoy comfortable temperature.The concept that another object connects object is then to input the instruction to be gone home when the GPS on vehicle receives car owner
When, start the time that estimation is gone home, vehicle or GPS navigation equipment can receive the information that other vehicles are brought and estimate during this
Calculation is gone home the required time, until reasonable time vehicle sends out the signal turned on the aircondition to the sky in family by the technology of network
Adjust, in the process completely without the intervention of house owner, by the technology that object connects object and perception may achieve the dialogue of object and object into
And intelligence system is promoted to carry out the realizations of the targets such as efficient, energy saving, safe and environment-friendly to all things on earth.
Above scenario will slowly enter in intelligent home with the progress of hardware, communication and cognition technology.However it is existing
It can no longer meet the demand of Internet of Things in earliest network protocol IPv4.Internet of Things application needs the branch of following infrastructure
It holds:
Primary demand first has sought to enough network address (IP Address).IPv4 can probably be provided at present
About 4,000,000,000 or so network address, however population in the world alreadys exceed 7,000,000,000 people at present, this represents an average people point less than one
A IPv4Address.Although there is network address translation NAT (Network Address Translation) technology can be at present
When reducing IPv4 address exhaustion problem, however needing a large amount of address in face of arriving Internet of Things application, NAT technology is not just one good
Solution.
Second primary demand is then to need automatic connection.Such as a smart home may have intelligent air condition, refrigerator, kitchen
The web-enabled smart machine of the dozens ofs such as room.If house owner needs to set its network configuration for each equipment, too complex
Network configuration setting will will affect the use wish of user.
Third primary demand is then safety.If what conventional computer device by hacker attacks, was lost is personal-machine
Close data such as credit card, Bank Account Number etc.;And lost for enterprise be then enterprise confidential information;However in Internet of Things
Application in, all equipment is all linked on network, therefore when confidentiality, integrality or availability are on the hazard,
The loss being subjected to will be bigger than in the past.Such as hacker attacks to smart home when, can by subscription network camera come
Monitor state in house, to cause privacy leakage, and or car thief do not need to risk the risk being found yet and remove vehicle steathily, as long as
Being entered by hacking technique can be with the intelligent automobile of automatic Pilot, so that it may controlled automobile be allowed to reach what hacker specified automatically
Position.
In the internet of things era, the appearance of IPv6 provides the IP address of magnanimity, and all things on earth interconnection is allowed to provide possibility.So
And many problems are brought simultaneously and are not solved.It is with MAC that IPv6 at this stage was supported, which automatically accesses mode without configuration,
Based on the uniqueness of address, although can ensure that the uniqueness of access in this way, only a carelessness and it is simple real
Existing mode, does not account for subsequent information security.
Access mark based on IPv6, has many different patents, goes to have used the address IPv6 from different emphasis
Variability problem.But these solutions are in view of the real demand of the internet of things era.The uniqueness of equipment access has
Too many kind of solution, however only access not that other that can solve that IPv6 epoch of magnanimity IP face are important to ask
Topic under IPv6 network condition, makes all things on earth interconnection become possibility, but caused by security risk how should solve.IPv6 has
Not in IPv4, the address bit of IPv6 overlength, so that memory and management are not a very easy things.For IPv6
In the case where can achieve all things on earth interconnection, it is urgent problem, otherwise the popularization of Internet of Things is then one that how safety, which ensures,
The thing of part danger close.
The appearance of IPv6 agreement allows the application of Internet of Things to obtain the IP quantitative commitments on basis, but for how safety is high
The IP resource for making good use of such magnanimity of effect, is the Important Problems for needing to solve instantly.The problem does not solve bring harm
The own stateless access module of IPv6 is directlyed adopt, MAC Address is directlyed adopt and does 64 access marks, then dynamic is also needed to tie up
The list of shield a complicated people and object and object and object, and also it is unfavorable for the control of IPv6 firewall.Therefore, with IP demand
Surge, the address Ipv6 rational and orderly distribution there is also many shortcomings with management aspect.
Based on this, it is provided in an embodiment of the present invention it is a kind of based on the information of Item Information or people generate IPv6 address approach and
Device can solve the surge of IP demand existing in the prior art, make rational and orderly distribution and the management aspect of the address Ipv6
The technical issues of there is also many shortcomings.
For convenient for understanding the present embodiment, first to one kind disclosed in the embodiment of the present invention be based on Item Information or
The information of people generates IPv6 address approach and device describes in detail.
Embodiment one:
A kind of method generating the address IPv6 based on the information of Item Information or people provided in an embodiment of the present invention, is applied to
Dynamic host configuration protocol DHCP server, as shown in Figure 1, this method comprises:
S11: the characteristic information of target object is obtained.
Wherein, target object is article and/or people, and as the preferred embodiment of the present embodiment, characteristic information is used for table
Levy the identity information of target object.
Specifically, obtaining characteristic information by way of following at least one: obtaining characteristic information by image-recognizing method;
Characteristic information is obtained by near-field communication NFC method;The input information that user inputs is determined as characteristic information.
Therefore, the mode for obtaining characteristic information includes but is not limited to the short haul connections such as video identification, NFC communication, RFID
Mode, can be utilized, as long as the independent information for easily obtaining people or object all may be used.
S12: characteristic information is calculated by Hash hash algorithm, obtains target data.
As the preferred embodiment of the present embodiment, this step uses 64 non-encrypted hash algorithms, by exclusive information
Unique 64 exclusive bits are converted to, form unique address IPv6 with 64 network IDs so as to subsequent.
S13: the address IPv6 is generated according to target data.
It should be noted that the address IPv6 is divided into prefix and interface identifier, prefix is equivalent to before the network ID of IPv6 64,
Interface identifier is equivalent to after the host id in the address IPv6 64, i.e. prefix is 64, and suffix is 64.
Therefore, the method provided in this embodiment for generating the address IPv6 based on the information of Item Information or people, solves object
The networking epoch can not accurately carry out people and object interconnection and object and object interconnection problems, meet all things on earth interconnection and need to identify people
With the demand of the difference of object, and also consider used the internet of things era people and object interconnection characteristic.
Embodiment two:
A kind of method generating the address IPv6 based on the information of Item Information or people provided in an embodiment of the present invention, is applied to
Dynamic host configuration protocol DHCP server, as shown in Fig. 2, this method comprises:
S21: the image information comprising target object is obtained.
Wherein, target object is article and/or people, and as a preferred embodiment, characteristic information is for characterizing target object
Identity information.
As the another embodiment of the present embodiment, the mode for obtaining image information may include using acquisition video
Mode.
S22: analyzing image information, obtains the characteristic image of the identity information comprising target object.
In practical applications, the process analyzed image information can take the mode of video identification, can be direct
Addition access rule in real time is directly realized by by the way of newly-increased video identification in Dynamic Host Configuration Protocol server.
S23: feature extraction is carried out to characteristic image, obtains the characteristic information of target object.
It should be noted that characteristic information is used to characterize the identity information of target object.
When target object is article, characteristic information is the identification information for indicating article identity.The mark of article is believed
Breath includes: at least one of item identification code, commodity sequence number, Brand, the type of merchandise, marque.
It should be noted that these commodity do not include food.Specifically, when target object be article when, the article be except
Commodity except food, such as household electrical appliance, common electronic equipment and other internet of things equipment are done, as long as that is, can
It can be used as the article in the present embodiment using the equipment of IP address, so the target object in the present embodiment does not include beverage class
Equal food.Preferably, the commodity of the target object behaviour in the present embodiment or networking class.Further, these networking class quotient
The identification information of product can with but be not necessarily to commodity in use sequence number, as long as commodity can be different to other commodity
The feature of (including same producer with the commodity of batch) shows.Therefore, the identification information of article includes but is not limited to quotient
The manufacture production of the bar code of product, the two dimensional code of commodity, marque, the manufacture grown place of commodity, the brand of commodity, commodity
As long as hash algorithm input can be added in the exclusive characteristic information that the commodity such as classification on date, commodity are different from other commodity
Content.For example, the manufacture date of manufacture etc. of the model of mobile phone, the brand of computer, tablet computer all can serve as the mark of article
Know information.
When target object is people, characteristic information is the identity information of people.The identity information of people include: ID card information,
At least one of face information, finger print information, iris information.ID card information can for include but is not limited to identity card ID,
Date of birth, home address, medical conditions etc. and identity card ID are functionally similar, comprising a natural person exclusive feature letter
Hash algorithm input content can be added in breath.Therefore, it is necessary to the feature of extraction can with but be not necessarily intended to be identity card ID, as long as
The information that can be distinguished the feature of natural person with other people, this information can be number, be also possible to a string of words
Symbol string.The unique information generated after the visual identitys such as recognition of face can also be accessed including subsequent.
For example, the identity card ID card information identification of natural person is extracted identity card ID number, the sequence number of commodity is carried out
Video identification is extracted.Specific natural person and particular commodity can be different from other people and the exclusive information extraction of commodity by, which obtaining, goes out
Come.
S24: data calculating is carried out to characteristic information by 64 hash algorithms using hash function, obtains 64 binary systems
Number, and 64 bits are determined as target data.
In this step, using 64 non-encrypted hash algorithms, by exclusive information be converted to unique exclusive 64 two into
Number processed, and unique address IPv6 is constituted with 64 network IDs.This internet apparatus includes with the non-encrypted of FPGA realization
64 hash algorithm hardware accelerators.Its hardware accelerator uses for the hardware for obtaining access mark using this algorithm, including
But it is not limited to router, hardware firewall etc..
Wherein, hash algorithm includes but is not limited to 64 non-encrypted hash algorithms, for example, FNV, FNV1a, Murmur2,
Input information is converted to unique 64 binary system IPv6 access identification as long as can satisfy by SipHash etc..
It should be noted that hash algorithm is unidirectional conversion.Can be from identity card ID and commodity bar code, calculating
The address IPv6 matched, but above- mentioned information can not be solved from the address IPv6 is counter.This algorithm can protect user's privacy, but also can
The foundation of IPv6 firewall is carried out according to the privacy of user.
For firewall rule, firewall can filter according to certain ad hoc rules and be sent to local data packet.Rule can
With related to source IP, can be related to data packet frame head etc..It is related to commodity bar code or production that identity-based demonstrate,proves ID
The hash algorithm that information carries out can generate unique 64 binary systems access mark;With realized based on above-mentioned hash algorithm
FPGA hardware firewall based on IPv6.
Further, FPGA hardware firewall be based on above-mentioned hash algorithm, can by the exclusive information of the people of input and object,
According to above-mentioned hash algorithm, matched IPv6 accessing identifier is directly obtained from hardware, directly to obtain from exclusive information
The filtering rule of IP address.
S25: 64 network IDs of target object are obtained.
In practical applications, preceding 64 prefixes that 64 network IDs are IPv6, and rear 64 suffix of IPv6 are determined as
64 bits in step S25, i.e. target data.
S26: 64 network IDs and 64 bits of target object are merged, 128 addresses IPv6 are generated.
Specifically, the MAC Address (i.e. 64 in the 64 access marks (i.e. target data) and equipment that are generated to step S25
Position network ID) mapping of being associated property, and this corresponding relationship is stored into Dynamic Host Configuration Protocol server.
Preferably, after step S26 further include: Dynamic Host Configuration Protocol server is subsequent to distribute to the address IPv6 of equipment according to feature
Code calculates in the equipment completed, i.e., carries out address distribution to equipment according to the 128 of generation addresses IPv6.Wherein for article
Target object directly can carry out calculating acquisition according to 64 non-encrypted hash algorithms.For the target object of people, distribute
The address IPv6 be to be obtained under different condition code input environments according to identical algorithm.Later, the address IPv6 is completed
After new distribution, for the object that the needs under same gateway protect, then gained algorithm character string can be directly used and matched.
In the present embodiment, for people, hash algorithm is carried out using identity card ID of citizen etc. and obtains unique 64
The address IPv6 latter half successively merges the address the IPv6 first half and the address IPv6 latter half, with configuring the IPv6
Location;For article, using codeword value, the including but not limited to merchandise newss such as bar code carry out arriving for same Hash operation
Unique 64 addresses IPv6 latter half, the address the IPv6 first half and the address IPv6 latter half are successively merged, matched
Set the address IPv6.
Therefore, the method provided in this embodiment for generating the address IPv6 based on the information of Item Information or people, does not solve band
The harm come is to directly adopt the own stateless access module of IPv6, directlys adopt MAC Address and does 64 access marks, then also
The list of Dynamic Maintenance a complicated people and object and object and object is needed, and is also unfavorable for the control of IPv6 firewall.
In the present embodiment, the attribute of people and object article are taken full advantage of, is embodied in the address IPv6, directly from the address IPv6
For starting point, safety filtering and address distribution are carried out.Therefore, the method for the address IPv6 being generated based on the information of Item Information or people
Make mixed and disorderly unordered IPv6 address-ordered, that realizes the internet of things era facilitates interconnection and precisely control, makes the firewall of IPv6
Rule is realized and is easier, and the control of information security is easier to realize and be promoted.Therefore, for this all things on earth of Internet of Things
The demand of interconnection can meet well, and be conducive to firewall rule foundation.
Moreover, it is mutual to solve all things on earth in Internet of Things based on the method that the information of Item Information or people generate the address IPv6
Join unsharp problem, fltting speed of the Internet of Things in conjunction with IPv6 can be accelerated.It is regular by this for the firewall of IPv6,
Directly illegal IP address can be filtered.
Embodiment three:
A kind of device being generated the address IPv6 based on the information of Item Information or people provided in an embodiment of the present invention, is applied to
Dynamic host configuration protocol DHCP server, as shown in figure 3, generating the device of the address IPv6 based on the information of Item Information or people
3 include: to obtain module 31, conversion module 32, generation module 33.
As a preferred embodiment, the characteristic information that module is used to obtain target object is obtained, wherein target object is object
Product and/or people, characteristic information are used to characterize the identity information of target object.Conversion module is used for through Hash hash algorithm to spy
Reference breath is calculated, and target data is obtained.Generation module is used to generate the address IPv6 according to target data.
Further, generating the device of the address IPv6 based on the information of Item Information or people further includes that FPGA realizes this Kazakhstan
The hardware firewall of uncommon algorithm, can according only to IP address can safety filtering fall dangerous invasion.
Example IV:
A kind of electronic equipment provided in an embodiment of the present invention, as shown in figure 4, electronic equipment 4 includes memory 41, processor
42, the computer program that can be run on the processor is stored in the memory, the processor executes the calculating
The step of method that above-described embodiment one or embodiment two provide is realized when machine program.
Referring to fig. 4, electronic equipment further include: bus 43 and communication interface 44, processor 42, communication interface 44 and memory
41 are connected by bus 43;Processor 42 is for executing the executable module stored in memory 41, such as computer program.
Wherein, memory 41 may include high-speed random access memory (RAM, Random Access Memory),
It may further include nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.By at least
One communication interface 44 (can be wired or wireless) realizes the communication between the system network element and at least one other network element
Connection, can be used internet, wide area network, local network, Metropolitan Area Network (MAN) etc..
Bus 43 can be isa bus, pci bus or eisa bus etc..The bus can be divided into address bus, data
Bus, control bus etc..Only to be indicated with a four-headed arrow convenient for indicating, in Fig. 4, it is not intended that an only bus or
A type of bus.
Wherein, memory 41 is for storing program, and the processor 42 executes the journey after receiving and executing instruction
Sequence, method performed by the device that the stream process that aforementioned any embodiment of the present invention discloses defines can be applied to processor 42
In, or realized by processor 42.
Processor 42 may be a kind of IC chip, the processing capacity with signal.During realization, above-mentioned side
Each step of method can be completed by the integrated logic circuit of the hardware in processor 42 or the instruction of software form.Above-mentioned
Processor 42 can be general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network
Processor (Network Processor, abbreviation NP) etc.;It can also be digital signal processor (Digital Signal
Processing, abbreviation DSP), specific integrated circuit (Application Specific Integrated Circuit, referred to as
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, abbreviation FPGA) or other are programmable
Logical device, discrete gate or transistor logic, discrete hardware components.It may be implemented or execute in the embodiment of the present invention
Disclosed each method, step and logic diagram.General processor can be microprocessor or the processor is also possible to appoint
What conventional processor etc..The step of method in conjunction with disclosed in the embodiment of the present invention, can be embodied directly in hardware decoding processing
Device executes completion, or in decoding processor hardware and software module combination execute completion.Software module can be located at
Machine memory, flash memory, read-only memory, programmable read only memory or electrically erasable programmable memory, register etc. are originally
In the storage medium of field maturation.The storage medium is located at memory 41, and processor 42 reads the information in memory 41, in conjunction with
Its hardware completes the step of above method.
Embodiment five:
It is provided in an embodiment of the present invention it is a kind of with processor can be performed non-volatile program code it is computer-readable
Medium, said program code make the method that the processor executes above-described embodiment one or embodiment two provides.
Unless specifically stated otherwise, the opposite step of the component and step that otherwise illustrate in these embodiments, digital table
It is not limit the scope of the invention up to formula and numerical value.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description
It with the specific work process of device, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In all examples being illustrated and described herein, any occurrence should be construed as merely illustratively, without
It is as limitation, therefore, other examples of exemplary embodiment can have different values.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.
The flow chart and block diagram in the drawings show the system of multiple embodiments according to the present invention, method and computer journeys
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, section or code of table, a part of the module, section or code include one or more use
The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box
The function of note can also occur in a different order than that indicated in the drawings.For example, two continuous boxes can actually base
Originally it is performed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.It is also noted that
It is the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart, can uses and execute rule
The dedicated hardware based system of fixed function or movement is realized, or can use the group of specialized hardware and computer instruction
It closes to realize.
The computer-readable medium of the non-volatile program code provided in an embodiment of the present invention that can be performed with processor,
Had with provided by the above embodiment based on the information of Item Information or people generation IPv6 address approach, device and electronic equipment
Identical technical characteristic reaches identical technical effect so also can solve identical technical problem.
The calculating that IPv6 address approach is generated based on the information of Item Information or people is carried out provided by the embodiment of the present invention
Machine program product, the computer readable storage medium including storing the executable non-volatile program code of processor are described
The instruction that program code includes can be used for executing previous methods method as described in the examples, and specific implementation can be found in method and implement
Example, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with
It realizes by another way.The apparatus embodiments described above are merely exemplary, for example, the division of the unit,
Only a kind of logical function partition, there may be another division manner in actual implementation, in another example, multiple units or components can
To combine or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or beg for
The mutual coupling, direct-coupling or communication connection of opinion can be through some communication interfaces, device or unit it is indirect
Coupling or communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
Finally, it should be noted that embodiment described above, only a specific embodiment of the invention, to illustrate the present invention
Technical solution, rather than its limitations, scope of protection of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair
It is bright to be described in detail, those skilled in the art should understand that: anyone skilled in the art
In the technical scope disclosed by the present invention, it can still modify to technical solution documented by previous embodiment or can be light
It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make
The essence of corresponding technical solution is detached from the spirit and scope of technical solution of the embodiment of the present invention, should all cover in protection of the invention
Within the scope of.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. a kind of method for generating the address IPv6 based on the information of Item Information or people, is applied to dynamic host configuration protocol DHCP
Server characterized by comprising
Obtain the characteristic information of target object, wherein the target object is article and/or people, and the characteristic information is used for table
Levy the identity information of the target object;
The characteristic information is calculated by Hash hash algorithm, obtains target data;
The address IPv6 is generated according to the target data.
2. the method according to claim 1, wherein obtaining the feature letter by way of following at least one
Breath:
The characteristic information is obtained by image-recognizing method;
The characteristic information is obtained by near-field communication NFC method;
The input information that user inputs is determined as the characteristic information.
3. according to the method described in claim 2, it is characterized in that, when the mode for obtaining the characteristic information is passes through
It states image-recognizing method and obtains the characteristic information, then the step of characteristic information for obtaining target object, comprising:
Obtain the image information comprising the target object;
Described image information is analyzed, the characteristic image of the identity information comprising the target object is obtained;
Feature extraction is carried out to the characteristic image, obtains the characteristic information of the target object.
4. the method according to claim 1, wherein when the target object be article when, the characteristic information
For for indicating the identification information of article identity;
When the target object is people, the characteristic information is the identity information of people.
5. according to the method described in claim 4, it is characterized in that, the identity information of the people includes: ID card information, face
At least one of information, finger print information, iris information;
The identification information of the article include: item identification code, commodity sequence number, Brand, the type of merchandise, in marque
At least one of.
6. the method according to claim 1, wherein described count the characteristic information by hash algorithm
It calculates, obtains target data, comprising:
Data calculating is carried out to the characteristic information by 64 hash algorithms using hash function, obtains 64 bits,
And 64 bit is determined as the target data.
7. according to the method described in claim 6, it is characterized in that, the step for generating the address IPv6 according to the target data
Suddenly, comprising:
Obtain 64 network IDs of the target object;
64 network IDs of the target object are merged with 64 bit, generate 128 addresses IPv6.
8. a kind of device for generating the address IPv6 based on the information of Item Information or people, is applied to Dynamic Host Configuration Protocol server, feature exists
In, comprising:
Module is obtained, for obtaining the characteristic information of target object, wherein the target object is article and/or people, the spy
Reference ceases the identity information for characterizing the target object;
Conversion module obtains target data for calculating by Hash hash algorithm the characteristic information;
Generation module, for generating the address IPv6 according to the target data.
9. a kind of electronic equipment, including memory, processor, be stored in the memory to run on the processor
Computer program, which is characterized in that the processor realizes that the claims 1 to 7 are any when executing the computer program
The step of method described in item.
10. a kind of computer-readable medium for the non-volatile program code that can be performed with processor, which is characterized in that described
Program code makes the processor execute described any the method for claim 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810874058.7A CN109088956A (en) | 2018-08-02 | 2018-08-02 | IPv6 address approach and device are generated based on the information of Item Information or people |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810874058.7A CN109088956A (en) | 2018-08-02 | 2018-08-02 | IPv6 address approach and device are generated based on the information of Item Information or people |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109088956A true CN109088956A (en) | 2018-12-25 |
Family
ID=64833869
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810874058.7A Pending CN109088956A (en) | 2018-08-02 | 2018-08-02 | IPv6 address approach and device are generated based on the information of Item Information or people |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109088956A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113225407A (en) * | 2021-04-29 | 2021-08-06 | 全球能源互联网研究院有限公司 | Equipment identification information management method and device, electronic equipment and storage medium |
CN114449363A (en) * | 2022-01-28 | 2022-05-06 | 下一代互联网关键技术和评测北京市工程研究中心有限公司 | IPv 6-based encodable and traceable digital object control method |
CN114710467A (en) * | 2022-03-25 | 2022-07-05 | 阿里巴巴(中国)有限公司 | IP address storage method, device and hardware gateway |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012130128A1 (en) * | 2011-04-01 | 2012-10-04 | 中兴通讯股份有限公司 | Method, device, and system for implementing network identifier conversion |
CN102761630A (en) * | 2012-07-20 | 2012-10-31 | 清华大学 | Real user identity information-oriented IPv6 (Internet Protocol Version 6) address distribution method |
CN105491558A (en) * | 2014-09-18 | 2016-04-13 | 北京信威通信技术股份有限公司 | Method for generating IPv6 multicast address of cluster group |
CN106292560A (en) * | 2015-05-26 | 2017-01-04 | 美的集团股份有限公司 | The communication means of appliance system and appliance system |
-
2018
- 2018-08-02 CN CN201810874058.7A patent/CN109088956A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012130128A1 (en) * | 2011-04-01 | 2012-10-04 | 中兴通讯股份有限公司 | Method, device, and system for implementing network identifier conversion |
CN102761630A (en) * | 2012-07-20 | 2012-10-31 | 清华大学 | Real user identity information-oriented IPv6 (Internet Protocol Version 6) address distribution method |
CN105491558A (en) * | 2014-09-18 | 2016-04-13 | 北京信威通信技术股份有限公司 | Method for generating IPv6 multicast address of cluster group |
CN106292560A (en) * | 2015-05-26 | 2017-01-04 | 美的集团股份有限公司 | The communication means of appliance system and appliance system |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113225407A (en) * | 2021-04-29 | 2021-08-06 | 全球能源互联网研究院有限公司 | Equipment identification information management method and device, electronic equipment and storage medium |
CN113225407B (en) * | 2021-04-29 | 2022-07-26 | 全球能源互联网研究院有限公司 | Equipment identification information management method and device, electronic equipment and storage medium |
CN114449363A (en) * | 2022-01-28 | 2022-05-06 | 下一代互联网关键技术和评测北京市工程研究中心有限公司 | IPv 6-based encodable and traceable digital object control method |
CN114449363B (en) * | 2022-01-28 | 2023-08-15 | 下一代互联网关键技术和评测北京市工程研究中心有限公司 | IPv 6-based digital object management and control method capable of coding and tracing |
CN114710467A (en) * | 2022-03-25 | 2022-07-05 | 阿里巴巴(中国)有限公司 | IP address storage method, device and hardware gateway |
CN114710467B (en) * | 2022-03-25 | 2024-03-12 | 阿里巴巴(中国)有限公司 | IP address storage method and device and hardware gateway |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109088956A (en) | IPv6 address approach and device are generated based on the information of Item Information or people | |
CN101860531B (en) | Filtering rule matching method of data packet and device thereof | |
CN103441935B (en) | Automatically method and the device of the syntople of identified server and access switch | |
CN103942898A (en) | Method, mobile terminal and POS machine for realizing security element selection in near field communication | |
CN109327395A (en) | A kind of message processing method and device | |
CN104184583B (en) | Method and system for distributing IP address | |
CN102724079A (en) | Method and system for auxiliary configuration of Ethernet equipment | |
CN108243407A (en) | A kind of method and terminal device of multiple wireless module device network interface managements | |
CN106713004A (en) | Router adaptation method and system | |
CN105912679A (en) | Method and device for data query | |
CN104113880B (en) | Method of data flow control and system | |
CN106656521A (en) | Power-on method and device | |
CN109951430A (en) | A kind of data processing method and device | |
CN105812280B (en) | A kind of classification method and electronic equipment | |
CN106790283A (en) | A kind of Internet of things system framework and data communications method | |
CN111930653B (en) | Remote distribution use method and device of USB (universal serial bus) equipment | |
CN111597411B (en) | Method and system for distinguishing and identifying power specification data frames | |
CN111800338B (en) | Cross-AS EVPN route interaction method and device | |
CN109302420A (en) | Network data security transmission method, system and electronic equipment | |
CN113079186A (en) | Industrial network boundary protection method and system based on industrial control terminal feature recognition | |
CN109446807A (en) | The method, apparatus and electronic equipment of malicious robot are intercepted for identification | |
US10660141B2 (en) | Communication link establishments via identifiers | |
CN109146477B (en) | Method for specifying address when Ethernet workshop issues intelligent contract | |
CN108667647B (en) | Method and device for setting device parameters and server | |
CN104219160A (en) | Method and device for generating input parameter |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181225 |
|
RJ01 | Rejection of invention patent application after publication |