Scrambling data for use with vehicle communication protocol

11626987 · 2023-04-11

Assignee

Inventors

Cpc classification

International classification

Abstract

A scrambling method of data on a J1939 communication system of a vehicle involves at least moving data from one of a PGN and a PGN/SPN location to another PGN or PGN/SPN location at a first controller on the vehicle before transmitting data and then re-ordering the data at a second controller. Some embodiments further comprise encrypting data either before or after shifting, but before transmitting so as to further complicate efforts to interpret meaningful data from the transmission. The second controller may be on the vehicle or may be remotely located.

Claims

1. A refuse collection vehicle, comprising: a chassis supporting a refuse service body; a communications bus configured to transmit data according to a J1939 transmission protocol comprising a plurality of Parameter Group Numbers (PGNs); and a controller communicatively coupled to the communications bus, the controller configured to: receive, over the communications bus, data corresponding to operation of the refuse service body, the received data comprising eight bytes in a first order, the eight bytes having a first PGN assignment; process the received data to shift the eight bytes from the first PGN assignment to a second PGN assignment; process the received data to rearrange the eight bytes into a second order; and direct the processed data through the communications bus via the J1939 transmission protocol according to the second order of the eight bytes and the second PGN assignment.

2. The refuse collection vehicle of claim 1, wherein the refuse service body comprises a grabber arm and a sensor responsive to a position of the grabber arm, and wherein the data corresponding to operation of the refuse service body comprises output from the sensor.

3. The refuse collection vehicle of claim 2, wherein the refuse service body further comprises an arm control joystick, and wherein the data corresponding to operation of the refuse service body comprises output from the joystick.

4. The refuse collection vehicle of claim 2, wherein the data corresponding to operation of the refuse service body comprises information scanned from an RFID tag associated with a refuse can engaged by the grabber arm.

5. The refuse collection vehicle of claim 1, wherein the controller is further configured to receive data corresponding to operation of the chassis and associate chassis data with service body data as event data, and wherein processing the received data comprises processing the event data.

6. The refuse collection vehicle of claim 5, wherein the event data further comprises a time stamp and location data.

7. The refuse collection vehicle of claim 1, wherein the communications bus comprises a CAN protocol bus.

8. The refuse collection vehicle of claim 1, further comprising a second controller communicatively coupled to the communications bus, the second controller configured to receive and process the data having the second order of the eight bytes and the second PGN assignment to shift and rearrange the eight bytes back to the first order and the first PGN assignment.

9. The refuse collection vehicle of claim 1, wherein the controller is further configured to inject ghost values into one or more of the eight bytes.

10. The refuse collection vehicle of claim 1, wherein the controller is configured to change a shift pattern for processing the received data as a function of time.

11. The refuse collection vehicle of claim 1, further comprising a transmitter configured to receive the processed data over the communications bus and transmit the data over a wireless network to a remote computing device.

12. The refuse collection vehicle of claim 1, wherein the controller is configured to direct the processed data to an OBD II port.

13. A refuse collection vehicle, comprising: a chassis supporting a refuse service body; a CAN bus configured to transmit data according to a J1939 transmission protocol comprising a plurality of Parameter Group Numbers (PGNs); a controller communicatively coupled to the CAN bus, the controller configured to: receive, over the CAN bus, data corresponding to operation of the refuse service body, the received data comprising eight bytes in a first order, the eight bytes having a first PGN assignment; process the received data to shift the eight bytes from the first PGN assignment to a second PGN assignment; process the received data to rearrange the eight bytes into a second order; and direct the processed data through the CAN bus via the J1939 transmission protocol according to the second order of the eight bytes and the second PGN assignment; and a transmitter configured to receive the processed data over the CAN bus and transmit the data over a wireless network to a remote computing device.

14. The refuse collection vehicle of claim 13, wherein the refuse service body comprises a grabber arm and a sensor responsive to a position of the grabber arm, and wherein the data corresponding to operation of the refuse service body comprises output from the sensor.

15. The refuse collection vehicle of claim 13, wherein the controller is further configured to receive data corresponding to operation of the chassis and associate chassis data with service body data as event data, and wherein processing the received data comprises processing the event data.

16. The refuse collection vehicle of claim 15, wherein the controller is configured to change a shift pattern for processing the received data as a function of time.

17. The refuse collection vehicle of claim 13, wherein the controller is configured to direct the processed data to an OBD II port.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) The particular features and advantages of the invention will become apparent from the following description, when read with the accompanying drawings:

