CN117014514A - Scheduling method, device, equipment and medium of vehicle cloud communication gateway - Google Patents

Scheduling method, device, equipment and medium of vehicle cloud communication gateway Download PDF

Info

Publication number
CN117014514A
CN117014514A CN202310815327.3A CN202310815327A CN117014514A CN 117014514 A CN117014514 A CN 117014514A CN 202310815327 A CN202310815327 A CN 202310815327A CN 117014514 A CN117014514 A CN 117014514A
Authority
CN
China
Prior art keywords
cloud communication
communication gateway
vehicle cloud
score
vehicle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310815327.3A
Other languages
Chinese (zh)
Inventor
刘瑞强
于昊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Neusoft Ruichi Automotive Technology Dalian Co ltd
Original Assignee
Neusoft Ruichi Automotive Technology Dalian Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Neusoft Ruichi Automotive Technology Dalian Co ltd filed Critical Neusoft Ruichi Automotive Technology Dalian Co ltd
Priority to CN202310815327.3A priority Critical patent/CN117014514A/en
Publication of CN117014514A publication Critical patent/CN117014514A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a scheduling method, a device, equipment and a medium of a vehicle cloud communication gateway, wherein the method comprises the following steps: acquiring the position information and service requirements of a current vehicle; screening a plurality of candidate vehicle cloud communication gateways meeting service requirements in a preset range; determining an optimal vehicle cloud communication gateway from a plurality of candidate vehicle cloud communication gateways based on a vehicle cloud communication gateway optimal algorithm, wherein the vehicle cloud communication gateway optimal algorithm is related to the network quality, the load condition, the geographic position and the service type of each candidate vehicle cloud communication gateway; and sending the address information of the optimal vehicle cloud communication gateway to the current vehicle so that the current vehicle can judge whether to establish connection with the optimal vehicle cloud communication gateway according to the address information. Therefore, the optimal vehicle cloud communication gateway can be dynamically selected to realize efficient and reliable communication between the vehicle and the cloud server.

Description

