WO2024021954A1 - Identifier updating method and apparatus, and internet of vehicles device - Google Patents

Identifier updating method and apparatus, and internet of vehicles device Download PDF

Info

Publication number
WO2024021954A1
WO2024021954A1 PCT/CN2023/102376 CN2023102376W WO2024021954A1 WO 2024021954 A1 WO2024021954 A1 WO 2024021954A1 CN 2023102376 W CN2023102376 W CN 2023102376W WO 2024021954 A1 WO2024021954 A1 WO 2024021954A1
Authority
WO
WIPO (PCT)
Prior art keywords
update
time
duration
identification
reservation
Prior art date
Application number
PCT/CN2023/102376
Other languages
French (fr)
Chinese (zh)
Inventor
张学艳
Original Assignee
中信科智联科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中信科智联科技有限公司 filed Critical 中信科智联科技有限公司
Publication of WO2024021954A1 publication Critical patent/WO2024021954A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • H04W12/069Authentication using certificates or pre-shared keys
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities

Definitions

  • the present disclosure relates to the field of communication technology, and in particular, to an identification updating method, device and vehicle networking equipment.
  • BSM Basic Safety Message
  • the purpose of this disclosure is to provide an identification update method, device and Internet of Vehicles equipment, thereby solving the problem that interactive application scenarios cannot be executed normally due to privacy protection mechanisms in related technologies.
  • an identification update method which is applied to Internet of Vehicles equipment.
  • the method includes:
  • the service request message includes first information related to the reservation duration of the target service
  • the second update time of the temporary identification is determined according to the update cycle of the vehicle's temporary identification and the first update time of the temporary identification; wherein the first update time and the second update time are The time interval between ticks is the update period;
  • the update timing of the temporary identification is determined based on the reservation duration and the first duration.
  • determining the update timing of the temporary identification based on the reservation duration and the first duration includes:
  • the update timing is determined based on the reservation duration and the update period; and/or,
  • the update timing of the temporary identification is determined to be the second update time.
  • determining the update timing based on the reservation duration and the update period includes any of the following:
  • the reservation time is less than or equal to the update period, it is determined that the current update opportunity is before triggering the target service, and the time interval between the next adjacent update opportunity and the current update opportunity is the the update cycle;
  • the reservation time is longer than the update period, it is determined that the current update time is before triggering the target service, and the next adjacent update time is postponed to the third update time, and the third update time is the same as the third update time.
  • the time interval between the current update opportunities is greater than or equal to the reserved duration
  • the reservation time is longer than the update period, it is determined that the current update opportunity is before triggering the target service, and the time interval between the next adjacent update opportunity and the current update opportunity is the Update cycle, wherein at least one message of the target service carries an alternative temporary identifier, and the at least one message is a message sent and/or received before the next adjacent update opportunity.
  • the method further includes:
  • next adjacent update opportunity is located in the execution process of the target service, and the message of the target service does not carry the alternative temporary identifier, when the adjacent next update time is reached, Before the opportunity, postpone the next adjacent update opportunity backward.
  • the method also includes:
  • any of the following methods shall be used to publish the postponement duration of the adjacent next update opportunity:
  • the second flag bit is controlled to be set until the delayed time corresponding to the next adjacent update opportunity.
  • the method also includes:
  • the temporary identification is forcibly updated.
  • the first information includes at least one of the reservation duration and/or the service information of the target service.
  • the method also includes:
  • the reservation duration is determined based on historical data related to the business information.
  • the service information includes service type and/or interactive object category.
  • the method also includes:
  • the reserved duration is determined based on each of the maximum durations.
  • the method further includes:
  • the reserved duration is adjusted according to the category of the interactive object.
  • an identification updating device which is applied to Internet of Vehicles equipment.
  • the device includes:
  • An acquisition module configured to acquire a service request message, where the service request message includes first information related to the reservation duration of the target service
  • the first determination module is configured to determine the second update time of the temporary identification according to the update cycle of the temporary identification of the vehicle and the first update time of the temporary identification; wherein the first update time and the second update time are: The time interval between update moments is the update cycle;
  • a second determination module configured to determine the first duration between the current moment and the second update moment; wherein the current moment is located between the first update moment and the second update moment;
  • the third determination module is configured to determine the update timing of the temporary identification based on the reservation duration and the first duration.
  • embodiments of the present disclosure provide an Internet of Vehicles device, including a transceiver, a memory, a processor, and a computer program stored on the memory and running on the processor.
  • the processor executes the computer program, the identification updating method as described in the first aspect is implemented.
  • embodiments of the present disclosure provide a readable storage medium on which a program or instructions are stored.
  • the program or instructions are executed by a processor, the identification update as described in the first aspect is implemented. method.
  • the Internet of Vehicles device obtains a service request message, which includes first information related to the reserved duration of the target service; secondly, according to the update cycle of the temporary identification of the vehicle, the The first update time of the temporary identification is determined, and the second update time of the temporary identification is determined; wherein the time interval between the first update time and the second update time is the update period; again, determine the current The first time length between the time and the second update time; wherein the current time is located between the first update time and the second update time; finally, according to the reservation time and the second update time, for a period of time to determine the update timing of the temporary identification.
  • the update timing of the temporary identification can be prevented from being in the process of business execution. In this way, the situation of changing the vehicle identity during the execution of the business can be avoided, thereby solving the problem that the business cannot continue due to the update of the temporary identification.
  • Figure 1 is a schematic diagram of a collaborative lane change scenario
  • Figure 2 is a schematic diagram of the collaborative lane change interaction process
  • FIG. 3 is a schematic flowchart of an identification update method according to an embodiment of the present disclosure
  • Figure 4 is a schematic diagram of an embodiment of the present disclosure applied to a collaborative lane changing scenario
  • Figure 5 is a schematic structural diagram of a logo updating device according to an embodiment of the present disclosure.
  • Figure 6 is a schematic structural diagram of an Internet of Vehicles device according to an embodiment of the present disclosure.
  • B corresponding to A means that B is associated with A, and B can be determined based on A.
  • determining B based on A does not mean determining B only based on A.
  • B can also be determined based on A and/or other information.
  • the application scenarios of Internet of Vehicles devices include first-stage and second-stage application scenarios (as shown in Table 1 below).
  • the first-stage application scenarios are mostly broadcast methods, where vehicles or roadside equipment (Road Side Unit, RSU) continuously broadcast themselves status information, other vehicles formulate relevant safety and efficiency strategies based on the received status information.
  • RSU roadside equipment
  • the application scenarios in the second stage are mostly collaborative scenarios. Multiple interactions are required between vehicles or RSUs to complete a collaboration.
  • vehicle EV-1 needs to change lanes while driving.
  • Vehicle EV-1 sends its driving intention and lane change request to EV-2 in the adjacent lane.
  • vehicle EV-2 makes a decision based on its own situation to determine whether to give way, and feeds the relevant decision back to EV-1.
  • the messages used are Basic Safety Message (BSM) and Vehicle Intention and Request (VIR) messages.
  • BSM message is the vehicle’s real-time Dynamic driving information
  • VIR message for the car The vehicle's driving intention and request information are related through the BSM temporary identification (ID), that is, the source ID in the VIR message of EV-1 is the temporary ID of the BSM, and the destination ID is the temporary ID of the BSM of EV-2. .
  • ID BSM temporary identification
  • the pseudonym certificate used to represent the vehicle identity needs to be replaced from time to time.
  • the continuous use of the same pseudonym certificate should not exceed vCertChangeInterval (300s), except for any of the following circumstances:
  • the current location of the system is less than vCertChangeDistance (2km) from the last pseudonym certificate change. At this time, the system should continue to use the existing pseudonym certificate;
  • At least one of the key event flags DE_VehicleEventFlags is set. At this time, the system should continue to use the existing pseudonymous certificate until all the above key event flags are reset.
  • the BSM temporary ID also needs to be replaced.
  • an embodiment of the present disclosure provides an identification update method, which is applied to Internet of Vehicles equipment.
  • the method includes:
  • Step 301 Obtain a service request message, where the service request message includes first information related to the reservation duration of the target service;
  • this step can specifically obtain the service request message generated by the Internet of Vehicles device through internal implementation; when the Internet of Vehicles device is the recipient vehicle, this step The specific steps may be obtained by receiving a service request message sent by the sender's vehicle;
  • Step 302 Determine the second update time of the temporary identification according to the update cycle of the vehicle's temporary identification and the first update time of the temporary identification; wherein, between the first update time and the second update time The time interval is the update cycle;
  • this step can be based on the preset update cycle, the last updated moment before the current moment (the first The update time, that is, the time when it is updated to the currently used temporary identification), determines the time of the first update after the current time (the second update time, the time when the currently used temporary identification is updated);
  • Step 303 Determine the first duration between the current time and the second update time; wherein the current time is located between the first update time and the second update time;
  • the first duration is the remaining update duration in the current update cycle
  • Step 304 Determine the update timing of the temporary identification based on the reservation duration and the first duration.
  • the Internet of Vehicles device obtains a service request message, which includes first information related to the reserved duration of the target service; secondly, according to the update cycle of the temporary identification of the vehicle, the The first update time of the temporary identification is determined, and the second update time of the temporary identification is determined; wherein the time interval between the first update time and the second update time is the update period; again, determine the current The first duration between time and the second update time; determine the remaining update duration of the current update cycle, wherein the current time is between the first update time and the second update time; finally , determine the update timing of the temporary identification according to the reservation duration and the first duration.
  • the update timing can be set outside the target business execution process, that is, the update timing of the temporary identification is not in the process of business execution. In this way, the situation of changing the vehicle identity during the business execution process can be avoided to solve the problem of updating the temporary identification. causing the business to be unable to continue.
  • step 304 determines the update timing of the temporary identification based on the reservation duration and the first duration, including:
  • the update timing is determined based on the reservation duration and the update period; and/or,
  • the update timing of the temporary identification is determined to be the second update time.
  • the update timing can be determined based on the comparison result between the reservation duration and the first duration. For example, when the reservation duration is less than or equal to the first duration, it indicates that during the execution of the target service, the temporary The identification will not be updated. At this time, the temporary identification can be updated according to the preset update cycle, that is, the first update time after the current time is determined as the second update time; for another example, the reservation time is longer than the The first duration indicates that if the update cycle in the relevant technology is If the temporary identity is updated, the temporary identity will be updated during the execution of the target business. Therefore, you can avoid updating the temporary identity during the execution of the target business by postponing the update timing to ensure the smoothness of the target business. implement.
  • Example 1 an implementation example of this optional implementation method is as shown in Example 1 and Example 2 below.
  • the update timing is determined based on the reservation duration and the update period, including any of the following:
  • the target service is started.
  • the temporary identity is updated before the business, that is, the interaction of the target business starts immediately after the temporary identity is updated. In this way, the interaction of the target business can be completed before the next update of the temporary identity, avoiding the need for interruption during the execution of the target business.
  • the situation where updating the temporary identity causes the peer to be unable to identify the identity, causing the target business to be unable to proceed.
  • the temporary identity can be updated once before the start of the target service, and then the next update time can be postponed, that is, the update of the temporary identity performed before the start of the target service is increased compared with the adjacent next temporary identity.
  • the update time interval is such that the time interval is greater than or equal to the preset duration. This ensures that the temporary identity will not be updated during the execution of the target business, and avoids the target business not being able to proceed normally due to the update of the temporary identity. .
  • Example 3 a specific example in this step is shown in Example 3 below.
  • Example 4 a specific example in this step is shown in Example 4 below.
  • the temporary identity can be updated once before the start of the target service, and then, during the execution of the target service, the currently used temporary identity and the alternative temporary identity can be carried in at least one interaction message before reaching the next update.
  • the alternative temporary identity is the temporary identity after the temporary identity is updated again.
  • the opposite end can clearly understand the correspondence between the current temporary identity of the local end and the updated temporary identity.
  • the temporary identity can be updated again.
  • the identity of the local end can also be determined based on the updated temporary identity, so that the target service can continue to be executed.
  • the temporary identification can be updated according to the configured update period (that is, the update period and update time are not changed), and when the target business is executed During the process, before reaching the update time, an alternative temporary identifier is carried in at least one message.
  • step 104 determines the update of the temporary identification, after that, the method further includes:
  • next adjacent update opportunity is located in the execution process of the target service, and the message of the target service does not carry the alternative temporary identifier, when the adjacent next update time is reached, Before the opportunity, postpone the next adjacent update opportunity backward.
  • the temporary identification needs to be updated during the actual execution of the target business, And when any message in the target service does not carry the alternative temporary identifier, if the temporary identifier is updated directly during the execution of the target service, there will be a peer (to conduct business with the Internet of Vehicles device that executes the method of the embodiment of the present disclosure). Another device that interacts) cannot identify the identity of the local end (the Internet of Vehicles device that executes the method implemented by the present disclosure). Therefore, before the update time of the temporary identification arrives, the update time can be postponed again to postpone the update time to the target After the business is completed, in this way, it is possible to avoid updating the temporary identifier during the execution of the target business, ensuring that the target business can proceed normally.
  • step 104 after determining the update timing of the temporary identification, the method further includes:
  • any of the following methods shall be used to publish the postponement duration of the adjacent next update opportunity:
  • the second flag bit is controlled to be set until the postponed time corresponding to the next adjacent update opportunity, where the second flag bit may be a newly added field.
  • the length of time to postpone the next update opportunity of the adjacent adjacent ones can be informed by issuing identification update instruction information, and the adjacent adjacent ones can also be determined by keeping the first flag bit in the set state.
  • the length of time between moments it is also possible to set the second flag bit and maintain the set state until the moment corresponding to the postponed next adjacent update opportunity, that is: after determining the adjacent next update opportunity
  • the second flag bit is set and remains set until the time corresponding to the postponed next adjacent update opportunity is reached.
  • the second flag bit is controlled to be reset. That is to say, when When the second flag bit is reset, the update process of the temporary identifier can be triggered. In this way, the duration of the first flag bit being set based on the identifier update indication information and the adjacent next update opportunity corresponding to the preset update period can be determined. time, determine the time corresponding to the postponed update opportunity, or determine the delayed update opportunity by resetting the second flag bit, so that when the time corresponding to the postponed update opportunity is reached, the update process of the temporary identifier is executed.
  • the method also includes:
  • the temporary identification is forcibly updated.
  • the temporary identification can be forcibly updated, that is, regardless of what kind of business is currently in progress. For all interactions, the interactive business should be cancelled, and the temporary identification and pseudonym certificate should be forced to be updated. In this way, it can be avoided that someone maliciously continuously initiates business interactions, resulting in a longer reservation time, and the update time of the temporary identification (and pseudonym certificate) will be shortened. Infinitely delayed.
  • Example 5 a specific example of this optional implementation is as shown in Example 5 below.
  • the first information includes at least one of the reservation duration and/or the service information of the target service.
  • the service request message can explicitly indicate the reservation duration of the target service, that is, the service request message directly carries the estimated execution duration (reservation duration) of the target service; and/or the service request message can implicitly indicate Indicates the reservation duration of the target service, that is, the service request message carries the service information of the target service, so that the reservation duration of the target service is estimated based on the service information.
  • the method further includes:
  • the reservation duration is determined based on historical data related to the business information.
  • this optional implementation method can determine the reserved duration of the target service based on the estimated duration or actual duration previously determined for the same type of target business or the same business information, that is, based on experience values.
  • the business information includes business types and/or interactive object categories.
  • the method also includes:
  • the reserved duration is determined based on each of the maximum durations.
  • This optional implementation method can specifically determine the interaction steps required by the target business based on the service type, and the interaction timeout of each step (the preset maximum time required for each step).
  • the method further includes:
  • the reserved duration is adjusted according to the category of the interactive object.
  • this optional implementation method can determine the execution speed of the interactive object based on the type of the interactive object, and adjust the reservation time of the target service based on the execution speed of the interactive object, so that the reservation time is closer to the actual execution time of the target service. For example, if the interaction object is an RSU, the reservation time can be appropriately shortened so that the reservation time is less than or equal to the preset time. If the interaction object is a vehicle, the reservation time can be appropriately extended so that the reservation time is greater than or equal to the preset time. equal to the preset duration.
  • the information is sent to the identification update module (it may not have an entity, it is just a process).
  • the reservation time is provided to the identification update module, or the business information of the reservation time can be derived. ;
  • the identity update module compares the reservation time and the time until the next update of the pseudonym certificate and temporary identity, and decides whether to update the pseudonym certificate and temporary identity.
  • the identity update module decides that the pseudonym certificate and temporary identity update process should be carried out first, it can directly trigger the pseudonym certificate and temporary identity update process.
  • the triggering method can be to directly send an update instruction, or it can be the first The way to reset the second flag bit.
  • the identity update module decides not to perform the pseudonym certificate and temporary identity update process or needs to postpone the update, it may not trigger the pseudonym certificate and temporary identity update process, and control the first mark position by issuing identity update instruction information. bit, etc., announce the length of the postponed time, or by setting the second flag bit to the time corresponding to the delayed update opportunity, announce the time corresponding to the delayed update opportunity, so that when the delayed update opportunity is reached The corresponding moment triggers the update process of the pseudonym certificate and temporary identification.
  • the vehicle When the vehicle receives an interactive service request, it also sends the reservation time or the business information from which the reservation time can be derived to the identification update module.
  • the identification update module compares the reservation time with the time until the next identification update, and The process of deciding whether to update the identity.
  • the identification update module decides that the identification update process should be carried out first, it can directly trigger the identification update process.
  • the identity update process can also be triggered by resetting the second flag bit to trigger the pseudonym certificate and temporary identity update process. Wait for the requester to send the interactive service request again before responding.
  • the identification update module decides not to proceed or postpone the update process, it may not trigger the pseudonym certificate and temporary identification update process, and announce the postponement by issuing identification update instruction information, controlling the setting of the first flag bit, etc.
  • the length of time, or by setting the second flag bit to the time corresponding to the postponed update opportunity the time corresponding to the postponed update opportunity is announced, thereby triggering when the time corresponding to the postponed update opportunity is reached. Renewal process for pseudonymous certificates and temporary identities.
  • Example 1 Collaborative lane change scenario, timeout
  • the requester's vehicle HV needs to change lanes and hopes to complete the collaboration process with the collaborators' vehicles RV1 and RV2.
  • the interaction process between the vehicle HV and RV1 and RV2 is shown in Figure 4, in which the dotted line represents the latest response time; the solid line represents the actual response time.
  • the application layer after the application layer initiates a collaborative lane change request, it should first trigger the identification management module to make a decision. If the first duration (T ID ) ⁇ the reserved duration (T 0HV ), the identification should be updated first. If If T ID ⁇ T 0HV , the identity update does not need to be performed.
  • the identification management module For vehicles RV1 and RV2, after receiving the request from vehicle HV, the identification management module should be triggered first to make a decision. If T ID ⁇ T 0RV , the identification should be updated first. If T ID ⁇ T 0RV , the identification update does not need to be performed. .
  • Example 2 During the execution of the current request, collaboration requests from other vehicles are received
  • the vehicle HV triggers a cooperative lane change request and is performing the interaction process in Embodiment 1 with RV1 and RV2. If at this time, a collaborative merge request sent by the vehicle HV1 is received, the vehicle HV is required to assist it in completing the vehicle merge.
  • the vehicle HV first makes a decision whether to respond immediately to the incoming request of HV1. If the decision is to respond immediately, it stops the current lane change request, then triggers the identification management module, compares the remaining identification update time and the maximum timeout time of the collaboration process, and then Decide if the logo needs to be updated. After completing the collaborative import interaction process with HV1, if you still need to execute the previous lane change request, follow the process in Example 1 again.
  • Example 3 Collaborative lane change scenario, estimated time, postponed update
  • T intv1 and T intv2 are known based on standards or the vehicle itself, and can basically be regarded as stable values. But T intv3 needs to be judged based on the environment around the vehicle, which is a changing value.
  • T intv3 may be a smaller value, and if there are more vehicles around, T intv3 may be larger.
  • T intv3 is an estimated time
  • the actual time spent may be significantly different from this value. For example:
  • T ID T 0HV according to the estimated time, but the vehicle cannot change lanes according to the estimated time during the lane change process, resulting in the actual consumption of T 0HV' exceeding T ID , the pseudonym certificate and vehicle identification will be postponed until the update time. Update after completing the entire process.
  • Example 4 Collaborative lane change, estimated time, carrying alternative ID
  • the prerequisite is the same as Example 3, but when the actual consumption of T 0HV' exceeds T ID , the pseudonym certificate and vehicle identification are updated according to the established plan, but the N messages before the update carry both the vehicle identification ID1 and the vehicle identification in use. Information about the latest vehicle identification ID2 planned to be used, and/or the time when vehicle identification ID2 takes effect. After the collaborator vehicles RV1 and RV2 receive the message, they can still identify them as the requester after the vehicle HV identification is changed from ID1 to ID2.
  • the prerequisite is the same as Example 3.
  • the vehicle HV After the vehicle HV sends the business flow 3, due to the current environment, the vehicle cannot complete the lane change for a long time and cannot enter the sending of the business flow 5, and the time T w of the vehicle not updating the identification has exceeded the predetermined limit. value, the vehicle HV should stop the interaction, send a cancellation request, and then trigger the update of the pseudonym certificate and vehicle identification, and then decide whether and when to trigger the previous lane change request as needed.
  • an embodiment of the present disclosure also provides an identification update device, which is applied to Internet of Vehicles equipment.
  • the device includes:
  • Obtaining module 501 is used to obtain a service request message, where the service request message includes first information related to the reservation duration of the target service;
  • the first determination module 502 is configured to determine the second update time of the temporary identification according to the update cycle of the temporary identification of the vehicle and the first update time of the temporary identification; wherein the first update time and the third update time are: The time interval between two update moments is the update period;
  • the second determination module 503 is used to determine the first duration between the current time and the second update time; wherein the current time is located between the first update time and the second update time;
  • the third determination module 504 is configured to determine the update timing of the temporary identification according to the reservation duration and the first duration.
  • the third determining module 504 includes:
  • a first determination sub-module configured to determine the update opportunity based on the reservation time and the update period when the reservation time is greater than the first time length;
  • the second determination sub-module is configured to determine that the update timing of the temporary identification is the second update time when the reservation duration is less than or equal to the first duration.
  • the first determination sub-module is specifically configured to perform any of the following:
  • the reservation time is less than or equal to the update period, it is determined that the current update opportunity is before triggering the target service, and the time interval between the adjacent next update opportunity and the current update opportunity is the the update cycle;
  • the reservation time is longer than the update period, it is determined that the current update time is before triggering the target service, and the next adjacent update time is postponed to the third update time, and the third update time is the same as the third update time.
  • the time interval between the current update opportunities is greater than or equal to the reserved duration
  • the time interval between the next adjacent update opportunity and the current update opportunity is the update period, wherein at least one message of the target service carries an alternative temporary identifier, and the At least one message is a message sent and/or received before the adjacent next update opportunity.
  • the device also includes:
  • a postponement module configured to, when the next adjacent update opportunity is in the execution process of the target service, and the message of the target service does not carry the alternative temporary identifier, upon arrival at the relevant Before the next update opportunity of the neighbor, the next update opportunity of the neighbor is postponed backward.
  • the device also includes:
  • the publishing module is used to publish the postponement duration of the adjacent next update opportunity in any of the following ways when it is determined that the adjacent next update opportunity needs to be postponed:
  • the second flag bit is controlled to be set until the delayed time corresponding to the next adjacent update opportunity.
  • the device also includes:
  • a forced update module configured to forcibly update the temporary identifier when it is determined that the time interval between two adjacent update opportunities of the temporary identifier is greater than a first threshold.
  • the first information includes at least one of the reservation duration and/or the service information of the target service.
  • the device also includes:
  • the fourth determination module is used to determine the reservation duration based on historical data related to the business information.
  • the service information includes service type and/or interactive object category.
  • the device also includes:
  • a fifth determination module configured to determine the maximum duration of each interaction step in the target service according to the service type
  • a sixth determination module is used to determine the reserved duration according to each of the maximum durations.
  • the device also includes:
  • An adjustment module configured to adjust the reserved duration according to the category of the interactive object.
  • an embodiment of the present disclosure also provides an Internet of Vehicles device, including a transceiver 610, a memory 620, a processor 600, and a computer program stored on the memory 620 and running on the processor 600.
  • the processor 600 executes the computer program, it implements each process of the identity update method embodiment as described above, and can achieve the same technical effect. In order to avoid duplication, the details will not be described again here.
  • the transceiver 610 is used to receive and send data under the control of the processor 600.
  • the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 600 and various circuits of the memory represented by memory 620 are linked together.
  • the bus architecture can also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are all well known in the art and therefore will not be described further herein.
  • the bus interface provides the interface.
  • Transceiver 610 may be a plurality of elements, including a transmitter and a receiver, providing a unit for communicating with various other devices over a transmission medium.
  • the user interface 1030 can also be an interface that can connect external and internal required equipment.
  • the connected equipment includes but is not limited to a keypad, a display, a speaker, a microphone, a joystick, etc.
  • the processor 600 is responsible for managing the bus architecture and general processing, and the memory 620 can store data used by the processor 600 when performing operations.
  • the computer program includes instructions for executing part or all of the steps of the above method. ; And the computer program can be stored in a readable storage medium, and the storage medium can be any form of storage medium.
  • embodiments of the present disclosure also provide a computer-readable storage medium.
  • a program is stored on the readable storage medium.
  • the various processes of the identification update method embodiment are implemented as described above, and the same can be achieved. The technical effects will not be repeated here to avoid repetition.
  • the computer-readable storage medium such as read-only memory (ROM), Random Access Memory (RAM), magnetic disk or optical disk, etc.
  • each component or each step can be decomposed and/or recombined. These decompositions and/or recombinations should be considered equivalent versions of the present disclosure.
  • the steps for executing the above series of processes may naturally be executed in the order described or in chronological order, but they do not necessarily need to be executed in chronological order, and some steps may be executed in parallel or independently of each other.
  • all or any steps or components of the methods and devices of the present disclosure can be implemented in any computing device (including processor, storage medium, etc.) or a network of computing devices in the form of hardware or firmware. , software or their combination, which can be achieved by those of ordinary skill in the art using their basic programming skills after reading the description of the present disclosure.
  • the objects of the present disclosure can also be achieved by running a program or a set of programs on any computing device.
  • the computing device may be a well-known general-purpose device. Therefore, the object of the present disclosure can also be achieved only by providing a program product containing a program code for implementing the method or apparatus. That is, such a program product also constitutes the present disclosure, and a storage medium storing such a program product can also constitute the present disclosure.
  • the storage medium may be any known storage medium or any storage medium developed in the future.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • Traffic Control Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present application relates to the technical field of Internet of vehicles, and discloses an identifier updating method and apparatus, and an Internet of vehicles device. The method is applied in an Internet of vehicles device, and comprises: obtaining a service request message, wherein the service request message comprises first information related to a reservation duration of a target service; according to an update period of a temporary identifier of a vehicle and a first update time point of the temporary identifier, determining a second update time point of the temporary identifier, wherein the time interval between the first update time point and the second update time point is the update period; determining a first duration between the current time point and the second update time point, wherein the current time point is between the first update time point and the second update time point; and determining an update timing of the temporary identifier according to the reservation duration and the first duration.

