A kind of direct key generation method and device for PC5 interface point to point link

文档序号:1744533 发布日期:2019-11-26 浏览:8次 中文

阅读说明:本技术 一种用于pc5接口点到点通信的直接密钥生成方法及装置 (A kind of direct key generation method and device for PC5 interface point to point link ) 是由 杨国道 朱源泉 于 2019-08-23 设计创作,主要内容包括:本发明实施例提供的一种用于PC5接口点到点通信的直接密钥生成方法及装置,该方法,用于第二终端,包括:当第二终端与第一终端取得长期密钥并完成双向认证后,判断是否存在与所述第一终端对应的直接密钥;如果不存在与所述第一终端对应的直接密钥,则生成第二直接密钥协商参数;将所述第二直接密钥协商参数发送到所述第一终端;以便所述第一终端接收到所述第二直接密钥协商参数后生成并发送第一直接密钥协商参数;接收第一直接密钥协商参数,并利用所述第一直接密钥协商参数、所述第二直接协商参数,通过预设算法得到直接密钥,以便根据所述直接密钥生成直接会话密钥以供使用,从而使得两个终端之间能够生成直接密钥以供后续使用。(A kind of direct key generation method and device for PC5 interface point to point link provided in an embodiment of the present invention, this method, for second terminal, it include: to judge whether there is direct key corresponding with the first terminal after second terminal obtains long term keys and complete two-way authentication with first terminal;If there is no direct key corresponding with the first terminal, then the second direct key agreement parameter is generated;The first terminal is sent by the described second direct key agreement parameter;The first direct key agreement parameter is generated and sent after receiving the described second direct key agreement parameter so as to the first terminal;Receive the first direct key agreement parameter, and directly negotiate parameter using the described first direct key agreement parameter, described second, direct key is obtained by preset algorithm, to generate direct session key for using, so that direct key can be generated between two terminals for subsequent use according to the direct key.)

1. a kind of direct key generation method for PC5 interface point to point link is used for second terminal, which is characterized in that packet It includes:

After second terminal and first terminal obtain long term keys and complete two-way authentication, judge whether there is with described first eventually Hold corresponding direct key;

If there is no direct key corresponding with the first terminal, then the second direct key agreement parameter is generated;

The first terminal is sent by the described second direct key agreement parameter;So that the first terminal receives described The first direct key agreement parameter is generated and sent after two direct key agreement parameters;

The first direct key agreement parameter is received, and is directly negotiated using the described first direct key agreement parameter, described second Parameter obtains direct key by preset algorithm, to be used according to the direct session key of the direct key generation.

2. direct key generation method according to claim 1, which is characterized in that

The first direct key agreement parameter, comprising: the first validity period;

The second direct key agreement parameter, comprising: the second validity period;

This method further include:

Judge the size of first validity period Yu second validity period;

If first validity period is not more than second validity period, set described for the validity period of the direct key First validity period;

If first validity period is greater than second validity period, described the is set by the validity period of the direct key Two validity periods.

3. direct key generation method according to claim 1, which is characterized in that

It is described to send the first terminal for the described second direct key agreement parameter, comprising:

Described second direct key agreement parameter is subjected to integrity protection and/or encryption by the long term keys, obtains the Two direct key negotiation informations;

The first terminal is sent by the described second direct key negotiation information, so that the first terminal is using described long-term Key is decrypted, and obtains the described second direct key agreement parameter.

4. direct key generation method according to any one of claims 1 to 3, which is characterized in that

After obtaining direct key by preset algorithm, further includes:

According to the direct key, direct session key is generated;

By 3GPP standardize defined in key product process, according to the direct session key, the encryption for generating message is close Key and tegrity protection key, to realize the encryption of the communication information between the first terminal and the second terminal and complete Property protection.

5. a kind of direct key generation method for PC5 interface point to point link is used for first terminal, which is characterized in that packet It includes:

After first terminal and second terminal obtain long term keys and complete two-way authentication, the second direct key agreement ginseng is received Number;