(2) FIG. 1 is a diagram representing a vehicle of the presently preferred embodiment of the present invention communicating remotely with a computer; and

(3) FIG. 2 is a diagram representing a communication system utilized by the embodiment of FIG. 1.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

(4) FIG. 1 shows a vehicle 10 of the presently preferred embodiment of the present invention operating with a J1939 protocol for communication system. The engine 12 which has transmission 14 communicating along a communication wire 16 with the OBD 2 port 18, entertainment system 20 and other components of a truck chassis. Furthermore, a controller 22 for use with the body on the vehicle which is the part which coordinates the refuse receiving and collection and compacting is shown communication with the same 1939 communication wire 24 which could be connected at connection 26 or through a separate communication system which could be connected at first controller 22 at connection 28 depending on which embodiment is selected. A separate or second controller 30 might be useful for some embodiments.

(5) Joy stick 32 such as for operating the can dumping arm or grabber arm shown as well as a position sensor for the grabber arm 34 is shown. Other connections such as status of compaction could be provided at the various connection locations 36, 38, etc., connected to communication wires 24 and/or others as would be understood by those of ordinary skill in the art. The OBD 2 port 18 can communicate through transmitter 40 such as a Geotab device which can communicate not only data from the OBD 2 port and possibly other data as could be directly provided through one or more IO ports, directly connected to the transmitter or otherwise through the internet 42 such as using cell phone frequencies to get to the internet, etc., as would be understood by those of ordinary skill in the art to one or more computers 44 which could have route optimization software or other software for use in the data provided from the vehicle 10. Computer(s) 44 receive data as sent by transmitter, and with unscrambled data, provide information to users as described herein, possible in at least near to, if not real time (as it is happening).

(6) What is different about this vehicle 10 from prior art vehicles is that the data provided from the OBD 2 port and even on the at least one of the communication wires 16 includes “scrambled” data. Other embodiments may scramble the data with a transmitter 40 or components such as joy stick 32 or other components rather than using a separate controller such as 22 and/or 30.

(7) While providing information from the body, such as from joy stick 32 and grabber arm 34 on a J1939 communication protocol is believed to be novel as covered by a co-pending application being directed to that effort, what is also novel is the ability to scramble information as it is sent across the J1939 network and from the OBD 2 port 18 remotely as well as possibly within the vehicle 10 itself.

(8) Specifically, a first controller 22 may receive information from the various body components such as controller 30, joy stick 32, grabber arm position sensor switch 34 and a host of other sensors associated with the refuse body. The controller 22 or even a second controller 30 if not performed by the various components such as joy stick 32, grabber arm position sensor switch 34 and others provide an ability to scramble data as will be discussed below.

(9) Specifically, the J1939 protocol has a number of PGNs, each of those PGNs have eight byte SPNs associated therewith. Although there are standard PGNs in the J1939 protocol, there are also PGNs assigned for proprietary use meaning that they can be used to communicate additional information. The applicant has artificially assigned the labels A, B, C, D, etc. to some of those proprietary PGNs. Each of these PGNs have SPNs and let us assume that PGNs A, B, C, D and possibly others are utilized by the various controllers such as joy stick 32, grabber arm position sensor 34 and various others 36, 38 and possibly others. For instance, the joy stick 32 could be associated to PGN A and SPNs 1-4 could be associated with the X-position of moving the grabber arm, while SPNs 5-8 could be associated with the Y-position relative to an X-Y plane, with that plane being perpendicular to the ground that the vehicle is operating on. This is by way of example. There is certainly other data which could be obtained and provided from the various components of the body. In this example as well as FIG. 2, PGN A is shown as element 50 having SPNs 52, 54, 56, 58, 60, 62, 64, and 66. Each of the various components in the body of vehicle 10 that provide data on the proprietary set of PGNs A-D illustrated as 50, 68, 70, and 72 and other could be provided with relevant data each of which have corresponding SPNs such as SPNs 52-66 shown for PGN 50.

(10) One way to scramble this data is to certainly encrypt all the data such as the PGNs 50, 68, 70, 72 as well as possibly the SPNs 52, 54, 56, 58, 60, 62, 64, 66 using key. While encryption is relatively well known in the art, if only some of the PGNs A-D and/or others of the hundreds of proprietary PGNs available are used, a competitor could quickly identify which PGNs are being utilized and which ones are not. The competitor could then take those utilized PGNs and provide reverse encoding software to attempt to decode the material therein. With enough time and effort, the keys could likely be deciphered.