Description

一种标识更新方法、装置及车联网设备A logo updating method, device and Internet of Vehicles equipment
相关申请的交叉引用Cross-references to related applications
本公开主张在2022年7月29日在中国提交的中国专利申请号No.202210912393.8的优先权,其全部内容通过引用包含于此。This disclosure claims priority to Chinese Patent Application No. 202210912393.8 filed in China on July 29, 2022, the entire content of which is incorporated herein by reference.
技术领域Technical field
本公开涉及通信技术领域,尤其是涉及一种标识更新方法、装置及车联网设备。The present disclosure relates to the field of communication technology, and in particular, to an identification updating method, device and vehicle networking equipment.
背景技术Background technique
在车联网系统中,车辆在开启车对一切(Vehicle to Everything,V2X)功能后,即周期性发送基础安全消息(Basic Safety Message,BSM)消息,为了保护用户隐私,防止被追踪,设计了隐私保护机制:(1)使用随机生成的标识代表不同的车辆,该标识与车辆的真实身份信息无关。(2)随机生成的标识需要随着匿名证书变化而随机变化。通过该机制,可以实现对车辆身份的隐私保护。然而,在发送方与接收方需要进行多次交互的过程中,若标识也需要更新,则会导致交互双方无法确定对方的身份是否发生变化,交互可能会无法继续的问题。In the Internet of Vehicles system, after turning on the Vehicle to Everything (V2X) function, the vehicle periodically sends Basic Safety Message (BSM) messages. In order to protect user privacy and prevent being tracked, privacy is designed. Protection mechanism: (1) Use randomly generated identifiers to represent different vehicles, which have nothing to do with the vehicle’s true identity information. (2) The randomly generated identifier needs to change randomly as the anonymous certificate changes. Through this mechanism, the privacy protection of vehicle identity can be achieved. However, during the process of multiple interactions between the sender and the receiver, if the identity also needs to be updated, it will cause the interacting parties to be unable to determine whether the identity of the other party has changed, and the interaction may not be able to continue.
发明内容Contents of the invention
本公开的目的在于提供一种标识更新方法、装置及车联网设备,从而解决相关技术中的隐私保护机制导致交互类应用场景无法正常执行问题。The purpose of this disclosure is to provide an identification update method, device and Internet of Vehicles equipment, thereby solving the problem that interactive application scenarios cannot be executed normally due to privacy protection mechanisms in related technologies.
第一方面,为了达到上述目的,本公开实施例提供了一种标识更新方法,应用于车联网设备,所述方法包括:In the first aspect, in order to achieve the above objectives, embodiments of the present disclosure provide an identification update method, which is applied to Internet of Vehicles equipment. The method includes:
获取业务请求消息,所述业务请求消息包括与目标业务的预留时长相关的第一信息;Obtain a service request message, where the service request message includes first information related to the reservation duration of the target service;
根据车辆的临时标识的更新周期、所述临时标识的第一更新时刻,确定所述临时标识的第二更新时刻;其中,所述第一更新时刻和所述第二更新时 刻之间的时间间隔为所述更新周期;The second update time of the temporary identification is determined according to the update cycle of the vehicle's temporary identification and the first update time of the temporary identification; wherein the first update time and the second update time are The time interval between ticks is the update period;
确定当前时刻与所述第二更新时刻之间的第一时长;其中,所述当前时刻位于所述第一更新时刻和所述第二更新时刻之间;Determine a first duration between the current moment and the second update moment; wherein the current moment is located between the first update moment and the second update moment;
根据所述预留时长和所述第一时长,确定所述临时标识的更新时机。The update timing of the temporary identification is determined based on the reservation duration and the first duration.
可选地,所述根据所述预留时长和所述第一时长,确定所述临时标识的更新时机,包括:Optionally, determining the update timing of the temporary identification based on the reservation duration and the first duration includes:
在所述预留时长大于所述第一时长的情况下,根据所述预留时长和所述更新周期,确定所述更新时机;和/或,In the case where the reservation duration is greater than the first duration, the update timing is determined based on the reservation duration and the update period; and/or,
在所述预留时长小于或等于所述第一时长的情况下,确定所述临时标识的更新时机为所述第二更新时刻。If the reservation duration is less than or equal to the first duration, the update timing of the temporary identification is determined to be the second update time.
可选地,所述在所述预留时长大于所述第一时长的情况下,根据所述预留时长和所述更新周期,确定所述更新时机,包括以下任一项:Optionally, in the case where the reservation duration is greater than the first duration, determining the update timing based on the reservation duration and the update period includes any of the following:
在所述预留时长小于或等于所述更新周期的情况下,确定本次更新时机为触发所述目标业务之前,且相邻的下一次更新时机与所述本次更新时机的时间间隔为所述更新周期;When the reservation time is less than or equal to the update period, it is determined that the current update opportunity is before triggering the target service, and the time interval between the next adjacent update opportunity and the current update opportunity is the the update cycle;
在所述预留时长大于所述更新周期的情况下,确定本次更新时机为触发所述目标业务之前,且相邻的下一次更新时机推迟至第三更新时刻,所述第三更新时刻与所述本次更新时机之间的时间间隔大于或等于所述预留时长;In the case where the reservation time is longer than the update period, it is determined that the current update time is before triggering the target service, and the next adjacent update time is postponed to the third update time, and the third update time is the same as the third update time. The time interval between the current update opportunities is greater than or equal to the reserved duration;
在所述预留时长大于所述更新周期的情况下,确定本次更新时机为触发所述目标业务之前,相邻的下一次更新时机与所述本次更新时机之间的时间间隔为所述更新周期,其中,所述目标业务的至少一个消息中携带备选临时标识,所述至少一个消息为在所述相邻的下一次更新时机之前发送和/或接收到的消息。In the case where the reservation time is longer than the update period, it is determined that the current update opportunity is before triggering the target service, and the time interval between the next adjacent update opportunity and the current update opportunity is the Update cycle, wherein at least one message of the target service carries an alternative temporary identifier, and the at least one message is a message sent and/or received before the next adjacent update opportunity.
可选地,所述确定所述临时标识的更新时机的步骤之后,所述方法还包括:Optionally, after the step of determining the update timing of the temporary identification, the method further includes:
在所述相邻的下一次更新时机位于所述目标业务的执行过程中,且所述目标业务的消息中不携带所述备选临时标识的情况下,在到达所述相邻的下一次更新时机之前,向后推迟所述相邻的下一次更新时机。When the next adjacent update opportunity is located in the execution process of the target service, and the message of the target service does not carry the alternative temporary identifier, when the adjacent next update time is reached, Before the opportunity, postpone the next adjacent update opportunity backward.
可选地,所述方法还包括: Optionally, the method also includes:
在确定需要推迟相邻的下一次更新时机的情况下,采用以下任一种方式发布所述相邻的下一次更新时机推迟的时长:When it is determined that the next adjacent update opportunity needs to be postponed, any of the following methods shall be used to publish the postponement duration of the adjacent next update opportunity:
下发标识更新指示信息,所述标识更新指示信息携带所述推迟的时长;Send identification update instruction information, where the identification update instruction information carries the postponement duration;
控制第一标志位置位,且置位的时间长度为所述推迟的时长;Control the first flag bit to be set, and the length of time it is set is the length of the delay;
控制第二标志位置位,直到推迟后的所述相邻的下一次更新时机所对应的时刻。The second flag bit is controlled to be set until the delayed time corresponding to the next adjacent update opportunity.
可选地,所述方法还包括:Optionally, the method also includes:
在确定所述临时标识的相邻的两次更新时机之间的时间间隔大于第一阈值的情况下,强制更新所述临时标识。When it is determined that the time interval between two adjacent update opportunities of the temporary identification is greater than the first threshold, the temporary identification is forcibly updated.
可选地,所述第一信息包括所述预留时长和/或所述目标业务的业务信息中的至少一项。Optionally, the first information includes at least one of the reservation duration and/or the service information of the target service.
可选地,所述方法还包括:Optionally, the method also includes:
根据与所述业务信息相关的历史数据,确定所述预留时长。The reservation duration is determined based on historical data related to the business information.
可选地,所述业务信息包括业务类型和/或交互对象类别。Optionally, the service information includes service type and/or interactive object category.
可选地,所述方法还包括:Optionally, the method also includes:
根据所述业务类型,确定所述目标业务中的各个交互步骤的最大时长;Determine the maximum duration of each interaction step in the target service according to the service type;
根据各个所述最大时长,确定所述预留时长。The reserved duration is determined based on each of the maximum durations.
可选地,所述根据各个所述最大时长,确定所述预留时长的步骤之后,所述方法还包括:Optionally, after the step of determining the reservation duration based on each of the maximum durations, the method further includes:
根据所述交互对象的类别,调整所述预留时长。The reserved duration is adjusted according to the category of the interactive object.
第二方面,为了达到上述目的,本公开实施例提供了一种标识更新装置,应用于车联网设备,所述装置包括:In the second aspect, in order to achieve the above object, embodiments of the present disclosure provide an identification updating device, which is applied to Internet of Vehicles equipment. The device includes:
获取模块,用于获取业务请求消息,所述业务请求消息包括与目标业务的预留时长相关的第一信息;An acquisition module, configured to acquire a service request message, where the service request message includes first information related to the reservation duration of the target service;
第一确定模块,用于根据车辆的临时标识的更新周期、所述临时标识的第一更新时刻,确定所述临时标识的第二更新时刻;其中,所述第一更新时刻和所述第二更新时刻之间的时间间隔为所述更新周期;The first determination module is configured to determine the second update time of the temporary identification according to the update cycle of the temporary identification of the vehicle and the first update time of the temporary identification; wherein the first update time and the second update time are: The time interval between update moments is the update cycle;
第二确定模块,用于确定当前时刻与所述第二更新时刻之间的第一时长;其中,所述当前时刻位于所述第一更新时刻和所述第二更新时刻之间; A second determination module, configured to determine the first duration between the current moment and the second update moment; wherein the current moment is located between the first update moment and the second update moment;
第三确定模块,用于根据所述预留时长和所述第一时长,确定所述临时标识的更新时机。The third determination module is configured to determine the update timing of the temporary identification based on the reservation duration and the first duration.
第三方面,为了达到上述目的,本公开实施例提供了一种车联网设备,包括收发机、存储器、处理器及存储在所述存储器上并在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如第一方面所述的标识更新方法。In a third aspect, in order to achieve the above objectives, embodiments of the present disclosure provide an Internet of Vehicles device, including a transceiver, a memory, a processor, and a computer program stored on the memory and running on the processor. When the processor executes the computer program, the identification updating method as described in the first aspect is implemented.
第四方面,为了达到上述目的,本公开实施例提供了一种可读存储介质,其上存储有程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的标识更新方法。In the fourth aspect, in order to achieve the above object, embodiments of the present disclosure provide a readable storage medium on which a program or instructions are stored. When the program or instructions are executed by a processor, the identification update as described in the first aspect is implemented. method.
本公开的上述技术方案至少具有如下有益效果:The above technical solution of the present disclosure has at least the following beneficial effects:
本公开实施例的标识更新方法,首先,车联网设备获取业务请求消息,所述业务请求消息包括与目标业务的预留时长相关的第一信息;其次,根据车辆的临时标识的更新周期、所述临时标识的第一更新时刻,确定所述临时标识的第二更新时刻;其中,所述第一更新时刻和所述第二更新时刻之间的时间间隔为所述更新周期;再次,确定当前时刻与所述第二更新时刻之间的第一时长;其中,所述当前时刻位于所述第一更新时刻和所述第二更新时刻之间;最后,根据所述预留时长和所述第一时长,确定所述临时标识的更新时机。如此,可以使得临时标识的更新时机不在业务执行的过程中,这样,能够避免业务执行过程中更换车辆身份的情况,以解决由于临时标识的更新导致的业务无法继续进行的问题。In the identification updating method of the embodiment of the present disclosure, first, the Internet of Vehicles device obtains a service request message, which includes first information related to the reserved duration of the target service; secondly, according to the update cycle of the temporary identification of the vehicle, the The first update time of the temporary identification is determined, and the second update time of the temporary identification is determined; wherein the time interval between the first update time and the second update time is the update period; again, determine the current The first time length between the time and the second update time; wherein the current time is located between the first update time and the second update time; finally, according to the reservation time and the second update time, for a period of time to determine the update timing of the temporary identification. In this way, the update timing of the temporary identification can be prevented from being in the process of business execution. In this way, the situation of changing the vehicle identity during the execution of the business can be avoided, thereby solving the problem that the business cannot continue due to the update of the temporary identification.
附图说明Description of drawings
图1为协作式变道场景示意图;Figure 1 is a schematic diagram of a collaborative lane change scenario;
图2为协作式变道交互流程示意图;Figure 2 is a schematic diagram of the collaborative lane change interaction process;
图3为本公开实施例的标识更新方法的流程示意图;Figure 3 is a schematic flowchart of an identification update method according to an embodiment of the present disclosure;
图4为本公开实施例应用于协作式变道场景的示意图;Figure 4 is a schematic diagram of an embodiment of the present disclosure applied to a collaborative lane changing scenario;
图5为本公开实施例的标识更新装置的结构示意图;Figure 5 is a schematic structural diagram of a logo updating device according to an embodiment of the present disclosure;
图6为本公开实施例的车联网设备的结构示意图。 Figure 6 is a schematic structural diagram of an Internet of Vehicles device according to an embodiment of the present disclosure.
具体实施方式Detailed ways
为使本公开要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。在下面的描述中,提供诸如具体的配置和组件的特定细节仅仅是为了帮助全面理解本公开的实施例。因此,本领域技术人员应该清楚,可以对这里描述的实施例进行各种改变和修改而不脱离本公开的范围和精神。另外,为了清楚和简洁,省略了对已知功能和构造的描述。In order to make the technical problems, technical solutions and advantages to be solved by the present disclosure clearer, a detailed description will be given below with reference to the accompanying drawings and specific embodiments. In the following description, specific details, such as specific configurations and components, are provided solely to assist in a comprehensive understanding of embodiments of the present disclosure. Accordingly, it will be apparent to those skilled in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the disclosure. Additionally, descriptions of known functions and construction are omitted for clarity and conciseness.
应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本公开的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中。It will be understood that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic associated with the embodiment is included in at least one embodiment of the present disclosure. Thus, the appearances of "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily referring to the same embodiment. Furthermore, the particular features, structures or characteristics may be combined in any suitable manner in one or more embodiments.
在本公开的各种实施例中,应理解,下述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本公开实施例的实施过程构成任何限定。In various embodiments of the present disclosure, it should be understood that the size of the sequence numbers of the following processes does not mean the order of execution. The execution order of each process should be determined by its functions and internal logic, and should not be implemented in the present disclosure. The implementation of the examples does not constitute any limitations.
在本公开所提供的实施例中,应理解,“与A相应的B”表示B与A相关联,根据A可以确定B。但还应理解,根据A确定B并不意味着仅仅根据A确定B,还可以根据A和/或其它信息确定B。In the embodiments provided by the present disclosure, it should be understood that "B corresponding to A" means that B is associated with A, and B can be determined based on A. However, it should also be understood that determining B based on A does not mean determining B only based on A. B can also be determined based on A and/or other information.
在进行本公开实施例的说明时,首先对下面描述中所用到的一些概念进行解释说明。When describing the embodiments of the present disclosure, some concepts used in the following description will first be explained.
目前,车联网设备的应用场景包括一阶段和二阶段的应用场景(如下表1所示),一阶段的应用场景多为广播方式,车辆或者路侧设备(Road Side Unit,RSU)持续广播自身的状态信息,其它车辆根据接收到的状态信息制定相关的安全和效率策略,这种情况下,发送方和接收方之间不需要进行交互,而二阶段的应用场景多为协作类的场景,车辆与车辆或RSU之间需要通过多次交互才能完成一次协作。