The first direct key agreement parameter is generated, and sends the first direct key agreement parameter to the second terminal;

Directly negotiate parameter using the described first direct key agreement parameter, described second, is obtained by preset algorithm directly close Key.

6. direct key generation method according to claim 5, which is characterized in that

The first direct key agreement parameter, comprising: the first random number and the first Diffie-Hellman parameter;Described first Random number is the number that the first terminal is randomly generated;

The second direct key agreement parameter, comprising: the second random number and the 2nd Diffie-Hellman parameter;Described second Random number is the number that the second terminal is randomly generated;

KD=high 256bit (SM4 (LTK, S1 | S2 | g^ir));

Wherein, KD is direct key;S1 is the first random number;S2 is the second random number;G^ir is Diffie-Hellman exchange Generated shared key.

7. a kind of second terminal characterized by comprising

Direct key judgment module, for sentencing after second terminal obtains long term keys and complete two-way authentication with first terminal It is disconnected to whether there is direct key corresponding with the first terminal;

Second negotiates parameter generation module, for if there is no direct key corresponding with the first terminal, then generating the Two direct key agreement parameters;

Second negotiates parameter sending module, for sending the first terminal for the described second direct key agreement parameter;With Toilet is stated after first terminal receives the described second direct key agreement parameter and generates and sends the first direct key agreement parameter;

Second direct key production module for receiving the first direct key agreement parameter, and utilizes the described first direct key Negotiate parameter, described second and directly negotiate parameter, direct key is obtained by preset algorithm, so as to raw according to the direct key At direct session key for using.

8. a kind of first terminal characterized by comprising

First arranging key receiving module, for when first terminal obtains long term keys with second terminal and completes two-way authentication Afterwards, the second direct key agreement parameter is received;

First negotiates parameter generation module, sends institute for generating the first direct key agreement parameter, and to the second terminal State the first direct key agreement parameter;

First direct key production module, for directly negotiating ginseng using the described first direct key agreement parameter, described second Number, obtains direct key by preset algorithm.

9. a kind of direct key generation device for PC5 interface point to point link characterized by comprising

Memory, for storing computer program;

Processor is realized when for executing the computer program and is used for PC5 point of interface as described in any one of Claims 1-4 To communication direct key generation method the step of.

10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program is realized when the computer program is executed by processor and is arrived as described in any one of Claims 1-4 for PC5 point of interface The step of direct key generation method of point communication.

Technical field

The present embodiments relate to bus or train route coordination technique fields, and in particular to a kind of for PC5 interface point to point link Direct key generation method and device.

Background technique

At present in the V2X related specifications of 3GPP, TS33.303 standardizes the security mechanism for defining point to point link.In the rule Fan Zhong is directed to the communication of point-to-point, defines the key of 4 kinds of different levels, is respectively:

One, Long-Term-Key (long term keys) are the keys pre-installed in the terminal, are the root keys of terminal, can be used for Generate other subsequent keys.

Two, KD (direct key), it is between 2 terminals for carrying out point-to-point secure communication, according to the long-term of both sides Key, generation are shared by both sides, root key for both sides' secure communication.The key length is 32 bytes, for generating Other subsequent keys required for both sides' point to point link.

Three, KD-sess (direct session key), it is between 2 terminals for carrying out point-to-point secure communication, according to double The direct key of side, the key of this communication process of generation.The key can also pass through rekey in this communication process (key reconstruction) process regenerates new direct session key.The key length is 32 bytes, can be used for generating both sides' point and arrives Encryption key required for point communicates and tegrity protection key.

Four, PEK (encryption key) and PIK (tegrity protection key), for the encryption of point to point link message and complete Property protection.If direct session key is modified, corresponding encryption key and tegrity protection key are also required to simultaneously It is modified.

However, defining only the generation of subsequent key under conditions of known direct key in existing 3GPP specification Process and subsequent secure communication process, but it is not defined the generating process of direct key, so if utilizing terminal If (such as OBE) Lai Jinhang point-to-point direct communication, direct key can not be generated, also can not just be established in accordance with 3GPP basic flow The point-to-point secure communication of journey.

