Vehicles or transports, such as cars, motorcycles, trucks, planes, trains, etc., generally provide transportation needs to occupants and/or goods in a variety of ways. Functions related to transports may be identified and utilized by various computing devices, such as a smartphone or a computer located on and/or off the transport.
One example embodiment provides a method that includes one or more of receiving, by a vehicle, a software update from a first node, responsive to the software update encountering an issue, ceasing, by the vehicle, the software update resulting in an initial portion of the software update being received by the vehicle, requesting, by the vehicle, a remaining portion of the software update, and receiving, by the vehicle, the remaining portion of the software update from a second node.
Another example embodiment provides a system that includes a memory communicably coupled to a processor, wherein the processor performs one or more of receive, by a vehicle, a software update from a first node, responsive to the software update encounters an issue, cease, by the vehicle, the software update that results in an initial portion of the software update received by the vehicle, request, by the vehicle, a remaining portion of the software update, and receive, by the vehicle, the remaining portion of the software update from a second node.
A further example embodiment provides a computer readable storage medium comprising instructions, that when read by a processor, cause the processor to perform one or more of receiving, by a vehicle, a software update from a first node, responsive to the software update encountering an issue, ceasing, by the vehicle, the software update resulting in an initial portion of the software update being received by the vehicle, requesting, by the vehicle, a remaining portion of the software update, and receiving, by the vehicle, the remaining portion of the software update from a second node.
It will be readily understood that the instant components, as generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of at least one of a method, apparatus, computer readable storage medium and system, as represented in the attached figures, is not intended to limit the scope of the application as claimed but is merely representative of selected embodiments. Multiple embodiments depicted herein are not intended to limit the scope of the solution. The computer-readable storage medium may be a non-transitory computer readable medium or a non-transitory computer readable storage medium.
Communications between the transport(s) and certain entities, such as remote servers, other transports and local computing devices (e.g., smartphones, personal computers, transport-embedded computers, etc.) may be sent and/or received and processed by one or more ‘components’ which may be hardware, firmware, software or a combination thereof. The components may be part of any of these entities or computing devices or certain other computing devices. In one example, consensus decisions related to blockchain transactions may be performed by one or more computing devices or components (which may be any element described and/or depicted herein) associated with the transport(s) and one or more of the components outside or at a remote location from the transport(s).
The instant features, structures, or characteristics described in this specification may be combined in any suitable manner in one or more embodiments. For example, the usage of the phrases “example embodiments,” “some embodiments,” or other similar language, throughout this specification refers to the fact that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one example. Thus, appearances of the phrases “example embodiments”, “in some embodiments”, “in other embodiments,” or other similar language, throughout this specification do not necessarily all refer to the same group of embodiments, and the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the diagrams, any connection between elements can permit one-way and/or two-way communication, even if the depicted connection is a one-way or two-way arrow. In the current solution, a vehicle or transport may include one or more of cars, trucks, walking area battery electric vehicle (BEV), e-Palette, fuel cell bus, motorcycles, scooters, bicycles, boats, recreational vehicles, planes, and any object that may be used to transport people and or goods from one location to another.
In addition, while the term “message” may have been used in the description of embodiments, other types of network data, such as, a packet, frame, datagram, etc. may also be used. Furthermore, while certain types of messages and signaling may be depicted in exemplary embodiments they are not limited to a certain type of message and signaling.
Example embodiments provide methods, systems, components, non-transitory computer readable medium, devices, and/or networks, which provide at least one of a transport (also referred to as a vehicle or car herein), a data collection system, a data monitoring system, a verification system, an authorization system, and a vehicle data distribution system. The vehicle status condition data received in the form of communication messages, such as wireless data network communications and/or wired communication messages, may be processed to identify vehicle/transport status conditions and provide feedback on the condition and/or changes of a transport. In one example, a user profile may be applied to a particular transport/vehicle to authorize a current vehicle event, service stops at service stations, to authorize subsequent vehicle rental services, and enable vehicle-to-vehicle communications.
Within the communication infrastructure, a decentralized database is a distributed storage system which includes multiple nodes that communicate with each other. A blockchain is an example of a decentralized database, which includes an append-only immutable data structure (i.e., a distributed ledger) capable of maintaining records between untrusted parties. The untrusted parties are referred to herein as peers, nodes, or peer nodes. Each peer maintains a copy of the database records, and no single peer can modify the database records without a consensus being reached among the distributed peers. For example, the peers may execute a consensus protocol to validate blockchain storage entries, group the storage entries into blocks, and build a hash chain via the blocks. This process forms the ledger by ordering the storage entries, as is necessary, for consistency. In public or permissionless blockchains, anyone can participate without a specific identity. Public blockchains can involve crypto-currencies and use consensus-based on various protocols such as proof of work (PoW). Conversely, a permissioned blockchain database can secure interactions among a group of entities, which share a common goal, but which do not or cannot fully trust one another, such as businesses that exchange funds, goods, information, and the like. The instant solution can function in a permissioned and/or a permissionless blockchain setting.
Smart contracts are trusted distributed applications which leverage tamper-proof properties of the shared or distributed ledger (which may be in the form of a blockchain) and an underlying agreement between member nodes, which is referred to as an endorsement or endorsement policy. In general, blockchain entries are “endorsed” before being committed to the blockchain while entries, which are not endorsed are disregarded. A typical endorsement policy allows smart contract executable code to specify endorsers for an entry in the form of a set of peer nodes that are necessary for endorsement. When a client sends the entry to the peers specified in the endorsement policy, the entry is executed to validate the entry. After validation, the entries enter an ordering phase in which a consensus protocol produces an ordered sequence of endorsed entries grouped into blocks.
Nodes are the communication entities of the blockchain system. A “node” may perform a logical function in the sense that multiple nodes of different types can run on the same physical server. Nodes are grouped in trust domains and are associated with logical entities that control them in various ways. Nodes may include different types, such as a client or submitting-client node, which submits an entry-invocation to an endorser (e.g., peer), and broadcasts entry proposals to an ordering service (e.g., ordering node). Another type of node is a peer node, which can receive client submitted entries, commit the entries and maintain a state and a copy of the ledger of blockchain entries. Peers can also have the role of an endorser. An ordering-service-node or orderer is a node running the communication service for all nodes and which implements a delivery guarantee, such as a broadcast to each of the peer nodes in the system when committing entries and modifying a world state of the blockchain. The world state can constitute the initial blockchain entry, which normally includes control and setup information.
A ledger is a sequenced, tamper-resistant record of all state transitions of a blockchain. State transitions may result from smart contract executable code invocations (i.e., entries) submitted by participating parties (e.g., client nodes, ordering nodes, endorser nodes, peer nodes, etc.). An entry may result in a set of asset key-value pairs being committed to the ledger as one or more operands, such as creates, updates, deletes, and the like. The ledger includes a blockchain (also referred to as a chain), which stores an immutable, sequenced record in blocks. The ledger also includes a state database, which maintains a current state of the blockchain. There is typically one ledger per channel. Each peer node maintains a copy of the ledger for each channel of which they are a member.
A chain is an entry log structured as hash-linked blocks, and each block contains a sequence of N entries where N is equal to or greater than one. The block header includes a hash of the blocks' entries, as well as a hash of the prior block's header. In this way, all entries on the ledger may be sequenced and cryptographically linked together. Accordingly, it is not possible to tamper with the ledger data without breaking the hash links. A hash of a most recently added blockchain block represents every entry on the chain that has come before it, making it possible to ensure that all peer nodes are in a consistent and trusted state. The chain may be stored on a peer node file system (i.e., local, attached storage, cloud, etc.), efficiently supporting the append-only nature of the blockchain workload.
The current state of the immutable ledger represents the latest values for all keys that are included in the chain entry log. Since the current state represents the latest key values known to a channel, it is sometimes referred to as a world state. Smart contract executable code invocations execute entries against the current state data of the ledger. To make these smart contract executable code interactions efficient, the latest values of the keys may be stored in a state database. The state database may be simply an indexed view into the chain's entry log and can therefore be regenerated from the chain at any time. The state database may automatically be recovered (or generated if needed) upon peer node startup and before entries are accepted.
A blockchain is different from a traditional database in that the blockchain is not a central storage but rather a decentralized, immutable, and secure storage, where nodes must share in changes to records in the storage. Some properties that are inherent in blockchain and which help implement the blockchain include, but are not limited to, an immutable ledger, smart contracts, security, privacy, decentralization, consensus, endorsement, accessibility, and the like.
Example embodiments provide a service to a particular vehicle and/or a user profile that is applied to the vehicle. For example, a user may be the owner of a vehicle or the operator of a vehicle owned by another party. The vehicle may require service at certain intervals, and the service needs may require authorization before permitting the services to be received. Also, service centers may offer services to vehicles in a nearby area based on the vehicle's current route plan and a relative level of service requirements (e.g., immediate, severe, intermediate, minor, etc.). The vehicle needs may be monitored via one or more vehicle and/or road sensors or cameras, which report sensed data to a central controller computer device in and/or apart from the vehicle. This data is forwarded to a management server for review and action. A sensor may be located on one or more of the interior of the transport, the exterior of the transport, on a fixed object apart from the transport, and on another transport proximate the transport. The sensor may also be associated with the transport's speed, the transport's braking, the transport's acceleration, fuel levels, service needs, the gear-shifting of the transport, the transport's steering, and the like. A sensor, as described herein, may also be a device, such as a wireless device in and/or proximate to the transport. Also, sensor information may be used to identify whether the vehicle is operating safely and whether an occupant has engaged in any unexpected vehicle conditions, such as during a vehicle access and/or utilization period. Vehicle information collected before, during and/or after a vehicle's operation may be identified and stored in a transaction on a shared/distributed ledger, which may be generated and committed to the immutable ledger as determined by a permission granting consortium, and thus in a “decentralized” manner, such as via a blockchain membership group.
Each interested party (i.e., owner, user, company, agency, etc.) may want to limit the exposure of private information, and therefore the blockchain and its immutability can be used to manage permissions for each particular user vehicle profile. A smart contract may be used to provide compensation, quantify a user profile score/rating/review, apply vehicle event permissions, determine when service is needed, identify a collision and/or degradation event, identify a safety concern event, identify parties to the event and provide distribution to registered entities seeking access to such vehicle event data. Also, the results may be identified, and the necessary information can be shared among the registered companies and/or individuals based on a consensus approach associated with the blockchain. Such an approach could not be implemented on a traditional centralized database.
Various driving systems of the instant solution can utilize software, an array of sensors as well as machine learning functionality, light detection and ranging (Lidar) projectors, radar, ultrasonic sensors, etc. to create a map of terrain and road that a transport can use for navigation and other purposes. In some embodiments, GPS, maps, cameras, sensors and the like can also be used in autonomous vehicles in place of Lidar.
The instant solution includes, in certain embodiments, authorizing a vehicle for service via an automated and quick authentication scheme. For example, driving up to a charging station or fuel pump may be performed by a vehicle operator or an autonomous transport and the authorization to receive charge or fuel may be performed without any delays provided the authorization is received by the service and/or charging station. A vehicle may provide a communication signal that provides an identification of a vehicle that has a currently active profile linked to an account that is authorized to accept a service, which can be later rectified by compensation. Additional measures may be used to provide further authentication, such as another identifier may be sent from the user's device wirelessly to the service center to replace or supplement the first authorization effort between the transport and the service center with an additional authorization effort.
Data shared and received may be stored in a database, which maintains data in one single database (e.g., database server) and generally at one particular location. This location is often a central computer, for example, a desktop central processing unit (CPU), a server CPU, or a mainframe computer. Information stored on a centralized database is typically accessible from multiple different points. A centralized database is easy to manage, maintain, and control, especially for purposes of security because of its single location. Within a centralized database, data redundancy is minimized as a single storing place of all data also implies that a given set of data only has one primary record. A blockchain may be used for storing transport-related data and transactions.
Any of the actions described herein may be performed by one or more processors (such as a microprocessor, a sensor, an Electronic Control Unit (ECU), a head unit, and the like), with or without memory, which may be located on-board the transport and/or or off-board the transport (such as a server, computer, mobile/wireless device, etc.). The one or more processors may communicate with other memory and/or other processors on-board or off-board other transports to utilize data being sent by and/or to the transport. The one or more processors and the other processors can send data, receive data, and utilize this data to perform one or more of the actions described or depicted herein.
The first node 120, and the second node 130 may each include one or more processors and memory devices for storing applications and data. In one embodiment, the first node 120 and/or the second node 130 may be an edge sever. Edge servers refers to servers (compute resources) that run the processing at an edge location, which can be anywhere along the edge spectrum—usually from on-premises edge to regional edge. Edge nodes is another term used frequently, which may either refer to a broader set of compute resources (i.e., including end-devices too) as well as a cluster of edge servers. In one embodiment, the first node 120 and/or the second node 130 may be associated with a vehicle manufacturer, a town or municipality, a government entity, a business or group of businesses, an organization, and the like. In one embodiment, the first 120 and the second 130 nodes may be in different regions. For example, the first node 120 and the second node 130 may be associated with a business that owns the vehicle 104 and/or other vehicles. In one embodiment, first node 120 and/or the second node 130 may be located in a network or cloud, may be part of the vehicle 104 and/or other vehicles, and/or in or connected to one or more vehicle 104 or other vehicle charging stations. In one embodiment, the first node 120 and the second node 130 may represent any number of computing devices that may determine results and share data and determined results. The first node 120 and the second node 130 may communicate with the vehicle 104 and one or more other vehicles in order to obtain various information, including software revisions and sources of software updates, as discussed herein.
A vehicle software update may become available in several ways. It may be a regular update (e.g., quarterly), a required update to fix one or more software or hardware bugs, or a mandatory update to fix a software feature that affects vehicle safety. It may be initiated by a vehicle processor of the vehicle 104 or a server or other computing device.
In one embodiment, the vehicle 104 may receive an initial portion of a software update 108 from the first node 120. The initial portion of the software update 108 may include less than all of a software update, where the portion that follows the initial portion of a software update 108 may be referred to as a remaining portion of a software update 124. In one embodiment, there may be only one remaining portion 124 such that a complete software update may include the initial portion 108 and the remaining portion 124. In another embodiment, there may be multiple remaining portions 124 such that a complete software update may include the initial portion 108 and multiple remaining portions 124.
In one embodiment, during the transfer of the software update from the first node 120 to the vehicle 104, the vehicle 104 may detect an issue with the software update. The issue may be related to a data integrity problem associated with the software update, such as a checksum or CRC error. The issue may also be related to a download time of the software update. For example, the vehicle 104 may expect the software update to complete within a period of time. If the period of time is exceeded, that may cause the issue. In another embodiment, the issue may be related to a version or revision number of the software update. For example, the vehicle 104 may be expecting a version number and receive the software update containing a different version or revision number. In another embodiment, a received signal strength related to the software update may be less than a threshold stored in an accessible memory device of the vehicle 104. This may cause an issue due to a signal integrity issue, such as a lower than required signal-to-noise ratio. In one embodiment, the initial portion 108 may include an amount of data that the vehicle 104 has confidence in the integrity of the data. For example, the initial portion 108 may include a last sub-portion of received data that experienced CRC or checksum matches prior to a mismatch (i.e., the vehicle 104 may compare a CRC/checksum within the sub-modules to calculated CRC/checksums calculated by the vehicle 104).
In one embodiment, the vehicle 104 may transmit a notification of a software update issue 112 to the first node 120. The notification 112 may include a cause of the issue, a time when the issue was detected by the vehicle 104, an amount of data within the initial portion 108, an amount of data in the remaining portion 124, a checksum or CRC of the initial portion 108, and the like. In one embodiment, the vehicle 104 may stop receiving the software update after detecting an issue associated with the software update.
In one embodiment, the first node 120 may receive the notification of software update issue 112 and identify a second node 130 that is able to complete the software update to the vehicle 104. The first node 120 may store a data structure in an accessible memory device that includes identifying information related to other nodes that may be able to complete the software update to the vehicle 104. The information may include identifying information for a second node 130, such as an IP address. After identifying the second node 130, the first node 120 may transmit a remaining portion transfer request 116 to the second node 130. The remaining portion transfer request 116 may include identifying information related to the vehicle 104 and the software update. The identifying information for the vehicle 104 may include an IP address, a VIN number, a license plate number, a make, model, and/or model year of the vehicle 104, and the like. The identifying information for the software update may include a software update version or revision number, a size of the initial portion 108 (e.g., a number of bytes, identifier(s) of sub-modules, etc.), a size of the remaining portion (e.g., a number of bytes, identifier(s) of sub-modules, etc.), a time of downloading the software update by the vehicle 104, a current time, and the like.
In one embodiment, the second node 130 may receive the remaining portion transfer request 116 and transfer the remaining portion software update 124 to the vehicle 104. In one embodiment, the second node 130 may store the complete software update in an accessible memory device and create the remaining portion software update 124 from the software update. For example, the second node 130 may determine the size or sub-modules of the remaining portion 124 by subtracting the initial portion 108 from the software update. For example, if the complete software update is 1 megabyte (MB) in size and the initial portion 108 is 320 kilobytes (KB), the remaining portion 124 may be 680 KB. As another example, if the complete software update includes 15 sub-modules and the initial portion 108 includes the first 9 sub-modules, the remaining portion 124 may include the last 6 sub-modules. Once the vehicle 104 has received the remaining portion software update 124, the vehicle 104 may combine the remaining portion 124 with the initial portion 108 in order to produce the complete software update. The vehicle 104 may then install and utilize the software update.
In one embodiment, the vehicle processor 160 may receive a notification 154 from the first node 120 that a software update is available. For example, a vehicle manufacturer may release a new software update that may apply to one or more model years, models, or options made by the vehicle manufacturer. The vehicle manufacturer may upload the software update to the first node 120, the second node 130, and any other computing resources used to distribute the software update to individual vehicles. For example, the second node 130 may serve as a backup to the first node 120 or the first node 120 may be responsible for distributing the software update to a first group of vehicles while the second node 130 is responsible for transferring the software update to a second group of vehicles.
In one embodiment, the vehicle processor 160 may prepare to receive the software update 158 by storing information within the software update available 154 notification. For example, the software update available notification 154 may include a version or revision number of the software update, a size of the complete software update, a number of sub-modules in the software update, a time the software update will be available, and the like. As part of preparing to receive the software update 158, the vehicle processor 160 may allocate space in an accessible memory device to receive the complete software update.
The vehicle processor 160 may transmit a software update request 162 to the first node 120 when it is ready to receive the software update. In response, the first node 120 may retrieve the software update from an accessible memory device and transfer the software update 166. The first node 120 transfers an initial portion of the software update 108 to the vehicle processor 160. In one embodiment, the first node 120 attempts to transfer the complete software update until the first node 120 receives a notification of a software update issue 112 from the vehicle processor 160. Some or all of the already-transferred software update may be considered to be the initial portion of the software update 108, as determined by the vehicle processor 160. For example, the vehicle processor 160 may determine the initial portion of the software update 108 is the first three sub-modules of the software update (e.g., the issue may have been found beginning with the fourth sub-module), even though the first node 120 may be currently transferring the sixth sub-module.
In one embodiment, the vehicle processor 160 may determine a software update issue 170 and transmit a notification of the software update issue 112 to the first node 120, as discussed herein. In one embodiment, the first node 120 may stop transmitting the software update to the vehicle processor 160 when it receives the notification of the software update issue 112. In one embodiment, upon receiving the notification of the software update issue 112, the first node 120 may attempt to retransmit the software update to the vehicle processor 160. In another embodiment, the first node 120 may attempt to have another node (e.g., the second node 130, as a backup to the first node 120) transmit the remaining portion of the software update to the vehicle processor 160. In another embodiment, the download of the OTA update 108 may be stopped by the first node 120. For example, a malfunction of the node 120 may occur, causing the download to be stopped.
In one embodiment, the first node 120 determines the remaining portion of the software update 174 by examining the notification of the software update issue 112. For example, the notification of the software update issue 112 may include an amount of the software update in the initial portion 108 and/or an address, size, or sub-module count corresponding to one or more of the initial portion 108 and the remaining portion 124.
In one embodiment, the first node 120 may determine a source of the remaining portion 178. For example, the first node 120 may have access to multiple other nodes that have access to and may be available to transmit the remaining portion 124 to the vehicle processor 160. A data structure in an accessible memory device may store contact information for each of the other potential nodes (e.g., a server name, an IP address, etc.). The first node 120 may contact the other nodes in order to find an available node to transfer the remaining portion to the vehicle processor 160. From received availability responses, the first node 120 may designate a first identified node as the second node 130. The first node 120 may transmit a remaining portion transfer request 116 to the second node 130. The remaining portion transfer request 116 may include an identification of the software update (e.g., version or revision number, make/model/model year of the vehicles that may receive the update, etc.), a size, address range, or sub-module identifications of the remaining portion, and identifying information corresponding to the vehicle 104 and the vehicle processor 160. The identifying information may allow the second node 130 to directly contact the vehicle processor 160 and initiate transfer of the remaining portion 124.
In one embodiment, the second node 130 may receive the remaining portion transfer request 116 and prepare the remaining portion of the software update 182. The second node 130 may prepare the remaining portion of the software update 182 by subtracting the initial portion 108 specified in the remaining portion transfer request 116 from the complete software update. In one embodiment, the remaining portion of the software update 124 may begin at the end of the initial portion 108. The second node 130 may transfer the remaining portion of the software update 124 to the vehicle processor 160. The vehicle processor 160 may assemble the software update from the initial portion 108 and the remaining portion 124, and install the software update to the vehicle 104.
In one embodiment, the vehicle processor 160 may experience one or more issues when receiving the remaining portion of the software update 124. In that case, a similar series of actions may be performed as detailed herein. In one embodiment, there may be multiple portions of the software update transferred by multiple nodes. In another embodiment, if issues are detected when the second node 130 is transferring the remaining portion 124, the second node 130 may notify the first node 120 to transfer a second remaining portion, where the second remaining portion follows a first remaining portion originally transferred in step 124.
Although
In one embodiment, the vehicle processor 160 may determine a received signal strength for the vehicle 104, adjust a download time of the software update from the first node 120 based on the received signal strength, and receive the software update to the vehicle 104 within the download time. The vehicle 104 may include a wireless transceiver that transmits and receives data through a Bluetooth, Wi-Fi, or other wireless interface. The interface may include signal strength measuring circuitry that measures the amplitude of received signals and makes the data available to a local processor, such as the vehicle processor 160.
In one embodiment, expected download time may be a function of the amount of data being transferred, the speed of transfer, and the signal strength. Weak signal strength may require transmission retries if the signal is not cleanly received. The retries may increase download time. A nominal download time may assume a small number of retries. Strong signal strength may allow the vehicle processor 160 to decrease download time if no retries are required and weak signal strength may increase download time due to more than a small number of retries. By adjusting the download time based on the received signal strength, the download time is more deterministic and predictable, resulting in a high probability of completing the software update download within the download time.
In one embodiment, the vehicle processor 160 requests the remaining portion of the software update 124 may include the vehicle processor 160 determines a received signal strength has fallen below a threshold while receiving the software update, notifies the first node 120 to pause the software update, and validates an amount of the initial portion 108 received while the signal strength is above the threshold.
In one embodiment, the vehicle processor 160 may continuously monitor the signal strength of software updates while they are being received and compare the signal strength to a threshold stored in an accessible memory device. The threshold may be predetermined from testing based on successful data capture. As long as the vehicle processor 160 verifies the signal strength is above the threshold, the vehicle processor 160 may continue to receive and store the software update. However, if the vehicle processor 160 determines the signal strength has fallen below the threshold, data of the software update received at and after that point may be unreliable. The vehicle processor 160 may transmit a notification to the first node 120 to pause the software update. In one embodiment, the notification may include an identification of a point in the software update where the threshold was initially not met. This may allow the first node 120 to disqualify any data sent to the vehicle processor 160 after that point. In one embodiment, the vehicle processor 160 may validate received data of the software update that was received before the signal strength fell below the threshold. Validation may include the vehicle processor 160 calculating a checksum or CRC of the data over the threshold and successfully comparing to a stored checksum or CRC value within the software update.
In one embodiment, the vehicle processor 160 may determine an identifier within the initial portion 108, notify the first node 120 of the identifier, and request, by the first node 120, the remaining portion 124 from a second node 130, where the remaining portion 124 includes the identifier. The identifier may include a unique identifier that corresponds to a specific software update transmitted to a specific vehicle. Therefore, the initial portion of the software update 108 as well as any remaining portions 124 would likely include the identifier. In one embodiment, the vehicle processor 160 may reject any remaining portions 124 that do not include the identifier or include a different identifier. In one embodiment, the identifier may be encrypted and/or include one or more of a checksum or CRC, a version number, a time stamp, a data size, a number of sub-modules, and the like.
In one embodiment, a vehicle manufacturer may have multiple servers that software updates may be downloaded (e.g., US, Germany, Japan, etc.). When an issue is detected by the vehicle processor 160, the vehicle processor 160 may look up another server of the manufacturer stored in a memory device of the vehicle 104. The vehicle processor 160 contacts the other server (i.e., second node 130) and requests the remaining portion of the software update (e.g., module 2 of software update xyz, English language). The other server then transmits the remaining portion to the vehicle processor 160.
In one embodiment, the vehicle processor 160 may identify a signature in the remaining portion of the software update 124, generate a calculated signature based on the remaining portion 124, and determine the calculated signature matches the signature in the remaining portion 124. The signature may be based on the data within the software update, such as a checksum or CRC. Because it may be based on data within the software update, a receiver (i.e., vehicle processor 160) may calculate the signature by performing a checksum or CRC calculation on the received data in the software update. The software update may include one or more sub-modules, each with their own signature. The vehicle processor 160 may calculate a signature for each received sub-module (e.g., initial portion 108 or remaining portion 124) and compare it to a stored signature in the sub-module. If the calculated signature matches the stored signature, the sub-module may be determined as successfully downloaded. If the calculated signature does not match the stored signature, the sub-module may be determined as unsuccessfully downloaded and the sub-module may not be reliable. Receiving a portion of the software update includes a check proving integrity of the received portion.
In one embodiment, the first node 120 may identify a location in the initial portion 108 of the software update that corresponds to the issue, determine an endpoint of the initial portion preceding the location, and designate a difference between the endpoint and an end of the software update as the remaining portion 124. In one embodiment, the endpoint may be the end of a module, the end of a sub-module, the end of a routine, or any other logical division within the initial portion 108 of the software update. The endpoint may precede the location where the issue was detected in the initial portion 108. The remaining portion 124 may proceed from the endpoint to the end of the software update.
In one embodiment, the vehicle processor 160 may analyze the received software update and detect an error at a specific byte location within the software update. For example, an illegal operation code (opcode) may be detected, which signifies an illegal instruction within the software update. The vehicle processor 160 must not include the location where the error was detected in the initial portion of the software update because the location may reflect corrupted data that may cause the software update to fail when executed. The vehicle processor 160 selects an endpoint that precedes the location where the error was detected, such as the end of a module, sub-module, or data structure. In one embodiment, the vehicle processor 160 may select as the endpoint the last data item before the error was detected. The endpoint has a byte address measured from the beginning of the software update and the initial portion 108 has a size measured from the start of the software update to the endpoint. The remaining portion 124 may include the part of the software update from the endpoint to the end of the software update. The notification of software update issue 112 to the first node 120 may include the byte address just following the endpoint. The first node 120 includes this byte address as part of the remaining portion transfer request 116 to the second node 130, and the second node 130 prepares 182 and transmits 124 the remaining portion starting at the specified byte address. This effectively retransmits the data at the location where the error was detected by the vehicle processor 160.
In another embodiment, the vehicle processor 160 may analyze the received software update and detect an error at a specific byte location within a module or sub-module of the software update. For example, each module or sub-module may include a checksum or CRC that the vehicle processor 160 compares to a calculated checksum or CRC, as described herein. The vehicle processor 160 may determine a checksum or CRC miscompare as a failure of the module or sub-module where the error was detected. In this case, the vehicle processor 160 may designate the endpoint as the end of the last module or sub-module where the integrity was verified (i.e., the checksum or CRC matched). Therefore, the remaining portion 124 may start at the module or sub-module where the error was detected by the vehicle processor 160. The notification of software update issue 112 to the first node 120 may include the module or sub-module starting address or sequence number (e.g., module or sub-module 17 out of 53) just following the endpoint. The first node 120 includes this starting address or sequence number as part of the remaining portion transfer request 116 to the second node 130, and the second node 130 prepares 182 and transmits 124 the remaining portion starting at the specified starting address or sequence number. This effectively retransmits the data at the module or sub-module where the error was detected by the vehicle processor 160.
In one embodiment, the first node 120 may determine the second node 130 is not available, identify a compatible vehicle within a range of the vehicle 104, and receive the remaining portion from the compatible vehicle. The second node 130 may not be available for many reasons. For example, it may be offline due to a failure or a maintenance operation, or a network problem preventing communication between the first 120 and the second 130 nodes.
In one embodiment, the first node 120 may be unable to communicate with the second node 130, and no other nodes may be available to provide the remaining portion 124 to the vehicle 104. The first node 120 may transmit a notification to the vehicle processor 160 requesting the vehicle processor 160 to obtain the remaining portion from a compatible vehicle. The notification may include an identification of compatible vehicles within communication distance of the vehicle 104. For example, the first node 120 may store in an accessible data structure in a memory device data related to each vehicle that received the same software update as the vehicle 104 (i.e., compatible vehicles). Compatible vehicles may include the same manufacturer, model, model year, installed options, and/or recall status—as determined by the manufacturer. The data structure may be a list or table that stores the download date, VIN number, license plate number, Wi-Fi or Bluetooth contact data, a home or business address, and the like. The first node 120 may obtain GPS coordinates of the vehicle 104 and compatible vehicles within the same area/state and determine which compatible vehicles are within communication range of the vehicle 104. The first node 120 may provide Wi-Fi or Bluetooth contact data to the vehicle processor 160 for one or more compatible vehicles. The vehicle processor 160 may contact one or more compatible vehicles using the Wi-Fi or Bluetooth contact data (e.g. using Wi-Fi, long-range Bluetooth, or Bluetooth mesh networking) and request the remaining portion of the software update using the same procedures described with respect to the second node 130.
In one embodiment, over-the air (OTA) edge-assisted updates may be used for the vehicle 104 in real-time using physical unclonable functions (PUF). A PUF may be any physical object that produces instance-specific measurements. The best-known subset of PUFs are silicon PUFs. As the name suggests, this specific type of PUF gets its instance-specific measurements from silicon, which means these PUFs are part of an integrated circuit (IC).
Due to deep submicron manufacturing process variations, every transistor in an IC has slightly different physical properties. These variations may lead to small but measurable differences in terms of electronic properties, such as transistor threshold voltages and gain factor. Since these process variations are not fully controllable during manufacturing, these physical device properties cannot be copied or cloned. By utilizing these inherent variations, PUFs have been found to be very valuable for use as a unique identifier for any given IC. They do this through circuitry within the IC that converts the tiny variations into a digital pattern of 0's and 1's, which is unique for that specific chip and is repeatable over time. This pattern is a “silicon fingerprint,” which is comparable to its human biometric counterpart.
Using certain algorithms the silicon fingerprint is turned into a cryptographic key that is unique for that individual IC and is used as its root key. This root key is reliably reconstructed from the PUF whenever it is needed by the system, without a need for storing the key in any form of memory. So when the device is powered off, no secret key is present in any form of memory. In effect, the root key is “invisible” to attackers, which makes the storage of keys with PUFs very secure. The largest concerns are safety and security, where PUF may be used to verify a OTA security signature. If there is a match, the signature is accepted. If there is not a match, the signature is rejected and an update from another server may be requested. If it still cannot match the security signature, the edge server and/or vehicle 104 may be isolated.
Flow diagrams depicted herein, such as
It is important to note that all the flow diagrams and corresponding processes derived from
The instant solution can be used in conjunction with one or more types of vehicles: battery electric vehicles, hybrid vehicles, fuel cell vehicles, internal combustion engine vehicles and/or vehicles utilizing renewable sources.
Although depicted as single transports, processors and elements, a plurality of transports, processors and elements may be present. Information or communication can occur to and/or from any of the processors 204, 204′ and elements 230. For example, the mobile phone 220 may provide information to the processor 204, which may initiate the transport 202 to take an action, may further provide the information or additional information to the processor 204′, which may initiate the transport 202′ to take an action, may further provide the information or additional information to the mobile phone 220, the transport 222, and/or the computer 224. One or more of the applications, features, steps, solutions, etc., described and/or depicted herein may be utilized and/or provided by the instant elements.
The processor 204 performs one or more of receiving, by a vehicle, a software update from a first node 244C, ceasing, by the vehicle, the software update resulting in an initial portion of the software update being received by the vehicle 246C, requesting, by the vehicle, a remaining portion of the software update 248C, and receiving, by the vehicle, the remaining portion of the software update from a second node 250C.
The processor 204 performs one or more of determining a received signal strength for the vehicle, adjusting a download time of the software update from the first node, based on the received signal strength, and receiving the software update to the vehicle within the download time 244D, determining, by the vehicle when moving, a received signal strength has fallen below a threshold while receiving the software update, notifying the first node to pause the software update, and validating an amount of the initial portion received while the signal strength is above the threshold 245D, determining an identifier within the initial portion, notifying the first node of the identifier, and requesting, by the first node, the remaining portion from a second node, the remaining portion including the identifier 246D, identifying a signature in the remaining portion of the software update, generating a calculated signature based on the remaining portion, and determining the calculated signature matches the signature in the remaining portion 247D, identifying a location in the initial portion of the software update that corresponds to the issue, determining an endpoint of the initial portion preceding the location, and designating a difference between the endpoint and an end of the software update as the remaining portion 248D, and determining the second node is not available, identifying a compatible vehicle within a range of the vehicle, and receiving the remaining portion from the compatible vehicle 249D.
While this example describes in detail only one transport 202, multiple such nodes may be connected to the blockchain 206. It should be understood that the transport 202 may include additional components and that some of the components described herein may be removed and/or modified without departing from a scope of the instant application. The transport 202 may have a computing device or a server computer, or the like, and may include a processor 204, which may be a semiconductor-based microprocessor, a central processing unit (CPU), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), and/or another hardware device. Although a single processor 204 is depicted, it should be understood that the transport 202 may include multiple processors, multiple cores, or the like without departing from the scope of the instant application. The transport 202 could be a transport, server or any device with a processor and memory.
The processor 204 performs one or more of receiving a confirmation of an event from one or more elements described or depicted herein, wherein the confirmation comprises a blockchain consensus between peers represented by any of the elements 244E and executing a smart contract to record the confirmation on a blockchain-based on the blockchain consensus 246E. Consensus is formed between one or more of any element 230 and/or any element described or depicted herein, including a transport, a server, a wireless device, etc. In another example, the transport 202 can be one or more of any element 230 and/or any element described or depicted herein, including a server, a wireless device, etc.
The processors and/or computer readable medium 242E may fully or partially reside in the interior or exterior of the transports. The steps or features stored in the computer readable medium 242E may be fully or partially performed by any of the processors and/or elements in any order. Additionally, one or more steps or features may be added, omitted, combined, performed at a later time, etc.
The term ‘energy’, ‘electricity’, ‘power’, and the like may be used to denote any form of energy received, stored, used, shared, and/or lost by the vehicles(s). The energy may be referred to in conjunction with a voltage source and/or a current supply of charge provided from an entity to the transport(s) during a charge/use operation. Energy may also be in the form of fossil fuels (for example, for use with a hybrid transport) or via alternative power sources, including but not limited to lithium-based, nickel-based, hydrogen fuel cells, atomic/nuclear energy, fusion-based energy sources, and energy generated on-the-fly during an energy sharing and/or usage operation for increasing or decreasing one or more transports energy levels at a given time.
In one example, the charging station 270 manages the amount of energy transferred from the transport 266 such that there is sufficient charge remaining in the transport 266 to arrive at a destination. In one example, a wireless connection is used to wirelessly direct an amount of energy transfer between transports 268, wherein the transports may both be in motion. In one embodiment, wireless charging may occur via a fixed charger and batteries of the transport in alignment with one another (such as a charging mat in a garage or parking space). In one example, an idle vehicle, such as a vehicle 266 (which may be autonomous) is directed to provide an amount of energy to a charging station 270 and return to the original location (for example, its original location or a different destination). In one example, a mobile energy storage unit (not shown) is used to collect surplus energy from at least one other transport 268 and transfer the stored surplus energy at a charging station 270. In one example, factors determine an amount of energy to transfer to a charging station 270, such as distance, time, as well as traffic conditions, road conditions, environmental/weather conditions, the vehicle's condition (weight, etc.), an occupant(s) schedule while utilizing the vehicle, a prospective occupant(s) schedule waiting for the vehicle, etc. In one example, the transport(s) 268, the charging station(s) 270 and/or the electric grid(s) 272 can provide energy to the transport 266.
In one embodiment, a location such as a building, a residence, or the like (not depicted), communicably coupled to one or more of the electric grid 272, the transport 266, and/or the charging station(s) 270. The rate of electric flow to one or more of the location, the transport 266, the other transport(s) 268 is modified, depending on external conditions, such as weather. For example, when the external temperature is extremely hot or extremely cold, raising the chance for an outage of electricity, the flow of electricity to a connected vehicle 266/268 is slowed to help minimize the chance for an outage.
In one embodiment, transports 266 and 268 may be utilized as bidirectional transports. Bidirectional transports are those that may serve as mobile microgrids that can assist in the supplying of electrical power to the grid 272 and/or reduce the power consumption when the grid is stressed. Bidirectional transports incorporate bidirectional charging, which in addition to receiving a charge to the transport, the transport can take energy from the transport and “push” the energy back into the grid 272, otherwise referred to as “V2G”. In bidirectional charging, the electricity flows both ways; to the transport and from the transport. When a transport is charged, alternating current (AC) electricity from the grid 272 is converted to direct current (DC). This may be performed by one or more of the transport's own converter or a converter on the charger 270. The energy stored in the transport's batteries may be sent in an opposite direction back to the grid. The energy is converted from DC to AC through a converter usually located in the charger 270, otherwise referred to as a bidirectional charger. Further, the instant solution as described and depicted with respect to
In one embodiment, anytime an electrical charge is given or received to/from a charging station and/or an electrical grid, the entities that allow that to occur are one or more of a vehicle, a charging station, a server, and a network communicably coupled to the vehicle, the charging station, and the electrical grid.
In one example, a transport 277/276 can transport a person, an object, a permanently or temporarily affixed apparatus, and the like. In one example, the transport 277 may communicate with transport 276 via V2V communication through the computers associated with each transport 276′ and 277′ and may be referred to as a transport, car, vehicle, automobile, and the like. The transport 276/277 may be a self-propelled wheeled conveyance, such as a car, a sports utility vehicle, a truck, a bus, a van, or other motor or battery-driven or fuel cell-driven transport. For example, transport 276/277 may be an electric vehicle, a hybrid vehicle, a hydrogen fuel cell vehicle, a plug-in hybrid vehicle, or any other type of vehicle with a fuel cell stack, a motor, and/or a generator. Other examples of vehicles include bicycles, scooters, trains, planes, boats, and any other form of conveyance that is capable of transportation. The transport 276/277 may be semi-autonomous or autonomous. For example, transport 276/277 may be self-maneuvering and navigate without human input. An autonomous vehicle may have and use one or more sensors and/or a navigation unit to drive autonomously.
ECUs 295, 296, and Head Unit 297 may each include a custom security functionality element 299 defining authorized processes and contexts within which those processes are permitted to run. Context-based authorization to determine validity if a process can be executed allows ECUs to maintain secure operation and prevent unauthorized access from elements such as the transport's Controller Area Network (CAN Bus). When an ECU encounters a process that is unauthorized, that ECU can block the process from operating. Automotive ECUs can use different contexts to determine whether a process is operating within its permitted bounds, such as proximity contexts such as nearby objects, distance to approaching objects, speed, and trajectory relative to other moving objects, and operational contexts such as an indication of whether the transport is moving or parked, the transport's current speed, the transmission state, user-related contexts such as devices connected to the transport via wireless protocols, use of the infotainment, cruise control, parking assist, driving assist, location-based contexts, and/or other contexts.
Referring to
The processor 296A includes an arithmetic logic unit, a microprocessor, a general-purpose controller, and/or a similar processor array to perform computations and provide electronic display signals to a display unit 299A. The processor 296A processes data signals and may include various computing architectures, including a complex instruction set computer (CISC) architecture, a reduced instruction set computer (RISC) architecture, or an architecture implementing a combination of instruction sets. The transport 276 may include one or more processors 296A. Other processors, operating systems, sensors, displays, and physical configurations that are communicably coupled to one another (not depicted) may be used with the instant solution.
Memory 297A is a non-transitory memory storing instructions or data that may be accessed and executed by the processor 296A. The instructions and/or data may include code to perform the techniques described herein. The memory 297A may be a dynamic random-access memory (DRAM) device, a static random-access memory (SRAM) device, flash memory, or another memory device. In some embodiments, the memory 297A also may include non-volatile memory or a similar permanent storage device and media, which may include a hard disk drive, a floppy disk drive, a CD-ROM device, a DVD-ROM device, a DVD-RAM device, a DVD-RW device, a flash memory device, or some other mass storage device for storing information on a permanent basis. A portion of the memory 297A may be reserved for use as a buffer or virtual random-access memory (virtual RAM). The transport 276 may include one or more memories 297A without deviating from the current solution.
The memory 297A of the transport 276 may store one or more of the following types of data: navigation route data 295A, and autonomous features data 294A. In some embodiments, the memory 297A stores data that may be necessary for the navigation application 295A to provide the functions.
The navigation system 295A may describe at least one navigation route including a start point and an endpoint. In some embodiments, the navigation system 295A of the transport 276 receives a request from a user for navigation routes wherein the request includes a starting point and an ending point. The navigation system 295A may query a real-time data server 293 (via a network 292), such as a server that provides driving directions, for navigation route data corresponding to navigation routes, including the start point and the endpoint. The real-time data server 293 transmits the navigation route data to the transport 276 via a wireless network 292, and the communication system 298A stores the navigation data 295A in the memory 297A of the transport 276.
The ECU 293A controls the operation of many of the systems of the transport 276, including the ADAS systems 294A. The ECU 293A may, responsive to instructions received from the navigation system 295A, deactivate any unsafe and/or unselected autonomous features for the duration of a journey controlled by the ADAS systems 294A. In this way, the navigation system 295A may control whether ADAS systems 294A are activated or enabled so that they may be activated for a given navigation route.
The sensor set 292A may include any sensors in the transport 276 generating sensor data. For example, the sensor set 292A may include short-range sensors and long-range sensors. In some embodiments, the sensor set 292A of the transport 276 may include one or more of the following vehicle sensors: a camera, a Lidar sensor, an ultrasonic sensor, an automobile engine sensor, a radar sensor, a laser altimeter, a manifold absolute pressure sensor, an infrared detector, a motion detector, a thermostat, a sound detector, a carbon monoxide sensor, a carbon dioxide sensor, an oxygen sensor, a mass airflow sensor, an engine coolant temperature sensor, a throttle position sensor, a crankshaft position sensor, a valve timer, an air-fuel ratio meter, a blind spot meter, a curb feeler, a defect detector, a Hall effect sensor, a parking sensor, a radar gun, a speedometer, a speed sensor, a tire-pressure monitoring sensor, a torque sensor, a transmission fluid temperature sensor, a turbine speed sensor (TSS), a variable reluctance sensor, a vehicle speed sensor (VSS), a water sensor, a wheel speed sensor, a GPS sensor, a mapping functionality, and any other type of automotive sensor. The navigation system 295A may store the sensor data in the memory 297A.
The communication unit 298A transmits and receives data to and from the network 292 or to another communication channel. In some embodiments, the communication unit 298A may include a DSRC transceiver, a DSRC receiver, and other hardware or software necessary to make the transport 276 a DSRC-equipped device.
The transport 276 may interact with other transports 277 via V2V technology. V2V communication includes sensing radar information corresponding to relative distances to external objects, receiving GPS information of the transports, setting areas as areas where the other transports 277 are located based on the sensed radar information, calculating probabilities that the GPS information of the object vehicles will be located at the set areas, and identifying transports and/or objects corresponding to the radar information and the GPS information of the object vehicles based on the calculated probabilities, in one example.
For a transport to be adequately secured, the transport must be protected from unauthorized physical access as well as unauthorized remote access (e.g., cyber-threats). To prevent unauthorized physical access, a transport is equipped with a secure access system such as a keyless entry in one example. Meanwhile, security protocols are added to a transport's computers and computer networks to facilitate secure remote communications to and from the transport in one example.
Electronic Control Units (ECUs) are nodes within a transport that control tasks such as activating the windshield wipers to tasks such as an anti-lock brake system. ECUs are often connected to one another through the transport's central network, which may be referred to as a controller area network (CAN). State-of-the-art features such as autonomous driving are strongly reliant on implementing new, complex ECUs such as advanced driver-assistance systems (ADAS), sensors, and the like. While these new technologies have helped improve the safety and driving experience of a transport, they have also increased the number of externally-communicating units inside of the transport, making them more vulnerable to attack. Below are some examples of protecting the transport from physical intrusion and remote intrusion.
When the user presses a button 293B (or otherwise actuates the fob, etc.) on the key fob 292B, the CPU 2922B wakes up inside the key fob 292B and sends a data stream to the transmitter 2921B, which is output via the antenna. In other embodiments, the user's intent is acknowledged on the key fob 292B via other means, such as via a microphone that accepts audio, a camera that captures images and/or video, or other sensors that are commonly utilized in the art to detect intent from a user including receiving gestures, motion, eye movements, and the like. The data stream may be a 64-bit to 128-bit long signal, which includes one or more of a preamble, a command code, and a rolling code. The signal may be sent at a rate between 2 KHz and 20 KHz, but embodiments are not limited thereto. In response, the receiver 2911B of the transport 291B captures the signal from the transmitter 2921B, demodulates the signal, and sends the data stream to the CPU 2913B, which decodes the signal and sends commands (e.g., lock the door, unlock the door, etc.) to a command module 2912B.
If the key fob 292B and the transport 291B use a fixed code between them, replay attacks can be performed. In this case, if the attacker can capture/sniff the fixed code during the short-range communication, the attacker could replay this code to gain entry into the transport 291B. To improve security, the key fob and the transport 291B may use a rolling code that changes after each use. Here, the key fob 292B and the transport 291B are synchronized with an initial seed 2923B (e.g., a random number, pseudo-random number, etc.) This is referred to as pairing. The key fob 292B and the transport 291B also include a shared algorithm for modifying the initial seed 2914B each time the button 293B is pressed. The following keypress will take the result of the previous keypress as an input and transform it into the next number in the sequence. In some cases, the transport 291B may store multiple next codes (e.g., 255 next codes) in case the keypress on the key fob 292B is not detected by the transport 291B. Thus, a number of keypress on the key fob 292B that are unheard by the transport 291B do not prevent the transport from becoming out of sync.
In addition to rolling codes, the key fob 292B and the transport 291B may employ other methods to make attacks even more difficult. For example, different frequencies may be used for transmitting the rolling codes. As another example, two-way communication between the transmitter 2921B and the receiver 2911B may be used to establish a secure session. As another example, codes may have limited expirations or timeouts. Further, the instant solution as described and depicted with respect to
In this example, the ECU 291C includes a transceiver 2911C and a microcontroller 2912C. The transceiver may be used to transmit and receive messages to and from the CAN bus 297C. For example, the transceiver 2911C may convert the data from the microcontroller 2912C into a format of the CAN bus 297C and also convert data from the CAN bus 297C into a format for the microcontroller 2912C. Meanwhile, the microcontroller 2912C interprets the messages and also decide what messages to send using ECU software installed therein in one example.
To protect the CAN 290C from cyber threats, various security protocols may be implemented. For example, sub-networks (e.g., sub-networks A and B, etc.) may be used to divide the CAN 290C into smaller sub-CANs and limit an attacker's capabilities to access the transport remotely. In the example of
Although not shown in
In addition to protecting a transport's internal network, transports may also be protected when communicating with external networks such as the Internet. One of the benefits of having a transport connection to a data source such as the Internet is that information from the transport can be sent through a network to remote locations for analysis. Examples of transport information include GPS, onboard diagnostics, tire pressure, and the like. These communication systems are often referred to as telematics because they involve the combination of telecommunications and informatics. Further, the instant solution as described and depicted with respect to
Secure management of data begins with the transport 291D. In some embodiments, the device 296D may collect information before, during, and after a trip. The data may include GPS data, travel data, passenger information, diagnostic data, fuel data, speed data, and the like. However, the device 296D may only communicate the collected information back to the host server 295D in response to transport ignition and trip completion. Furthermore, communication may only be initiated by the device 296D and not by the host server 295D. As such, the device 296D will not accept communications initiated by outside sources in one example.
To perform the communication, the device 296D may establish a secured private network between the device 296D and the host server 295D. Here, the device 296D may include a tamper-proof SIM card that provides secure access to a carrier network 294D via a radio tower 292D. When preparing to transmit data to the host server 295D, the device 296D may establish a one-way secure connection with the host server 295D. The carrier network 294D may communicate with the host server 295D using one or more security protocols. As a non-limiting example, the carrier network 294D may communicate with the host server 295D via a VPN tunnel which allows access through a firewall 293D of the host server 295D. As another example, the carrier network 294D may use data encryption (e.g., AES encryption, etc.) when transmitting data to the host server 295D. In some cases, the system may use multiple security measures such as both a VPN and encryption to further secure the data.
In addition to communicating with external servers, transports may also communicate with each other. In particular, transport-to-transport (V2V) communication systems enable transports to communicate with each other, roadside infrastructures (e.g., traffic lights, signs, cameras, parking meters, etc.), and the like, over a wireless network. The wireless network may include one or more of Wi-Fi networks, cellular networks, dedicated short-range communication (DSRC) networks, and the like. Transports may use V2V communication to provide other transports with information about a transport's speed, acceleration, braking, and direction, to name a few. Accordingly, transports can receive insight into the conditions ahead before such conditions become visible, thus greatly reducing collisions. Further, the instant solution as described and depicted with respect to
Upon receiving the communications from each other, the transports may verify the signatures with a certificate authority 291E or the like. For example, the transport 292E may verify with the certificate authority 291E that the public key certificate 294E used by transport 293E to sign a V2V communication is authentic. If the transport 292E successfully verifies the public key certificate 294E, the transport knows that the data is from a legitimate source. Likewise, the transport 293E may verify with the certificate authority 291E that the public key certificate 295E used by the transport 292E to sign a V2V communication is authentic. Further, the instant solution as described and depicted with respect to
In the example of
For example, the authorization module 293F may store passwords, usernames, PIN codes, biometric scans, and the like for different transport users. The authorization module 293F may determine whether a user (or technician) has permission to access certain settings such as a transport's computer. In some embodiments, the authorization module may communicate with a network interface to download any necessary authorization information from an external server. When a user desires to make changes to the transport settings or modify technical details of the transport via a console or GUI within the transport or via an attached/connected device, the authorization module 293F may require the user to verify themselves in some way before such settings are changed. For example, the authorization module 293F may require a username, a password, a PIN code, a biometric scan, a predefined line drawing or gesture, and the like. In response, the authorization module 293F may determine whether the user has the necessary permissions (access, etc.) being requested.
The authentication module 294F may be used to authenticate internal communications between ECUs on the CAN network of the vehicle. As an example, the authentication module 294F may provide information for authenticating communications between the ECUS. As an example, the authentication module 294F may transmit a bit signature algorithm to the ECUs of the CAN network. The ECUs may use the bit signature algorithm to insert authentication bits into the CAN fields of the CAN frame. All ECUs on the CAN network typically receive each CAN frame. The bit signature algorithm may dynamically change the position, amount, etc., of authentication bits each time a new CAN frame is generated by one of the ECUs. The authentication module 294F may also provide a list of ECUs that are exempt (safe list) and that do not need to use the authentication bits. The authentication module 294F may communicate with a remote server to retrieve updates to the bit signature algorithm and the like.
The encryption module 295F may store asymmetric key pairs to be used by the transport to communicate with other external user devices and transports. For example, the encryption module 295F may provide a private key to be used by the transport to encrypt/decrypt communications, while the corresponding public key may be provided to other user devices and transports to enable the other devices to decrypt/encrypt the communications. The encryption module 295F may communicate with a remote server to receive new keys, updates to keys, keys of new transports, users, etc., and the like. The encryption module 295F may also transmit any updates to a local private/public key pair to the remote server.
The machine learning subsystem 406 contains a learning model 408, which is a mathematical artifact created by a machine learning training system 410 that generates predictions by finding patterns in one or more training data sets. In some embodiments, the machine learning subsystem 406 resides in the transport 402. In other embodiments, the machine learning subsystem 406 resides outside of the transport 402.
The transport 402 sends data from the one or more sensors 404 to the machine learning subsystem 406. The machine learning subsystem 406 provides the one or more sensor 404 data to the learning model 408, which returns one or more predictions. The machine learning subsystem 406 sends one or more instructions to the transport 402 based on the predictions from the learning model 408.
In a further embodiment, the transport 402 may send the one or more sensor 404 data to the machine learning training system 410. In yet another example, the machine learning subsystem 406 may send the sensor 404 data to the machine learning subsystem 410. One or more of the applications, features, steps, solutions, etc., described and/or depicted herein may utilize the machine learning network 400 as described herein.
The blockchain transactions 620 are stored in memory of computers as the transactions are received and approved by the consensus model dictated by the members' nodes. Approved transactions 626 are stored in current blocks of the blockchain and committed to the blockchain via a committal procedure, which includes performing a hash of the data contents of the transactions in a current block and referencing a previous hash of a previous block. Within the blockchain, one or more smart contracts 630 may exist that define the terms of transaction agreements and actions included in smart contract executable application code 632, such as registered recipients, vehicle features, requirements, permissions, sensor thresholds, etc. The code may be configured to identify whether requesting entities are registered to receive vehicle services, what service features they are entitled/required to receive given their profile statuses and whether to monitor their actions in subsequent events. For example, when a service event occurs and a user is riding in the vehicle, the sensor data monitoring may be triggered, and a certain parameter, such as a vehicle charge level, may be identified as being above/below a particular threshold for a particular period of time, then the result may be a change to a current status, which requires an alert to be sent to the managing party (i.e., vehicle owner, vehicle operator, server, etc.) so the service can be identified and stored for reference. The vehicle sensor data collected may be based on types of sensor data used to collect information about vehicle's status. The sensor data may also be the basis for the vehicle event data 634, such as a location(s) to be traveled, an average speed, a top speed, acceleration rates, whether there were any collisions, was the expected route taken, what is the next destination, whether safety measures are in place, whether the vehicle has enough charge/fuel, etc. All such information may be the basis of smart contract terms 630, which are then stored in a blockchain. For example, sensor thresholds stored in the smart contract can be used as the basis for whether a detected service is necessary and when and where the service should be performed.
The smart contract application code 644 provides a basis for the blockchain transactions by establishing application code, which when executed causes the transaction terms and conditions to become active. The smart contract 630, when executed, causes certain approved transactions 626 to be generated, which are then forwarded to the blockchain platform 652. The platform includes a security/authorization 658, computing devices, which execute the transaction management 656 and a storage portion 654 as a memory that stores transactions and smart contracts in the blockchain.
The blockchain platform may include various layers of blockchain data, services (e.g., cryptographic trust services, virtual execution environment, etc.), and underpinning physical computer infrastructure that may be used to receive and store new entries and provide access to auditors, which are seeking to access data entries. The blockchain may expose an interface that provides access to the virtual execution environment necessary to process the program code and engage the physical infrastructure. Cryptographic trust services may be used to verify entries such as asset exchange entries and keep information private.
The blockchain architecture configuration of
Within smart contract executable code, a smart contract may be created via a high-level application and programming language, and then written to a block in the blockchain. The smart contract may include executable code that is registered, stored, and/or replicated with a blockchain (e.g., distributed network of blockchain peers). An entry is an execution of the smart contract code, which can be performed in response to conditions associated with the smart contract being satisfied. The executing of the smart contract may trigger a trusted modification(s) to a state of a digital blockchain ledger. The modification(s) to the blockchain ledger caused by the smart contract execution may be automatically replicated throughout the distributed network of blockchain peers through one or more consensus protocols.
The smart contract may write data to the blockchain in the format of key-value pairs. Furthermore, the smart contract code can read the values stored in a blockchain and use them in application operations. The smart contract code can write the output of various logic operations into the blockchain. The code may be used to create a temporary data structure in a virtual machine or other computing platform. Data written to the blockchain can be public and/or can be encrypted and maintained as private. The temporary data that is used/generated by the smart contract is held in memory by the supplied execution environment, then deleted once the data needed for the blockchain is identified.
A smart contract executable code may include the code interpretation of a smart contract, with additional features. As described herein, the smart contract executable code may be program code deployed on a computing network, where it is executed and validated by chain validators together during a consensus process. The smart contract executable code receives a hash and retrieves from the blockchain a hash associated with the data template created by use of a previously stored feature extractor. If the hashes of the hash identifier and the hash created from the stored identifier template data match, then the smart contract executable code sends an authorization key to the requested service. The smart contract executable code may write to the blockchain data associated with the cryptographic details.
The instant system includes a blockchain that stores immutable, sequenced records in blocks, and a state database (current world state) maintaining a current state of the blockchain. One distributed ledger may exist per channel and each peer maintains its own copy of the distributed ledger for each channel of which they are a member. The instant blockchain is an entry log, structured as hash-linked blocks where each block contains a sequence of N entries. Blocks may include various components such as those shown in
The current state of the blockchain and the distributed ledger may be stored in the state database. Here, the current state data represents the latest values for all keys ever included in the chain entry log of the blockchain. Smart contract executable code invocations execute entries against the current state in the state database. To make these smart contract executable code interactions extremely efficient, the latest values of all keys are stored in the state database. The state database may include an indexed view into the entry log of the blockchain, it can therefore be regenerated from the chain at any time. The state database may automatically get recovered (or generated if needed) upon peer startup, before entries are accepted.
Endorsing nodes receive entries from clients and endorse the entry based on simulated results. Endorsing nodes hold smart contracts, which simulate the entry proposals. When an endorsing node endorses an entry, the endorsing nodes creates an entry endorsement, which is a signed response from the endorsing node to the client application indicating the endorsement of the simulated entry. The method of endorsing an entry depends on an endorsement policy that may be specified within smart contract executable code. An example of an endorsement policy is “the majority of endorsing peers must endorse the entry.” Different channels may have different endorsement policies. Endorsed entries are forward by the client application to an ordering service.
The ordering service accepts endorsed entries, orders them into a block, and delivers the blocks to the committing peers. For example, the ordering service may initiate a new block when a threshold of entries has been reached, a timer times out, or another condition. In this example, blockchain node is a committing peer that has received a data block 682A for storage on the blockchain. The ordering service may be made up of a cluster of orderers. The ordering service does not process entries, smart contracts, or maintain the shared ledger. Rather, the ordering service may accept the endorsed entries and specifies the order in which those entries are committed to the distributed ledger. The architecture of the blockchain network may be designed such that the specific implementation of ‘ordering’ (e.g., Solo, Kafka, BFT, etc.) becomes a pluggable component.
Entries are written to the distributed ledger in a consistent order. The order of entries is established to ensure that the updates to the state database are valid when they are committed to the network. Unlike a cryptocurrency blockchain system (e.g., Bitcoin, etc.) where ordering occurs through the solving of a cryptographic puzzle, or mining, in this example the parties of the distributed ledger may choose the ordering mechanism that best suits that network.
Referring to
The block data 690A may store entry information of each entry that is recorded within the block. For example, the entry data may include one or more of a type of the entry, a version, a timestamp, a channel ID of the distributed ledger, an entry ID, an epoch, a payload visibility, a smart contract executable code path (deploy tx), a smart contract executable code name, a smart contract executable code version, input (smart contract executable code and functions), a client (creator) identify such as a public key and certificate, a signature of the client, identities of endorsers, endorser signatures, a proposal hash, smart contract executable code events, response status, namespace, a read set (list of key and version read by the entry, etc.), a write set (list of key and value, etc.), a start key, an end key, a list of keys, a Merkel tree query summary, and the like. The entry data may be stored for each of the N entries.
In some embodiments, the block data 690A may also store transaction-specific data 686A, which adds additional information to the hash-linked chain of blocks in the blockchain. Accordingly, the data 686A can be stored in an immutable log of blocks on the distributed ledger. Some of the benefits of storing such data 686A are reflected in the various embodiments disclosed and depicted herein. The block metadata 688A may store multiple fields of metadata (e.g., as a byte array, etc.). Metadata fields may include signature on block creation, a reference to a last configuration block, an entry filter identifying valid and invalid entries within the block, last offset persisted of an ordering service that ordered the block, and the like. The signature, the last configuration block, and the orderer metadata may be added by the ordering service. Meanwhile, a committer of the block (such as a blockchain node) may add validity/invalidity information based on an endorsement policy, verification of read/write sets, and the like. The entry filter may include a byte array of a size equal to the number of entries in the block data 610A and a validation code identifying whether an entry was valid/invalid.
The other blocks 682B to 682n in the blockchain also have headers, files, and values. However, unlike the first block 682A, each of the headers 684A to 684n in the other blocks includes the hash value of an immediately preceding block. The hash value of the immediately preceding block may be just the hash of the header of the previous block or may be the hash value of the entire previous block. By including the hash value of a preceding block in each of the remaining blocks, a trace can be performed from the Nth block back to the genesis block (and the associated original file) on a block-by-block basis, as indicated by arrows 692, to establish an auditable and immutable chain-of-custody.
The above embodiments may be implemented in hardware, in a computer program executed by a processor, in firmware, or in a combination of the above. A computer program may be embodied on a computer readable medium, such as a storage medium. For example, a computer program may reside in random access memory (“RAM”), flash memory, read-only memory (“ROM”), erasable programmable read-only memory (“EPROM”), electrically erasable programmable read-only memory (“EEPROM”), registers, hard disk, a removable disk, a compact disk read-only memory (“CD-ROM”), or any other form of storage medium known in the art.
An exemplary storage medium may be coupled to the processor such that the processor may read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an application-specific integrated circuit (“ASIC”). In the alternative, the processor and the storage medium may reside as discrete components. For example,
In computing node 700 there is a computer system/server 702, which is operational with numerous other general purpose or special purpose computing system environments or configurations. Examples of well-known computing systems, environments, and/or configurations that may be suitable for use with computer system/server 702 include, but are not limited to, personal computer systems, server computer systems, thin clients, thick clients, hand-held or laptop devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputer systems, mainframe computer systems, and distributed cloud computing environments that include any of the above systems or devices, and the like.
Computer system/server 702 may be described in the general context of computer system-executable instructions, such as program modules, being executed by a computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, and so on that perform particular tasks or implement particular abstract data types. Computer system/server 702 may be practiced in distributed cloud computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computer system storage media including memory storage devices.
As shown in
The bus represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnects (PCI) bus.
Computer system/server 702 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer system/server 702, and it includes both volatile and non-volatile media, removable and non-removable media. System memory 706, in one example, implements the flow diagrams of the other figures. The system memory 706 can include computer system readable media in the form of volatile memory, such as random-access memory (RAM) 708 and/or cache memory 710. Computer system/server 702 may further include other removable/non-removable, volatile/non-volatile computer system storage media. By way of example only, memory 706 can be provided for reading from and writing to a non-removable, non-volatile magnetic media (not shown and typically called a “hard drive”). Although not shown, a magnetic disk drive for reading from and writing to a removable, non-volatile magnetic disk (e.g., a “floppy disk”), and an optical disk drive for reading from or writing to a removable, non-volatile optical disk such as a CD-ROM, DVD-ROM or other optical media can be provided. In such instances, each can be connected to the bus by one or more data media interfaces. As will be further depicted and described below, memory 706 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of various embodiments of the application.
Program/utility, having a set (at least one) of program modules, may be stored in memory 706 by way of example, and not limitation, as well as an operating system, one or more application programs, other program modules, and program data. Each of the operating system, one or more application programs, other program modules, and program data or some combination thereof, may include an implementation of a networking environment. Program modules generally carry out the functions and/or methodologies of various embodiments of the application as described herein.
As will be appreciated by one skilled in the art, aspects of the present application may be embodied as a system, method, or computer program product. Accordingly, aspects of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, aspects of the present application may take the form of a computer program product embodied in one or more computer readable medium(s) having computer readable program code embodied thereon.
Computer system/server 702 may also communicate with one or more external devices via an I/O device 712 (such as an I/O adapter), which may include a keyboard, a pointing device, a display, a voice recognition module, etc., one or more devices that enable a user to interact with computer system/server 702, and/or any devices (e.g., network card, modem, etc.) that enable computer system/server 702 to communicate with one or more other computing devices. Such communication can occur via I/O interfaces of the device 712. Still yet, computer system/server 702 can communicate with one or more networks such as a local area network (LAN), a general wide area network (WAN), and/or a public network (e.g., the Internet) via a network adapter. As depicted, device 712 communicates with the other components of computer system/server 702 via a bus. It should be understood that although not shown, other hardware and/or software components could be used in conjunction with computer system/server 702. Examples, include, but are not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data archival storage systems, etc.
Although an exemplary embodiment of at least one of a system, method, and non-transitory computer readable medium has been illustrated in the accompanied drawings and described in the foregoing detailed description, it will be understood that the application is not limited to the embodiments disclosed, but is capable of numerous rearrangements, modifications, and substitutions as set forth and defined by the following claims. For example, the capabilities of the system of the various figures can be performed by one or more of the modules or components described herein or in a distributed architecture and may include a transmitter, receiver or pair of both. For example, all or part of the functionality performed by the individual modules, may be performed by one or more of these modules. Further, the functionality described herein may be performed at various times and in relation to various events, internal or external to the modules or components. Also, the information sent between various modules can be sent between the modules via at least one of: a data network, the Internet, a voice network, an Internet Protocol network, a wireless device, a wired device and/or via plurality of protocols. Also, the messages sent or received by any of the modules may be sent or received directly and/or via one or more of the other modules.
One skilled in the art will appreciate that a “system” could be embodied as a personal computer, a server, a console, a personal digital assistant (PDA), a cell phone, a tablet computing device, a smartphone or any other suitable computing device, or combination of devices. Presenting the above-described functions as being performed by a “system” is not intended to limit the scope of the present application in any way but is intended to provide one example of many embodiments. Indeed, methods, systems and apparatuses disclosed herein may be implemented in localized and distributed forms consistent with computing technology.
It should be noted that some of the system features described in this specification have been presented as modules to more particularly emphasize their implementation independence. For example, a module may be implemented as a hardware circuit comprising custom very-large-scale integration (VLSI) circuits or gate arrays, off-the-shelf semiconductors such as logic chips, transistors, or other discrete components. A module may also be implemented in programmable hardware devices such as field-programmable gate arrays, programmable array logic, programmable logic devices, graphics processing units, or the like.
A module may also be at least partially implemented in software for execution by various types of processors. An identified unit of executable code may, for instance, comprise one or more physical or logical blocks of computer instructions that may, for instance, be organized as an object, procedure, or function. Nevertheless, the executables of an identified module need not be physically located together but may comprise disparate instructions stored in different locations that, when joined logically together, comprise the module and achieve the stated purpose for the module. Further, modules may be stored on a computer-readable medium, which may be, for instance, a hard disk drive, flash device, random access memory (RAM), tape, or any other such medium used to store data.
Indeed, a module of executable code could be a single instruction, or many instructions, and may even be distributed over several different code segments, among different programs, and across several memory devices. Similarly, operational data may be identified and illustrated herein within modules and may be embodied in any suitable form and organized within any suitable type of data structure. The operational data may be collected as a single data set or may be distributed over different locations, including over different storage devices, and may exist, at least partially, merely as electronic signals on a system or network.
It will be readily understood that the components of the application, as generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the detailed description of the embodiments is not intended to limit the scope of the application as claimed but is merely representative of selected embodiments of the application.
One having ordinary skill in the art will readily understand that the above may be practiced with steps in a different order and/or with hardware elements in configurations that are different from those which are disclosed. Therefore, although the application has been described based upon these preferred embodiments, it would be apparent to those of skill in the art that certain modifications, variations, and alternative constructions would be apparent.
While preferred embodiments of the present application have been described, it is to be understood that the embodiments described are illustrative only and the scope of the application is to be defined solely by the appended claims when considered with a full range of equivalents and modifications (e.g., protocols, hardware devices, software platforms etc.) thereto.