(11) However, in addition to encoding the various PGNs and SPNs 50-66 and 68-72 through encryption, the applicant has also come up with a method of shifting. For instance, of the SPNs and PGN 50 with a first portion of an SPN being located at position A-1 at 52, that value could be shifted to position B-2 or some other of the PGN and SPN positions or even to the PGN numbered positions such as PGN B at 68, 70, or 72 based on an algorithm. PGN at 50 could also be shifted to any of the various locations such as another one of the PGN locations B, C, and D, etc., as well as any of the SPN positions as so desired.

(12) Remember, for the preferred embodiment these values are all encrypted. Furthermore, the controller such as controller 22, 30 or even the transmitter 40 or other component could also be providing “ghost data” in the various unused PGN and SPN numbers possibly all the time or even under certain conditions so that to a competitor all this material might be not only encrypted but also shifted and could appear to the competitor as an extremely random set of information.

(13) For instance, SPN A-1 at 52 could be moved to a location where the PGNs are not normally of particular interest to the applicant. Also, some unused PGN/SPN filled in with various numbers and encrypted possibly with similar or dissimilar keys. The unscrambling process then becomes a very time intensive ordeal for a competitor. Not only does the shift pattern need to be identified which would be a challenging prospect, particularly if the shift pattern changes such as by having variables tied to time, or other elements within the system such as RPM provided from a PGN or SPN number from the engine 12 or also by possibly receiving input, such as if the transmitter 40 is capable of receiving signals from the internet 42 to be provided back through the OBD 2 port to the controller 22 or otherwise. The shift pattern or algorithm could also be changed in a similar or dissimilar manner either based on a fixed rotation such as a cycle rotation whether based on a number of cycles of use as a key or a period of time where it is based upon an instruction received at the controller 22 from another input. For some embodiments, the algorithm controlling the shift could be changed every cycle which is up to 100 milliseconds which would be extremely difficult for a competitor to discern particularly when taken with the encrypted data in each of the various SPNs utilizing key encryptions and/or ghost data input.

(14) With encryption possibly occurring at first controller 22 as received from data from what might be a separate communications line 24 as connected at 28 (with 26 not being a connection) in such an embodiment, at least some of the data on the J1939 protocol is received from the body could be scrambled in nature as sent from the transmitter 40 through the internet 42 to a computer 44 for use which could have a reverse shift algorithm and a decode key so that the data appears as it is expected at the computer 44 for further processing (i.e., “unscrambled”). The computer 44 would have software and/or an application configured to receive the scrambled information, preferably together with unscrambled information, unscramble the scrambled information and provide unscrambled data for use in communicating events occurring at the remote location (a/k/a the vehicle 10). Controllers 22, 30 could have similar capabilities with various embodiments. Specifically, for example, the position of the joy stick 32 could then be readily identified by the software. Other events, such as when the compacting stage in the body of the vehicle 10 has been completed or a can dumped at a particular GPS location, etc., for various uses either remotely by a remote computer or by first or second controller 22, 30.

(15) While the scrambling could be performed at a first controller 22, it is also possible that scrambling could occur at a second controller 30 and at least partially unscrambled at controller 22 so that values received from the various components such as joy stick 32, grabber arm 34 might be coordinated with other data from the vehicle 10 such as from the chassis. Otherwise, information from the chassis such as the engine RPM which might/is useful to know if it is coupled to a pump. A pump utilized for hydraulics is often directly tied to operation of some body components and information on the body can be communicated from the controller 22 to another controller 30 for use internal to the body itself for some embodiments. In a presently preferred embodiment, it is not anticipated to scramble any of the assigned PGN and SPN values as there is no reason to possibly interfere with the operation of the chassis as designed by a truck manufacturer. However, since the proprietary use PGNs do not have a normal use by the chassis manufacturer, the scrambling of those values and assignment of those values to anything really does not make much difference to the chassis operation. Of course, if a chassis manufacturer or other party elects to use some proprietary PGNs those can be omitted from the scrambling procedure as well.

(16) What is really intended by the scrambling method is to be able to scramble data utilizing the shifting and encrypting techniques described herein, preferably within the proprietary PGN and SPN values data blocks in the communication protocol which are updated up to every 100 milliseconds and then unscrambling those data for use as desired at locations controlled by the applicant such as within the software maintained by the applicant remotely and possibly used under license by third parties (or sent to the applicant for processing) so that control of the data flow can be maintained by the applicant.