In view of this, how to provide a kind of generation scheme of direct key, direct key can be generated for subsequent use, It is those skilled in the art's technical problem urgently to be resolved.

Summary of the invention

For this purpose, the embodiment of the present invention provides a kind of direct key generation method and dress for PC5 interface point to point link It sets, direct key can be generated for subsequent use.

To achieve the goals above, the embodiment of the present invention provides the following technical solutions:

In a first aspect, the embodiment of the present invention provides a kind of direct key generation method for PC5 interface point to point link, For second terminal, comprising:

After second terminal and first terminal obtain long term keys and complete two-way authentication, judge whether there is and described the The corresponding direct key of one terminal;

If there is no direct key corresponding with the first terminal, then the second direct key agreement parameter is generated;

The first terminal is sent by the described second direct key agreement parameter;So that the first terminal receives institute The first direct key agreement parameter is generated and sent after stating the second direct key agreement parameter;

The first direct key agreement parameter is received, and directly using the described first direct key agreement parameter, described second Negotiate parameter, direct key is obtained by preset algorithm, to be made according to the direct session key of the direct key generation With.

Preferably, the described first direct key agreement parameter, comprising: the first validity period;

The second direct key agreement parameter, comprising: the second validity period;

This method further include:

Judge the size of first validity period Yu second validity period;

If first validity period is not more than second validity period, set the validity period of the direct key to First validity period;

If first validity period is greater than second validity period, institute is set by the validity period of the direct key Stated for the second validity period.

It is preferably, described to send the first terminal for the described second direct key agreement parameter, comprising:

Described second direct key agreement parameter is subjected to integrity protection and/or encryption by the long term keys, is obtained To the second direct key negotiation information;

The first terminal is sent by the described second direct key negotiation information, so as to described in first terminal utilization Long term keys are decrypted, and obtain the described second direct key agreement parameter.

Preferably, after obtaining direct key by preset algorithm, further includes:

According to the direct key, direct session key is generated;

By 3GPP standardize defined in key product process, according to the direct session key, generate message plus Key and tegrity protection key, with realize the communication information between the first terminal and the second terminal encryption and Integrity protection.

Second aspect, the embodiment of the present invention provide a kind of direct key generation method for PC5 interface point to point link, For first terminal, comprising:

After first terminal and second terminal obtain long term keys and complete two-way authentication, the second direct key agreement is received Parameter;

The first direct key agreement parameter is generated, and sends the described first direct key agreement ginseng to the second terminal Number;

Directly negotiate parameter using the described first direct key agreement parameter, described second, is obtained directly by preset algorithm Connect key.

Preferably, the described first direct key agreement parameter, comprising: the first random number and the first Diffie-Hellman ginseng Number;First random number is the number that the first terminal is randomly generated;

The second direct key agreement parameter, comprising: the second random number and the 2nd Diffie-Hellman parameter;It is described Second random number is the number that the second terminal is randomly generated;

KD=high 256bit (SM4 (LTK, S1 | S2 | g^ir));

Wherein, KD is direct key;S1 is the first random number;S2 is the second random number;G^ir is Diffie-Hellman Shared key caused by exchanging.

The third aspect, the embodiment of the present invention provide a kind of second terminal, comprising:

Direct key judgment module, for when second terminal obtains long term keys with first terminal and completes two-way authentication Afterwards, direct key corresponding with the first terminal is judged whether there is;

Second negotiates parameter generation module, for if there is no direct key corresponding with the first terminal, then giving birth to At the second direct key agreement parameter;

Second negotiates parameter sending module, for sending described first eventually for the described second direct key agreement parameter End;The first direct key agreement is generated and sent after receiving the described second direct key agreement parameter so as to the first terminal Parameter;

Second direct key production module, for receiving the first direct key agreement parameter, and directly using described first Key agreement parameter, described second directly negotiate parameter, obtain direct key by preset algorithm, so as to according to described directly close Key generates direct session key for using.