At present, the application scenarios of Internet of Vehicles devices include first-stage and second-stage application scenarios (as shown in Table 1 below). The first-stage application scenarios are mostly broadcast methods, where vehicles or roadside equipment (Road Side Unit, RSU) continuously broadcast themselves status information, other vehicles formulate relevant safety and efficiency strategies based on the received status information. In this case, there is no need for interaction between the sender and the receiver, and the application scenarios in the second stage are mostly collaborative scenarios. Multiple interactions are required between vehicles or RSUs to complete a collaboration.

表1一阶段和二阶段应用列表Table 1 List of Phase I and Phase II applications
例如,基于V2V的协作式变道场景中,如图1所示,车辆EV-1在行驶过程中需要变道,车辆EV-1将行驶意图和变道请求发送给相邻车道的EV-2,车辆EV-2根据自身情况决策判断是否让行,并将相关决策反馈给EV-1,EV-1收到该决策后,判断是否执行变道动作,并将结果告知EV-2。For example, in a collaborative lane change scenario based on V2V, as shown in Figure 1, vehicle EV-1 needs to change lanes while driving. Vehicle EV-1 sends its driving intention and lane change request to EV-2 in the adjacent lane. , vehicle EV-2 makes a decision based on its own situation to determine whether to give way, and feeds the relevant decision back to EV-1. After EV-1 receives the decision, it determines whether to perform a lane change action, and informs EV-2 of the result.
具体交互过程示例如图2所示,在该过程中,使用的消息为基础安全消息(Basic Safety Message,BSM)和车辆意图和请求(Vehicle Intention and Request,VIR)消息,BSM消息为车辆的实时动态行驶信息,VIR消息为车 辆的行驶意图和请求信息,两个消息通过BSM临时标识(Identity,ID)关联,即EV-1的VIR消息中的源ID为BSM的临时ID,目的ID为EV-2的BSM的临时ID。An example of the specific interaction process is shown in Figure 2. In this process, the messages used are Basic Safety Message (BSM) and Vehicle Intention and Request (VIR) messages. The BSM message is the vehicle’s real-time Dynamic driving information, VIR message for the car The vehicle's driving intention and request information are related through the BSM temporary identification (ID), that is, the source ID in the VIR message of EV-1 is the temporary ID of the BSM, and the destination ID is the temporary ID of the BSM of EV-2. .
然而,为了满足隐私保护的要求,用于代表车辆身份的假名证书需要不定期更换,为保护隐私,同一个假名证书的连续使用时长不应超过vCertChangeInterval(300s),但有以下任一情形除外:However, in order to meet the requirements of privacy protection, the pseudonym certificate used to represent the vehicle identity needs to be replaced from time to time. To protect privacy, the continuous use of the same pseudonym certificate should not exceed vCertChangeInterval (300s), except for any of the following circumstances:
系统当前位置距离上一次假名证书改变时所处的位置小于vCertChangeDistance(2km),此时系统应继续使用现有假名证书;The current location of the system is less than vCertChangeDistance (2km) from the last pseudonym certificate change. At this time, the system should continue to use the existing pseudonym certificate;
关键事件标志位DE_VehicleEventFlags中至少1个处于置位状态,此时系统应继续使用现有假名证书直至上述关键事件标志位全部被复位。At least one of the key event flags DE_VehicleEventFlags is set. At this time, the system should continue to use the existing pseudonymous certificate until all the above key event flags are reset.
在假名证书更换时,BSM临时ID也需要更换。When the pseudonym certificate is replaced, the BSM temporary ID also needs to be replaced.
还以图2为例,在EV-1发送完业务流1之后,若EV-1的假名证书需要变化,则其BSM临时ID也需要变化,考虑到消息集之间的一致性,则EV-1的VIR消息中的临时ID也应该变化,而EV-2在回复响应消息时,由于EV-1的假名证书和VIR的临时ID都发生了变化,导致EV-2无法识别EV-1的身份,则EV-2无法确定是否需要与EV-1继续进行该交互过程,请求过程失败。Taking Figure 2 as an example, after EV-1 sends service flow 1, if EV-1's pseudonym certificate needs to change, its BSM temporary ID also needs to change. Considering the consistency between message sets, EV-1 The temporary ID in 1's VIR message should also change, and when EV-2 replies to the response message, EV-1's pseudonym certificate and the temporary ID of VIR have changed, causing EV-2 to be unable to identify EV-1's identity. , then EV-2 cannot determine whether it needs to continue the interaction process with EV-1, and the request process fails.
针对上述问题,如图3所示,本公开实施例提供了一种标识更新方法,应用于车联网设备,所述方法包括:In response to the above problems, as shown in Figure 3, an embodiment of the present disclosure provides an identification update method, which is applied to Internet of Vehicles equipment. The method includes:
步骤301,获取业务请求消息,所述业务请求消息包括与目标业务的预留时长相关的第一信息;Step 301: Obtain a service request message, where the service request message includes first information related to the reservation duration of the target service;
这里,需要说明的是,在车联网设备为发送方车辆的情况下,本步骤具体可以是通过内部实现获取车联网设备生成的业务请求消息;在车联网设备为接收方车辆的情况下,本步骤具体可以是通过接收发送方车辆发送的业务请求消息获得;Here, it should be noted that when the Internet of Vehicles device is the sender vehicle, this step can specifically obtain the service request message generated by the Internet of Vehicles device through internal implementation; when the Internet of Vehicles device is the recipient vehicle, this step The specific steps may be obtained by receiving a service request message sent by the sender's vehicle;
步骤302,根据车辆的临时标识的更新周期、所述临时标识的第一更新时刻,确定所述临时标识的第二更新时刻;其中,所述第一更新时刻和所述第二更新时刻之间的时间间隔为所述更新周期;Step 302: Determine the second update time of the temporary identification according to the update cycle of the vehicle's temporary identification and the first update time of the temporary identification; wherein, between the first update time and the second update time The time interval is the update cycle;
如前所述,车辆的临时标识和假名证书是周期性更新的,因此,本步骤可以基于预先设定的更新周期,当前时刻之前的最后一次更新的时刻(第一 更新时刻,即更新为当前使用的临时标识的时刻),确定当前时刻之后的首次更新的时刻(第二更新时刻,对当前使用的临时标识进行更新的时刻);As mentioned above, the vehicle's temporary identification and pseudonym certificate are updated periodically. Therefore, this step can be based on the preset update cycle, the last updated moment before the current moment (the first The update time, that is, the time when it is updated to the currently used temporary identification), determines the time of the first update after the current time (the second update time, the time when the currently used temporary identification is updated);
步骤303,确定当前时刻与所述第二更新时刻之间的第一时长;其中,所述当前时刻位于所述第一更新时刻和所述第二更新时刻之间;Step 303: Determine the first duration between the current time and the second update time; wherein the current time is located between the first update time and the second update time;
本步骤中,该第一时长即为当前的更新周期中剩余的更新时长;In this step, the first duration is the remaining update duration in the current update cycle;
步骤304,根据所述预留时长和所述第一时长,确定所述临时标识的更新时机。Step 304: Determine the update timing of the temporary identification based on the reservation duration and the first duration.
本公开实施例的标识更新方法,首先,车联网设备获取业务请求消息,所述业务请求消息包括与目标业务的预留时长相关的第一信息;其次,根据车辆的临时标识的更新周期、所述临时标识的第一更新时刻,确定所述临时标识的第二更新时刻;其中,所述第一更新时刻和所述第二更新时刻之间的时间间隔为所述更新周期;再次,确定当前时刻与所述第二更新时刻之间的第一时长;以确定当前的更新周期的剩余更新时长,其中,所述当前时刻位于所述第一更新时刻和所述第二更新时刻之间;最后,根据所述预留时长和所述第一时长,确定所述临时标识的更新时机。如此,可以将更新时机设置在目标业务执行过程以外,即:使得临时标识的更新时机不在业务执行的过程中,这样,能够避免业务执行过程中更换车辆身份的情况,以解决由于临时标识的更新导致的业务无法继续进行的问题。In the identification updating method of the embodiment of the present disclosure, first, the Internet of Vehicles device obtains a service request message, which includes first information related to the reserved duration of the target service; secondly, according to the update cycle of the temporary identification of the vehicle, the The first update time of the temporary identification is determined, and the second update time of the temporary identification is determined; wherein the time interval between the first update time and the second update time is the update period; again, determine the current The first duration between time and the second update time; determine the remaining update duration of the current update cycle, wherein the current time is between the first update time and the second update time; finally , determine the update timing of the temporary identification according to the reservation duration and the first duration. In this way, the update timing can be set outside the target business execution process, that is, the update timing of the temporary identification is not in the process of business execution. In this way, the situation of changing the vehicle identity during the business execution process can be avoided to solve the problem of updating the temporary identification. causing the business to be unable to continue.
作为一个可选的实现方式,步骤304,根据所述预留时长和所述第一时长,确定所述临时标识的更新时机,包括:As an optional implementation manner, step 304 determines the update timing of the temporary identification based on the reservation duration and the first duration, including:
在所述预留时长大于所述第一时长的情况下,根据所述预留时长和所述更新周期,确定所述更新时机;和/或,In the case where the reservation duration is greater than the first duration, the update timing is determined based on the reservation duration and the update period; and/or,
在所述预留时长小于或等于所述第一时长的情况下,确定所述临时标识的更新时机为所述第二更新时刻。If the reservation duration is less than or equal to the first duration, the update timing of the temporary identification is determined to be the second update time.
也就是说,可以基于该预留时长和该第一时长的比较结果,确定该更新时机,如:该预留时长小于或等于该第一时长时,表明在该目标业务执行过程中,该临时标识不会更新,此时,可以按照预先设定的更新周期更新该临时标识,亦即,将当前时刻之后的首个更新时刻确定为该第二更新时刻;又如,该预留时长大于该第一时长时,表明若按照相关技术中的的更新周期对 该临时标识进行更新的话,则会在目标业务执行过程中进行临时标识的更新,因此,可以通过推迟更新时机的方式,避免在目标业务执行过程中进行临时标识的更新,以确保目标业务的顺利执行。That is to say, the update timing can be determined based on the comparison result between the reservation duration and the first duration. For example, when the reservation duration is less than or equal to the first duration, it indicates that during the execution of the target service, the temporary The identification will not be updated. At this time, the temporary identification can be updated according to the preset update cycle, that is, the first update time after the current time is determined as the second update time; for another example, the reservation time is longer than the The first duration indicates that if the update cycle in the relevant technology is If the temporary identity is updated, the temporary identity will be updated during the execution of the target business. Therefore, you can avoid updating the temporary identity during the execution of the target business by postponing the update timing to ensure the smoothness of the target business. implement.
这里,需要说明的是,本可选实现方式的一个实现实例如下文中的示例一和示例二所示。Here, it should be noted that an implementation example of this optional implementation method is as shown in Example 1 and Example 2 below.
作为一个具体的实现方式,所述在所述预留时长大于所述第一时长的情况下,根据所述预留时长和所述更新周期,确定所述更新时机,包括以下任一项:As a specific implementation manner, in the case where the reservation duration is greater than the first duration, the update timing is determined based on the reservation duration and the update period, including any of the following:
(1)在所述预留时长小于或等于所述更新周期的情况下,确定本次更新时机为触发所述目标业务之前,且相邻的下一次更新时机与所述本次更新时机的时间间隔为所述更新周期;(1) When the reservation time is less than or equal to the update period, determine the current update opportunity to be before triggering the target service, and the next adjacent update opportunity is the time between the current update opportunity and the current update opportunity. The interval is the update period;
本步骤中,若预留时长(估计的目标业务的执行时长)小于或等于更新周期,也就是说,在相邻的两次更新时刻之间能够完成目标业务的交互时,则在开始该目标业务前进行一次临时标识的更新,即在更新了临时标识后立即开始执行目标业务的交互,如此,则能够在临时标识的下一次更新之前完成目标业务的交互,避免了在目标业务执行过程中更新临时标识导致对端无法辨别身份导致的目标业务无法进行的情况。In this step, if the reservation time (estimated execution time of the target service) is less than or equal to the update period, that is, when the interaction of the target service can be completed between two adjacent update times, then the target service is started. The temporary identity is updated before the business, that is, the interaction of the target business starts immediately after the temporary identity is updated. In this way, the interaction of the target business can be completed before the next update of the temporary identity, avoiding the need for interruption during the execution of the target business. The situation where updating the temporary identity causes the peer to be unable to identify the identity, causing the target business to be unable to proceed.
(2)在所述预留时长大于所述更新周期的情况下,确定本次更新时机为触发所述目标业务之前,且相邻的下一次更新时机推迟至第三更新时刻,所述第三更新时刻与所述本次更新时机之间的时间间隔大于或等于所述预留时长;(2) In the case that the reservation time is longer than the update period, it is determined that the current update opportunity is before triggering the target service, and the adjacent next update opportunity is postponed to the third update time, and the third update time is The time interval between the update time and the current update opportunity is greater than or equal to the reserved duration;
本步骤中,若预留时长大于更新周期,则表明按照预先配置的更新周期进行临时标识更新的话,无论何时开启目标业务均会出现在目标业务执行过程中进行临时标识的更新的情况,因此,可以在目标业务开始之前对临时标识进行一次更新,然后,将下一次更新的时间向后推迟,即:增大在目标业务开始之前进行的临时标识的更新与相邻的下一次临时标识的更新的时间间隔,以使得该时间间隔大于或等于该预设时长,如此,能够在确保目标业务执行过程中不会进行临时标识的更新,避免了由于临时标识的更新导致目标业务的无法正常进行。 In this step, if the reservation time is longer than the update cycle, it means that if the temporary identity is updated according to the pre-configured update cycle, the temporary identity will be updated during the execution of the target business whenever the target business is started. Therefore, , the temporary identity can be updated once before the start of the target service, and then the next update time can be postponed, that is, the update of the temporary identity performed before the start of the target service is increased compared with the adjacent next temporary identity. The update time interval is such that the time interval is greater than or equal to the preset duration. This ensures that the temporary identity will not be updated during the execution of the target business, and avoids the target business not being able to proceed normally due to the update of the temporary identity. .
这里,需要说明的是,本步骤中的一个具体实例如下文中的示例三所示。Here, it should be noted that a specific example in this step is shown in Example 3 below.
(3)在所述预留时长大于所述更新周期的情况下,确定本次更新时机为触发所述目标业务之前,相邻的下一次更新时机与所述本次更新时机之间的时间间隔为所述更新周期,其中,所述目标业务的至少一个消息中携带备选临时标识,所述至少一个消息为在所述相邻的下一次更新时机之前发送和/或接收到的消息。(3) When the reservation time is longer than the update period, determine the current update opportunity as the time interval between the next adjacent update opportunity and the current update opportunity before triggering the target service. It is the update period, wherein at least one message of the target service carries an alternative temporary identifier, and the at least one message is a message sent and/or received before the next adjacent update opportunity.
这里,需要说明的是,本步骤中的一个具体实例如下文中的示例四所示。Here, it should be noted that a specific example in this step is shown in Example 4 below.
同样的,本步骤中,若预留时长大于更新周期,则表明按照预先配置的更新周期进行临时标识更新的话,无论何时开启目标业务均会出现在目标业务执行过程中进行临时标识的更新的情况,因此,可以在目标业务开始之前对临时标识进行一次更新,然后,在目标业务执行的过程中,在到达下一次更新之前的至少一个交互消息中携带当前使用的临时标识和备选临时标识,其中,备选临时标识为再次进行临时标识更新之后的临时标识,如此,能够让对端能够明确本端的当前的临时标识与更新后的临时标识之间的对应关系,这样,在再次进行临时更新后,也能够基于更新后的临时标识确定本端的身份,使得目标业务能够继续执行。Similarly, in this step, if the reservation time is longer than the update cycle, it means that if the temporary identity is updated according to the pre-configured update cycle, the temporary identity will be updated during the execution of the target business whenever the target business is started. Therefore, the temporary identity can be updated once before the start of the target service, and then, during the execution of the target service, the currently used temporary identity and the alternative temporary identity can be carried in at least one interaction message before reaching the next update. , where the alternative temporary identity is the temporary identity after the temporary identity is updated again. In this way, the opposite end can clearly understand the correspondence between the current temporary identity of the local end and the updated temporary identity. In this way, the temporary identity can be updated again. After the update, the identity of the local end can also be determined based on the updated temporary identity, so that the target service can continue to be executed.
这里,需要说明的是,在上述情况(1)和(2)的条件下,若目标业务的实际执行时长小于该预留时长,则可以通过发送更新指令或触发与临时标识更新相关的标志位复位的方式,立即执行临时标识的更新过程。Here, it should be noted that under the conditions (1) and (2) above, if the actual execution time of the target service is less than the reserved time, you can send an update instruction or trigger the flag bit related to the temporary identity update. In the reset mode, the update process of the temporary identification is immediately executed.
另外,还有一种实现方式,在该预留时长大于该第一时长时,可以按照已配置的更新周期进行临时标识的更新(即:不对更新周期和更新时刻进行更改),而在目标业务执行过程中,在到达更新时刻之前,在至少一个消息中携带备选临时标识。In addition, there is another implementation method. When the reservation period is longer than the first period, the temporary identification can be updated according to the configured update period (that is, the update period and update time are not changed), and when the target business is executed During the process, before reaching the update time, an alternative temporary identifier is carried in at least one message.
进一步地,作为一个可选的实现方式,步骤104,确定所述临时标识的更新时,之后,所述方法还包括:Further, as an optional implementation manner, when step 104 determines the update of the temporary identification, after that, the method further includes:
在所述相邻的下一次更新时机位于所述目标业务的执行过程中,且所述目标业务的消息中不携带所述备选临时标识的情况下,在到达所述相邻的下一次更新时机之前,向后推迟所述相邻的下一次更新时机。When the next adjacent update opportunity is located in the execution process of the target service, and the message of the target service does not carry the alternative temporary identifier, when the adjacent next update time is reached, Before the opportunity, postpone the next adjacent update opportunity backward.
也就是说,若在目标业务实际执行过程中,需要对临时标识进行更新, 且目标业务中的任何消息均未携带备选临时标识时,若直接在目标业务执行过程中进行临时标识的更新,则会存在对端(与执行本公开实施例的方法的车联网设备进行业务交互的另一设备)无法识别本端(执行本公开实施的方法的车联网设备)身份的情况,因此,可以在临时标识的更新时刻到达之前,再次推迟更新时间,以将更新时刻推迟到目标业务完成之后,如此,能够避免在目标业务执行过程中对临时标识进行更新,确保目标业务能够正常进行。In other words, if the temporary identification needs to be updated during the actual execution of the target business, And when any message in the target service does not carry the alternative temporary identifier, if the temporary identifier is updated directly during the execution of the target service, there will be a peer (to conduct business with the Internet of Vehicles device that executes the method of the embodiment of the present disclosure). Another device that interacts) cannot identify the identity of the local end (the Internet of Vehicles device that executes the method implemented by the present disclosure). Therefore, before the update time of the temporary identification arrives, the update time can be postponed again to postpone the update time to the target After the business is completed, in this way, it is possible to avoid updating the temporary identifier during the execution of the target business, ensuring that the target business can proceed normally.
进一步地,作为一个可选的实现方式,步骤104,确定所述临时标识的更新时机之后,所述方法还包括:Further, as an optional implementation manner, in step 104, after determining the update timing of the temporary identification, the method further includes:
在确定需要推迟相邻的下一次更新时机的情况下,采用以下任一种方式发布所述相邻的下一次更新时机推迟的时长:When it is determined that the next adjacent update opportunity needs to be postponed, any of the following methods shall be used to publish the postponement duration of the adjacent next update opportunity:
下发标识更新指示信息,所述标识更新指示信息携带所述推迟的时长;Send identification update instruction information, where the identification update instruction information carries the postponement duration;
控制第一标志位置位,且置位的时间长度为所述推迟的时长;其中,该第一标识可以为DE_VehicleEventFlags(数据元素车辆事件标志位);Control the first flag bit to be set, and the length of time it is set is the length of the delay; wherein the first flag can be DE_VehicleEventFlags (data element vehicle event flag bit);
控制第二标志位置位,直到推迟后的所述相邻的下一次更新时机所对应的时刻,其中,该第二标志位可以为新增加的字段。The second flag bit is controlled to be set until the postponed time corresponding to the next adjacent update opportunity, where the second flag bit may be a newly added field.
也就是说,本可选实现方式中,可以通过下发标识更新指令信息的方式告知相邻的下一次更新时机推迟的时长,还可以通过将第一标志位置位状态保持的时长确定相邻的下一次更新时机推迟的时长;其中,该推迟的时长是指按照预先设定的更新周期确定的相邻的下一次更新时机所对应的时刻与推迟后的相邻的下一次更新时机所对应的时刻之间的时间长度,另外,还可以通过将第二标志位置位并将置位状态维持到推迟后的所述相邻的下一次更新时机所对应的时刻,即:在确定该相邻的下一次更新时机需要推迟时,将第二标志位置位,并保持置位状态,直至达到推迟后的相邻的下一次更新时机所对应的时刻时控制第二标志位复位,也就是说,在第二标志位复位时可以触发临时标识的更新过程,如此,可以基于该标识更新指示信息该第一标志位置位的时长以及按照预设的更新周期确定的相邻的下一次更新时机所对应的时刻,确定推迟后的更新时机所对应的时刻,也可以通过第二标志位复位确定推迟后的更新时机,从而在达到推迟后的更新时机所对应的时刻时,执行临时标识的更新过程。 That is to say, in this optional implementation, the length of time to postpone the next update opportunity of the adjacent adjacent ones can be informed by issuing identification update instruction information, and the adjacent adjacent ones can also be determined by keeping the first flag bit in the set state. The length of time that the next update opportunity is postponed; where the delay time refers to the time corresponding to the adjacent next update opportunity determined according to the preset update cycle and the time corresponding to the postponed adjacent next update opportunity. The length of time between moments, in addition, it is also possible to set the second flag bit and maintain the set state until the moment corresponding to the postponed next adjacent update opportunity, that is: after determining the adjacent next update opportunity When the next update opportunity needs to be postponed, the second flag bit is set and remains set until the time corresponding to the postponed next adjacent update opportunity is reached. The second flag bit is controlled to be reset. That is to say, when When the second flag bit is reset, the update process of the temporary identifier can be triggered. In this way, the duration of the first flag bit being set based on the identifier update indication information and the adjacent next update opportunity corresponding to the preset update period can be determined. time, determine the time corresponding to the postponed update opportunity, or determine the delayed update opportunity by resetting the second flag bit, so that when the time corresponding to the postponed update opportunity is reached, the update process of the temporary identifier is executed.
进一步地,作为一个可选的实现方式,所述方法还包括:Further, as an optional implementation, the method also includes:
在确定所述临时标识的相邻的两次更新时机之间的时间间隔大于第一阈值的情况下,强制更新所述临时标识。When it is determined that the time interval between two adjacent update opportunities of the temporary identification is greater than the first threshold, the temporary identification is forcibly updated.
也就是说,在连续多次推迟临时标识之后,若相邻的两次临时标识的更新时刻大于预先设定的第一阈值,则可以强制更新该临时标识,即:不管当前正在进行何种业务的交互,都应该取消该交互业务,强制进行临时标识和假名证书的更新,如此,可以避免有人恶意持续发起业务交互,导致预留时长较长,使得临时标识(和假名证书)的更新时间会无限延后。That is to say, after postponing the temporary identification for many times in a row, if the update times of the two adjacent temporary identifications are greater than the preset first threshold, the temporary identification can be forcibly updated, that is, regardless of what kind of business is currently in progress. For all interactions, the interactive business should be cancelled, and the temporary identification and pseudonym certificate should be forced to be updated. In this way, it can be avoided that someone maliciously continuously initiates business interactions, resulting in a longer reservation time, and the update time of the temporary identification (and pseudonym certificate) will be shortened. Infinitely delayed.
这里,需要说明的是,本可选实现方式的一个具体实例如下文中的示例五所示。Here, it should be noted that a specific example of this optional implementation is as shown in Example 5 below.
作为一个可选的实现方式,所述第一信息包括所述预留时长和/或所述目标业务的业务信息中的至少一项。As an optional implementation manner, the first information includes at least one of the reservation duration and/or the service information of the target service.
也就是说,该业务请求消息可以显示指示目标业务的预留时长,即:业务请求消息中直接携带目标业务的预估执行时长(预留时长);和/或,该业务请求消息可以隐式指示目标业务的预留时长,即:业务请求消息中携带目标业务的业务信息,从而基于业务信息估计目标业务的预留时长。That is to say, the service request message can explicitly indicate the reservation duration of the target service, that is, the service request message directly carries the estimated execution duration (reservation duration) of the target service; and/or the service request message can implicitly indicate Indicates the reservation duration of the target service, that is, the service request message carries the service information of the target service, so that the reservation duration of the target service is estimated based on the service information.
在第一信息包括预留时长和/或业务信息的基础上,作为一个可选的实现方式,所述方法还包括:On the basis that the first information includes the reservation duration and/or service information, as an optional implementation manner, the method further includes:
根据与所述业务信息相关的历史数据,确定所述预留时长。The reservation duration is determined based on historical data related to the business information.
也就是说,本可选实现方式可以基于同类型的目标业务或相同的业务信息曾经确定的预估时长或实际时长,即根据经验值,确定目标业务的预留时长。That is to say, this optional implementation method can determine the reserved duration of the target service based on the estimated duration or actual duration previously determined for the same type of target business or the same business information, that is, based on experience values.
作为一个具体的实现方式,所述业务信息包括业务类型和/或交互对象类别。在此基础上,进一步地,作为一个可选的实现方式,所述方法还包括:As a specific implementation manner, the business information includes business types and/or interactive object categories. On this basis, further, as an optional implementation method, the method also includes:
根据所述业务类型,确定所述目标业务中的各个交互步骤的最大时长;Determine the maximum duration of each interaction step in the target service according to the service type;
根据各个所述最大时长,确定所述预留时长。The reserved duration is determined based on each of the maximum durations.
本可选实现方式具体可以是基于业务类型判断目标业务需要的交互步骤,以及每个步骤的交互超时(预先设定的每个步骤所需要的最大时长)。This optional implementation method can specifically determine the interaction steps required by the target business based on the service type, and the interaction timeout of each step (the preset maximum time required for each step).
更进一步地,作为一个可选的实现方式,所述根据各个所述最大时长, 确定所述预留时长的步骤之后,所述方法还包括:Furthermore, as an optional implementation method, according to each of the maximum durations, After the step of determining the reservation duration, the method further includes:
根据所述交互对象的类别,调整所述预留时长。The reserved duration is adjusted according to the category of the interactive object.
具体的,本可选实现方式可以基于交互对象的类别确定交互对象的执行速度,以基于交互对象的执行速度调整目标业务的预留时长,使得该预留时长更贴近目标业务的实际执行时长。例如,若交互对象为RSU,则可以适当缩短该预留时长使得该预留时长小于或等于预设时长,若交互对象为车辆,则可以适当延长该预留时长,使得该预留时长大于或等于该预设时长。Specifically, this optional implementation method can determine the execution speed of the interactive object based on the type of the interactive object, and adjust the reservation time of the target service based on the execution speed of the interactive object, so that the reservation time is closer to the actual execution time of the target service. For example, if the interaction object is an RSU, the reservation time can be appropriately shortened so that the reservation time is less than or equal to the preset time. If the interaction object is a vehicle, the reservation time can be appropriately extended so that the reservation time is greater than or equal to the preset time. equal to the preset duration.
下面,以车联网设备为请求方车辆为例,对本公开实施例的实现过程进行说明:Below, taking the Internet of Vehicles device as the requesting vehicle as an example, the implementation process of the embodiment of the present disclosure is explained:
(1)车辆发起交互业务请求时,将该信息发送给标识更新模块(也可能没有实体,就是一个过程),同时,向标识更新模块提供预留时长,或者可以推导出预留时长的业务信息;(1) When the vehicle initiates an interactive service request, the information is sent to the identification update module (it may not have an entity, it is just a process). At the same time, the reservation time is provided to the identification update module, or the business information of the reservation time can be derived. ;
(2)标识更新模块比较预留时长和距离下一次假名证书和临时标识更新的时长,并决策是否进行假名证书和临时标识更新的过程。(2) The identity update module compares the reservation time and the time until the next update of the pseudonym certificate and temporary identity, and decides whether to update the pseudonym certificate and temporary identity.
(3-1)若标识更新模块决策应先进行假名证书和临时标识更新过程时,则可直接触发假名证书和临时标识更新过程,触发方式可以是直接发送更新指令的方式,也可以是将第二标志位复位的方式。(3-1) If the identity update module decides that the pseudonym certificate and temporary identity update process should be carried out first, it can directly trigger the pseudonym certificate and temporary identity update process. The triggering method can be to directly send an update instruction, or it can be the first The way to reset the second flag bit.
(3-2)若标识更新模块决策可不进行假名证书和临时标识更新过程或需要延期更新时,则可不触发假名证书和临时标识更新过程,并通过下发标识更新指示信息、控制第一标志位置位等方式,公布推迟的时间长度,或者是通过将第二标志位置位至推迟后的更新时机所对应的时刻方式,公布推迟后的更新时机所对应的时刻,从而在到达推迟后的更新时机所对应的时刻时触发假名证书和临时标识的更新过程。(3-2) If the identity update module decides not to perform the pseudonym certificate and temporary identity update process or needs to postpone the update, it may not trigger the pseudonym certificate and temporary identity update process, and control the first mark position by issuing identity update instruction information. bit, etc., announce the length of the postponed time, or by setting the second flag bit to the time corresponding to the delayed update opportunity, announce the time corresponding to the delayed update opportunity, so that when the delayed update opportunity is reached The corresponding moment triggers the update process of the pseudonym certificate and temporary identification.
下面,以车联网设备为协作方车辆为例,对本公开实施例的实现过程进行说明:Below, taking the Internet of Vehicles device as a collaborating vehicle as an example, the implementation process of the embodiment of the present disclosure is explained:
(1)车辆接收到交互业务请求时,也将该预留时长或者可推导出预留时长的业务信息发送给标识更新模块,标识更新模块比较预留时长和距离下一次标识更新的时长,并决策是否进行标识更新的过程。(1) When the vehicle receives an interactive service request, it also sends the reservation time or the business information from which the reservation time can be derived to the identification update module. The identification update module compares the reservation time with the time until the next identification update, and The process of deciding whether to update the identity.
(2-1)若标识更新模块决策应先进行标识更新过程时,则可直接触发标 识更新过程,也可以通过将第二标志位复位的方式触发假名证书和临时标识更新过程。等待请求方再次发送交互业务请求后,再进行响应。(2-1) If the identification update module decides that the identification update process should be carried out first, it can directly trigger the identification update process. The identity update process can also be triggered by resetting the second flag bit to trigger the pseudonym certificate and temporary identity update process. Wait for the requester to send the interactive service request again before responding.
(2-2)若标识更新模块决策可不进行或延期进行更新过程时,则可不触发假名证书和临时标识更新过程,并通过下发标识更新指示信息、控制第一标志位置位等方式,公布推迟的时间长度,或者是通过将第二标志位置位至推迟后的更新时机所对应的时刻方式,公布推迟后的更新时机所对应的时刻,从而在到达推迟后的更新时机所对应的时刻时触发假名证书和临时标识的更新过程。(2-2) If the identification update module decides not to proceed or postpone the update process, it may not trigger the pseudonym certificate and temporary identification update process, and announce the postponement by issuing identification update instruction information, controlling the setting of the first flag bit, etc. The length of time, or by setting the second flag bit to the time corresponding to the postponed update opportunity, the time corresponding to the postponed update opportunity is announced, thereby triggering when the time corresponding to the postponed update opportunity is reached. Renewal process for pseudonymous certificates and temporary identities.
这里,需要说明的是,上述两个实例是以标识更新模块为执行主体进行说明的,当然,执行本公开实施例的方法也可以不是实体,而仅是一段程序。Here, it should be noted that the above two examples are explained with the identity update module as the execution subject. Of course, the method for executing the embodiments of the present disclosure may not be an entity, but only a program.
下面,结合具体场景对本公开实施例的标识更新方法进行说明:Below, the identification updating method of the embodiment of the present disclosure will be described in combination with specific scenarios:
示例一:协作式变道场景,超时时间Example 1: Collaborative lane change scenario, timeout
请求方车辆HV需要变道,希望与协作方车辆RV1和RV2共同完成协作过程。车辆HV与RV1和RV2的交互流程如图4所示,其中,虚线表示最晚响应时间;实线表示实际响应时间。The requester's vehicle HV needs to change lanes and hopes to complete the collaboration process with the collaborators' vehicles RV1 and RV2. The interaction process between the vehicle HV and RV1 and RV2 is shown in Figure 4, in which the dotted line represents the latest response time; the solid line represents the actual response time.
对于车辆HV来说,发送完请求后,等待RV1和RV2响应消息(业务流2)的时间最长为Tintv1,实际响应的时间为Tres’-Treq,较Tintv1短。业务流5为整个交互过程的结束,发送完业务流5后,即可正常进行车辆标识更新的过程,即,T0HV=Tintv1+Tintv3For the vehicle HV, after sending the request, the longest time to wait for RV1 and RV2 response messages (business flow 2) is T intv1 , and the actual response time is T res' -T req , which is shorter than T intv1 . Business flow 5 is the end of the entire interaction process. After sending business flow 5, the vehicle identification update process can be carried out normally, that is, T 0HV =T intv1 +T intv3 .
对于车辆RV1和RV2来说,接收到请求后,会给车辆HV发送响应消息,发送完响应消息(业务流2)后,接收到车辆HV的确认消息(业务流3)后,即可正常进行车辆临时标识更新的过程。整个过程耗时为Tintv2,即,T0RV=Tintv2For vehicles RV1 and RV2, after receiving the request, a response message will be sent to the vehicle HV. After sending the response message (business flow 2), and receiving the confirmation message (business flow 3) from the vehicle HV, normal operations can be carried out The process of updating temporary vehicle markings. The entire process takes T intv2 , that is, T 0RV =T intv2 .
因此,对于车辆HV,应用层发起协作式变道请求后,应先触发标识管理模块进行决策,若第一时长(TID)≤预留时长(T0HV),则应先进行标识更新,若TID≥T0HV,则可不进行标识更新。Therefore, for vehicle HV, after the application layer initiates a collaborative lane change request, it should first trigger the identification management module to make a decision. If the first duration (T ID ) ≤ the reserved duration (T 0HV ), the identification should be updated first. If If T ID ≥ T 0HV , the identity update does not need to be performed.
对于车辆RV1和RV2,接收到车辆HV的请求后,也应先触发标识管理模块进行决策,若TID≤T0RV,则应先进行标识更新,若TID≥T0RV,则可不进行标识更新。For vehicles RV1 and RV2, after receiving the request from vehicle HV, the identification management module should be triggered first to make a decision. If T ID ≤ T 0RV , the identification should be updated first. If T ID ≥ T 0RV , the identification update does not need to be performed. .
示例二:在执行当前请求的过程中,接收到其它车辆的协作请求 Example 2: During the execution of the current request, collaboration requests from other vehicles are received
车辆HV触发协作式变道请求,正在与RV1和RV2进行实施例1中的交互过程。若此时,接收到车辆HV1发送的协作式汇入请求,要求车辆HV协助其完成车辆汇入。The vehicle HV triggers a cooperative lane change request and is performing the interaction process in Embodiment 1 with RV1 and RV2. If at this time, a collaborative merge request sent by the vehicle HV1 is received, the vehicle HV is required to assist it in completing the vehicle merge.
车辆HV首先进行决策,是否要立即响应HV1的汇入请求,如果决策为立即响应,则停止当前的变道请求,然后触发标识管理模块,比较标识更新剩余时间以及协作过程的最大超时时间,进而决定是否需要更新标识。在完成与HV1的协作式汇入交互过程后,若仍需要执行之前的变道请求,则再次按照示例一中的流程进行操作。The vehicle HV first makes a decision whether to respond immediately to the incoming request of HV1. If the decision is to respond immediately, it stops the current lane change request, then triggers the identification management module, compares the remaining identification update time and the maximum timeout time of the collaboration process, and then Decide if the logo needs to be updated. After completing the collaborative import interaction process with HV1, if you still need to execute the previous lane change request, follow the process in Example 1 again.
示例三:协作式变道场景,预估时间,推迟更新Example 3: Collaborative lane change scenario, estimated time, postponed update
如示例一中的场景,请求方车辆HV需要变道,希望与协作方车辆RV1和RV2共同完成协作过程。车辆HV与RV1和RV2的交互流程如图4所示:As in the scenario in Example 1, the requesting vehicle HV needs to change lanes and hopes to complete the collaboration process with the cooperating vehicles RV1 and RV2. The interaction process between vehicle HV and RV1 and RV2 is shown in Figure 4:
通常情况下,Tintv1和Tintv2都是根据标准或者车辆自身即可获知的,基本可以看作是稳定的数值。但是Tintv3则需要根据车辆周围的环境来判断,是变化的数值。Normally, T intv1 and T intv2 are known based on standards or the vehicle itself, and can basically be regarded as stable values. But T intv3 needs to be judged based on the environment around the vehicle, which is a changing value.
对于车辆HV来说,在判断协作式变道交互过程总的耗时时,应基于当前的环境或者经验值进行判断。例如,若周围车辆较少,Tintv3可能是较小值,若周围车辆较多,Tintv3则可能较大。For vehicle HV, when judging the total time-consuming process of collaborative lane change interaction, the judgment should be based on the current environment or experience value. For example, if there are fewer vehicles around, T intv3 may be a smaller value, and if there are more vehicles around, T intv3 may be larger.
由于Tintv3是预估的时间,则实际耗费的时间与该数值可能会有较大的出入。例如:Since T intv3 is an estimated time, the actual time spent may be significantly different from this value. For example:
若根据预估时间TID≥T0HV,但是车辆在变道过程中,无法按照预估时间变道,导致实际耗费的T0HV’超过了TID,则假名证书和车辆标识推迟更新时间,待完成整个过程后,再更新。If T ID ≥ T 0HV according to the estimated time, but the vehicle cannot change lanes according to the estimated time during the lane change process, resulting in the actual consumption of T 0HV' exceeding T ID , the pseudonym certificate and vehicle identification will be postponed until the update time. Update after completing the entire process.
示例四:协作式变道,预估时间,携带备选IDExample 4: Collaborative lane change, estimated time, carrying alternative ID
前提条件同示例三,但是在实际耗费的T0HV’超过了TID时,假名证书和车辆标识按照既定的计划进行更新,但是在更新前的N条消息中同时携带正在使用的车辆标识ID1和计划使用的最新车辆标识ID2的信息,和/或,车辆标识ID2生效的时间。协作方车辆RV1和RV2接收到该消息后,在车辆HV标识由ID1更换为ID2后,仍可识别其为请求方。The prerequisite is the same as Example 3, but when the actual consumption of T 0HV' exceeds T ID , the pseudonym certificate and vehicle identification are updated according to the established plan, but the N messages before the update carry both the vehicle identification ID1 and the vehicle identification in use. Information about the latest vehicle identification ID2 planned to be used, and/or the time when vehicle identification ID2 takes effect. After the collaborator vehicles RV1 and RV2 receive the message, they can still identify them as the requester after the vehicle HV identification is changed from ID1 to ID2.
示例五:超时强制停止 Example 5: Forced stop after timeout
前提条件同示例三,车辆HV在发送完业务流3后,由于当前的环境车辆长时间无法完成变道,无法进入到业务流5的发送,且车辆未更新标识的时间Tw已超过预定限值,则车辆HV应停止该交互,发送取消请求,然后触发假名证书和车辆标识的更新后,再根据需要决定是否触发以及何时触发之前的变道请求。The prerequisite is the same as Example 3. After the vehicle HV sends the business flow 3, due to the current environment, the vehicle cannot complete the lane change for a long time and cannot enter the sending of the business flow 5, and the time T w of the vehicle not updating the identification has exceeded the predetermined limit. value, the vehicle HV should stop the interaction, send a cancellation request, and then trigger the update of the pseudonym certificate and vehicle identification, and then decide whether and when to trigger the previous lane change request as needed.
如图5所示,本公开实施例还提供一种标识更新装置,应用于车联网设备,所述装置包括:As shown in Figure 5, an embodiment of the present disclosure also provides an identification update device, which is applied to Internet of Vehicles equipment. The device includes:
获取模块501,用于获取业务请求消息,所述业务请求消息包括与目标业务的预留时长相关的第一信息;Obtaining module 501 is used to obtain a service request message, where the service request message includes first information related to the reservation duration of the target service;
第一确定模块502,用于根据车辆的临时标识的更新周期、所述临时标识的第一更新时刻,确定所述临时标识的第二更新时刻;其中,所述第一更新时刻和所述第二更新时刻之间的时间间隔为所述更新周期;The first determination module 502 is configured to determine the second update time of the temporary identification according to the update cycle of the temporary identification of the vehicle and the first update time of the temporary identification; wherein the first update time and the third update time are: The time interval between two update moments is the update period;
第二确定模块503,用于确定当前时刻与所述第二更新时刻之间的第一时长;其中,所述当前时刻位于所述第一更新时刻和所述第二更新时刻之间;The second determination module 503 is used to determine the first duration between the current time and the second update time; wherein the current time is located between the first update time and the second update time;
第三确定模块504,用于根据所述预留时长和所述第一时长,确定所述临时标识的更新时机。The third determination module 504 is configured to determine the update timing of the temporary identification according to the reservation duration and the first duration.
可选地,所述第三确定模块504包括:Optionally, the third determining module 504 includes:
第一确定子模块,用于在所述预留时长大于所述第一时长的情况下,根据所述预留时长和所述更新周期,确定所述更新时机;和/或,A first determination sub-module, configured to determine the update opportunity based on the reservation time and the update period when the reservation time is greater than the first time length; and/or,
第二确定子模块,用于在所述预留时长小于或等于所述第一时长的情况下,确定所述临时标识的更新时机为所述第二更新时刻。The second determination sub-module is configured to determine that the update timing of the temporary identification is the second update time when the reservation duration is less than or equal to the first duration.
可选地,所述第一确定子模块具体用于执行以下任一项:Optionally, the first determination sub-module is specifically configured to perform any of the following:
在所述预留时长小于或等于所述更新周期的情况下,确定本次更新时机为触发所述目标业务之前,且相邻的下一次更新时机与所述本次更新时机的时间间隔为所述更新周期;When the reservation time is less than or equal to the update period, it is determined that the current update opportunity is before triggering the target service, and the time interval between the adjacent next update opportunity and the current update opportunity is the the update cycle;
在所述预留时长大于所述更新周期的情况下,确定本次更新时机为触发所述目标业务之前,且相邻的下一次更新时机推迟至第三更新时刻,所述第三更新时刻与所述本次更新时机之间的时间间隔大于或等于所述预留时长;In the case where the reservation time is longer than the update period, it is determined that the current update time is before triggering the target service, and the next adjacent update time is postponed to the third update time, and the third update time is the same as the third update time. The time interval between the current update opportunities is greater than or equal to the reserved duration;
在所述预留时长大于所述更新周期的情况下,确定本次更新时机为触发 所述目标业务之前,相邻的下一次更新时机与所述本次更新时机之间的时间间隔为所述更新周期,其中,所述目标业务的至少一个消息中携带备选临时标识,所述至少一个消息为在所述相邻的下一次更新时机之前发送和/或接收到的消息。In the case where the reservation time is longer than the update period, it is determined that this update opportunity is the trigger Before the target service, the time interval between the next adjacent update opportunity and the current update opportunity is the update period, wherein at least one message of the target service carries an alternative temporary identifier, and the At least one message is a message sent and/or received before the adjacent next update opportunity.
进一步地,所述装置还包括:Further, the device also includes:
推迟模块,用于在所述相邻的下一次更新时机位于所述目标业务的执行过程中,且所述目标业务的消息中不携带所述备选临时标识的情况下,在到达所述相邻的下一次更新时机之前,向后推迟所述相邻的下一次更新时机。A postponement module configured to, when the next adjacent update opportunity is in the execution process of the target service, and the message of the target service does not carry the alternative temporary identifier, upon arrival at the relevant Before the next update opportunity of the neighbor, the next update opportunity of the neighbor is postponed backward.
进一步地,所述装置还包括:Further, the device also includes:
发布模块,用于在确定需要推迟相邻的下一次更新时机的情况下,采用以下任一种方式发布所述相邻的下一次更新时机推迟的时长:The publishing module is used to publish the postponement duration of the adjacent next update opportunity in any of the following ways when it is determined that the adjacent next update opportunity needs to be postponed:
下发标识更新指示信息,所述标识更新指示信息携带所述推迟的时长;Send identity update instruction information, where the identity update instruction information carries the postponement duration;
控制第一标志位置位,且置位的时间长度为所述推迟的时长;Control the first flag bit to be set, and the length of time it is set is the length of the delay;
控制第二标志位置位,直到推迟后的所述相邻的下一次更新时机所对应的时刻。The second flag bit is controlled to be set until the delayed time corresponding to the next adjacent update opportunity.
进一步地,所述装置还包括:Further, the device also includes:
强制更新模块,用于在确定所述临时标识的相邻的两次更新时机之间的时间间隔大于第一阈值的情况下,强制更新所述临时标识。A forced update module, configured to forcibly update the temporary identifier when it is determined that the time interval between two adjacent update opportunities of the temporary identifier is greater than a first threshold.
可选地,所述第一信息包括所述预留时长和/或所述目标业务的业务信息中的至少一项。Optionally, the first information includes at least one of the reservation duration and/or the service information of the target service.
进一步地,所述装置还包括:Further, the device also includes:
第四确定模块,用于根据与所述业务信息相关的历史数据,确定所述预留时长。The fourth determination module is used to determine the reservation duration based on historical data related to the business information.
可选地,所述业务信息包括业务类型和/或交互对象类别。Optionally, the service information includes service type and/or interactive object category.
进一步地,所述装置还包括:Further, the device also includes:
第五确定模块,用于根据所述业务类型,确定所述目标业务中的各个交互步骤的最大时长;A fifth determination module, configured to determine the maximum duration of each interaction step in the target service according to the service type;
第六确定模块,用于根据各个所述最大时长,确定所述预留时长。A sixth determination module is used to determine the reserved duration according to each of the maximum durations.
进一步地,所述装置还包括: Further, the device also includes:
调整模块,用于根据所述交互对象的类别,调整所述预留时长。An adjustment module, configured to adjust the reserved duration according to the category of the interactive object.
在此需要说明的是,本公开实施例提供的上述标识更新装置,能够实现上述标识更新方法实施例所实现的所有方法步骤,且能够达到相同的技术效果,在此不再对本实施例中与方法实施例相同的部分及有益效果进行具体赘述。It should be noted here that the above-mentioned identity update device provided by the embodiment of the present disclosure can implement all the method steps implemented by the above-mentioned identity update method embodiment, and can achieve the same technical effect. No further explanation will be given here. The same parts and beneficial effects of the method embodiments will be described in detail.
如图6所示,本公开实施例还提供一种车联网设备,包括收发机610、存储器620、处理器600及存储在所述存储器620上并在所述处理器600上运行的计算机程序,所述处理器600执行所述计算机程序时实现如上所述的标识更新方法实施例的各个过程,且能达到相同的技术效果,为了避免重复,这里不再赘述。As shown in Figure 6, an embodiment of the present disclosure also provides an Internet of Vehicles device, including a transceiver 610, a memory 620, a processor 600, and a computer program stored on the memory 620 and running on the processor 600. When the processor 600 executes the computer program, it implements each process of the identity update method embodiment as described above, and can achieve the same technical effect. In order to avoid duplication, the details will not be described again here.
所述收发机610,用于在处理器600的控制下接收和发送数据。The transceiver 610 is used to receive and send data under the control of the processor 600.
其中,在图6中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器600代表的一个或多个处理器和存储器620代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。收发机610可以是多个元件,即包括发送机和接收机,提供用于在传输介质上与各种其他装置通信的单元。针对不同的用户设备,用户接口1030还可以是能够外接内接需要设备的接口,连接的设备包括但不限于小键盘、显示器、扬声器、麦克风、操纵杆等。In FIG. 6 , the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 600 and various circuits of the memory represented by memory 620 are linked together. The bus architecture can also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are all well known in the art and therefore will not be described further herein. The bus interface provides the interface. Transceiver 610 may be a plurality of elements, including a transmitter and a receiver, providing a unit for communicating with various other devices over a transmission medium. For different user equipment, the user interface 1030 can also be an interface that can connect external and internal required equipment. The connected equipment includes but is not limited to a keypad, a display, a speaker, a microphone, a joystick, etc.
处理器600负责管理总线架构和通常的处理,存储器620可以存储处理器600在执行操作时所使用的数据。The processor 600 is responsible for managing the bus architecture and general processing, and the memory 620 can store data used by the processor 600 when performing operations.
本领域技术人员可以理解,实现上述实施例的全部或者部分步骤可以通过硬件来完成,也可以通过计算机程序来指示相关的硬件来完成,所述计算机程序包括执行上述方法的部分或者全部步骤的指令;且该计算机程序可以存储于一可读存储介质中,存储介质可以是任何形式的存储介质。Those skilled in the art can understand that all or part of the steps to implement the above embodiments can be completed by hardware, or can be completed by instructing relevant hardware through a computer program. The computer program includes instructions for executing part or all of the steps of the above method. ; And the computer program can be stored in a readable storage medium, and the storage medium can be any form of storage medium.
另外,本公开实施例还提供一种计算机可读存储介质,可读存储介质上存储有程序,该程序被处理器执行时实现如上所述的标识更新方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,该计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、 随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。In addition, embodiments of the present disclosure also provide a computer-readable storage medium. A program is stored on the readable storage medium. When the program is executed by a processor, the various processes of the identification update method embodiment are implemented as described above, and the same can be achieved. The technical effects will not be repeated here to avoid repetition. Among them, the computer-readable storage medium, such as read-only memory (ROM), Random Access Memory (RAM), magnetic disk or optical disk, etc.
此外,需要指出的是,在本公开的装置和方法中,显然,各部件或各步骤是可以分解和/或重新组合的。这些分解和/或重新组合应视为本公开的等效方案。并且,执行上述系列处理的步骤可以自然地按照说明的顺序或按时间顺序执行,但是并不需要一定按照时间顺序执行,某些步骤可以并行或彼此独立地执行。对本领域的普通技术人员而言,能够理解本公开的方法和装置的全部或者任何步骤或者部件,可以在任何计算装置(包括处理器、存储介质等)或者计算装置的网络中,以硬件、固件、软件或者它们的组合加以实现,这是本领域普通技术人员在阅读了本公开的说明的情况下运用他们的基本编程技能就能实现的。In addition, it should be pointed out that in the apparatus and method of the present disclosure, obviously, each component or each step can be decomposed and/or recombined. These decompositions and/or recombinations should be considered equivalent versions of the present disclosure. Furthermore, the steps for executing the above series of processes may naturally be executed in the order described or in chronological order, but they do not necessarily need to be executed in chronological order, and some steps may be executed in parallel or independently of each other. For those of ordinary skill in the art, it can be understood that all or any steps or components of the methods and devices of the present disclosure can be implemented in any computing device (including processor, storage medium, etc.) or a network of computing devices in the form of hardware or firmware. , software or their combination, which can be achieved by those of ordinary skill in the art using their basic programming skills after reading the description of the present disclosure.
因此,本公开的目的还可以通过在任何计算装置上运行一个程序或者一组程序来实现。所述计算装置可以是公知的通用装置。因此,本公开的目的也可以仅仅通过提供包含实现所述方法或者装置的程序代码的程序产品来实现。也就是说,这样的程序产品也构成本公开,并且存储有这样的程序产品的存储介质也能构成本公开。显然,所述存储介质可以是任何公知的存储介质或者将来所开发出来的任何存储介质。Therefore, the objects of the present disclosure can also be achieved by running a program or a set of programs on any computing device. The computing device may be a well-known general-purpose device. Therefore, the object of the present disclosure can also be achieved only by providing a program product containing a program code for implementing the method or apparatus. That is, such a program product also constitutes the present disclosure, and a storage medium storing such a program product can also constitute the present disclosure. Obviously, the storage medium may be any known storage medium or any storage medium developed in the future.
最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者终端设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。Finally, it should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that these entities or any such actual relationship or sequence between operations. Furthermore, the terms "comprises," "comprises," or any other variation thereof are intended to cover a non-exclusive inclusion such that a process, method, article, or end device that includes a list of elements includes not only those elements, but also elements not expressly listed or other elements inherent in the process, method, article or equipment. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article, or apparatus that includes the stated element.
以上所述是本公开的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本公开所述原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本公开的保护范围。 The above are the preferred embodiments of the present disclosure. It should be noted that those of ordinary skill in the art can also make several improvements and modifications without departing from the principles described in the present disclosure. These improvements and modifications It should also be regarded as the protection scope of this disclosure.