Scheduling method, device, equipment and medium of vehicle cloud communication gateway
Technical Field
The embodiment of the application relates to the technical field of Internet of vehicles, in particular to a scheduling method, device, equipment and medium of a vehicle cloud communication gateway.
Background
With the increasing and complicating of the service scenarios of the internet of vehicles and the increasing number of vehicles, the conventional single or fixed cloud communication gateway cannot meet the efficient, reliable and safe communication requirements of the vehicles and the cloud server.
In the related technology, due to the change of factors such as geographic position, network environment, service requirement and the like, different vehicles need to be connected with different cloud servers or different vehicle cloud communication gateways, and the fixed or preset connection mode is used, so that the problems of network congestion, delay, packet loss and the like can be caused, and the communication performance and the user experience are affected; in addition, the available vehicle cloud communication gateways are more, and if an effective scheduling mechanism is not available, the problems of resource waste, unbalanced load and the like can be caused, and the stability and the expandability of the system are affected.
Disclosure of Invention
The application provides a scheduling method, a scheduling device, scheduling equipment and a scheduling medium for vehicle cloud communication gateways, which can dynamically select the optimal vehicle cloud communication gateway so as to realize efficient and reliable communication between vehicle clouds.
In a first aspect, a scheduling method of a vehicle cloud communication gateway is provided, including:
acquiring the position information and service requirements of a current vehicle;
screening a plurality of candidate vehicle cloud communication gateways meeting service requirements in a preset range;
determining an optimal vehicle cloud communication gateway from a plurality of candidate vehicle cloud communication gateways based on a vehicle cloud communication gateway optimal algorithm, wherein the vehicle cloud communication gateway optimal algorithm is related to the network quality, the load condition, the geographic position and the service type of each candidate vehicle cloud communication gateway;
and sending the address information of the optimal vehicle cloud communication gateway to the current vehicle so that the current vehicle can judge whether to establish connection with the optimal vehicle cloud communication gateway according to the address information.
Preferably, determining an optimal vehicle cloud communication gateway from a plurality of candidate vehicle cloud communication gateways based on a vehicle cloud communication gateway optimization algorithm comprises:
acquiring network quality scores, load condition scores, geographic position scores and business type scores of each candidate vehicle cloud communication gateway;
calculating the total score of each candidate vehicle cloud communication gateway based on the network quality score, the load condition score, the geographic position score and the business type score;
and determining an optimal vehicle cloud communication gateway from the plurality of candidate vehicle cloud communication gateways according to the total score of each candidate vehicle cloud communication gateway.
Preferably, obtaining a network quality score, a load condition score, a geographic location score, and a traffic type score of each candidate vehicle cloud communication gateway includes:
calculating the network quality score of each candidate vehicle cloud communication gateway according to the acquired network quality index of each candidate vehicle cloud communication gateway;
calculating the load condition score of each candidate vehicle cloud communication gateway according to the collected load index of each candidate vehicle cloud communication gateway;
calculating the geographic position score of each candidate vehicle cloud communication gateway according to the collected geographic position index of each candidate vehicle cloud communication gateway;
and calculating the service type score of each candidate vehicle cloud communication gateway according to the collected service type index of each candidate vehicle cloud communication gateway.
Preferably, determining the optimal vehicle cloud communication gateway from a plurality of candidate vehicle cloud communication gateways according to the total score of each candidate vehicle cloud communication gateway comprises:
acquiring a weight value corresponding to the network quality score, the load condition score, the geographic position score and the business type score of each candidate vehicle cloud communication gateway;
carrying out weighted summation on the network quality scores, the load situation scores, the geographic position scores and the service type scores of each candidate vehicle cloud communication gateway based on the weight values to obtain the total score of each candidate vehicle cloud communication gateway;
and sequencing the total score of each candidate vehicle cloud communication gateway according to the score from high to low, and taking the candidate vehicle cloud communication gateway with the highest total score as the optimal vehicle cloud communication gateway.
Preferably, the sending the address information of the optimal vehicle cloud communication gateway to the current vehicle, so that the current vehicle determines whether to establish a connection with the optimal vehicle cloud communication gateway according to the address information, includes:
the address information of the optimal vehicle cloud communication gateway is published as a theme, so that the current vehicle subscribed to the theme receives the address information of the optimal vehicle cloud communication gateway carried by the theme;
after the current vehicle is disconnected with the current vehicle cloud communication gateway and the connection with the optimal vehicle cloud communication gateway is established according to the address information of the optimal vehicle cloud communication gateway, data exchange is carried out with the current vehicle through the optimal vehicle cloud communication gateway.
Preferably, the current vehicle cloud communication gateway receives the address information of the optimal vehicle cloud communication gateway sent by the cloud server in a subscription theme form based on an MQTT protocol, and the current vehicle cloud communication gateway sends the address information of the optimal vehicle cloud communication gateway to a vehicle corresponding to the target address information according to the target address information carried in the theme.
Preferably, the service type index includes: the internet of things communication protocol, application service and security mechanism supported by the candidate vehicle cloud communication gateway correspondingly calculate a service type score of each candidate vehicle cloud communication gateway according to the collected service type index of each candidate vehicle cloud communication gateway, including:
matching the Internet of things communication protocol, the application service and the security mechanism supported by each candidate vehicle cloud communication gateway according to the service requirements of the current vehicle;
if the matching is successful, determining the service type score as a forward score; or alternatively
And if the matching fails, determining that the service type score is a negative score.
In a second aspect, a scheduling device of a vehicle cloud communication gateway is provided, including:
the acquisition module is used for acquiring the position information and the service requirement of the current vehicle;
the screening module is used for screening a plurality of candidate vehicle cloud communication gateways which meet the service requirements in a preset range;
the determining module is used for determining an optimal vehicle cloud communication gateway from a plurality of candidate vehicle cloud communication gateways based on a vehicle cloud communication gateway optimal algorithm, wherein the vehicle cloud communication gateway optimal algorithm is related to the network quality, the load condition, the geographic position and the service type of each candidate vehicle cloud communication gateway;
and the sending module is used for sending the address information of the optimal vehicle cloud communication gateway to the current vehicle so that the current vehicle can judge whether to establish connection with the optimal vehicle cloud communication gateway according to the address information.
In a third aspect, there is provided an electronic device comprising: a processor and a memory for storing a computer program, the processor being for invoking and running the computer program stored in the memory for performing the method as in the first aspect or in various implementations thereof.
In a fourth aspect, a computer-readable storage medium is provided for storing a computer program for causing a computer to perform the method as in the first aspect or in various implementations thereof.
In a fifth aspect, a computer program product is provided comprising computer program instructions for causing a computer to perform the method as in the first aspect or in various implementations thereof.
In a sixth aspect, a computer program is provided, the computer program causing a computer to perform the method as in the first aspect or in various implementations thereof.
According to the technical scheme provided by the application, the position information and the service requirement of the current vehicle are acquired; screening a plurality of candidate vehicle cloud communication gateways meeting service requirements in a preset range; and then determining an optimal vehicle cloud communication gateway from a plurality of candidate vehicle cloud communication gateways based on a vehicle cloud communication gateway optimal algorithm, and finally sending address information of the optimal vehicle cloud communication gateway to the current vehicle so that the current vehicle judges whether to establish connection with the optimal vehicle cloud communication gateway according to the address information. According to the method, the network quality, the load condition, the geographic position, the service type and other factors of the vehicle cloud communication gateways are comprehensively considered, a score is calculated for each available vehicle cloud communication gateway, and the vehicle cloud communication gateway with the highest score is selected as the optimal vehicle cloud communication gateway according to the ranking from high score to low score, so that intelligent scheduling of the vehicle cloud communication gateway is achieved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a scheduling method of a vehicle cloud communication gateway provided by an embodiment of the present application;
fig. 2 is a flowchart of another scheduling method of a vehicle cloud communication gateway according to an embodiment of the present application;
fig. 3 is a schematic diagram of a scheduling device of a vehicle cloud communication gateway according to an embodiment of the present application;
fig. 4 is a schematic block diagram of an electronic device provided by an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or server that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed or inherent to such process, method, article, or apparatus, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In the related art, with the increasing and complicating of the service scenarios of the internet of vehicles and the increasing of the number of vehicles, the conventional single or fixed cloud communication gateway cannot meet the efficient, reliable and safe communication requirements of vehicles and cloud services. On the one hand, due to the change of factors such as geographic position, network environment, service requirement and the like, different vehicles may need to be connected with different cloud services or different vehicle cloud communication gateways, and if a fixed or preset connection mode is used, the problems of network congestion, delay, packet loss and the like may be caused, so that the communication performance and the user experience are affected; on the other hand, since a plurality of available vehicle cloud communication gateways exist in the global scope, if an effective scheduling mechanism is not available, the problems of resource waste, unbalanced load and the like can be caused, and the stability and the expandability of the system are affected.
In order to solve the problems, the technical conception of the application is as follows: the scheduling method of the vehicle cloud communication gateway can dynamically select the optimal vehicle cloud communication gateway according to the position information and service requirements of the vehicle, and return the address information of the optimal vehicle cloud communication gateway to the vehicle, so that the vehicle can switch the connection with the optimal vehicle cloud communication gateway, and data exchange is carried out between the optimal vehicle cloud communication gateway and a cloud server, thereby realizing efficient, reliable and safe communication between the vehicle and cloud service.
Fig. 1 is a flowchart of a scheduling method of a vehicle cloud communication gateway, where the method is applied to a cloud server, and the method may include the following steps:
s110: and acquiring the position information and the service requirement of the current vehicle.
S120: screening a plurality of candidate vehicle cloud communication gateways meeting service requirements in a preset range.
In a car networking scenario, a plurality of vehicles, a plurality of car cloud communication gateways and a plurality of cloud servers are generally included, and the vehicles interact with the cloud servers through the car cloud communication gateways.
Illustratively, the location information of the vehicle may be acquired by a GPS (Global Positioning System ), which may include coordinate information including longitude and latitude. When the vehicle is in a running state, the vehicle-mounted terminal can be used for acquiring the position information of the vehicle according to a preset time interval so as to ensure that the vehicle position can still be captured in real time after the vehicle position changes, wherein the time interval can be 30 seconds, 1 minute, 2 minutes and 5 minutes, and the position information of the vehicle can also be acquired in real time.
Because the number of the cloud communication gateways is a plurality of, in this step, the cloud server can screen out a plurality of candidate cloud communication gateways meeting the service requirement within a preset range according to the position information and the service requirement of the current vehicle, wherein the preset range can be a preset regional range, for example, the preset range can be a global range, a Chinese range or a range with a certain distance from the current vehicle. Business requirements refer to specific requirements of a vehicle when using internet-of-vehicles services, such as navigation, entertainment, security, diagnostics, etc. Different business requirements may require different vehicle cloud communication gateways to provide the best quality of service and user experience. For example, if a vehicle needs to use a high definition video streaming service, the vehicle needs to connect to a vehicle cloud communication gateway with high bandwidth and low latency; if a vehicle needs to use a remote diagnostic service, the vehicle needs to connect to a vehicle cloud communication gateway with high security and reliability.
The cloud server can conduct preliminary screening of the vehicle cloud communication gateway through the position information and service requirements of the current vehicle, so that scheduling efficiency and accuracy of the vehicle cloud communication gateway are improved.
S130: and determining an optimal vehicle cloud communication gateway from the plurality of candidate vehicle cloud communication gateways based on a vehicle cloud communication gateway optimal algorithm, wherein the vehicle cloud communication gateway optimal algorithm is related to the network quality, the load condition, the geographic position and the service type of each candidate vehicle cloud communication gateway.
In this embodiment, the cloud server may first obtain a network quality score, a load condition score, a geographic location score, and a service type score of each candidate vehicle cloud communication gateway; then, calculating the total score of each candidate vehicle cloud communication gateway based on the network quality score, the load condition score, the geographic position score and the service type score of each candidate vehicle cloud communication gateway; and finally, determining the optimal vehicle cloud communication gateway from the plurality of candidate vehicle cloud communication gateways according to the total score of the candidate vehicle cloud communication gateways. For example, the network quality score, the load condition score, the geographic location score and the service type score of the vehicle cloud communication gateway may be summed to obtain a total score for each candidate vehicle cloud communication gateway, and then the total score for each candidate vehicle cloud communication gateway is ranked according to the score from high to low, and the candidate vehicle cloud communication gateway with the highest total score is used as the optimal vehicle cloud communication gateway.
In another embodiment, the scoring weight of each dimension may be preset, for example, the weight value a1 corresponding to the network quality score is 0.3, the weight value a2 corresponding to the load condition score is 0.3, the weight value a3 corresponding to the geographic location score is 0.2, the weight value a4 corresponding to the service type score is 0.2, and the cloud server performs weighted summation on the multi-dimension scores of each candidate vehicle cloud communication gateway according to the scoring weight of each dimension, so as to obtain the total score of each candidate vehicle cloud communication gateway.
It should be noted that, the scoring weight of each dimension is preset manually, and the embodiment does not limit specific numerical values and can be adaptively modified according to requirements.
The candidate vehicle cloud communication gateway screened in the step S120 includes a gateway a, a gateway B, a gateway C and a gateway D, where the total score of the gateway a is 9 points, the total score of the gateway B is 8 points, the total score of the gateway C is 7 points, and the total score of the gateway D is 6 points, so that the gateway a with the highest total score may be used as the optimal vehicle cloud communication gateway.
S140: and sending the address information of the optimal vehicle cloud communication gateway to the current vehicle so that the current vehicle can judge whether to establish connection with the optimal vehicle cloud communication gateway according to the address information.
In this embodiment, after the cloud server confirms the optimal vehicle cloud communication gateway, the address information of the optimal vehicle cloud communication gateway may be sent to the current vehicle, so that the current vehicle may dynamically switch the connection with the optimal vehicle cloud communication gateway, thereby improving communication performance and user experience.
According to the scheduling method of the vehicle cloud communication gateway, the position information and the service requirements of the current vehicle are obtained; screening a plurality of candidate vehicle cloud communication gateways meeting service requirements in a preset range; and then determining an optimal vehicle cloud communication gateway from a plurality of candidate vehicle cloud communication gateways based on a vehicle cloud communication gateway optimal algorithm, and finally sending address information of the optimal vehicle cloud communication gateway to the current vehicle so that the current vehicle judges whether to establish connection with the optimal vehicle cloud communication gateway according to the address information. According to the method, the network quality, the load condition, the geographic position, the service type and other factors of the vehicle cloud communication gateways are comprehensively considered, a score is calculated for each available vehicle cloud communication gateway, and the vehicle cloud communication gateway with the highest score is selected as the optimal vehicle cloud communication gateway according to the ranking from high score to low score, so that intelligent scheduling of the vehicle cloud communication gateway is achieved.
Further, in order to implement connection establishment, connection switching, and data exchange between the vehicle and the vehicle cloud communication gateway, so as to implement dynamic and flexible switching between the vehicle and the vehicle cloud communication gateway, step S140 may further include:
s1401: the address information of the optimal vehicle cloud communication gateway is published as a theme, so that the current vehicle subscribing the theme receives the address information of the optimal vehicle cloud communication gateway carried by the theme;
s1402: after the current vehicle is disconnected with the current vehicle cloud communication gateway and the connection with the optimal vehicle cloud communication gateway is established according to the address information of the optimal vehicle cloud communication gateway, the current vehicle exchanges data with the current vehicle through the optimal vehicle cloud communication gateway.
In this embodiment, after a vehicle establishes a connection with a cloud server through a vehicle cloud communication gateway, when the cloud server selects an optimal vehicle cloud communication gateway according to position information and service requirements of the vehicle, address information of the optimal vehicle cloud communication gateway can be issued to the theme; after the vehicle receives the address information on the theme, whether the vehicle is disconnected with the current vehicle cloud communication gateway or not can be selected according to the network condition, and the connection with the optimal vehicle cloud communication gateway is reestablished according to the address information, so that the vehicle exchanges data with the cloud server through the optimal vehicle cloud communication gateway. The vehicle can realize efficient, reliable and safe communication with cloud service, and various Internet of vehicles application services are supported.
It can be understood that the current vehicle cloud communication gateway can receive the address information of the optimal vehicle cloud communication gateway sent by the cloud server in a subscription theme form based on an MQTT (Message Queuing Telemetry Transport) protocol, and the current vehicle cloud communication gateway sends the address information of the optimal vehicle cloud communication gateway to the vehicle corresponding to the target address information according to the target address information carried in the theme.
After the vehicle establishes connection with the cloud server through the vehicle cloud communication gateway, a data packet can be issued to any subject, and target address information is specified in the data packet and used for indicating which cloud server or which other vehicle the data packet needs to be forwarded to;
the vehicle cloud communication gateway receives the address information of the optimal vehicle cloud communication gateway from the cloud server by subscribing a specific theme, and issues the data packet to the corresponding cloud server or other vehicles according to the target address information in the data packet, so that efficient, reliable and safe data exchange between the vehicles and the cloud server or other vehicles is realized. The theme may be: the vehicle cloud communication gateway subscribes all data packets from the vehicle or other vehicle cloud communication gateways, and issues the data packets to corresponding topics according to target address information in the data packets, so that the forwarding of the data packets is realized; the cloud server or other vehicles subscribe to the corresponding topics, receive the data packets forwarded by the vehicles or other vehicle cloud communication gateways, and perform corresponding processing.
Fig. 2 is a flowchart of an intelligent scheduling method for a vehicle cloud communication gateway according to another embodiment of the present application, where, as shown in fig. 2, the obtaining a network quality score, a load condition score, a geographic location score, and a service type score of each candidate vehicle cloud communication gateway may include the following steps:
s210: and calculating the network quality score of each candidate vehicle cloud communication gateway according to the acquired network quality index of each candidate vehicle cloud communication gateway.
The cloud server can monitor the network quality of each candidate vehicle cloud communication gateway in real time, collect network quality indexes of the candidate vehicle cloud communication gateways, and calculate the network quality score of each candidate vehicle cloud communication gateway based on the network quality indexes. The network quality metrics include, but are not limited to, network delay, packet loss rate, and transmission bandwidth, that is, the network quality score for each candidate vehicle cloud communication gateway is calculated from the network delay, packet loss rate, and transmission bandwidth between each candidate vehicle cloud communication gateway and the cloud server.
Illustratively, a specific expression of the network quality score may be expressed as: q1=aa+bb+cc, where Q1 represents a network quality score, A, B, C represents network delay, packet loss rate, and transmission bandwidth, respectively, and a, b, c represents weight values assigned for network delay, packet loss rate, and transmission bandwidth, respectively.
It can be understood that when calculating the network quality score, the normalization processing can be performed on the network delay, the packet loss rate and the transmission bandwidth, and the normalized value can be set by a user, for example, when the transmission bandwidth is 0kbps to 100kbps, the transmission bandwidth can be 1, and when the transmission bandwidth is 101kbps to 200kbps, the transmission bandwidth can be 2, and similarly, the corresponding normalization processing can be performed on the network delay and the packet loss rate.
S220: and calculating the load condition score of each candidate vehicle cloud communication gateway according to the collected load index of each candidate vehicle cloud communication gateway.
The cloud server can monitor the load condition of each candidate vehicle cloud communication gateway in real time, collect the load index of the candidate vehicle cloud communication gateway, and calculate the load condition score of each candidate vehicle cloud communication gateway based on the load index. The load metrics include, but are not limited to, connection number, throughput, and CPU utilization, that is, the load condition score for each candidate vehicle cloud communication gateway is calculated from the connection number, throughput, and CPU utilization of each candidate vehicle cloud communication gateway.
Illustratively, the specific expression of the load condition score may be expressed as: q2=dd+ee+ff, where Q2 represents the load situation score, D, E, F represents the number of connections, throughput, and CPU utilization, respectively, and d, e, f represent the weight values assigned for the number of connections, throughput, and CPU utilization, respectively.
It can be understood that when calculating the load condition score, the number of connections, throughput and CPU utilization rate may be normalized, and the normalized value may be set by a user, for example, when the CPU utilization rate is 90% -99%, the CPU utilization rate may be set to 1, and when the CPU utilization rate is 80% -89%, the CPU utilization rate may be set to 2, and similarly, the number of connections and throughput may be normalized accordingly, which is not described herein.
S230: and calculating the geographic position score of each candidate vehicle cloud communication gateway according to the acquired address position index of each candidate vehicle cloud communication gateway.
It can be understood that, in the network transmission process, the distance between the vehicle cloud communication gateway and the vehicle cloud communication gateway, the area where the vehicle cloud communication gateway is located and the operator are important factors affecting the data transmission quality. The geographic location score of each candidate vehicle cloud communication gateway may thus be calculated from the distance of each candidate vehicle cloud communication gateway from the current vehicle, the location area in which each candidate vehicle cloud communication gateway is located, and the network operator of each candidate vehicle cloud communication gateway.
Illustratively, the concrete expression of the geographic location score may be expressed as: q3=hh+ Jj +kk, where Q3 represents a geographic location score, H, J, K represents a distance between the candidate vehicle cloud communication gateway and the current vehicle, a location area where the candidate vehicle cloud communication gateway is located, and a network operator, and h, j, k represent weight values assigned to the distance between the candidate vehicle cloud communication gateway and the current vehicle, the location area where the candidate vehicle cloud communication gateway is located, and the network operator, respectively.
It can be understood that when calculating the geographic position score, the distance between the candidate vehicle cloud communication gateway and the current vehicle, the location area where the candidate vehicle cloud communication gateway is located, and the network operator may be normalized, and the normalized value may be set by the user, for example, when the distance between the candidate vehicle cloud communication gateway and the current vehicle is 1km to 5km, the value of H may be 2, and when the distance between the candidate vehicle cloud communication gateway and the current vehicle is 5km to 10km, the value of H may be 1. Similarly, when the location area of the candidate vehicle cloud communication gateway is a city area, J can be valued as 2, and when the location area of the candidate vehicle cloud communication gateway is a suburban area, J can be valued as 1, and similarly, K can be valued based on the communication quality of the network operator.
S240: and calculating the service type score of each candidate vehicle cloud communication gateway according to the collected service type index of each candidate vehicle cloud communication gateway.
The cloud server can monitor the service type of each candidate vehicle cloud communication gateway in real time, collect service type indexes of the candidate vehicle cloud communication gateways, and calculate service type scores of each candidate vehicle cloud communication gateway based on the service type indexes. The traffic type index includes, but is not limited to, an internet of things communication protocol, an application service and a security mechanism supported by the candidate vehicle cloud communication gateway, that is, the traffic type score of each candidate vehicle cloud communication gateway may be calculated according to the internet of things communication protocol, the application service and the security mechanism supported by each candidate vehicle cloud communication gateway.
In this embodiment, the cloud server may match the internet of things communication protocol, the security mechanism and the application service supported by each candidate vehicle cloud communication gateway according to the service requirement of the vehicle, and if the matching is successful, a positive score is given, for example, 1 score, and if the matching is failed, a negative score is given, for example, a score of-1 score, which is the service type score.
Illustratively, if the vehicle requires use of a remote diagnostic service, then the cloud server would prefer to select a vehicle-cloud communication gateway that supports secure on-board communication (SecOC) and remote diagnostic protocol (DoIP), and give a higher traffic type score; if the vehicle needs to use the high definition video streaming service, the cloud server may prefer to select a vehicle cloud communication gateway supporting transport layer security protocol (TLS) and video streaming protocol (RTSP), and give a higher traffic type score.
Fig. 3 is a schematic diagram of a scheduling device of a vehicle cloud communication gateway according to an embodiment of the present application. As shown in fig. 3, the apparatus 300 includes:
an acquiring module 301, configured to acquire location information and service requirements of a current vehicle;
the screening module 302 is configured to screen a plurality of candidate vehicle cloud communication gateways that meet the service requirement within a preset range;
the determining module 303 is configured to determine an optimal vehicle cloud communication gateway from a plurality of candidate vehicle cloud communication gateways based on a vehicle cloud communication gateway optimization algorithm, where the vehicle cloud communication gateway optimization algorithm is related to a network quality, a load condition, a geographic location, and a service type of each candidate vehicle cloud communication gateway;
and the sending module 304 is configured to send the address information of the optimal vehicle cloud communication gateway to the current vehicle, so that the current vehicle determines whether to establish connection with the optimal vehicle cloud communication gateway according to the address information.
In some implementations, the determining module 303 is further configured to: acquiring network quality scores, load condition scores, geographic position scores and business type scores of each candidate vehicle cloud communication gateway; calculating the total score of each candidate vehicle cloud communication gateway based on the network quality score, the load condition score, the geographic position score and the business type score; and determining an optimal vehicle cloud communication gateway from the plurality of candidate vehicle cloud communication gateways according to the total score of each candidate vehicle cloud communication gateway.
In some implementations, the sending module 304 is further configured to: the address information of the optimal vehicle cloud communication gateway is published as a theme, so that the current vehicle subscribing the theme receives the address information of the optimal vehicle cloud communication gateway carried by the theme; after the current vehicle is disconnected with the current vehicle cloud communication gateway and the connection with the optimal vehicle cloud communication gateway is established according to the address information of the optimal vehicle cloud communication gateway, the current vehicle exchanges data with the current vehicle through the optimal vehicle cloud communication gateway.
The current vehicle cloud communication gateway receives address information of the optimal vehicle cloud communication gateway sent by the cloud server in a subscription theme mode based on an MQTT protocol, and sends the address information of the optimal vehicle cloud communication gateway to a vehicle corresponding to the target address information according to the target address information carried in the theme.
It should be understood that the device embodiment and the scheduling method embodiment of the vehicle cloud communication gateway may correspond to each other, and similar descriptions may refer to the scheduling method embodiment of the vehicle cloud communication gateway. To avoid repetition, no further description is provided here. Specifically, the apparatus shown in fig. 3 may execute the foregoing embodiment of the scheduling method of the vehicle cloud communication gateway, and the foregoing and other operations and/or functions of each module in the apparatus are respectively for implementing a corresponding flow in the scheduling method of the vehicle cloud communication gateway, which is not described herein for brevity.
The apparatus of the embodiments of the present application is described above in terms of functional modules with reference to the accompanying drawings. It should be understood that the functional module may be implemented in hardware, or may be implemented by instructions in software, or may be implemented by a combination of hardware and software modules. Specifically, each step of the scheduling method embodiment of the vehicle cloud communication gateway in the embodiment of the present application may be completed by an integrated logic circuit of hardware in a processor and/or an instruction in a software form, and the steps of the scheduling method of the vehicle cloud communication gateway disclosed in connection with the embodiment of the present application may be directly embodied and executed by a hardware decoding processor, or may be completed by a combination of hardware and software modules in the decoding processor. Alternatively, the software modules may be located in a well-established storage medium in the art such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, and the like. The storage medium is located in the memory, the processor reads the information in the memory, and the steps in the scheduling method embodiment of the vehicle cloud communication gateway are completed by combining the hardware of the processor.
Fig. 4 is a schematic block diagram of an electronic device 400 provided by an embodiment of the application. As shown in fig. 4, the electronic device 400 may include: a processor 401, a memory 402. The electronic device 400 may also include one or more of a multimedia component 403, an input/output (I/O) interface 404, and a communication component 405.
The processor 401 is configured to control the overall operation of the electronic device 400, so as to complete all or part of the steps in the scheduling method of the vehicle cloud communication gateway. The memory 402 is used to store various types of data to support operation at the electronic device 400, which may include, for example, instructions for any application or method operating on the electronic device 400, as well as application-related data, such as contact data, transceived messages, pictures, audio, video, and the like. The Memory 402 may be implemented by any type or combination of volatile or non-volatile Memory devices, such as static random access Memory (Static Random Access Memory, SRAM for short), electrically erasable programmable Read-Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM for short), erasable programmable Read-Only Memory (Erasable Programmable Read-Only Memory, EPROM for short), programmable Read-Only Memory (Programmable Read-Only Memory, PROM for short), read-Only Memory (ROM for short), magnetic Memory, flash Memory, magnetic disk, or optical disk. The multimedia component 403 may include a screen and an audio component. Wherein the screen may be, for example, a touch screen, the audio component being for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signals may be further stored in memory 402 or transmitted through communication component 405. The audio assembly further comprises at least one speaker for outputting audio signals. The I/O interface 404 provides an interface between the processor 401 and other interface modules, which may be a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 405 is used for wired or wireless communication between the electronic device 400 and other devices. Wireless communication, such as Wi-Fi, bluetooth, near field communication (Near Field Communication, NFC for short), 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or one or a combination of more of them, is not limited herein. The corresponding communication component 405 may thus comprise: wi-Fi module, bluetooth module, NFC module, etc.
In an exemplary embodiment, the electronic device 400 may be implemented by one or more application specific integrated circuits (Application Specific Integrated Circuit, abbreviated as ASIC), digital signal processors (Digital Signal Processor, abbreviated as DSP), digital signal processing devices (Digital Signal Processing Device, abbreviated as DSPD), programmable logic devices (Programmable Logic Device, abbreviated as PLD), field programmable gate arrays (Field Programmable Gate Array, abbreviated as FPGA), controllers, microcontrollers, microprocessors, or other electronic components for performing the above-described scheduling method of the vehicle cloud communication gateway.
In another exemplary embodiment, there is also provided a computer readable storage medium including program instructions which, when executed by a processor, implement the steps of the scheduling method of a vehicle cloud communication gateway described above. For example, the computer readable storage medium may be the memory 402 including program instructions described above, which are executable by the processor 401 of the electronic device 400 to perform the scheduling method of the vehicle cloud communication gateway described above.
In another exemplary embodiment, there is also provided a computer readable storage medium including program instructions which, when executed by a processor, implement the steps of the scheduling method of a vehicle cloud communication gateway described above.
In another exemplary embodiment, a computer program product is also provided, the computer program product comprising a computer program executable by a programmable apparatus, the computer program having code portions for performing the above-described scheduling method of a vehicle cloud communication gateway when executed by the programmable apparatus.
In another exemplary embodiment, there is also provided a computer program that causes a computer to execute the scheduling method of the vehicle cloud communication gateway as described above.
Those of ordinary skill in the art will appreciate that the various illustrative modules and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be additional divisions when actually implemented, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or modules, which may be in electrical, mechanical, or other forms.
The modules illustrated as separate components may or may not be physically separate, and components shown as modules may or may not be physical modules, i.e., may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. For example, functional modules in various embodiments of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any person skilled in the art will readily appreciate variations or alternatives within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. The scheduling method of the vehicle cloud communication gateway is characterized by comprising the following steps of:
acquiring the position information and service requirements of a current vehicle;
screening a plurality of candidate vehicle cloud communication gateways meeting the service requirements in a preset range;
determining an optimal vehicle cloud communication gateway from a plurality of candidate vehicle cloud communication gateways based on a vehicle cloud communication gateway optimal algorithm, wherein the vehicle cloud communication gateway optimal algorithm is related to network quality, load condition, geographic position and service type of each candidate vehicle cloud communication gateway;
and sending the address information of the optimal vehicle cloud communication gateway to the current vehicle so that the current vehicle can judge whether to establish connection with the optimal vehicle cloud communication gateway according to the address information.
2. The method of claim 1, wherein the determining an optimal vehicle cloud communication gateway from a plurality of the candidate vehicle cloud communication gateways based on a vehicle cloud communication gateway optimization algorithm comprises:
acquiring network quality scores, load condition scores, geographic position scores and business type scores of each candidate vehicle cloud communication gateway;
calculating the total score of each candidate vehicle cloud communication gateway based on the network quality score, the load condition score, the geographic position score and the business type score;
and determining the optimal vehicle cloud communication gateway from a plurality of candidate vehicle cloud communication gateways according to the total score of each candidate vehicle cloud communication gateway.
3. The method of claim 2, wherein the obtaining a network quality score, a load condition score, a geographic location score, and a traffic type score for each of the candidate vehicle cloud communication gateways comprises:
calculating the network quality score of each candidate vehicle cloud communication gateway according to the acquired network quality index of each candidate vehicle cloud communication gateway;
calculating the load condition score of each candidate vehicle cloud communication gateway according to the collected load index of each candidate vehicle cloud communication gateway;
calculating the geographic position score of each candidate vehicle cloud communication gateway according to the collected geographic position index of each candidate vehicle cloud communication gateway;
and calculating the service type score of each candidate vehicle cloud communication gateway according to the collected service type index of each candidate vehicle cloud communication gateway.
4. The method of claim 2, wherein said determining the optimal vehicle cloud communication gateway from a plurality of said candidate vehicle cloud communication gateways based on the total score for each of said candidate vehicle cloud communication gateways comprises:
acquiring a weight value corresponding to the network quality score, the load condition score, the geographic position score and the business type score of each candidate vehicle cloud communication gateway;
carrying out weighted summation on the network quality scores, the load situation scores, the geographic position scores and the service type scores of each candidate vehicle cloud communication gateway based on the weight values to obtain the total score of each candidate vehicle cloud communication gateway;
and sequencing the total score of each candidate vehicle cloud communication gateway according to the score from high to low, and taking the candidate vehicle cloud communication gateway with the highest total score as the optimal vehicle cloud communication gateway.
5. The method according to claim 1, wherein the sending address information of the optimal vehicle cloud communication gateway to the current vehicle to cause the current vehicle to determine whether to establish a connection with the optimal vehicle cloud communication gateway according to the address information includes:
the address information of the optimal vehicle cloud communication gateway is published as a theme, so that the current vehicle subscribed to the theme receives the address information of the optimal vehicle cloud communication gateway carried by the theme;
after the current vehicle is disconnected with the current vehicle cloud communication gateway and the connection with the optimal vehicle cloud communication gateway is established according to the address information of the optimal vehicle cloud communication gateway, data exchange is carried out with the current vehicle through the optimal vehicle cloud communication gateway.
6. The method of claim 5, wherein the current vehicle cloud communication gateway receives address information of the optimal vehicle cloud communication gateway sent by the cloud server in a subscription topic form based on an MQTT protocol, and the current vehicle cloud communication gateway sends the address information of the optimal vehicle cloud communication gateway to a vehicle corresponding to the target address information according to the target address information carried in the topic.
7. A method according to claim 3, wherein the traffic type indicator comprises: the internet of things communication protocol, application service and security mechanism supported by the candidate vehicle cloud communication gateway correspondingly calculate a service type score of each candidate vehicle cloud communication gateway according to the collected service type index of each candidate vehicle cloud communication gateway, including:
matching the Internet of things communication protocol, the application service and the security mechanism supported by each candidate vehicle cloud communication gateway according to the service requirements of the current vehicle;
if the matching is successful, determining the service type score as a forward score; or alternatively
And if the matching fails, determining that the service type score is a negative score.
8. A scheduling device of a vehicle cloud communication gateway, comprising:
the acquisition module is used for acquiring the position information and the service requirement of the current vehicle;
the screening module is used for screening a plurality of candidate vehicle cloud communication gateways which meet the service requirements in a preset range;
the determining module is used for determining an optimal vehicle cloud communication gateway from a plurality of candidate vehicle cloud communication gateways based on a vehicle cloud communication gateway optimal algorithm, wherein the vehicle cloud communication gateway optimal algorithm is related to the network quality, the load condition, the geographic position and the service type of each candidate vehicle cloud communication gateway;
and the sending module is used for sending the address information of the optimal vehicle cloud communication gateway to the current vehicle so that the current vehicle can judge whether to establish connection with the optimal vehicle cloud communication gateway according to the address information.
9. An electronic device, comprising:
a processor and a memory for storing a computer program, the processor being for invoking and running the computer program stored in the memory to perform the method of any of claims 1-7.
10. A computer readable storage medium storing a computer program for causing a computer to perform the method of any one of claims 1-7.
CN202310815327.3A 2023-07-04 2023-07-04 Scheduling method, device, equipment and medium of vehicle cloud communication gateway Pending CN117014514A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310815327.3A CN117014514A (en) 2023-07-04 2023-07-04 Scheduling method, device, equipment and medium of vehicle cloud communication gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310815327.3A CN117014514A (en) 2023-07-04 2023-07-04 Scheduling method, device, equipment and medium of vehicle cloud communication gateway