Fourth aspect, the embodiment of the present invention provide a kind of first terminal, comprising:

First arranging key receiving module, for when first terminal and second terminal acquirement long term keys and completing two-way to recognize After card, the second direct key agreement parameter is received;

First negotiates parameter generation module, sends out for generating the first direct key agreement parameter, and to the second terminal Send the described first direct key agreement parameter;

First direct key production module, for directly being assisted using the described first direct key agreement parameter, described second Quotient's parameter obtains direct key by preset algorithm.

5th aspect, the embodiment of the present invention provide a kind of direct key generation device for PC5 interface point to point link, Include:

Memory, for storing computer program;

Processor is realized when for executing the computer program and is connect as described in above-mentioned first aspect is any for PC5 The step of direct key generation method of mouth point to point link.

6th aspect, the embodiment of the present invention provide a kind of computer readable storage medium, the computer-readable storage medium It is stored with computer program in matter, is realized as described in above-mentioned first aspect is any when the computer program is executed by processor The step of direct key generation method for PC5 interface point to point link.

The embodiment of the present invention provides a kind of direct key generation method for PC5 interface point to point link, is used for second Terminal, comprising: after second terminal and first terminal obtain long term keys and complete two-way authentication, judge whether there is with it is described The corresponding direct key of first terminal;If there is no direct key corresponding with the first terminal, then second is generated directly Key agreement parameter;The first terminal is sent by the described second direct key agreement parameter;So that the first terminal connects The first direct key agreement parameter is generated and sent after receiving the described second direct key agreement parameter;Receive the first direct key Negotiate parameter, and directly negotiate parameter using the described first direct key agreement parameter, described second, is obtained by preset algorithm Direct key, to generate direct session key for using, so that energy between two terminals according to the direct key Generate direct key enough for subsequent use.

A kind of direct key generation method and device for PC5 interface point to point link provided in an embodiment of the present invention, Beneficial effect having the same, this is no longer going to repeat them.

Detailed description of the invention

It, below will be to embodiment party in order to illustrate more clearly of embodiments of the present invention or technical solution in the prior art Formula or attached drawing needed to be used in the description of the prior art are briefly described.It should be evident that the accompanying drawings in the following description is only It is merely exemplary, it for those of ordinary skill in the art, without creative efforts, can also basis The attached drawing amplification of offer obtains other implementation attached drawings.

Structure depicted in this specification, ratio, size etc., only to cooperate the revealed content of specification, for Those skilled in the art understands and reads, and is not intended to limit the invention enforceable qualifications, therefore does not have technical Essential meaning, the modification of any structure, the change of proportionate relationship or the adjustment of size are not influencing the function of the invention that can be generated Under effect and the purpose that can reach, should all still it fall in the range of disclosed technology contents obtain and can cover.

Fig. 1 provides a kind of stream of direct key generation method for PC5 interface point to point link for the embodiment of the present invention Cheng Tu;

Fig. 2 provides a kind of having for direct key generation method for PC5 interface point to point link for the embodiment of the present invention The effect phase determines flow chart;

Fig. 3 provides a kind of ginseng of direct key generation method for PC5 interface point to point link for the embodiment of the present invention Number encryption flow figure;

Fig. 4 provides a kind of the straight of the direct key generation method for PC5 interface point to point link for the embodiment of the present invention Connect key process for using figure;

Fig. 5 is a kind of direct key generation method stream for PC5 interface point to point link provided in an embodiment of the present invention Cheng Tu;

Fig. 6 provides a kind of composition schematic diagram of second terminal for the embodiment of the present invention;

Fig. 7 provides a kind of composition schematic diagram of first terminal for the embodiment of the present invention;

Fig. 8 is a kind of for the direct of PC5 interface point to point link provided in a kind of specific embodiment of the present invention The structural schematic diagram of key generation device;

Fig. 9 is a kind of structural representation of computer readable storage medium provided in a kind of specific embodiment of the present invention Figure.