Claims (14)

  1. 一种标识更新方法,应用于车联网设备,所述方法包括:An identification update method, applied to Internet of Vehicles equipment, the method includes:
    获取业务请求消息,所述业务请求消息包括与目标业务的预留时长相关的第一信息;Obtain a service request message, where the service request message includes first information related to the reservation duration of the target service;
    根据车辆的临时标识的更新周期、所述临时标识的第一更新时刻,确定所述临时标识的第二更新时刻;其中,所述第一更新时刻和所述第二更新时刻之间的时间间隔为所述更新周期;According to the update cycle of the vehicle's temporary identification and the first update time of the temporary identification, the second update time of the temporary identification is determined; wherein, the time interval between the first update time and the second update time is the update cycle;
    确定当前时刻与所述第二更新时刻之间的第一时长;其中,所述当前时刻位于所述第一更新时刻和所述第二更新时刻之间;Determine a first duration between the current moment and the second update moment; wherein the current moment is located between the first update moment and the second update moment;
    根据所述预留时长和所述第一时长,确定所述临时标识的更新时机。The update timing of the temporary identification is determined based on the reservation duration and the first duration.
  2. 根据权利要求1所述的方法,其中,所述根据所述预留时长和所述第一时长,确定所述临时标识的更新时机,包括:The method according to claim 1, wherein determining the update timing of the temporary identification based on the reservation duration and the first duration includes:
    在所述预留时长大于所述第一时长的情况下,根据所述预留时长和所述更新周期,确定所述更新时机;和/或,In the case where the reservation duration is greater than the first duration, the update timing is determined based on the reservation duration and the update period; and/or,
    在所述预留时长小于或等于所述第一时长的情况下,确定所述临时标识的更新时机为所述第二更新时刻。If the reservation duration is less than or equal to the first duration, the update timing of the temporary identification is determined to be the second update time.
  3. 根据权利要求2所述的方法,其中,所述在所述预留时长大于所述第一时长的情况下,根据所述预留时长和所述更新周期,确定所述更新时机,包括以下任一项:The method according to claim 2, wherein when the reservation duration is greater than the first duration, determining the update timing based on the reservation duration and the update period includes any of the following: One item:
    在所述预留时长小于或等于所述更新周期的情况下,确定本次更新时机为触发所述目标业务之前,且相邻的下一次更新时机与所述本次更新时机的时间间隔为所述更新周期;When the reservation time is less than or equal to the update period, it is determined that the current update opportunity is before triggering the target service, and the time interval between the next adjacent update opportunity and the current update opportunity is the the update cycle;
    在所述预留时长大于所述更新周期的情况下,确定本次更新时机为触发所述目标业务之前,且相邻的下一次更新时机推迟至第三更新时刻,所述第三更新时刻与所述本次更新时机之间的时间间隔大于或等于所述预留时长;In the case where the reservation time is longer than the update period, it is determined that the current update time is before triggering the target service, and the next adjacent update time is postponed to the third update time, and the third update time is the same as the third update time. The time interval between the current update opportunities is greater than or equal to the reserved duration;
    在所述预留时长大于所述更新周期的情况下,确定本次更新时机为触发所述目标业务之前,相邻的下一次更新时机与所述本次更新时机之间的时间间隔为所述更新周期,其中,所述目标业务的至少一个消息中携带备选临时 标识,所述至少一个消息为在所述相邻的下一次更新时机之前发送和/或接收到的消息。In the case where the reservation time is longer than the update period, it is determined that the current update opportunity is before triggering the target service, and the time interval between the next adjacent update opportunity and the current update opportunity is the Update cycle, wherein at least one message of the target service carries an alternative temporary Identifies that the at least one message is a message sent and/or received before the next adjacent update opportunity.
  4. 根据权利要求3所述的方法,其中,所述确定所述临时标识的更新时机的步骤之后,所述方法还包括:The method according to claim 3, wherein after the step of determining the update timing of the temporary identification, the method further includes:
    在所述相邻的下一次更新时机位于所述目标业务的执行过程中,且所述目标业务的消息中不携带所述备选临时标识的情况下,在到达所述相邻的下一次更新时机之前,向后推迟所述相邻的下一次更新时机。In the case that the adjacent next update opportunity is in the execution process of the target service, and the message of the target service does not carry the alternative temporary identifier, when the adjacent next update time is reached, Before the opportunity, postpone the next adjacent update opportunity backward.
  5. 根据权利要求3或4所述的方法,其中,所述方法还包括:The method according to claim 3 or 4, wherein the method further includes:
    在确定需要推迟相邻的下一次更新时机的情况下,采用以下任一种方式发布所述相邻的下一次更新时机推迟的时长:When it is determined that the next adjacent update opportunity needs to be postponed, any of the following methods shall be used to publish the postponement duration of the adjacent next update opportunity:
    下发标识更新指示信息,所述标识更新指示信息携带所述推迟的时长;Send identification update instruction information, where the identification update instruction information carries the postponement duration;
    控制第一标志位置位,且置位的时间长度为所述推迟的时长Control the first flag bit to be set, and the length of time it is set is the length of the delay
    控制第二标志位置位,直到推迟后的所述相邻的下一次更新时机所对应的时刻。The second flag bit is controlled to be set until the delayed time corresponding to the next adjacent update opportunity.
  6. 根据权利要求1所述的方法,其中,所述方法还包括:The method of claim 1, further comprising:
    在确定所述临时标识的相邻的两次更新时机之间的时间间隔大于第一阈值的情况下,强制更新所述临时标识。When it is determined that the time interval between two adjacent update opportunities of the temporary identification is greater than the first threshold, the temporary identification is forcibly updated.
  7. 根据权利要求1所述的方法,其中,所述第一信息包括所述预留时长和/或所述目标业务的业务信息中的至少一项。The method according to claim 1, wherein the first information includes at least one of the reservation duration and/or service information of the target service.
  8. 根据权利要求7所述的方法,其中,所述方法还包括:The method of claim 7, further comprising:
    根据与所述业务信息相关的历史数据,确定所述预留时长。The reservation duration is determined based on historical data related to the business information.
  9. 根据权利要求8所述的方法,其中,所述业务信息包括业务类型和/或交互对象类别。The method according to claim 8, wherein the business information includes business types and/or interactive object categories.
  10. 根据权利要求9所述的方法,其中,所述方法还包括:The method of claim 9, further comprising:
    根据所述业务类型,确定所述目标业务中的各个交互步骤的最大时长;Determine the maximum duration of each interaction step in the target service according to the service type;
    根据各个所述最大时长,确定所述预留时长。The reserved duration is determined based on each of the maximum durations.
  11. 根据权利要求10所述的方法,其中,所述根据各个所述最大时长,确定所述预留时长的步骤之后,所述方法还包括:The method according to claim 10, wherein after the step of determining the reserved duration according to each of the maximum durations, the method further includes:
    根据所述交互对象的类别,调整所述预留时长。 The reserved duration is adjusted according to the category of the interactive object.
  12. 一种标识更新装置,应用于车联网设备,所述装置包括:A logo updating device, applied to Internet of Vehicles equipment, the device includes:
    获取模块,用于获取业务请求消息,所述业务请求消息包括与目标业务的预留时长相关的第一信息;An acquisition module, configured to acquire a service request message, where the service request message includes first information related to the reservation duration of the target service;
    第一确定模块,用于根据车辆的临时标识的更新周期、所述临时标识的第一更新时刻,确定所述临时标识的第二更新时刻;其中,所述第一更新时刻和所述第二更新时刻之间的时间间隔为所述更新周期;The first determination module is configured to determine the second update time of the temporary identification according to the update cycle of the temporary identification of the vehicle and the first update time of the temporary identification; wherein the first update time and the second update time are: The time interval between update moments is the update cycle;
    第二确定模块,用于确定当前时刻与所述第二更新时刻之间的第一时长;其中,所述当前时刻位于所述第一更新时刻和所述第二更新时刻之间;A second determination module, configured to determine the first duration between the current moment and the second update moment; wherein the current moment is located between the first update moment and the second update moment;
    第三确定模块,用于根据所述预留时长和所述第一时长,确定所述临时标识的更新时机。The third determination module is configured to determine the update timing of the temporary identification based on the reservation duration and the first duration.
  13. 一种车联网设备,包括收发机、存储器、处理器及存储在所述存储器上并在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1至11中任一项所述的标识更新方法。An Internet of Vehicles device, including a transceiver, a memory, a processor, and a computer program stored on the memory and running on the processor. When the processor executes the computer program, it implements claims 1 to 11 The identification update method described in any one of the above.
  14. 一种可读存储介质,其上存储有程序或指令,所述程序或指令被处理器执行时实现如权利要求1至11中任一项所述的标识更新方法。 A readable storage medium on which a program or instructions are stored. When the program or instructions are executed by a processor, the identification updating method according to any one of claims 1 to 11 is implemented.