Publications (1)

Publication Number Publication Date
CN117014514A true CN117014514A (en) 2023-11-07

Family

ID=88570090

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310815327.3A Pending CN117014514A (en) 2023-07-04 2023-07-04 Scheduling method, device, equipment and medium of vehicle cloud communication gateway

Country Status (1)

Country Link
CN (1) CN117014514A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117221968A (en) * 2023-11-08 2023-12-12 博泰车联网(南京)有限公司 Scheduling method, scheduling system and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117221968A (en) * 2023-11-08 2023-12-12 博泰车联网(南京)有限公司 Scheduling method, scheduling system and storage medium
CN117221968B (en) * 2023-11-08 2024-01-26 博泰车联网(南京)有限公司 Scheduling method, scheduling system and storage medium

Similar Documents

Publication Publication Date Title
CN113301166B (en) Service calling method and device, storage medium and electronic device
KR101740217B1 (en) Network service of a cellular communication network
CN104717186B (en) A kind of method, apparatus and data transmission system for transmitting data in network system
US7562167B2 (en) Managing heterogeneous data streams for remote access
CN110012083B (en) Data transmission method, server and data transmission device
CN112351055B (en) Searching method of edge computing server and related equipment
CN112187495B (en) Communication method and communication system for terminal and server
CN110996372B (en) Message routing method, device and system and electronic equipment
EP3968668A1 (en) Resource subscription method, device and server, and computer storage medium
JP2021508981A (en) Communication methods, devices, and systems
CN117014514A (en) Scheduling method, device, equipment and medium of vehicle cloud communication gateway
CN110312140B (en) Live broadcast data processing method, device and system and computer readable storage medium
CN112042167A (en) Method and apparatus for processing subscriber service profile information in a communication network implementing Mobile Edge Computing (MEC)
EP4018626B1 (en) Method and apparatus for edge computing service
CN113645640A (en) Network information opening method and related equipment
US11316953B2 (en) System for data transfer based on associated transfer paths
KR101550192B1 (en) Method, device, computer readable recording medium and computer program for connecting communication by selecting type of communicaton network
CN111371648A (en) Monitoring method and device for global fault of virtual gateway cluster
CN115695497A (en) Diagnostic data remote transmission method and device, electronic equipment and medium
JP6218544B2 (en) Information collection and delivery system, information collection and delivery method, and information collection and delivery program
CN113347089B (en) Software Defined Network (SDN) system, network configuration method, device and equipment
CN111586434B (en) Load balancing method based on edge device and distributed mixed screen server
KR102095563B1 (en) Apparatus and method for ethernet network using mac address
CN111866095A (en) Unified pushing platform, method and terminal based on private cloud
CN116887351A (en) Internet of vehicles data communication method, device, equipment and medium

Legal Events

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