[go: up one dir, main page]

CN110809250B - Method for communication between read-write terminal and N vehicle-mounted units and read-write terminal - Google Patents

Method for communication between read-write terminal and N vehicle-mounted units and read-write terminal Download PDF

Info

Publication number
CN110809250B
CN110809250B CN201910848374.1A CN201910848374A CN110809250B CN 110809250 B CN110809250 B CN 110809250B CN 201910848374 A CN201910848374 A CN 201910848374A CN 110809250 B CN110809250 B CN 110809250B
Authority
CN
China
Prior art keywords
vehicle
physical address
read
write terminal
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910848374.1A
Other languages
Chinese (zh)
Other versions
CN110809250A (en
Inventor
李东声
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tendyron Corp
Original Assignee
Tendyron Corp
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 Tendyron Corp filed Critical Tendyron Corp
Priority to CN201910848374.1A priority Critical patent/CN110809250B/en
Publication of CN110809250A publication Critical patent/CN110809250A/en
Application granted granted Critical
Publication of CN110809250B publication Critical patent/CN110809250B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/70Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes
    • H04B5/77Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes for interrogation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/40Connection management for selective distribution or broadcast
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a method for communication between a read-write terminal and N vehicle-mounted units and the read-write terminal, wherein channels of 5.8GHz frequency bands of the N vehicle-mounted units are in an open state, and the method comprises the following steps: the read-write terminal acquires the physical addresses of the N vehicle-mounted units in a preset mode and generates a physical address list; the read-write terminal sends wake-up signals to the N vehicle-mounted units in a broadcast mode through a 5.8GHz frequency band; the read-write terminal sequentially establishes communication connection with the N vehicle-mounted units through a 5.8GHz frequency band according to the physical address list, and after communication connection is established with the vehicle-mounted unit corresponding to the ith physical address of the physical address list each time, ith data is sent to the vehicle-mounted unit corresponding to the ith physical address of the physical address list, wherein i is more than or equal to 1 and less than or equal to N; and the read-write terminal sequentially sends jth confirmation data to the vehicle-mounted unit corresponding to the jth physical address of the physical address list through a 5.8GHz frequency band according to the physical address list, wherein j is more than or equal to 1 and is less than or equal to N. By the method, the working efficiency of the 5.8GHz read-write terminal can be improved.

Description

Method for communication between read-write terminal and N vehicle-mounted units and read-write terminal
Technical Field
The invention relates to the technical field of electronics, in particular to a method for communication between a read-write terminal and N vehicle-mounted units and the read-write terminal.
Background
An Electronic Toll Collection (ETC) system performs charging by performing 5.8GHz communication and information exchange between antennas of an On Board Unit (OBU) and a roadside unit (RSU) mounted On a vehicle. The OBU stores vehicle identification information and is typically mounted on the windshield in front of the vehicle, and the RSU is typically mounted on the roadside of the toll station.
In the prior art, when the road side unit executes the operations of issuing, upgrading the system, managing the warehouse and the like of the vehicle-mounted unit, the vehicle-mounted unit needs to be operated one by one, and the time difference caused by the large difference between the time required by data transmission and processing of the road side unit and the vehicle-mounted unit causes the overlong time consumption and low efficiency of the road side unit when the operations are executed.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a method for communication between a read-write terminal and N vehicle-mounted units and the read-write terminal.
In order to achieve the purpose, the invention is realized by the following technical scheme:
the invention provides a method for communication between a read-write terminal and N vehicle-mounted units, wherein channels of 5.8GHz frequency bands of the N vehicle-mounted units are in an open state, and the method comprises the following steps:
the read-write terminal acquires physical addresses of N vehicle-mounted units in a preset mode and generates a physical address list, wherein the preset mode does not include a 5.8GHz frequency band, the physical address list includes the physical addresses of the N vehicle-mounted units, N is more than or equal to 2, and N is a natural number;
the read-write terminal sends wake-up signals to the N vehicle-mounted units in a broadcast mode through a 5.8GHz frequency band;
the read-write terminal establishes communication connection with the N vehicle-mounted units in sequence through a 5.8GHz frequency band according to the physical address list, and after establishing communication connection with the vehicle-mounted unit corresponding to the ith physical address of the physical address list each time, transmits ith data to the vehicle-mounted unit corresponding to the ith physical address of the physical address list, wherein the ith data comprises the ith operation data and the ith physical address, and the ith operation data is obtained by the read-write terminal according to the obtained operation instruction; the transmission duration of the ith data sent to the vehicle-mounted unit corresponding to the ith physical address of the physical address list is shorter than the duration of the vehicle-mounted unit corresponding to the ith physical address of the physical address list for processing the operation data; under the condition that i is not equal to 1, the interval duration between sending ith data to the vehicle-mounted unit corresponding to the ith physical address of the physical address list and sending the i-1 th data to the vehicle-mounted unit corresponding to the i-1 th physical address of the physical address list is less than the duration of processing the operation data by the vehicle-mounted unit corresponding to the i-1 th physical address of the physical address list, wherein i is more than or equal to 1 and is less than or equal to N;
after the read-write terminal sends the Nth data to the Nth vehicle-mounted unit, j confirmation data are sequentially sent to the vehicle-mounted unit corresponding to the j physical address of the physical address list through a 5.8GHz frequency band according to the physical address list, wherein the j confirmation data comprise a confirmation instruction and the j physical address, and j is larger than or equal to 1 and smaller than or equal to N.
Furthermore, the method further comprises: and the read-write terminal sends a closing instruction to the vehicle-mounted unit corresponding to the jth physical address through the 5.8GHz frequency band under the condition of receiving a jth confirmation response sent by the vehicle-mounted unit corresponding to the jth physical address, wherein the closing instruction is used for indicating to close the channel of the 5.8GHz frequency band.
Furthermore, the method further comprises: and the read-write terminal sends jth data to the vehicle-mounted unit corresponding to the jth physical address under the condition that the jth confirmation response sent by the vehicle-mounted unit corresponding to the jth physical address is not received, wherein the jth data comprises the operation data and the jth physical address.
In addition, the acquiring, by the read-write terminal, the physical addresses of the N vehicle-mounted units in a preset manner includes: and the reading and writing terminal scans the two-dimensional code to acquire the physical addresses of the N vehicle-mounted units at one time.
In another aspect, the present invention provides a read/write terminal, where the read/write terminal communicates with N vehicle-mounted units, and channels of 5.8GHz bands of the N vehicle-mounted units are in an open state, and the read/write terminal includes:
the acquisition module is used for acquiring physical addresses of the N vehicle-mounted units in a preset mode and generating a physical address list, wherein the preset mode does not include a 5.8GHz frequency band, the physical address list includes the physical addresses of the N vehicle-mounted units, N is more than or equal to 2, and N is a natural number;
the communication module is used for sending wake-up signals to the N vehicle-mounted units in a broadcast mode through a 5.8GHz frequency band;
the communication module is further configured to establish communication connection with the N vehicle-mounted units in sequence through a 5.8GHz frequency band according to the physical address list, and after establishing communication connection with a vehicle-mounted unit corresponding to an ith physical address of the physical address list each time, send ith data to a vehicle-mounted unit corresponding to the ith physical address of the physical address list, where the ith data includes the ith operation data and the ith physical address, and the ith operation data is obtained by the read-write terminal according to the obtained operation instruction; the transmission duration of the ith data sent to the vehicle-mounted unit corresponding to the ith physical address of the physical address list is shorter than the duration of the vehicle-mounted unit corresponding to the ith physical address of the physical address list for processing the operation data; under the condition that i is not equal to 1, the interval duration between sending ith data to the vehicle-mounted unit corresponding to the ith physical address of the physical address list and sending the i-1 th data to the vehicle-mounted unit corresponding to the i-1 th physical address of the physical address list is less than the duration of processing the operation data by the vehicle-mounted unit corresponding to the i-1 th physical address of the physical address list, wherein i is more than or equal to 1 and is less than or equal to N;
the communication module is further configured to sequentially send jth confirmation data to the vehicle-mounted units corresponding to the jth physical address of the physical address list through a 5.8GHz frequency band according to the physical address list after the nth data is sent to the nth vehicle-mounted unit, where the jth confirmation data includes a confirmation instruction and the jth physical address, and j is greater than or equal to 1 and less than or equal to N.
In addition, the communication module is further configured to send a closing instruction to the vehicle-mounted unit corresponding to the jth physical address through the 5.8GHz band when a jth acknowledgement response sent by the vehicle-mounted unit corresponding to the jth physical address is received, where the closing instruction is used to instruct to close the channel of the 5.8GHz band.
In addition, the communication module is further configured to send jth data to the on-board unit corresponding to the jth physical address when a jth acknowledgement response sent by the on-board unit corresponding to the jth physical address is not received, where the jth data includes the operation data and the jth physical address.
In addition, the acquiring module is configured to acquire the physical addresses of the N on-board units in a preset manner, and includes: the acquisition module scans the two-dimensional code to acquire the physical addresses of the N vehicle-mounted units at one time.
By adopting the technical scheme provided by the invention, the read-write terminal can acquire the MAC addresses of the N vehicle-mounted units at one time, sequentially send operation data corresponding to the vehicle-mounted units for management (such as issuing, system upgrading, inventory management and the like) to the N vehicle-mounted units, and sequentially send confirmation signals to the N vehicle-mounted units after all the operation data are sent to all the vehicle-mounted units. The read-write terminal of the embodiment executes operations on the N vehicle-mounted units in batch, and does not need to manage the vehicle-mounted units one by one, and the read-write terminal can finish the operation of sending data to other vehicle-mounted units by using the time for receiving and processing the operation data by one vehicle-mounted unit, so that the time for reading and writing the terminal is utilized to the maximum extent, the working efficiency of the read-write terminal is improved, and the workload required for batch management of the vehicle-mounted units is greatly reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a flowchart of a method for communication between a read-write terminal and N on-board units in embodiment 1;
fig. 2 is a schematic structural diagram of the read-write terminal in embodiment 1.
Detailed Description
In order to facilitate an understanding of the invention, the invention is described in more detail below with reference to the accompanying drawings and specific examples. Preferred embodiments of the present invention are shown in the drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
It will be understood that when an element is referred to as being "secured to" another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. The terms "vertical," "horizontal," "left," "right," and the like as used herein are for descriptive purposes only.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
In the prior art, a read-write terminal communicates with a vehicle-mounted unit at 5.8GHz, and the read-write terminal is a read-write terminal with a 5.8GHz communication function, and therefore is also called a 5.8GHz read-write terminal. When a 5.8GHz read-write terminal needs to manage a vehicle-mounted unit (such as first release, system upgrade, warehouse management, etc.), one-to-one communication is generally required. Taking the example that the 5.8GHz read-write terminal issues a vehicle-mounted unit for the first time, generally, the 5.8GHz read-write terminal sends a wake-up signal to the vehicle-mounted unit, and the vehicle-mounted unit feeds back a wake-up response to the 5.8GHz, wherein the wake-up response has an MAC address of the vehicle-mounted unit. And the 5.8GHz read-write terminal establishes communication connection according to the MAC address, sends issuing data and finally completes issuing process. However, in the present application, in order to improve the communication efficiency, the 5.8GHz read-write terminal needs to communicate with N on-board units at one time, and if a manner of acquiring the MAC address through 5.8GHz in the prior art is adopted, the on-board units need to transmit the wake-up signal and the response signal one by one, which may cause time waste; if the 5.8GHz read-write terminal adopts a mode of broadcasting and sending the awakening signals to the N vehicle-mounted units, the N vehicle-mounted units simultaneously receive the awakening signals and then simultaneously send awakening responses to the 5.8GHz read-write terminal, and at the moment, the awakening responses collide with each other because the 5.8GHz read-write terminal receives too many awakening responses at the same time, so that the 5.8GHz read-write terminal cannot obtain a part of awakening responses or even one awakening response cannot be received, and therefore, the MAC address cannot be obtained at all.
Example 1
In this embodiment, the read-write terminal is a read-write terminal with a 5.8GHz communication function, which is also called a 5.8GHz read-write terminal. And one 5.8GHz read-write terminal can perform data interaction with the N vehicle-mounted units in a time-sharing manner. And the channels of the 5.8GHz band of the N on-board units are in an on state, for example, the 5.8GHz band of the N on-board units is in an on state when shipped from a factory. Generally, the present embodiment is performed before the on-board units are mounted to the respective vehicles to facilitate uniform management. As shown in fig. 1, the method includes:
step S101, the read-write terminal acquires physical addresses of N vehicle-mounted units in a preset mode and generates a physical address list, wherein the preset mode does not include a 5.8GHz frequency band, the physical address list includes the physical addresses of the N vehicle-mounted units, N is larger than or equal to 2, and N is a natural number. Specifically, the 5.8GHz read-write terminal can be an RSU device installed beside a toll road, or a handheld RSU device, and the handheld RSU device can be used for mobile toll collection, or a device specially used for issuing and upgrading an OBU. In this step, before establishing a 5.8GHz band communication connection with the on-board units, the 5.8GHz read-write terminal first obtains the physical addresses (Media Access Control addresses, MACs) of the N on-board units at one time in other manners, and does not need to obtain the MAC addresses in the 5.8GHz band.
In an optional implementation manner of this embodiment, the 5.8GHz read-write terminal acquires the physical addresses of the N on-board units by, but not limited to, the following manners: (1) the 5.8GHz read-write terminal scans the two-dimensional code to acquire the physical addresses of the N vehicle-mounted units at one time, for example, the N vehicle-mounted units can be packaged into a box, the two-dimensional code is arranged on the box, the two-dimensional code comprises the MAC address of one box of vehicle-mounted units, the 5.8GHz read-write terminal has a code scanning and reading function, and the physical addresses of the N vehicle-mounted units are acquired at one time by scanning the two-dimensional code on the box; (2) the 5.8GHz read-write terminal acquires the physical addresses of the N vehicle-mounted units at one time in a lead-in mode, the 5.8GHz read-write terminal is provided with a wired and wireless data communication interface, and the lead-in MAC addresses of the N vehicle-mounted units are received at one time through the wired and wireless communication interface.
And step S102, the read-write terminal sends wake-up signals to the N vehicle-mounted units in a broadcast mode through a 5.8GHz frequency band. Specifically, the 5.8GHz read-write terminal broadcasts and sends a wake-up signal to the N vehicle-mounted units, after the N vehicle-mounted units receive the wake-up signal at the same time, the N vehicle-mounted units will send a wake-up response to the 5.8GHz read-write terminal at the same time, and at this time, the 5.8GHz read-write terminal does not perform any processing on the received wake-up response, and directly executes step S103.
Step S103, the read-write terminal establishes communication connection with N vehicle-mounted units in sequence through a 5.8GHz frequency band according to the physical address list, and after communication connection is established with the vehicle-mounted unit corresponding to the ith physical address of the physical address list each time, ith data is sent to the vehicle-mounted unit corresponding to the ith physical address of the physical address list, wherein the ith data comprises ith operation data and the ith physical address, and the ith operation data is obtained by the 5.8GHz read-write terminal according to the obtained operation instruction; the transmission duration of the ith data sent to the vehicle-mounted unit corresponding to the ith physical address of the physical address list is shorter than the duration of the vehicle-mounted unit corresponding to the ith physical address of the physical address list for processing the operation data; and under the condition that i is not equal to 1, the interval duration between the sending of the ith data to the vehicle-mounted unit corresponding to the ith physical address of the physical address list and the sending of the i-1 th data to the vehicle-mounted unit corresponding to the i-1 th physical address of the physical address list is less than the duration of the processing of the operation data by the vehicle-mounted unit corresponding to the i-1 th physical address of the physical address list, wherein i is more than or equal to 1 and is less than or equal to N. In step S102, it is known that the 5.8GHz read/write terminal does not process the wake-up response. Therefore, after the 5.8GHz read-write terminal finishes sending the broadcast signals, the communication connection is sequentially established with the N vehicle-mounted units directly according to the previously acquired physical address list, and the subsequent data sending operation of the vehicle-mounted unit is executed after the communication connection is established with one vehicle-mounted unit. Specifically, each time the 5.8GHz read-write terminal establishes communication connection according to the vehicle-mounted unit corresponding to the MAC address in the physical address list, then a data packet containing operation data and the corresponding MAC address is sent to the vehicle-mounted unit, communication connection is immediately established with the vehicle-mounted unit corresponding to the next MAC address in the physical address list, subsequent data sending is also completed, and the like, until all the vehicle-mounted units corresponding to all the MAC addresses in the physical address list complete communication connection establishment and data sending.
In step S103, the time length for the 5.8GHz read-write terminal to send corresponding data to a certain vehicle-mounted unit is far shorter than the time length required for the vehicle-mounted unit to receive and process the data, and the time length of the interval between the 5.8GHz read-write terminal to send corresponding data to two vehicle-mounted units is also far shorter than the time length required for the vehicle-mounted units to receive and process the data. For example, it takes 1s for the 5.8GHz read-write terminal to transmit corresponding data to a certain vehicle-mounted unit, and after the 5.8GHz read-write terminal transmits corresponding data to one vehicle-mounted unit, it can transmit corresponding data to the next vehicle-mounted unit only at an interval of 1s, and it takes 60s for one vehicle-mounted unit to receive and process corresponding data. If the 5.8GHz read-write terminal does not execute other operations after sending corresponding data to one vehicle-mounted unit but waits for the response of the vehicle-mounted unit, 62s of time is consumed for issuing a single vehicle-mounted unit, so that the service time of the 5.8GHz read-write terminal is greatly wasted, and the communication efficiency is reduced. In this embodiment, the 5.8GHz read-write terminal sequentially sends all data to all N vehicle-mounted units without waiting for the response of the vehicle-mounted units, so that the working efficiency of the 5.8GHz read-write terminal can be improved.
In addition, the number of the vehicle-mounted units issued at one time by the 5.8GHz read-write terminal can be arranged according to the different time consumption proportions, namely, a reasonable number of N can be determined. Taking the time consumed in the above example as an example, N may be set to 60, that is, the 5.8GHz read-write terminal issues 60 vehicle-mounted units at a time, and when the first vehicle-mounted unit receives and processes the corresponding data, the 5.8GHz read-write terminal just completes the operation of sending the corresponding data to the 60 vehicle-mounted units, so that the time of the 5.8GHz read-write terminal is utilized to the maximum extent, and the communication efficiency is improved.
In step S103, according to different management behaviors to be executed by the 5.8GHz read-write terminal on the vehicle-mounted unit, the types of the operation data are different, and after receiving the operation data, the vehicle-mounted unit executes corresponding data processing or data writing operation according to the difference of the operation data. Management behaviors to be executed on the vehicle-mounted unit by the 5.8GHz read-write terminal include but are not limited to first release, system upgrading and warehouse management. For example, when the management action is an issuing operation, the issuing data may include a key data packet corresponding to the on-board unit to be issued, and the key data may include key information such as an authentication key, a master key, and a maintenance key, in which case, the operation data sent to each on-board unit may be different; when the management action is to upgrade the system operation, the operation data may include a system data packet of the system to be upgraded, in which case the operation data sent to each on-board unit may be the same.
In an optional implementation manner of this embodiment, the time for the 5.8GHz read-write terminal to obtain the operation instruction is not limited in step S103, and any step before the 5.8GHz read-write terminal obtains the operation data according to the operation instruction may be completed. The 5.8GHz read-write terminal can acquire an operation instruction once before acquiring operation data every time, and can also repeatedly acquire corresponding operation data according to the operation instruction once. The 5.8GHz read-write terminal can receive an instruction sent from the outside or detect some key inputs to obtain an operation instruction, for example, the 5.8GHz read-write terminal receives an instruction of other equipment and starts a management operation on the vehicle-mounted unit, or the 5.8GHz read-write terminal is provided with a key, and a user starts the management operation on the vehicle-mounted unit through the key.
It should be noted that, in step S103, after the 5.8GHz read-write terminal establishes a communication connection with a certain on-board unit and transmits a data packet containing operation data and a corresponding MAC address, the connection with the on-board unit is not interrupted. Therefore, in step S103, the 5.8GHz read-write terminal may maintain the state of communication connection with a maximum of N on-board units, so that subsequent operations do not need to establish connection again.
And step S104, after the read-write terminal sends the Nth data to the Nth vehicle-mounted unit, sequentially sending jth confirmation data to the vehicle-mounted unit corresponding to the jth physical address of the physical address list through a 5.8GHz frequency band according to the physical address list, wherein the jth confirmation data comprise a confirmation instruction and the jth physical address, and j is greater than or equal to 1 and less than or equal to N. Specifically, after the 5.8GHz read-write terminal sends all the corresponding data to all the N vehicle-mounted units, it needs to send confirmation data to all the N vehicle-mounted units in sequence according to the physical address list to check whether the vehicle-mounted units successfully receive and process the corresponding data, so as to ensure the reliability of data transmission.
In addition, in order to leave enough processing time for the on-board units, after the step S103 is executed to transmit the corresponding data to all N on-board units, the operation of the step S104 may be started after a period of time, so as to prevent the on-board units from being unable to transmit the confirmation response to the 5.8GHz read-write terminal because of insufficient processing time. The interval time can be set according to actual conditions.
In the method for communication between the read-write terminal and the N vehicle-mounted units provided by this embodiment, the 5.8GHz read-write terminal acquires the MAC addresses of the N vehicle-mounted units at a time, sequentially sends operation data corresponding to the vehicle-mounted units to the N vehicle-mounted units for management (such as issuing, system upgrading, inventory management, and the like), and sequentially sends confirmation signals to the N vehicle-mounted units after all the operation data are sent to all the vehicle-mounted units. By the method, the N vehicle-mounted units are operated in batches without performing individual management operation on the vehicle-mounted units, and the 5.8GHz read-write terminal can finish the operation of sending data to other vehicle-mounted units by using the time for receiving and processing the operation data by one vehicle-mounted unit, so that the time for the 5.8GHz read-write terminal is utilized to the maximum extent, the working efficiency of the 5.8GHz read-write terminal is improved, and the workload required for batch management of the vehicle-mounted units is greatly reduced.
In an alternative embodiment of the present invention, the method further comprises: step S105A, the read-write terminal sends a closing instruction to the vehicle-mounted unit corresponding to the jth physical address through the 5.8GHz band under the condition of receiving the jth confirmation response sent by the vehicle-mounted unit corresponding to the jth physical address, and the closing instruction is used for indicating to close the channel of the 5.8GHz band. Specifically, after the 5.8GHz read-write terminal sends a confirmation data to a certain vehicle-mounted unit, if the vehicle-mounted unit has successfully executed corresponding data processing and data writing operation according to the operation data, a confirmation response is sent to the 5.8GHz read-write terminal immediately, and then the 5.8GHz read-write terminal considers that the vehicle-mounted unit has successfully completed the management action to be executed, and can send a closing instruction to allow the vehicle-mounted unit to close the channel of the 5.8GHz band, thereby saving electric energy.
In an optional implementation manner of this embodiment, the method further includes: step S105B, the read-write terminal sends jth data to the vehicle-mounted unit corresponding to the jth physical address under the condition that the jth confirmation response sent by the vehicle-mounted unit corresponding to the jth physical address is not received, wherein the jth data comprises the operation data and the jth physical address. Specifically, when the 5.8GHz read-write terminal sends a confirmation data to a certain vehicle-mounted unit, but the vehicle-mounted unit may not receive the operation data at all, or receive an error in the operation data, or cannot complete a corresponding operation according to the operation data, at this time, the vehicle-mounted unit does not send a confirmation response to the 5.8GHz read-write terminal, or sends a response of reception failure or processing failure to the 5.8GHz read-write terminal. Under the condition, the 5.8GHz read-write terminal judges that retransmission is started, and retransmits corresponding operation data to the vehicle-mounted unit, so that a redundancy mechanism is added, and the vehicle-mounted unit can successfully receive the operation data and execute corresponding operation.
The embodiment further provides a read-write terminal, which is a read-write terminal with a 5.8GHz communication function and is also called a 5.8GHz read-write terminal. The 5.8GHz read-write terminal is communicated with the N vehicle-mounted units, and channels of 5.8GHz frequency bands of the N vehicle-mounted units are in an open state. The structure of the 5.8GHz read-write terminal is only briefly described here, and for the rest, the description of the method section is referred to. As shown in fig. 2, the 5.8GHz read-write terminal includes:
the acquiring module 201 is configured to acquire physical addresses of N vehicle-mounted units in a preset manner, and generate a physical address list, where the preset manner does not include a 5.8GHz frequency band, the physical address list includes physical addresses of the N vehicle-mounted units, N is greater than or equal to 2, and N is a natural number;
the communication module 202 is used for sending wake-up signals to the N vehicle-mounted units in a broadcast mode through a 5.8GHz frequency band;
the communication module 202 is further configured to sequentially establish communication connection with the N vehicle-mounted units through a 5.8GHz frequency band according to the physical address list, and after each communication connection is established with the vehicle-mounted unit corresponding to the ith physical address of the physical address list, send ith data to the vehicle-mounted unit corresponding to the ith physical address of the physical address list, where the ith data includes ith operation data and the ith physical address, and the ith operation data is obtained by the 5.8GHz read-write terminal according to the obtained operation instruction; the transmission duration of the ith data sent to the vehicle-mounted unit corresponding to the ith physical address of the physical address list is shorter than the duration of the vehicle-mounted unit corresponding to the ith physical address of the physical address list for processing the operation data; under the condition that i is not equal to 1, the interval duration between sending the ith data to the vehicle-mounted unit corresponding to the ith physical address of the physical address list and sending the i-1 th data to the vehicle-mounted unit corresponding to the i-1 th physical address of the physical address list is less than the duration of processing operation data by the vehicle-mounted unit corresponding to the i-1 th physical address of the physical address list, wherein i is more than or equal to 1 and is less than or equal to N;
the communication module 202 is further configured to, after the nth data is sent to the nth vehicle-mounted unit, sequentially send jth confirmation data to the vehicle-mounted unit corresponding to the jth physical address of the physical address list through a 5.8GHz frequency band according to the physical address list, where the jth confirmation data includes a confirmation instruction and the jth physical address, and j is greater than or equal to 1 and less than or equal to N.
The 5.8GHz read-write terminal provided in this embodiment can acquire the MAC addresses of the N on-board units at one time, sequentially send and manage (such as issue, system upgrade, inventory management, and the like) the operation data corresponding to the on-board units to the N on-board units, and sequentially send confirmation signals to the N on-board units after all the operation data are sent to all the on-board units. The 5.8GHz read-write terminal of the embodiment executes operations on N vehicle-mounted units in batches without carrying out individual management operations on the vehicle-mounted units, and the 5.8GHz read-write terminal can complete the operation of sending data to other vehicle-mounted units by using the time for receiving and processing the operation data by one vehicle-mounted unit, so that the time for the 5.8GHz read-write terminal is utilized to the maximum extent, the working efficiency of the 5.8GHz read-write terminal is improved, and the workload required for batch management of the vehicle-mounted units is greatly reduced.
In an optional implementation manner of this embodiment, the communication module 202 is further configured to, when a jth confirmation response sent by the vehicle-mounted unit corresponding to the jth physical address is received, send a closing instruction to the vehicle-mounted unit corresponding to the jth physical address through the 5.8GHz band, where the closing instruction is used to instruct to close the channel of the 5.8GHz band.
In an optional implementation manner of this embodiment, the communication module 202 is further configured to send jth data to the in-vehicle unit corresponding to the jth physical address under the condition that the jth confirmation response sent by the in-vehicle unit corresponding to the jth physical address is not received, where the jth data includes the operation data and the jth physical address.
In an optional implementation manner of this embodiment, the acquiring module acquires the physical addresses of the N onboard units by: the acquisition module scans the two-dimensional codes to acquire the physical addresses of the N vehicle-mounted units at one time.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (10)

1. The method for communication between the read-write terminal and the N vehicle-mounted units is characterized in that channels of 5.8GHz frequency bands of the N vehicle-mounted units are in an open state, and the method comprises the following steps:
the read-write terminal acquires physical addresses of N vehicle-mounted units in a preset mode and generates a physical address list, wherein the preset mode does not include a 5.8GHz frequency band, the physical address list includes the physical addresses of the N vehicle-mounted units, N is more than or equal to 2, and N is a natural number;
the read-write terminal sends awakening signals to the N vehicle-mounted units in a broadcast mode through a 5.8GHz frequency band;
the read-write terminal establishes communication connection with the N vehicle-mounted units in sequence through a 5.8GHz frequency band according to the physical address list, and after communication connection is established with the vehicle-mounted unit corresponding to the ith physical address of the physical address list each time, ith data is sent to the vehicle-mounted unit corresponding to the ith physical address of the physical address list, wherein the ith data comprises ith operation data and the ith physical address, and the ith operation data is obtained by the read-write terminal according to the obtained operation instruction; the transmission duration of the ith data sent to the vehicle-mounted unit corresponding to the ith physical address of the physical address list is shorter than the duration of the vehicle-mounted unit corresponding to the ith physical address of the physical address list for processing the operation data; under the condition that i is not equal to 1, the interval duration between sending ith data to the vehicle-mounted unit corresponding to the ith physical address of the physical address list and sending the i-1 th data to the vehicle-mounted unit corresponding to the i-1 th physical address of the physical address list is less than the duration of processing the operation data by the vehicle-mounted unit corresponding to the i-1 th physical address of the physical address list, wherein i is more than or equal to 1 and is less than or equal to N;
after the read-write terminal sends the Nth data to the Nth vehicle-mounted unit, j confirmation data are sequentially sent to the vehicle-mounted unit corresponding to the j physical address of the physical address list through a 5.8GHz frequency band according to the physical address list, wherein the j confirmation data comprise a confirmation instruction and the j physical address, and j is larger than or equal to 1 and smaller than or equal to N.
2. The method of claim 1, further comprising:
and the read-write terminal sends a closing instruction to the vehicle-mounted unit corresponding to the jth physical address through the 5.8GHz frequency band under the condition of receiving a jth confirmation response sent by the vehicle-mounted unit corresponding to the jth physical address, wherein the closing instruction is used for indicating to close the channel of the 5.8GHz frequency band.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
and the read-write terminal sends jth data to the vehicle-mounted unit corresponding to the jth physical address under the condition that the jth confirmation response sent by the vehicle-mounted unit corresponding to the jth physical address is not received, wherein the jth data comprises the operation data and the jth physical address.
4. The method according to claim 1 or 2, wherein the acquiring, by the read-write terminal, the physical addresses of the N vehicle-mounted units in a preset manner includes:
and the reading and writing terminal scans the two-dimensional code to acquire the physical addresses of the N vehicle-mounted units at one time.
5. The method according to claim 3, wherein the acquiring, by the read-write terminal, the physical addresses of the N vehicle-mounted units in a preset manner comprises:
and the reading and writing terminal scans the two-dimensional code to acquire the physical addresses of the N vehicle-mounted units at one time.
6. A read-write terminal is characterized in that the read-write terminal is communicated with N vehicle-mounted units, channels of 5.8GHz frequency bands of the N vehicle-mounted units are in an open state, and the read-write terminal comprises:
the acquisition module is used for acquiring physical addresses of the N vehicle-mounted units in a preset mode and generating a physical address list, wherein the preset mode does not include a 5.8GHz frequency band, the physical address list includes the physical addresses of the N vehicle-mounted units, N is more than or equal to 2, and N is a natural number;
the communication module is used for sending wake-up signals to the N vehicle-mounted units in a broadcast mode through a 5.8GHz frequency band;
the communication module is further configured to establish communication connection with the N vehicle-mounted units in sequence through a 5.8GHz frequency band according to the physical address list, and after establishing communication connection with a vehicle-mounted unit corresponding to an ith physical address of the physical address list each time, send ith data to the vehicle-mounted unit corresponding to the ith physical address of the physical address list, where the ith data includes ith operation data and the ith physical address, and the ith operation data is obtained by the read-write terminal according to the obtained operation instruction; the transmission duration of the ith data sent to the vehicle-mounted unit corresponding to the ith physical address of the physical address list is shorter than the duration of the vehicle-mounted unit corresponding to the ith physical address of the physical address list for processing the operation data; when i is not equal to 1, the interval duration between the sending of the ith data to the vehicle-mounted unit corresponding to the ith physical address of the physical address list and the sending of the i-1 th data to the vehicle-mounted unit corresponding to the i-1 th physical address of the physical address list is less than the duration of the vehicle-mounted unit corresponding to the i-1 th physical address of the physical address list for processing the operation data, wherein i is more than or equal to 1 and less than or equal to N;
the communication module is further configured to sequentially send jth confirmation data to the vehicle-mounted units corresponding to the jth physical address of the physical address list through a 5.8GHz frequency band according to the physical address list after the nth data is sent to the nth vehicle-mounted unit, where the jth confirmation data includes a confirmation instruction and the jth physical address, and j is greater than or equal to 1 and less than or equal to N.
7. Read-write terminal according to claim 6,
the communication module is further configured to send a closing instruction to the vehicle-mounted unit corresponding to the jth physical address through the 5.8GHz band when the jth acknowledgement response sent by the vehicle-mounted unit corresponding to the jth physical address is received, where the closing instruction is used to instruct to close the channel of the 5.8GHz band.
8. Read-write terminal according to claim 6 or 7,
the communication module is further configured to send jth data to the vehicle-mounted unit corresponding to the jth physical address under the condition that a jth acknowledgement response sent by the vehicle-mounted unit corresponding to the jth physical address is not received, where the jth data includes the operation data and the jth physical address.
9. The read-write terminal according to claim 6 or 7, wherein the obtaining module is configured to obtain the physical addresses of the N vehicle-mounted units in a preset manner, and includes:
the acquisition module scans the two-dimensional code to acquire the physical addresses of the N vehicle-mounted units at one time.
10. The read-write terminal according to claim 8, wherein the acquiring module is configured to acquire the physical addresses of the N on-board units in a preset manner, and includes:
the acquisition module scans the two-dimensional code to acquire the physical addresses of the N vehicle-mounted units at one time.
CN201910848374.1A 2019-09-09 2019-09-09 Method for communication between read-write terminal and N vehicle-mounted units and read-write terminal Active CN110809250B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910848374.1A CN110809250B (en) 2019-09-09 2019-09-09 Method for communication between read-write terminal and N vehicle-mounted units and read-write terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910848374.1A CN110809250B (en) 2019-09-09 2019-09-09 Method for communication between read-write terminal and N vehicle-mounted units and read-write terminal

Publications (2)

Publication Number Publication Date
CN110809250A CN110809250A (en) 2020-02-18
CN110809250B true CN110809250B (en) 2022-07-12

Family

ID=69487591

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910848374.1A Active CN110809250B (en) 2019-09-09 2019-09-09 Method for communication between read-write terminal and N vehicle-mounted units and read-write terminal

Country Status (1)

Country Link
CN (1) CN110809250B (en)

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008293414A (en) * 2007-05-28 2008-12-04 Toshiba Corp Electronic equipment and method for searching connection device
CN101855861A (en) * 2007-11-16 2010-10-06 富士通天株式会社 Authentication method, authentication system, vehicle-mounted device, and authentication device
JP5261614B2 (en) * 2010-05-24 2013-08-14 ルネサスエレクトロニクス株式会社 Communication system, in-vehicle terminal, roadside device
JP5682610B2 (en) * 2012-11-07 2015-03-11 トヨタ自動車株式会社 In-vehicle communication device, in-vehicle communication system, and communication method
CN103237293A (en) * 2012-11-19 2013-08-07 北京新岸线移动多媒体技术有限公司 Method and device for sending and receiving messages
JP6340891B2 (en) * 2014-04-22 2018-06-13 株式会社デンソー In-vehicle communication terminal and mobile communication system
CN106529940A (en) * 2016-10-25 2017-03-22 天地融科技股份有限公司 Operation execution method of smart card, smart card read-write system and smart card
CN107864207B (en) * 2017-11-14 2020-12-08 上海赫千电子科技有限公司 An ECU software upgrade method based on in-vehicle Ethernet
CN108833607B (en) * 2018-06-12 2022-03-11 腾讯科技(深圳)有限公司 Physical address acquisition method, device and readable medium

Also Published As

Publication number Publication date
CN110809250A (en) 2020-02-18

Similar Documents

Publication Publication Date Title
CN101791931A (en) Tire pressure monitoring system
CN103095745A (en) Vehicle-mounted terminal, electronic module and device, system and method of electronic module upgrade
CN103121435A (en) Vehicle communications and access
CN109474917B (en) Road side equipment RSU and system configuration method thereof
WO2010148773A1 (en) Realizing method and apparatus for avoiding adjacent-channel interference in electronic toll of collection (etc) system
CN102542620B (en) Method, equipment and system for controlling signal transmission time sequence of road side equipment
CN110910520A (en) Information prompting method and device, vehicle-mounted terminal equipment and storage medium
CN102096952A (en) Method and device for realizing electronic toll collection concurrent transaction
CN112583646A (en) Remote upgrading method for intelligent electric meter
CN109685924B (en) Intelligent vehicle-mounted electronic tag and issuing method thereof
CN103176821B (en) A kind of trackside opertaing device, vehicle carried electronic label equipment and method for updating program thereof
CN109857435A (en) Equipment room diffusion type method for upgrading software under a kind of line
CN106330408A (en) Data transmission system and method
CN111158943B (en) Fault diagnosis method and device, storage medium and electronic equipment
CN110809250B (en) Method for communication between read-write terminal and N vehicle-mounted units and read-write terminal
CN112203256B (en) Control method and device of vehicle-mounted unit, storage medium and electronic device
CN1143459C (en) Communication device and communication method with link identification code checking function
CN103327125A (en) Code remote upgrading system and file transmission method thereof
CN103810761A (en) Method and device for activating on-board unit
CN112584356A (en) Wireless configuration method and device for vehicle-mounted terminal, server and storage medium
JP4922727B2 (en) Dispatch processing system
CN112907772B (en) Front-loading ETC electronic tag system, method and storage medium
CN109818656B (en) Method for solving signal interference in OBU (on-board unit) loading process
KR20030058472A (en) High Performance On Board Equipment System Based on Dedicated Short Range Communication
CN111145368A (en) Method and device for updating and processing label information of vehicle-mounted electronic label equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant