Vehicle fleet wireless broadcasting method, device, electronic device and storage medium
By allocating and dividing the time slots of the fleet communication cycle, the problem of low transmission efficiency and conflict when multiple vehicles in the fleet are synchronizing data is solved, and efficient data transmission and independent sharing are achieved.
Patent Information
- Application Number
- CN202410133246.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-30
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-01-30
AI Technical Summary
In the 5G standard, when multiple vehicles in a fleet synchronize data, they need to be transmitted through multiple vehicle relays, resulting in low data transmission efficiency and increased delay. In addition, conflicts will occur when different vehicles broadcast in the same time slot, resulting in data transmission failure. .
By allocating time slots in the fleet communication cycle, vehicles can broadcast data in designated time slots to avoid the impact of broadcast data from other vehicles. The division method of starting time slots, preemption time slots and exclusive time slots is adopted. After the vehicle enters the network, Occupy the preemption time slot and broadcast in the exclusive time slot.
It improves data transmission efficiency, avoids relay forwarding, ensures independent data sharing of vehicles within the fleet, and reduces data transmission conflicts.
Smart Images

Figure CN117956428B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a vehicle fleet wireless broadcasting method, device, electronic device and storage medium. Background Art
[0002] Currently, information exchange between fleets is mainly based on operator network communication. The 5G (5th-Generation Mobile Communication Technology) standard includes a point-to-point communication method between vehicles, which only allows two-to-two communication between vehicles in the fleet.
[0003] However, if multiple vehicles in a fleet need to synchronize data, data synchronization needs to be achieved through relay transmission between multiple vehicles. The data transmission efficiency is low, the latency increases, and if different vehicles broadcast time slots in the same time slot, conflicts will occur, resulting in data transmission failure. Summary of the invention
[0004] In order to solve or partially solve the problems existing in the related technology, the present application provides a fleet wireless broadcasting method, device, electronic device and storage medium, which can allocate time slots of the fleet communication cycle. Vehicles in the fleet can broadcast data within the specified time slots, avoiding the influence of broadcast data of other vehicles.
[0005] A first aspect of the present application provides a wireless broadcasting method for a fleet, comprising:
[0006] In response to a network access request instruction, monitoring a broadcast frequency band for a preset number of communication cycles;
[0007] When monitoring the starting time slot, determining whether there is an idle exclusive time slot;
[0008] If there is an idle exclusive time slot, occupy the preempted time slot, and broadcast the identification information of the vehicle in the preempted time slot of a preset number of communication cycles;
[0009] The broadcast is performed in the dedicated time slots of a preset number of communication cycles.
[0010] Optionally, the step of determining whether there is an idle dedicated time slot when monitoring the starting time slot includes:
[0011] Determine whether a start time slot message is monitored; the start time slot message is a fixed message containing fixed data;
[0012] If the start time slot message is monitored, determining whether there is an idle exclusive time slot;
[0013] If the start time slot message is not monitored, the start time slot message is actively released.
[0014] Optionally, the step of occupying the preempted time slot includes:
[0015] When there is an idle exclusive time slot, determining whether there is another vehicle in the fleet that preempts the preempted time slot;
[0016] If no other vehicle preempts the preempted time slot, the identification information of the vehicle is broadcast from the preempted time slot of the next communication cycle.
[0017] Optionally, the step of determining whether there are other vehicles in the fleet that preempt the preempted time slot includes:
[0018] Determine whether the vehicle receives a time slot preemption message broadcast by other vehicles in the preemption time slot; the preemption time slot message includes a fixed byte for storing the identification information;
[0019] Optionally, the step of broadcasting in dedicated time slots of the preset number of communication cycles includes:
[0020] When the vehicle has a communication demand, broadcasting the identification information and data message of the vehicle in the dedicated time slot;
[0021] When the vehicle has no communication demand, the identification information of the vehicle is broadcast in the dedicated time slot.
[0022] Optionally, the method further comprises:
[0023] During the communication phase, when it is the turn of the vehicle's exclusive time slot, the vehicle's exclusive time slot message is broadcast; the exclusive time slot message at least includes a packet header and a data payload.
[0024] Optionally, the method further comprises:
[0025] In response to the network exit request instruction, the vehicle does not broadcast for a preset number of consecutive communication cycles to exit the network.
[0026] A second aspect of the present application provides a wireless broadcasting device for a fleet, comprising:
[0027] A monitoring module, used for monitoring a preset number of communication cycles in response to a network access request instruction;
[0028] A judgment module, used for determining whether there is an idle exclusive time slot when monitoring the starting time slot;
[0029] An occupation module, configured to occupy the preempted time slot if there is an idle exclusive time slot, and broadcast the identification information of the vehicle in the preempted time slot of a preset number of communication cycles;
[0030] The broadcast module is used to broadcast in the exclusive time slots of a preset number of communication cycles.
[0031] Optionally, the judging module includes:
[0032] The starting time slot submodule is used to determine whether a starting time slot message is monitored; the starting time slot message is a fixed message containing fixed data;
[0033] A first determination submodule, configured to determine whether there is an idle dedicated time slot if the start time slot message is monitored;
[0034] The publishing submodule is used to actively publish the starting time slot message if the starting time slot message is not monitored.
[0035] Optionally, the occupancy module includes:
[0036] A second determination submodule is used to determine whether there are other vehicles in the fleet that preempt the preempted time slot when there is an idle exclusive time slot;
[0037] The first broadcast submodule is used for broadcasting the identification information of the vehicle from the preempted time slot of the next communication cycle if no other vehicle preempts the preempted time slot.
[0038] Optionally, the second determining submodule is further used to determine whether the vehicle receives a time slot preemption message broadcast by other vehicles in the preemption time slot; the time slot preemption message includes a fixed byte for storing the identification information;
[0039] Optionally, the broadcast module includes:
[0040] A second broadcast submodule, configured to broadcast the identification information and data message of the vehicle in the dedicated time slot when the vehicle has a communication demand;
[0041] The third broadcast submodule is used to broadcast the identification information of the vehicle in the dedicated time slot when the vehicle has no communication demand.
[0042] Optionally, the device further comprises:
[0043] The exclusive time slot message module is used to broadcast the exclusive time slot message of the vehicle during the communication phase when it is the exclusive time slot of the vehicle; the exclusive time slot message at least includes a packet header and a data payload.
[0044] Optionally, the device further comprises:
[0045] The network withdrawal module is used to respond to the network withdrawal request instruction, and the vehicle does not broadcast for a preset number of communication cycles in succession to withdraw from the network.
[0046] A third aspect of the present application provides an electronic device, including:
[0047] Processor; and
[0048] The memory stores executable codes thereon, and when the executable codes are executed by the processor, the processor is caused to execute the method as described above.
[0049] A fourth aspect of the present application provides a computer-readable storage medium having executable code stored thereon. When the executable code is executed by a processor of an electronic device, the processor is caused to execute the method as described above.
[0050] The technical solution provided by the present application may include the following beneficial effects: by responding to a network access request instruction, monitoring the broadcast frequency band of a preset number of communication cycles; when monitoring the starting time slot, determining whether there is an idle exclusive time slot; if there is an idle exclusive time slot, occupying the preempted time slot, and broadcasting the vehicle's identification information in the preempted time slot of a preset number of communication cycles; broadcasting in the exclusive time slot of a preset number of communication cycles can allocate time slots of the communication cycle of the fleet, and vehicles in the fleet can broadcast data in the designated time slot, avoiding the influence of broadcast data of other vehicles, and vehicles in the fleet can share data independently without relaying, thereby improving the efficiency of data transmission.
[0051] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] The above and other objects, features and advantages of the present application will become more apparent by describing in more detail the exemplary embodiments of the present application in conjunction with the accompanying drawings, wherein the same reference numerals generally represent the same components in the exemplary embodiments of the present application.
[0053] Figure 1 It is a flow chart of a method for wireless broadcasting of a fleet shown in an embodiment of the present application;
[0054] Figure 2 is a schematic diagram of a broadcast communication cycle shown in an embodiment of the present application;
[0055] Figure 3 is another flow chart of the wireless broadcasting method for a fleet shown in an embodiment of the present application;
[0056] Figure 4 is a schematic diagram of a start timeslot message shown in an embodiment of the present application;
[0057] Figure 5is a flow chart of a wireless broadcasting method for a fleet shown in an embodiment of the present application;
[0058] Figure 6 It is a structural schematic diagram of a wireless broadcasting device for a fleet shown in an embodiment of the present application;
[0059] Figure 7 It is a schematic diagram of the structure of an electronic device shown in an embodiment of the present application. DETAILED DESCRIPTION
[0060] The embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to make the present application more thorough and complete, and to fully convey the scope of the present application to those skilled in the art.
[0061] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0062] It should be understood that although the terms "first", "second", "third", etc. may be used in this application to describe various information, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.
[0063] If multiple vehicles in a fleet need to synchronize data, data synchronization needs to be achieved through relay transmission between multiple vehicles. The data transmission efficiency is low and the latency increases. In addition, if different vehicles broadcast time slots in the same time slot, conflicts will occur, resulting in data transmission failure.
[0064] In response to the above problems, an embodiment of the present application provides a fleet wireless broadcasting method, which can allocate time slots of the fleet communication cycle. Vehicles in the fleet can broadcast data within the specified time slots, avoiding the impact of broadcast data of other vehicles. Moreover, vehicles in the fleet can share data independently without relaying, thereby improving the efficiency of data transmission.
[0065] The technical solution of the embodiments of the present application is described in detail below with reference to the accompanying drawings.
[0066] Figure 1 It is a flow chart of a vehicle fleet wireless broadcasting method shown in an embodiment of the present application.
[0067] See also Figure 1 , the communication cycle of the fleet broadcast frequency band is divided into N+2 time slots; the N+2 time slots include a starting time slot, a preempted time slot, and N exclusive time slots; the method includes:
[0068] Step 101, in response to a network access request instruction, monitoring a broadcast frequency band of a preset number of communication cycles;
[0069] Vehicles in the fleet can broadcast in the form of wireless broadcasting in a fixed public frequency band. Wireless broadcasting is a broadcasting method that transmits data by wireless transmission. It has the characteristics of not requiring poles or wires, wide coverage, unlimited capacity expansion, easy installation and maintenance, low investment, and beautiful sound quality.
[0070] like Figure 2 As shown, it is a schematic diagram of the broadcast communication cycle, including communication cycle 1 and communication cycle 2. There is a fixed delay between the two communications. Each communication cycle includes a starting time slot, a preemption time slot, and N exclusive time slots, where N can be configured according to actual needs and can be an integer greater than 1. The starting time slot is a sign of the beginning of a communication cycle; the vehicles of the fleet need to occupy the preemption time slot during the network access phase; the exclusive time slot can be allocated to each vehicle in the fleet. When the vehicles need to broadcast data later, they broadcast in their corresponding exclusive time slots, which can avoid the problem of broadcasting with other vehicles in the same time slot.
[0071] Before a vehicle broadcasts data within a fleet, it needs to access the network first. The network access request instruction can be initiated by the user on the vehicle. In response to the network access request instruction, the vehicle begins to monitor the broadcast and can monitor the broadcast frequency band for a preset number of communication cycles. The preset number can be set according to actual needs, for example, it can monitor 3 communication cycles, 4 communication cycles, etc. This application does not impose any restrictions on this.
[0072] Step 102, when monitoring the start time slot, determine whether there is an idle exclusive time slot;
[0073] If the start time slot is monitored, it means that a communication cycle has begun, and it can be further determined whether there is an idle exclusive time slot in the communication cycle.
[0074] Step 103, if there is an idle exclusive time slot, occupy the preempted time slot, and broadcast the identification information of the vehicle in the preempted time slot of a preset number of communication cycles;
[0075] If there is an unoccupied exclusive time slot in the communication cycle, it can be determined that there is an idle exclusive time slot, so the exclusive time slot can be occupied. In the network access stage, when occupying the exclusive time slot, it is necessary to occupy the preempted time slot first, that is, broadcast the vehicle identification information in the preempted time slots of a preset number of consecutive communication cycles, wherein the identification information can be the vehicle's VIN code (Vehicle Identification Number), which is a unique code consisting of 17 English letters and numbers, used to identify each car. The VIN code not only includes basic information about the vehicle, such as manufacturer, production year, model, etc., but also associates specific details of the vehicle, such as performance data such as the serial number of the engine and chassis. The structure of the VIN code is divided into three parts: World Manufacturer Identifier (WMI): This part usually contains three digits, which are used to indicate the code of the country of production and the manufacturer. Vehicle Description Segment (VDS): This part contains four digits, which are used to provide additional information about the vehicle. Vehicle Identification Section (VIS): This section contains the remaining 13 digits, which are used to indicate the vehicle's detailed information and production sequence number. The importance of the VIN code lies in its accuracy and uniqueness, which helps to correctly identify the vehicle model, perform fault diagnosis and maintenance work. In addition, the VIN code can also be used for vehicle violation inquiries, batch inquiries, and accurate search of accessories. Therefore, it is very important to protect the VIN code and ensure that it is not illegally copied and used.
[0076] Step 104: Broadcast in dedicated time slots of a preset number of communication cycles.
[0077] During the network access phase, after occupying the preempted time slot, broadcasting can be performed in an idle exclusive time slot of a preset number of consecutive communication cycles, so that the idle exclusive time slot can be used as the vehicle's exclusive time slot, which can prevent other vehicles from broadcasting in the exclusive time slot.
[0078] The present application discloses a method for wireless broadcasting of a fleet, wherein the communication cycle of the fleet broadcast frequency band is divided into N+2 time slots; the N+2 time slots include a starting time slot, a preempted time slot, and N exclusive time slots; the method comprises: in response to a network access request instruction, monitoring the broadcast frequency band of a preset number of communication cycles; when monitoring the starting time slot, determining whether there is an idle exclusive time slot; if there is an idle exclusive time slot, occupying the preempted time slot, and broadcasting the identification information of the vehicle in the preempted time slot of a preset number of communication cycles; broadcasting in the exclusive time slot of a preset number of communication cycles can allocate the time slots of the fleet communication cycle, and the vehicles in the fleet can broadcast data in the designated time slot, thus avoiding the influence of the broadcast data of other vehicles, and the vehicles in the fleet can share data independently without relaying, thereby improving the efficiency of data transmission.
[0079] Figure 3 It is another flow chart of a vehicle fleet wireless broadcasting method shown in an embodiment of the present application.
[0080] See also Figure 3 , the communication cycle of the fleet broadcast frequency band is divided into N+2 time slots; the N+2 time slots include a starting time slot, a preempted time slot, and N exclusive time slots; the method includes:
[0081] Step 301, in response to a network access request instruction, monitoring a broadcast frequency band of a preset number of communication cycles;
[0082] Before a vehicle broadcasts data within a fleet, it needs to access the network first. The network access request instruction can be initiated by the user on the vehicle. In response to the network access request instruction, the vehicle begins to monitor the broadcast and can monitor the broadcast frequency band for a preset number of communication cycles. The preset number can be set according to actual needs, for example, it can monitor 3 communication cycles, 4 communication cycles, etc. This application does not impose any restrictions on this.
[0083] Step 302, determining whether a start time slot message is monitored; the start time slot message is a fixed message, containing fixed data;
[0084] In the communication cycle, the start time slot message will be broadcast in the start time slot. Therefore, if the start time slot message is monitored, it can be determined that the start time slot is monitored. Figure 4As shown, it is a schematic diagram of a start time slot message, wherein the start time slot message is a fixed message, including 5 bytes, and the data in each byte is also fixed, the data in the first byte is "1111 0101 00001010", the data in the second byte is "1110 1010 1111 0101", the data in the third byte is "1100 1100 1111 0011", the data in the fourth byte is "1000 1110 11110001", and the data in the fifth byte is "0000 1111 1111 1111".
[0085] Step 303: if the start time slot message is monitored, determine whether there is an idle dedicated time slot; if the start time slot message is not monitored, actively publish the start time slot message.
[0086] If the start time slot message is monitored, it can be further determined whether there is an idle exclusive time slot in the communication cycle; if the start time slot message is not monitored, the vehicle can actively publish the start time slot message.
[0087] Step 304, if there is an idle exclusive time slot, occupy the preempted time slot, and broadcast the identification information of the vehicle in the preempted time slot of a preset number of communication cycles;
[0088] The vehicle can determine whether there is an idle exclusive time slot by judging whether the message data of other vehicles is received in the exclusive time slot. If the message data of other vehicles is not received in the exclusive time slot, it can be determined that there is an idle exclusive time slot. The vehicle can occupy the preempted time slot, that is, broadcast the vehicle's identification information in the preempted time slot of a consecutive preset number of communication cycles.
[0089] In an optional embodiment of the present application, step 304 includes:
[0090] Sub-step S21, when there is an idle exclusive time slot, determining whether there are other vehicles in the fleet that preempt the preempted time slot;
[0091] When there is an idle exclusive time slot, it is further determined whether there are other vehicles in the fleet that have preempted the preempted time slot. At this time, there may be two situations: judging whether the preempted time slot has been occupied by other vehicles in the fleet; judging whether there are multiple vehicles in multiple fleets that simultaneously preempt the preempted time slot. If the preempted time slot has been occupied by other vehicles in the fleet, that is, when the message data broadcast by other vehicles in the fleet is received in the preempted time slot, it is possible to randomly wait for several communication cycles before re-judging whether there is an idle exclusive time slot; if there are multiple vehicles in multiple fleets that simultaneously preempt the preempted time slot, that is, there is a preempted time slot conflict, it is possible to randomly wait for several communication cycles before re-judging whether there is an idle exclusive time slot to avoid conflicts with other vehicles in preempting time slots.
[0092] Sub-step S22: If there is no other vehicle occupying the preempted time slot, the identification information of the vehicle is broadcast from the preempted time slot of the next communication cycle.
[0093] If there is no other vehicle to preempt the preemption time slot, the identification information of the vehicle may be broadcast from the preemption time slot of the next communication cycle.
[0094] In an optional embodiment of the present application, sub-step S21 includes:
[0095] Determine whether the vehicle receives the time slot preemption message broadcast by other vehicles during the time slot preemption; the time slot preemption message contains fixed bytes for storing identification information;
[0096] The preemption time slot message of the preemption time slot can be set to a fixed 17 bytes to store the 17-byte vehicle VIN code. When the preemption time slot is occupied, the vehicle can receive the preemption time slot in the preemption time slot. Therefore, it can be determined whether the preemption time slot is occupied by other vehicles in the fleet by judging whether the vehicle receives the preemption time slot message broadcast by other vehicles.
[0097] Step 305, when the vehicle has a communication demand, broadcast the vehicle's identification information and data message in the dedicated time slot; when the vehicle has no communication demand, broadcast the vehicle's identification information in the dedicated time slot.
[0098] After the preempted time slot is occupied, the vehicle can broadcast in the idle exclusive time slot. If the vehicle has a communication demand, the vehicle's identification information and the data message to be broadcast can be broadcast in the exclusive time slot. If the vehicle has no communication demand, the vehicle's identification information can be broadcast in the exclusive time slot. It can be understood that in the network access stage, after occupying the preempted time slot of a preset number of communication cycles, the vehicle's identification information needs to be broadcast in the exclusive time slot of a preset number of communication cycles to determine the exclusive time slot as the vehicle's exclusive time slot.
[0099] In an optional embodiment of the present application, the method further includes:
[0100] After the exclusive time slot is occupied, the preempted time slot is released.
[0101] After the exclusive time slot occupies a preset number of communication cycles, the vehicle completes the network access and can release the occupied time slot.
[0102] In an optional embodiment of the present application, the method further includes:
[0103] During the communication phase, when it is the vehicle's turn to use its exclusive time slot, the vehicle's exclusive time slot message is broadcast; the exclusive time slot message includes at least a packet header and a data payload.
[0104] During the communication phase, when it is the vehicle's turn to use its exclusive time slot, the vehicle's exclusive time slot message must be broadcast; the exclusive time slot message includes at least two parts: a header and a data payload. The header includes a fixed 19 bytes, consisting of 17 bytes of vehicle identification information and 2 bytes of data payload length. The maximum length of the data payload is 65535 bytes, and the actual length is specified by the 2-byte data payload length of the header. The payload content is the enterprise's private communication protocol.
[0105] In an optional embodiment of the present application, the method further includes:
[0106] In response to the network exit request instruction, the vehicle does not broadcast for a preset number of consecutive communication cycles to exit the network.
[0107] After completing data broadcasting, the vehicle enters the network withdrawal stage. The user can initiate a network withdrawal request instruction on the vehicle. In response to the network withdrawal request instruction, the vehicle begins to stop broadcasting in the exclusive time slot of a preset number of consecutive communication cycles, and the default is network withdrawal.
[0108] The present application discloses a method for wireless broadcasting of a fleet, wherein the communication cycle of the fleet broadcast frequency band is divided into N+2 time slots; the N+2 time slots include a starting time slot, a preempted time slot, and N exclusive time slots; the method comprises: responding to a network access request instruction, monitoring the broadcast frequency band of a preset number of communication cycles; judging whether a starting time slot message is monitored; the starting time slot message is a fixed message containing fixed data; if the starting time slot message is monitored, determining whether there is an idle exclusive time slot; if the starting time slot message is not monitored, actively publishing the starting time slot message; if there is an idle exclusive time slot It belongs to the time slot, occupies the preempted time slot, and broadcasts the vehicle's identification information in the preempted time slot of a preset number of communication cycles; when the vehicle has a communication demand, broadcasts the vehicle's identification information and data messages in the exclusive time slot; when the vehicle has no communication demand, broadcasts the vehicle's identification information in the exclusive time slot. The time slots of the fleet's communication cycle can be allocated, and the vehicles in the fleet can broadcast data in the designated time slot, avoiding the influence of other vehicles' broadcast data. Moreover, the vehicles in the fleet can share data independently without relaying, thereby improving the efficiency of data transmission.
[0109] Figure 5 It is a flow chart of a vehicle fleet wireless broadcasting method shown in an embodiment of the present application.
[0110] See also Figure 5 ,The communication cycle of the fleet broadcast frequency band is divided into N+2 time slots; N+2 time slots include the starting time slot, the preemption time slot, and N exclusive time slots.
[0111] Taking monitoring three communication cycles as an example, the method includes:
[0112] Step 501, initiate a network access request instruction;
[0113] The network access request instruction may be initiated by a user in a vehicle.
[0114] Step 502, monitoring the broadcast frequency band of three communication cycles;
[0115] In response to the network access request instruction, the vehicle starts to monitor the broadcast and can monitor the broadcast frequency band for 3 communication cycles.
[0116] Step 503, determine whether there is a starting time slot; if not, execute step 504; if yes, execute step 505;
[0117] Step 504, actively publish the starting time slot;
[0118] Step 505, determine whether there is an idle dedicated time slot; if not, execute step 506, if yes, execute step 507;
[0119] Step 506, randomly wait for a number of communication cycles, and return to step 505;
[0120] Step 507, determine whether there are other vehicles in the fleet occupying the preemption time slot; if so, return to step 506, if not, execute step 508;
[0121] There are two situations for judging whether there are other vehicles in the fleet occupying the preemption time slot: judging whether the preemption time slot has been occupied by other vehicles in the fleet; and judging whether there are multiple vehicles in multiple fleets simultaneously occupying the preemption time slot.
[0122] Step 508, occupying the preemption time slot;
[0123] The identification information of the vehicle may be broadcast from the preemption time slot of the next communication cycle to occupy the preemption time slot.
[0124] Step 509, broadcasting in an idle dedicated time slot;
[0125] Step 5010, after the exclusive time slot is occupied, the occupied time slot is released;
[0126] After the exclusive time slot occupies a preset number of communication cycles, the vehicle completes the network access and can release the occupied time slot.
[0127] The present application discloses a wireless broadcasting method for a fleet, which can allocate time slots of a fleet communication cycle. Vehicles in the fleet can broadcast data in the specified time slots, avoiding the influence of broadcast data of other vehicles. Furthermore, vehicles in the fleet can share data independently without relaying, thereby improving the efficiency of data transmission.
[0128] Corresponding to the aforementioned application function implementation method embodiment, the present application also provides a fleet wireless broadcasting device, electronic device and corresponding embodiments.
[0129] Figure 6 It is a schematic diagram of the structure of a wireless broadcasting device for a fleet shown in an embodiment of the present application.
[0130] See also Figure 6 , the communication cycle of the fleet broadcast frequency band is divided into N+2 time slots; N+2 time slots include a starting time slot, a preempted time slot, and N exclusive time slots; the device includes:
[0131] A monitoring module 601 is used to monitor a preset number of communication cycles in response to a network access request instruction;
[0132] Before a vehicle broadcasts data within a fleet, it needs to access the network first. The network access request instruction can be initiated by the user on the vehicle. In response to the network access request instruction, the vehicle begins to monitor the broadcast and can monitor the broadcast frequency band for a preset number of communication cycles. The preset number can be set according to actual needs, for example, it can monitor 3 communication cycles, 4 communication cycles, etc. This application does not impose any restrictions on this.
[0133] The judging module 602 is used to determine whether there is an idle exclusive time slot when monitoring the starting time slot;
[0134] If the start time slot is monitored, it means that a communication cycle has begun, and it can be further determined whether there is an idle exclusive time slot in the communication cycle.
[0135] The occupation module 603 is used to occupy the preempted time slot if there is an idle dedicated time slot, and broadcast the identification information of the vehicle in the preempted time slot of a preset number of communication cycles;
[0136] If there are still unoccupied exclusive time slots in the communication cycle, the idle exclusive time slots can be determined, and therefore, the exclusive time slots can be occupied. During the network access phase, when occupying the exclusive time slot, it is necessary to first occupy the preempted time slot, that is, broadcast the vehicle's identification information in the preempted time slots of a consecutive preset number of communication cycles, where the identification information can be the vehicle's VIN code.
[0137] The broadcast module 604 is configured to broadcast in dedicated time slots of a preset number of communication cycles.
[0138] During the network access phase, after occupying the preempted time slot, broadcasting can be performed in an idle exclusive time slot of a preset number of consecutive communication cycles, so that the idle exclusive time slot can be used as the vehicle's exclusive time slot, which can prevent other vehicles from broadcasting in the exclusive time slot.
[0139] In an optional embodiment of the present application, the judgment module includes:
[0140] The start time slot submodule is used to determine whether the start time slot message is monitored; the start time slot message is a fixed message containing fixed data;
[0141] A first determination submodule, configured to determine whether there is an idle dedicated time slot if a start time slot message is monitored;
[0142] The publishing submodule is used to actively publish the starting time slot message if the starting time slot message is not monitored.
[0143] In an optional embodiment of the present application, the occupancy module includes:
[0144] The second determination submodule is used to determine whether there are other vehicles in the fleet that preempt the preempted time slot when there is an idle exclusive time slot;
[0145] The first broadcast submodule is used for broadcasting the identification information of the vehicle from the preempted time slot of the next communication cycle if no other vehicle preempts the preempted time slot.
[0146] In an optional embodiment of the present application, the second determining submodule is further used to determine whether the vehicle receives a time slot preemption message broadcast by other vehicles during the time slot preemption; the time slot preemption message includes a fixed byte for storing identification information;
[0147] In an optional embodiment of the present application, the broadcast module includes:
[0148] The second broadcast submodule is used to broadcast the vehicle's identification information and data message in a dedicated time slot when the vehicle has a communication demand;
[0149] The third broadcast submodule is used to broadcast the identification information of the vehicle in the dedicated time slot when the vehicle has no communication demand.
[0150] In an optional embodiment of the present application, the device further includes:
[0151] The exclusive time slot message module is used to broadcast the vehicle's exclusive time slot message during the communication phase when it is the vehicle's turn to use the exclusive time slot; the exclusive time slot message includes at least a packet header and a data payload.
[0152] In an optional embodiment of the present application, the device further includes:
[0153] The network withdrawal module is used to respond to the network withdrawal request instruction, and the vehicle does not broadcast for a preset number of communication cycles in succession to withdraw from the network.
[0154] The present application discloses a wireless broadcasting device for a motorcade, wherein the communication cycle of the motorcade broadcast frequency band is divided into N+2 time slots; the N+2 time slots include a starting time slot, a preempted time slot, and N exclusive time slots; the method comprises: a monitoring module, for responding to a network access request instruction, and monitoring the broadcast frequency band of a preset number of communication cycles; a judgment module, for determining whether there is an idle exclusive time slot when the starting time slot is monitored; an occupation module, for occupying the preempted time slot if there is an idle exclusive time slot, and broadcasting the identification information of the vehicle in the preempted time slot of a preset number of communication cycles; a broadcasting module, for broadcasting in the exclusive time slot of a preset number of communication cycles, and capable of allocating the time slots of the motorcade communication cycle, so that the vehicles in the motorcade can broadcast data in the designated time slot, thereby avoiding the influence of the broadcast data of other vehicles, and the vehicles in the motorcade can share data independently without being forwarded through a relay, thereby improving the efficiency of data transmission.
[0155] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated again here.
[0156] Figure 7 It is a schematic diagram of the structure of an electronic device shown in an embodiment of the present application.
[0157] See also Figure 7 , the electronic device 700 includes a memory 710 and a processor 720 .
[0158] The processor 720 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
[0159] The memory 710 may include various types of storage units, such as system memory, read-only memory (ROM), and permanent storage. Among them, ROM may store static data or instructions required by the processor 720 or other modules of the computer. The permanent storage may be a readable and writable storage device. The permanent storage may be a non-volatile storage device that does not lose the stored instructions and data even after the computer is powered off. In some embodiments, the permanent storage device uses a large-capacity storage device (such as a magnetic or optical disk, flash memory) as a permanent storage device. In other embodiments, the permanent storage device may be a removable storage device (such as a floppy disk, optical drive). The system memory may be a readable and writable storage device or a volatile readable and writable storage device, such as a dynamic random access memory. The system memory may store some or all instructions and data required by the processor at run time. In addition, the memory 710 may include any combination of computer-readable storage media, including various types of semiconductor memory chips (such as DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), and disks and / or optical disks may also be used. In some embodiments, the memory 710 may include a readable and / or writable removable storage device, such as a laser disc (CD), a read-only digital versatile disc (such as a DVD-ROM, a double-layer DVD-ROM), a read-only Blu-ray disc, an ultra-density optical disc, a flash memory card (such as an SD card, a mini SD card, a Micro-SD card, etc.), a magnetic floppy disk, etc. The computer-readable storage medium does not include carrier waves and transient electronic signals transmitted wirelessly or wired.
[0160] The memory 710 stores executable codes, and when the executable codes are processed by the processor 720 , the processor 720 can execute part or all of the methods described above.
[0161] In addition, the method according to the present application may also be implemented as a computer program or a computer program product, which includes computer program code instructions for executing some or all of the steps in the above method of the present application.
[0162] Alternatively, the present application can also be implemented as a computer-readable storage medium (or non-transitory machine-readable storage medium or machine-readable storage medium) on which executable code (or computer program or computer instruction code) is stored. When the executable code (or computer program or computer instruction code) is executed by a processor of an electronic device (or server, etc.), the processor executes part or all of the steps of the above-mentioned method according to the present application.
[0163] The embodiments of the present application have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.
Claims
1. A wireless broadcasting method for a fleet, characterized in that: The communication cycle of the fleet broadcast frequency band is divided into N+2 time slots; the N+2 time slots include a starting time slot, a preempted time slot and N exclusive time slots, where N is an integer greater than 1; the method includes: In response to a network access request instruction, monitoring a broadcast frequency band for a preset number of communication cycles; When monitoring the starting time slot, determining whether there is an idle exclusive time slot; If there is an idle exclusive time slot, occupy the preempted time slot, and broadcast the identification information of the vehicle in the preempted time slot of a preset number of communication cycles; Broadcasting in the dedicated time slots of a preset number of communication cycles; The occupying of the preemption time slot comprises: When there is an idle exclusive time slot, determining whether there is another vehicle in the fleet that preempts the preempted time slot; If no other vehicle preempts the preempted time slot, the identification information of the vehicle is broadcast from the preempted time slot of the next communication cycle.
2. The method according to claim 1, characterized in that The step of determining whether there is an idle dedicated time slot when monitoring the starting time slot comprises: Determine whether a start time slot message is monitored; the start time slot message is a fixed message, containing fixed data; If the start time slot message is monitored, determining whether there is an idle exclusive time slot; If the start time slot message is not monitored, the start time slot message is actively released.
3. The method according to claim 1, characterized in that The step of determining whether there are other vehicles in the fleet that preempt the preempted time slot comprises: It is determined whether the vehicle receives a time slot preemption message broadcast by other vehicles during the time slot preemption; the time slot preemption message includes fixed bytes for storing the identification information.
4. The method according to claim 1, characterized in that The step of broadcasting in the exclusive time slots of the preset number of communication cycles includes: When the vehicle has a communication demand, broadcasting the identification information and data message of the vehicle in the dedicated time slot; When the vehicle has no communication demand, the identification information of the vehicle is broadcast in the dedicated time slot.
5. The method according to claim 1, characterized in that The method further comprises: During the communication phase, when it is the turn of the vehicle's exclusive time slot, the vehicle's exclusive time slot message is broadcast; the exclusive time slot message at least includes a packet header and a data payload.
6. The method according to claim 1, characterized in that The method further comprises: In response to the network exit request instruction, the vehicle does not broadcast for a preset number of consecutive communication cycles to exit the network.
7. A wireless broadcasting device for a motorcade, characterized in that: The communication cycle of the fleet broadcast frequency band is divided into N+2 time slots; the N+2 time slots include a starting time slot, a preempted time slot and N exclusive time slots, where N is an integer greater than 1, and the device includes: A monitoring module, used for monitoring a preset number of communication cycles in response to a network access request instruction; A judgment module, used for determining whether there is an idle exclusive time slot when monitoring the starting time slot; An occupation module, configured to occupy the preempted time slot if there is an idle exclusive time slot, and broadcast the identification information of the vehicle in the preempted time slot of a preset number of communication cycles; A broadcast module, configured to broadcast in the dedicated time slots of a preset number of communication cycles; The occupancy module comprises: A second determination submodule is used to determine whether there are other vehicles in the fleet that preempt the preempted time slot when there is an idle exclusive time slot; The first broadcast submodule is used for broadcasting the identification information of the vehicle from the preempted time slot of the next communication cycle if no other vehicle preempts the preempted time slot.
8. An electronic device, characterized in that: include: processor; as well as A memory having executable codes stored thereon, which, when executed by the processor, causes the processor to execute the method according to any one of claims 1 to 6.
9. A computer-readable storage medium having executable codes stored thereon, which, when executed by a processor of an electronic device, causes the processor to execute the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Dynamic time slot allocation method and device, equipment, and storage medium
CN108024367A
Internet of Vehicles access method, device and system
CN112235755A