PCT/CN2023/102376 2022-07-29 2023-06-26 Identifier updating method and apparatus, and internet of vehicles device WO2024021954A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210912393.8 2022-07-29
CN202210912393.8A CN117528453A (en) 2022-07-29 2022-07-29 Identification updating method and device and Internet of vehicles equipment

Publications (1)

Publication Number Publication Date
WO2024021954A1 true WO2024021954A1 (en) 2024-02-01

Family

ID=89705217

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/102376 WO2024021954A1 (en) 2022-07-29 2023-06-26 Identifier updating method and apparatus, and internet of vehicles device

Country Status (2)

Country Link
CN (1) CN117528453A (en)
WO (1) WO2024021954A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108702383A (en) * 2016-04-19 2018-10-23 华为技术有限公司 A kind of method and relevant device of traffic service acquisition
US20200329513A1 (en) * 2019-04-12 2020-10-15 Asustek Computer Inc. Method and apparatus for handling sidelink identifier change in a wireless communication system
CN111918244A (en) * 2019-05-10 2020-11-10 大众汽车有限公司 Concept for addressing road users in wireless communication
CN114189836A (en) * 2020-09-15 2022-03-15 大唐高鸿智联科技(重庆)有限公司 Communication method for formation vehicles and vehicles

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108702383A (en) * 2016-04-19 2018-10-23 华为技术有限公司 A kind of method and relevant device of traffic service acquisition
US20200329513A1 (en) * 2019-04-12 2020-10-15 Asustek Computer Inc. Method and apparatus for handling sidelink identifier change in a wireless communication system
CN111918244A (en) * 2019-05-10 2020-11-10 大众汽车有限公司 Concept for addressing road users in wireless communication
CN114189836A (en) * 2020-09-15 2022-03-15 大唐高鸿智联科技(重庆)有限公司 Communication method for formation vehicles and vehicles