Specific embodiment

Embodiments of the present invention are illustrated by particular specific embodiment below, those skilled in the art can be by this explanation Content disclosed by book is understood other advantages and efficacy of the present invention easily, it is clear that described embodiment is the present invention one Section Example, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not doing Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.

Fig. 1, Fig. 2, Fig. 3, Fig. 4 are please referred to, Fig. 1 provides a kind of for PC5 interface point to point link for the embodiment of the present invention Direct key generation method flow chart;Fig. 2 provides a kind of for the straight of PC5 interface point to point link for the embodiment of the present invention The validity period for connecing key generation method determines flow chart;Fig. 3 provides a kind of logical for PC5 interface point-to-point for the embodiment of the present invention The parameter encryption flow figure of the direct key generation method of letter;Fig. 4 provides one kind for the embodiment of the present invention and arrives for PC5 point of interface The direct key process for using figure of the direct key generation method of point communication.

The embodiment of the present invention provides a kind of direct key generation method for PC5 interface point to point link, is used for second Terminal, comprising:

Step S11: it after second terminal and first terminal obtain long term keys and complete two-way authentication, judges whether there is Direct key corresponding with the first terminal;

The embodiment of the present invention be after first terminal, second terminal complete two-way authentication and obtain long term keys, But used when generating corresponding with the second terminal direct key of first terminal not yet, therefore, it is necessary in second terminal and the After one terminal obtains long term keys and completes two-way authentication, direct key corresponding with the first terminal is judged whether there is, Only in the case where itself does not have direct key, just start subsequent step.

Step S12: if there is no direct key corresponding with the first terminal, then the second direct key agreement is generated Parameter;

If it is judged that for there is no direct keys corresponding with first terminal, then illustrating to need to generate with first eventually It holds corresponding direct key that could continue subsequent and first terminal and carries out data communication.Need exist for explanation when, second terminal In there may be other direct keys because there are validity periods for a direct key, before the deadline, this is direct close The associated terminal of key all keeps the direct key, and the direct key is destroyed at the end of validity period.Therefore, if eventually second Before two-way authentication is completed with first terminal in end, second terminal and third terminal complete the generation of direct key, then the There is direct key corresponding with third terminal in two terminals, but second terminal needs and first terminal generation are directly close at this time Key, therefore, direct key are present in the corresponding relationship of terminal, as corresponding terminal is different, the specific data of direct key It is different.

Step S13: the first terminal is sent by the described second direct key agreement parameter;So as to the first terminal The first direct key agreement parameter is generated and sent after receiving the described second direct key agreement parameter;

After the second of generation the direct key agreement parameter is sent the first terminal by second terminal, first terminal is known Dawn will generate direct key with second terminal, and at this moment first terminal generates and sends the first direct key agreement parameter, thus Complete the exchange of direct key agreement parameter.It specifically, may include: Diffie- in the second direct key agreement parameter Hellman group number, Diffie-Hellman exchange data 2, random number 2, validity period 2;It, can in first direct key agreement parameter To include: Diffie-Hellman group number, Diffie-Hellman exchange data 1, random number 1, validity period 1 etc..That is, Direct key generation method provided in this embodiment uses DH algorithm (Diffie-Hellman), DH algorithm secret key switching technology Purpose be so that two user security exchange shared key (shared secret) for use in later message Encryption.

Step S14: the first direct key agreement parameter is received, and utilizes the described first direct key agreement parameter, described Second directly negotiates parameter, obtains direct key by preset algorithm, close to generate direct session according to the direct key Key is for using.

After second terminal receives the first direct key agreement parameter, second terminal can use itself second directly Direct key is calculated using preset algorithm in key agreement parameter and the first direct key agreement parameter received, and first is whole End has also obtained the first direct key agreement parameter and the second direct key agreement parameter, can also be calculated by preset algorithm To direct key, so that the direct key that first terminal, second terminal can use generation carries out subsequent communication process.

Further, in order to determine validity period of direct key, in the first direct key agreement parameter, comprising: first has The effect phase;The second direct key agreement parameter, comprising: the second validity period;This method may also comprise the following steps::

Step S21: judge the size of first validity period Yu second validity period;

Step S22: if first validity period is not more than second validity period, by the effective of the direct key Phase is set as first validity period;

Step S23: if first validity period is greater than second validity period, by the validity period of the direct key It is set as second validity period.

Specifically, first terminal and second terminal are joined according to the first direct key agreement parameter and the second direct key agreement Number determines that the validity period of direct key generally in order to avoid validity period is too long, causes security risk, can use two groups of associations Shorter validity period in quotient's parameter.For example, if the first validity period in the first direct key agreement parameter is 30 minutes, and the The second validity period in two direct key agreement parameters is 20 minutes, then the validity period of direct key, which is provided with 20 minutes, is Reasonably, first terminal and second terminal all approve in this period that direct key should be effective.And if the first validity period It is all 20 minutes with the second validity period, then the validity period of direct key is 20 minutes, reaches complete consistent.

It further, can be to the second direct key agreement when specifically carrying out the transmission of the second key agreement parameter Parameter is encrypted, and can specifically be followed the steps below:

Step S31: by the described second direct key agreement parameter by the long term keys carry out integrity protection and/or Encryption, obtains the second direct key negotiation information;

Step S32: the first terminal is sent by the described second direct key negotiation information, so as to the first terminal It is decrypted using the long term keys, obtains the described second direct key agreement parameter.

That is, can use the two-way authentication reached before first terminal and second terminal and long term keys to subsequent The generating process of direct key carry out integrity protection and/or encryption.Since first terminal and second terminal all exist for a long time Key, therefore, both sides normally can be encrypted and be decrypted, and do not have to concern of data leakage got by the third party cause it is hidden Private leakage.

Certainly, the acquisition of direct key is to directly be able to carry out subsequent data in first terminal and second terminal and hand over Stream, therefore after obtaining direct key by preset algorithm, it is general further comprising the steps of:

Step S41: according to the direct key, direct session key is generated;

Step S42: by 3GPP standardize defined in key product process generated according to the direct session key The encryption key of message and tegrity protection key, to realize the communication information between the first terminal and the second terminal Encryption and integrity protection.

Referring to FIG. 5, Fig. 5 is a kind of direct key for PC5 interface point to point link provided in an embodiment of the present invention Generation method flow chart.

As the another aspect that unilateral side is write, the present embodiment terminal illustrates the situation of first terminal.The embodiment of the present invention mentions For a kind of direct key generation method for PC5 interface point to point link, it to be used for first terminal, comprising:

Step S51: after first terminal and second terminal obtain long term keys and complete two-way authentication, second is received directly Key agreement parameter;

Step S52: the first direct key agreement parameter is generated, and sends the first direct key to the second terminal Negotiate parameter;

Step S53: directly negotiate parameter using the described first direct key agreement parameter, described second, by imputing in advance Method obtains direct key.

In embodiments of the present invention, originating end of the second terminal as direct key generation method, first terminal is as quilt Dynamic start end, receives the second direct key agreement parameter, after receiving the second direct key agreement parameter, first terminal knows It needs to generate direct key, at this moment will generate the first direct key agreement parameter, and the first direct key agreement parameter is sent out It is sent to second terminal, first terminal directly negotiates parameter using the first direct key agreement parameter, described second, by imputing in advance Method obtains direct key.

Further, the described first direct key agreement parameter, comprising: the first random number and the first Diffie-Hellman Parameter;First random number is the number that the first terminal is randomly generated;The second direct key agreement parameter, packet It includes: the second random number and the 2nd Diffie-Hellman parameter;The second random number second terminal is randomly generated Number;KD=high 256bit (SM4 (LTK, S1 | S2 | g^ir));Wherein, KD is direct key;S1 is the first random number;S2 is Second random number;G^ir is shared key caused by Diffie-Hellman is exchanged.It is of course also possible to use other default Algorithm carries out the generation of direct key, only gives one example here, does not do the restriction of specific preset algorithm.