(17) Not only can the controllers 22, 30, and 40 scramble data but also the joy stick 32, grabber arm 34, and other components provided at 36, 38 could provide scrambled information on to the communication wires 24 and/or 16 in various embodiments, particularly if the applicant were to provide the encoding keys and the shifting algorithm to the manufacturer of the joy stick 32 and the grabber arm sensor 34. This way, when listening to the various communication wires 24 to 16, there will be no unscrambled data relating the applicant's body of the vehicle 10 (apart from chassis information which is normally the tractor part of the refuse vehicle as obtained from third parties such as manufactures of vehicles for use with refuse bodies and others). Packer extension is often monitored; can dumping and more is also capable of being monitored.

(18) While this technology is particularly well suited to the refuse vehicle industry, it also could be utilized with other vehicles as well as even non-vehicle applications. The applicant's sister company makes a line of compactors which are provided at various locations by their customers such as for compacting cardboard or trash on location. These compactors could be provided with a similar or different communications portal(s); they could also be provided with a transmitter such as transmitter 40, and various sensors such as sensors 36, 38 which could be monitoring the remaining compactor capacity, or when a certain weight has been reached, or more; such an event could be identified by either the software at the computer 44 or a signal could be sent from the transmitter 40 from a controller 22 and/or 30.

(19) By scrambling at least some of the data as sent from the transmitter 40, as well as possibly sending meaningless transmissions periodically, it would be particularly difficult for a competitor to identify what sensors provide what information to the refuse collection company and software 44. In the CANopen protocols, there may be more flexibility in what information is scrambled. Certainly not all the information in CANopen or all of the J1939 need to be scrambled for all embodiments and certainly, for at least some embodiments, additional PGNs or IDs numbered for CANopen network could be provided with values that change, but are “ghost values”; this would mean that they really are not relative to any measurements or any activity going on at the vehicle 10 but are merely introduced into the communications system randomly, under certain conditions, etc., and may not even be used and/or evaluated by the controllers 22, 30 or the transmitter 40 in data as sent remotely to the computer 44 or as is used internal to the vehicle.

(20) This data could be transmitted with some embodiments by the transmitter 40 as that set of different data stream. If intercepted by a competitor and looked at in an effort to analyze the data exiting OBD 2 port 18, there would be a lot of scrambled data to examine, some or much of which could be useless. The scrambling of data may take place within only the PGNs that correspond to specific sensors with SPN values such as 32,34,36, and/or may be purposefully scrambled to other PGNs or other proprietary use subsets, or not. With the PGNs unscrambled, then unshifted and unencrypted, the data can be useful by the computer 44 and/or even internally to the vehicle 10.

(21) For many embodiments, it could be desirable to change the algorithm with every single transmission of data from transmitter 40 which could occur roughly every 100 milliseconds and the processors utilized with today's technology can certainly handle that speed of computing. With the shifting changing and possibly being performed in combination with the keys changing at that speed and/or at other cycles, one can truly see the potential complexity of the scrambling techniques as it could be employed at least in certain embodiments.

(22) The software installed at the computer 44 for many embodiments which is configured to receive scrambled data through the internet 42 from the transmitter 40 which receives and unscrambles that data for use by software in the computer 44 for use in advising the company owning the computer of the status of components the body of vehicle as it relates to at least some of the scrambled data such as the dumping of the garbage can, possibly as correlated to one of GPS position and/or time at the computer 44 relative to the vehicle 10. Meanwhile, in such embodiments, if one were to insert a computer at the OBD 2 port 18, one would discover scrambled data which preferably is both encrypted and shifted in position at least among the affected PGNs and SPNs if not amongst some of the other proprietary use PGNs and SPNs not used by the particular body associated with the vehicle 10 for certain operations such as not pertaining to the operation of the refuse vehicle functions associated with the collection and compacting and dumping of waste by the vehicle 10.

(23) Numerous alterations of the structure herein disclosed will suggest themselves to those skilled in the art. However, it is to be understood that the present disclosure relates to the preferred embodiment of the invention which is for purposes of illustration only and not to be construed as a limitation of the invention. All such modifications which do not depart from the spirit of the invention are intended to be included within the scope of the appended claims.