Also Published As

Publication number Publication date
CN117528453A (en) 2024-02-06

Similar Documents

Publication Publication Date Title
CN110263908B (en) Federal learning model training method, apparatus, system and storage medium
JP2018147507A5 (en)
JP3861559B2 (en) Mobile agent control method
JP2022159310A (en) Messaging platform for real-time message delivery
WO2019128647A1 (en) Message transmission method and device, storage medium and electronic device
WO2019104713A1 (en) Machine learning method, master node, work node, and system
JP6849795B2 (en) Communication method and equipment
JP2009521773A5 (en)
CN109544171A (en) For realizing the method and apparatus of the consistency of transregional piece of chain transaction
WO2019204987A1 (en) Information transmission method controlled by cloud, robot, and group robot system
CN110535811B (en) Remote memory management method and system, server, client and storage medium
WO2018086535A1 (en) Uplink data sending method, terminal and network device
JP2012531640A (en) 24 hour global low delay computer controlled switching system
JP4963773B2 (en) Broadcast network
WO2024021954A1 (en) Identifier updating method and apparatus, and internet of vehicles device
CN102469086A (en) Question-answering system based on instant messaging system
JP4516594B2 (en) Message transmission control method, message transmission control device, and message transmission control program
US8055782B2 (en) System and method for generating exception delay messages when messages are delayed
GB2504673A (en) Publish and subscribe messaging system wherein transmission from broker to subscribers is phased over time
WO2018233447A1 (en) Method and apparatus for implementing link connection processing, and storage medium
CN109905645B (en) Video monitoring equipment directory exchange method and networking platform
CN112104763A (en) Method for realizing butt joint of different network platforms in warehouse
TW201101737A (en) IPMI server system and method thereof
CN111447087A (en) Block chain configuration method for dynamic networking
WO2021138894A1 (en) Mcptt group calling method, server, and communication system

Legal Events

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

Ref document number: 23845167

Country of ref document: EP

Kind code of ref document: A1