Referring to FIG. 6, Fig. 6 provides a kind of composition schematic diagram of second terminal for the embodiment of the present invention.

The embodiment of the present invention provides a kind of second terminal 600, comprising:

Direct key judgment module 610, for when second terminal and first terminal acquirement long term keys and completing two-way to recognize After card, direct key corresponding with the first terminal is judged whether there is;

Second negotiates parameter generation module 620, is used for if there is no direct key corresponding with the first terminal, then Generate the second direct key agreement parameter;

Second negotiates parameter sending module 630, for sending described first for the described second direct key agreement parameter Terminal;The first direct key association is generated and sent after receiving the described second direct key agreement parameter so as to the first terminal Quotient's parameter;

Second direct key production module 640, for receiving the first direct key agreement parameter, and it is straight using described first The directly negotiation parameter of key agreement parameter, described second is connect, direct key is obtained by preset algorithm, so as to according to described direct Key generates direct session key for using.

Referring to FIG. 7, Fig. 7 provides a kind of composition schematic diagram of first terminal for the embodiment of the present invention.

The embodiment of the present invention provides a kind of first terminal 700, comprising:

First arranging key receiving module 710, for when first terminal obtains long term keys with second terminal and completes double To after certification, the second direct key agreement parameter is received;

First negotiates parameter generation module 720, for generating the first direct key agreement parameter, and to the second terminal Send the described first direct key agreement parameter;

First direct key production module 730, for utilizing the described first direct key agreement parameter, described second directly Negotiate parameter, direct key is obtained by preset algorithm.

Fig. 8, Fig. 9 are please referred to, Fig. 8 is that one kind provided in a kind of specific embodiment of the present invention is used for PC5 point of interface To a structural schematic diagram for the direct key generation device of communication;Fig. 9 is provided in a kind of specific embodiment of the present invention A kind of structural schematic diagram of computer readable storage medium.

The embodiment of the present invention provides the direct key generation device 800 for being used for PC5 interface point to point link, comprising:

Memory 810, for storing computer program;

Processor 820 is realized any for PC5 as described in above-mentioned first aspect when for executing the computer program The step of direct key generation method of interface point to point link.The computer program is stored in memory 810 and is used for journey In the space of sequence code storage, which has the side realized in any embodiment of the present invention when the execution of processor 820 Method.

The embodiment of the present invention also provides a kind of computer readable storage medium, stores on the computer readable storage medium There is computer program, is realized when the computer program is executed by processor any as described in above-mentioned any specific embodiment Kind is used for the step of direct key generation method of PC5 interface point to point link.

It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description, The specific work process of equipment and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.

In several embodiments provided herein, it should be understood that disclosed device, device and method can be with It realizes by another way.For example, apparatus embodiments described above are merely indicative, for example, the division of unit, Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be with In conjunction with or be desirably integrated into another device, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING of equipment or unit or Communication connection can be electrical property, mechanical or other forms.

Unit may or may not be physically separated as illustrated by the separation member, shown as a unit Component may or may not be physical unit, it can and it is in one place, or may be distributed over multiple networks On unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.

It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.

It, can if integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product To be stored in a computer readable storage medium.Based on this understanding, the technical solution of the application substantially or Say that all or part of the part that contributes to existing technology or the technical solution can embody in the form of software products Out, which is stored in a storage medium, including some instructions are used so that a computer equipment The whole of (can be personal computer, funcall equipment or the network equipment etc.) execution each embodiment method of the application Or part steps.Although above having used general explanation and specific embodiment, the present invention is described in detail, On the basis of the present invention, it can be made some modifications or improvements, this will be apparent to those skilled in the art.Cause This, these modifications or improvements, fall within the scope of the claimed invention without departing from theon the basis of the spirit of the present invention.

15页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:非最大纠缠两能级bell态的量子对话方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!