CN115402057B - Air conditioner adjusting method, server, terminal and system - Google Patents
Air conditioner adjusting method, server, terminal and system Download PDFInfo
- Publication number
- CN115402057B CN115402057B CN202211344251.2A CN202211344251A CN115402057B CN 115402057 B CN115402057 B CN 115402057B CN 202211344251 A CN202211344251 A CN 202211344251A CN 115402057 B CN115402057 B CN 115402057B
- Authority
- CN
- China
- Prior art keywords
- data
- air conditioning
- historical
- vehicle
- mileage
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 107
- 238000004378 air conditioning Methods 0.000 claims abstract description 444
- 238000004364 calculation method Methods 0.000 claims description 53
- 230000007613 environmental effect Effects 0.000 claims description 34
- 230000002776 aggregation Effects 0.000 claims description 27
- 238000004220 aggregation Methods 0.000 claims description 27
- 230000003750 conditioning effect Effects 0.000 claims 6
- 230000008859 change Effects 0.000 description 20
- 238000010586 diagram Methods 0.000 description 18
- 230000008569 process Effects 0.000 description 16
- 238000012216 screening Methods 0.000 description 12
- 238000004891 communication Methods 0.000 description 8
- 230000004044 response Effects 0.000 description 6
- 238000004590 computer program Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60H—ARRANGEMENTS OF HEATING, COOLING, VENTILATING OR OTHER AIR-TREATING DEVICES SPECIALLY ADAPTED FOR PASSENGER OR GOODS SPACES OF VEHICLES
- B60H1/00—Heating, cooling or ventilating [HVAC] devices
- B60H1/00642—Control systems or circuits; Control members or indication devices for heating, cooling or ventilating devices
- B60H1/00735—Control systems or circuits characterised by their input, i.e. by the detection, measurement or calculation of particular conditions, e.g. signal treatment, dynamic models
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T10/00—Road transport of goods or passengers
- Y02T10/80—Technologies aiming to reduce greenhouse gasses emissions common to all road transportation technologies
- Y02T10/88—Optimized components or subsystems, e.g. lighting, actively controlled glasses
Landscapes
- Physics & Mathematics (AREA)
- Thermal Sciences (AREA)
- Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- Air-Conditioning For Vehicles (AREA)
Abstract
The invention discloses an air conditioner adjusting method, a server, a terminal and a system, wherein the method comprises the following steps: the method comprises the steps of receiving an adjustment data acquisition request, acquiring current driving data in the adjustment data acquisition request, acquiring target historical driving data related to the current driving data from historical driving data of a vehicle, acquiring air conditioning adjustment data corresponding to the target historical driving data, and sending the air conditioning adjustment data to a vehicle-mounted terminal so that the vehicle-mounted terminal can perform air conditioning adjustment based on the air conditioning adjustment data. By adopting the invention, the air conditioning regulation data is determined by combining the historical data of the user with the current environment data, so that the individualized air conditioning regulation data is provided, and the regulation quality of the vehicle driving environment is further improved.
Description
Technical Field
The invention relates to the technical field of computers, in particular to an air conditioner adjusting method, a server, a terminal and a system.
Background
Nowadays, with the popularization of vehicles, more and more people select a convenient self-driving mode for travel, when the vehicles are driven, the influence of the operation of an air conditioner on the driving environment is very important, and the reasonable setting of the temperature and the wind speed of the air conditioner is a key element for adjusting the driving environment.
Disclosure of Invention
The invention provides an air conditioner adjusting method, a server, a terminal and a system, wherein the server acquires an adjusting data acquisition request, and sends the acquired air conditioner adjusting data to a vehicle-mounted terminal, so that the vehicle-mounted terminal performs air conditioner adjustment based on the air conditioner adjusting data, and the air conditioner adjusting data is determined according to historical data of a user and current environment data, so that individualized air conditioner adjusting data are provided, and the adjusting quality of a vehicle driving environment is improved.
In a first aspect, an embodiment of the present invention provides an air conditioner adjusting method, including:
the method comprises the steps that a vehicle-mounted terminal obtains current driving data of a vehicle and sends an adjusting data obtaining request carrying the current driving data to a server;
the server receives the adjustment data acquisition request and acquires the current driving data in the adjustment data acquisition request;
the server acquires target historical driving data associated with the current driving data from historical driving data of the vehicle based on the current driving data;
the server acquires air conditioning adjustment data corresponding to the target historical driving data and sends the air conditioning adjustment data to the vehicle-mounted terminal;
and the vehicle-mounted terminal receives the air conditioning regulation data and carries out air conditioning regulation based on the air conditioning regulation data.
In a second aspect, an embodiment of the present invention provides an air conditioner adjusting method, where the method is applied to a server, and includes:
receiving an adjustment data acquisition request, and acquiring current driving data in the adjustment data acquisition request;
acquiring target historical driving data associated with the current driving data from historical driving data of a vehicle based on the current driving data;
and acquiring air conditioning adjustment data corresponding to the target historical driving data, and sending the air conditioning adjustment data to a vehicle-mounted terminal so that the vehicle-mounted terminal carries out air conditioning adjustment based on the air conditioning adjustment data.
Optionally, before the step of based on the current driving data, the method further includes:
and determining the current travel type of the vehicle based on the current traveling data.
Optionally, before receiving the adjustment data obtaining request, the method further includes:
acquiring a historical driving track in historical driving data of a vehicle and historical travel time corresponding to the historical driving track;
and determining the travel type of the travel time period to which the historical travel time belongs based on the historical travel track.
Optionally, the determining, based on the historical travel trajectory, a travel type of the travel time period to which the historical travel time belongs includes:
acquiring a plurality of first driving tracks with similar tracks in the historical driving tracks; a plurality of first travel trajectories with similar trajectories are determined based on a change in position of the vehicle.
Determining a first travel time corresponding to each first travel track in the plurality of first travel tracks in the historical travel time;
time screening is carried out on first travel time corresponding to each first travel track based on at least one travel time period;
and determining the travel type of each travel time period based on the travel time quantity contained in each travel time period in the at least one travel time period.
Optionally, the determining the current travel type of the vehicle based on the current driving data includes:
acquiring the current travel time in the current travel data, and acquiring a target travel time quantum to which the current travel time belongs from the at least one travel time quantum;
and determining the travel type of the target travel time period as the current travel type of the vehicle.
Optionally, the obtaining, based on the current travel type, target historical travel data associated with the current travel data from the historical travel data of the vehicle includes:
when the current trip type is probability trip, acquiring historical travel mileage and historical state data corresponding to the historical travel mileage from the historical travel data, wherein the historical state data comprises historical air conditioner adjustment data and historical environment data;
clustering based on the historical driving mileage and the air conditioner set temperature in the historical air conditioner adjusting data as characteristics to obtain at least one cluster, and acquiring historical environment data corresponding to each cluster in the at least one cluster from the historical state data, wherein the historical environment data comprises an inside temperature and an outside temperature;
and acquiring current environment data in the current driving data, and respectively carrying out approximation calculation on the current environment data and the historical environment data corresponding to each aggregation class so as to determine target historical state data corresponding to the maximum value of the approximation in each aggregation class.
Optionally, the obtaining of the air conditioning adjustment data corresponding to the target historical driving data and the sending of the air conditioning adjustment data to the vehicle-mounted terminal so that the vehicle-mounted terminal performs air conditioning adjustment based on the air conditioning adjustment data includes:
acquiring air conditioner adjusting data and driving mileage corresponding to the target historical driving data from historical state data corresponding to each aggregation in the at least one aggregation;
acquiring preset mileage prestored in the server, calculating the driving mileage based on target historical state data in each cluster class to obtain difference mileage, and determining the size relationship between the difference mileage and the preset mileage;
and determining an issuing mode of the air conditioning regulation data based on the size relation between the difference mileage and the preset mileage and the air conditioning regulation data, and sending the air conditioning regulation data to the vehicle-mounted terminal based on the issuing mode so that the vehicle-mounted terminal carries out air conditioning regulation based on the air conditioning regulation data.
Optionally, the determining, based on the size relationship between the difference mileage and the preset mileage and the air conditioning adjustment data, target air conditioning adjustment data, and sending the target air conditioning adjustment data to the vehicle-mounted terminal, so that the vehicle-mounted terminal performs air conditioning adjustment based on the air conditioning adjustment data, includes:
when the difference mileage is greater than or equal to the preset mileage, the air conditioning adjustment data corresponding to target historical state data in the aggregation classes are used as target air conditioning adjustment data, and the target air conditioning adjustment data are sent to the vehicle-mounted terminal, so that the vehicle-mounted terminal can select the target air conditioning adjustment data, determine the selected target air conditioning adjustment data as selection data, and adjust the air conditioner based on the selection data;
or,
and when the difference mileage is smaller than the preset mileage, performing mean processing on the air conditioning adjustment data corresponding to the target historical state data in each cluster to obtain target air conditioning adjustment data, and sending the target air conditioning adjustment data to the vehicle-mounted terminal so that the vehicle-mounted terminal performs air conditioning adjustment by using the target air conditioning adjustment data.
Optionally, the obtaining, based on the current driving data, target historical driving data associated with the current driving data from historical driving data of the vehicle includes:
when the current travel type is regular travel, acquiring historical state data in the historical travel data of the vehicle;
and respectively carrying out approximation calculation based on characteristics of the mileage, the temperature in the vehicle and the temperature of the environment outside the vehicle in the current driving data and the historical driving data so as to determine target historical state data corresponding to the maximum value of the approximation in the historical state data.
The acquiring of the air conditioning adjustment data corresponding to the target historical driving data and the sending of the air conditioning adjustment data to the vehicle-mounted terminal so that the vehicle-mounted terminal performs air conditioning adjustment based on the air conditioning adjustment data include:
acquiring air conditioner adjusting data corresponding to the target historical state data in the historical driving data;
and sending the air conditioning regulation data to the vehicle-mounted terminal so that the vehicle-mounted terminal carries out air conditioning regulation based on the air conditioning regulation data.
In a third aspect, an embodiment of the present invention provides an air conditioner adjusting method, where the method is applied to a vehicle-mounted terminal, and includes:
acquiring current running data of a vehicle, sending an adjusting data acquisition request carrying the current running data to a server, so that after the server receives the adjusting data acquisition request, acquiring target historical running data associated with the current running data based on the current running data in the adjusting data acquisition request, acquiring air conditioning adjusting data corresponding to the target historical running data, and sending the air conditioning adjusting data to the vehicle-mounted terminal;
and receiving the air conditioning adjustment data, and carrying out air conditioning adjustment based on the air conditioning adjustment data.
In a fourth aspect, an embodiment of the present invention provides a server, where the server includes:
the current data acquisition unit is used for receiving an adjustment data acquisition request and acquiring current driving data in the adjustment data acquisition request;
a history data acquisition unit configured to acquire target history travel data associated with the current travel data among history travel data of a vehicle;
and the data sending unit is used for acquiring air conditioning adjustment data corresponding to the target historical driving data and sending the air conditioning adjustment data to the vehicle-mounted terminal so that the vehicle-mounted terminal can carry out air conditioning adjustment based on the air conditioning adjustment data.
In a fifth aspect, an embodiment of the present invention provides a vehicle-mounted terminal, where the vehicle-mounted terminal includes:
the request sending unit is used for obtaining current running data of a vehicle and sending an adjusting data obtaining request carrying the current running data to a server, so that after the server receives the adjusting data obtaining request, target historical running data related to the current running data is obtained based on the current running data in the adjusting data obtaining request, air conditioning adjusting data corresponding to the target historical running data are obtained, and the air conditioning adjusting data are sent to the vehicle-mounted terminal;
and the air conditioning adjusting unit is used for receiving the air conditioning adjusting data and carrying out air conditioning adjustment based on the air conditioning adjusting data.
In a sixth aspect, embodiments of the present invention provide a computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the steps of the above-mentioned method.
In a seventh aspect, an embodiment of the present invention provides an electronic device, including: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the steps of the method of the second aspect.
In an eighth aspect, an embodiment of the present invention provides an electronic device, including: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the steps of the method of the third aspect.
In a ninth aspect, an embodiment of the present invention provides an air conditioning system, where the air conditioning system includes a server and an in-vehicle terminal, where the server performs the steps of the method in the second aspect, and the in-vehicle terminal performs the steps of the method in the third aspect.
In the embodiment of the invention, the adjustment data acquisition request is acquired through the server, the air conditioning adjustment data is acquired based on the historical driving data and the current driving data in the adjustment data acquisition request, the air conditioning adjustment data is sent to the vehicle-mounted terminal, so that the vehicle-mounted terminal performs air conditioning adjustment based on the air conditioning adjustment data, the air conditioning adjustment data is determined according to the historical data of a user and the current environment data, personalized air conditioning adjustment data is provided, and the adjustment quality of the driving environment of the vehicle is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a system architecture diagram of an air conditioner according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating an air conditioning method according to an embodiment of the present invention;
fig. 3 is an exemplary schematic diagram of determining similar tracks according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating an exemplary approximation calculation according to an embodiment of the present invention;
FIG. 5 is a schematic diagram illustrating an example of displaying adjustment query information according to an embodiment of the present invention;
fig. 6 is a flowchart illustrating an air conditioning method according to an embodiment of the present invention;
fig. 7 is a schematic flow chart of an air conditioner adjusting method according to an embodiment of the present invention;
fig. 8 is a schematic flow chart of an air conditioner adjusting method according to an embodiment of the present invention;
fig. 9 is a schematic flow chart of an air conditioner adjusting method according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a server according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a server according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of a history type determining unit according to an embodiment of the present invention;
fig. 13 is a schematic structural diagram of a current type determining unit according to an embodiment of the present invention;
fig. 14 is a schematic structural diagram of a historical data acquisition unit according to an embodiment of the present invention;
fig. 15 is a schematic structural diagram of a data sending unit according to an embodiment of the present invention;
fig. 16 is a schematic structural diagram of a vehicle-mounted terminal according to an embodiment of the present invention;
fig. 17 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 18 is a schematic structural diagram of another electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the prior art, when a vehicle is started, most of the air conditioning systems of the vehicle are started by default, and the driving environment of the vehicle is adjusted by adopting the set temperature and the set wind speed of the air conditioner, so that the air conditioner is too rigid to adjust, and the adjustment quality of the driving environment is influenced.
Based on the above, the embodiment of the invention provides an air conditioning method, which includes the steps of obtaining an adjustment data obtaining request through a server, obtaining air conditioning adjustment data based on historical driving data and current driving data in the adjustment data obtaining request, sending the air conditioning adjustment data to a vehicle-mounted terminal, enabling the vehicle-mounted terminal to conduct air conditioning adjustment based on the air conditioning adjustment data, determining the air conditioning adjustment data according to the historical data of a user and the current environment data, providing individualized air conditioning adjustment data, and further improving adjustment quality of a vehicle driving environment.
Referring to fig. 1, a system structure diagram of an air conditioner adjusting method according to an embodiment of the present invention is provided. As shown in fig. 1, the air conditioning method provided in the embodiment of the present invention may be applied to a server 10 and a vehicle-mounted terminal 20 to implement a process of air conditioning a vehicle in which the vehicle-mounted terminal is located. The server 10 may be a computer storing historical driving data of the vehicle corresponding to the in-vehicle terminal 20; the in-vehicle terminal 20 may be a terminal device such as an in-vehicle computer.
In the embodiment of the present invention, the in-vehicle terminal 20 sends an adjustment data acquisition request to the server 10, the server 10 acquires, in response to the adjustment data acquisition request, the historical travel data and the current travel data carried in the adjustment data acquisition request, thereby obtaining the air conditioning adjustment data, and sends the air conditioning adjustment data to the in-vehicle terminal 20, and the in-vehicle terminal 20 performs air conditioning adjustment based on the air conditioning adjustment data.
In the embodiment of the invention, the adjustment data acquisition request is acquired through the server, the air conditioning adjustment data is acquired based on the historical driving data and the current driving data in the adjustment data acquisition request, the air conditioning adjustment data is sent to the vehicle-mounted terminal, so that the vehicle-mounted terminal performs air conditioning adjustment based on the air conditioning adjustment data, the air conditioning adjustment data is determined according to the historical data of a user and the current environment data, personalized air conditioning adjustment data is provided, and the adjustment quality of the driving environment of the vehicle is improved.
Based on the system architecture shown in fig. 1, the air conditioning adjusting method provided by the embodiment of the invention will be described in detail below with reference to fig. 2 to 6.
Referring to fig. 2, a flow chart of an air conditioner adjusting method according to an embodiment of the present invention is shown. As shown in fig. 2, the method may include the following steps S101 to S106.
S101, acquiring current driving data of a vehicle, and sending an adjusting data acquisition request carrying the current driving data to a server;
in one embodiment, the vehicle-mounted terminal acquires current driving data of an environment where a vehicle is located, generates an adjustment data acquisition request, and sends the adjustment data acquisition request to the server, wherein the adjustment data acquisition request carries the acquired current driving data.
Further, the current environmental data may be an in-vehicle temperature, an out-vehicle environmental temperature, a current travel time, and the like of an environment in which the vehicle is located, where the current travel time may be a time corresponding to the start of the vehicle, for example, "9 months, 1 days, one week, 7".
Further, the adjustment data acquisition request may be a request instruction for acquiring the adjustment data to the server, so that the server acquires the adjustment data in response to the adjustment data acquisition request.
S102, receiving the adjustment data acquisition request, and acquiring the current driving data in the adjustment data acquisition request;
in one embodiment, after receiving the adjustment data acquisition request, the server parses the adjustment data acquisition request to acquire the current driving data in the adjustment data acquisition request.
S103, acquiring target historical driving data related to the current driving data from the historical driving data of the vehicle based on the current driving data;
in one embodiment, the server determines a target travel time period to which the current travel time belongs based on the current travel time in the current travel data, determines a current travel type of the vehicle in the historical travel data based on the target travel time period, and acquires target historical travel data including air conditioner set temperature and wind speed data associated with the current travel data from the historical travel data of the vehicle after determining the current travel type.
Further, a target trip time period to which the current trip time belongs is determined based on the current trip time, a trip type corresponding to the target trip time period is determined in the historical travel data, and the trip type is used as the current trip type. For example, the current travel time is "monday 7.
Further, the target trip time period may be a time period to which the current trip time belongs, for example, the current trip time is "monday 7. It should be noted that, in order to avoid errors in calculation results due to attribution of the current travel time by using a time approximation method, one feasible method is to attribute the same time point to two time periods, for example, "monday 7.
Further, in order to determine the current travel type of the vehicle according to the current travel data, a historical travel track in the historical travel data and historical travel time corresponding to the historical travel track are acquired in advance, and the travel type corresponding to the historical travel time is determined.
Further, a trip type corresponding to the historical trip time is determined, and one feasible method is to obtain a plurality of first travel tracks with similar tracks in the historical travel tracks, determine first trip time corresponding to each first travel track in the plurality of first travel tracks, perform time screening on the first trip time corresponding to each first travel track based on at least one trip time period, and determine the trip type of the trip time period according to the quantity of the trip time included in each trip time period in one trip time period.
Further, the trip type may be a type divided according to a trip trajectory of the vehicle, for example, the trip type may be divided into a probability trip and a regular trip, the probability trip may be a travel trajectory having no similar trajectory in the historical travel data, and the regular trip may be a travel trajectory having a similar trajectory in the historical travel data.
Further, a feasible method for judging track similarity is to obtain the current position of the vehicle every set time length, so as to obtain the track of the vehicle going out this time, and if a plurality of going out tracks with the same position change exist, the going out tracks are considered to be track similarity. It is understood that, during actual travel, there is no case where the position changes are exactly the same, and therefore, during actual calculation, if the vehicle travels on the same road, it is considered that the vehicle travels on the same road and is at the same position change. For example, as shown in fig. 3, fig. 3 includes four driving trajectories "a", "B", "C", and "D", and it can be seen from the position change of the vehicle in fig. 3 that the driving trajectories "a" and "B" are driven on the same road, even if there is a difference in the specific position change on the road, the driving trajectories "a" and "B" can be considered as similar trajectories; and looking at the driving tracks 'C' and 'D', the driving tracks 'C' and 'D' can be seen to be driven on different roads, and then the tracks of the driving tracks 'C' and 'D' are considered to be dissimilar.
Further, the first travel track may be a set of travel tracks having similar tracks, and the travel tracks having similar tracks are taken as the same similar travel track. For example, the travel trajectories "a", "B", and "C" in fig. 3 may be the same similar travel trajectories.
Further, the first travel time may be a time corresponding to the first travel track, and the precise schedule of the first travel time may be precise to minutes, for example, the travel times of the travel tracks "a", "B", and "C" in fig. 3 are "monday 7; if the travel times are "monday 7", "monday 8", and "monday 18", then the corresponding first travel times are "monday 7", "monday 8.
Further, the trip time period may be a time length range of a period of time, for example, "monday 8. For example, "monday 7. It should be noted that, because the trip work and rest on the weekday are more regular than the weekend, when the time period is determined, the week type corresponding to the time needs to be marked, so as to avoid that the judgment on the trip type is affected due to the difference between the weekday and the weekend caused by the judgment only according to the hour time.
Further, in order to improve the efficiency of judging the travel time, one feasible method is to perform time screening on the first travel time, determine the travel time quantity contained in each travel time period, and determine the travel time period as regular travel when the travel time quantity is greater than or equal to 1; and when the travel time quantity is less than 1, determining that the travel time is probability travel. In order to improve reliability, the number of travel times for determining the travel type may be set according to actual conditions, and may be, for example, 2, 3, 4, and the like.
Further, when the current trip type is probabilistic trip, historical travel mileage in the historical travel data and historical state data corresponding to the historical travel mileage are obtained, historical air conditioner adjustment data and historical environment data in the historical travel data are obtained, clustering is performed based on the historical travel mileage and air conditioner set temperature in the historical air conditioner adjustment data as characteristics to obtain at least one cluster, historical environment data corresponding to each cluster are obtained from the historical state data, current environment data in the current travel data are obtained, approximation calculation is performed on the current environment data and the historical environment data corresponding to each cluster respectively to obtain the approximation between the historical environment data corresponding to each cluster and the current environment data, target historical environment data corresponding to the maximum value of the approximation in each cluster are obtained, and the corresponding historical state data are determined according to the target historical environment data. The aggregation may be a plurality of groups of data obtained by clustering data information, and may be divided into a long-range segment and a short-range segment, for example.
Further, the current environment data may be data information including data of a current inside temperature and a current outside temperature. The current in-vehicle temperature may be an in-vehicle temperature acquired by the vehicle-mounted terminal at the current time, and the current outside environment temperature may be an outside temperature acquired by the vehicle-mounted terminal at the current time.
Further, the historical driving mileage may be a driving mileage in the historical driving data, and records a driving mileage of the vehicle in a certain driving process, for example, 10 kilometers.
Further, the historical state data may be data information including historical environmental data, historical air conditioning data, and the like.
Further, the historical environmental data may be data information including data of an in-vehicle temperature and an out-vehicle environmental temperature. The temperature inside the vehicle can be the temperature inside the vehicle recorded at the historical time, and the ambient temperature outside the vehicle can be the temperature outside the vehicle recorded at the historical time.
Further, the historical air conditioning data may be data information including data of a set temperature and a set wind speed of the air conditioner.
Further, clustering is performed based on the historical driving mileage and the air conditioner set temperature in the historical air conditioner adjustment data as features, a clustering result can be a clustering class which is divided into a long class and a short class according to the mileage, and the method for determining the mileage can be used for judging according to the actual numerical value of the historical driving mileage. For example, if the historical driving mileage is 3 km, 5 km, 2 km, 10 km, 50 km, 120 km, the historical driving mileage can be divided into long-mileage sections (50 km and 120 km) and short-mileage sections (3 km, 5 km, 2 km, and 10 km); if the historical driving mileage is 3 km, 5 km, 2 km, 8 km, 10 km, the historical driving mileage can be divided into long mileage sections (8 km and 10 km) and short mileage sections (3 km, 5 km and 2 km). It can be seen that the "10 km" is divided into a long-range section and a short-range section under different conditions, and thus when clustering is performed based on the historical driving mileage and the air conditioner set temperature in the historical air conditioner adjustment data as features, the specific classification method is determined in actual conditions.
Furthermore, historical environment data corresponding to each cluster is obtained, the inside temperature and the outside environment temperature corresponding to each cluster vehicle are determined, and the inside temperature and the outside environment temperature of the current vehicle are obtained.
Further, the inside temperature and the outside environment temperature corresponding to each cluster vehicle and the inside temperature and the outside environment temperature of the current vehicle are respectively subjected to approximation calculation, so that the approximation corresponding to each cluster is obtained, the maximum value of the approximation is determined from the approximations, and the target historical state data corresponding to the maximum value of the approximation is obtained. For example, as shown in fig. 4, the current environment data "in-vehicle temperature: ambient temperature outside the vehicle at 39 degrees celsius: 26 ℃, respectively carrying out approximation calculation with 1, 2 and 3 groups in the short mileage section and the long mileage section to obtain corresponding approximation degrees of each group, thereby obtaining the maximum approximation degree of 84% in the long mileage section and the maximum approximation degree of 78% in the short mileage section, and further determining the target historical environmental data 'the in-vehicle temperature' in the short mileage section: 38 degree centigrade outside ambient temperature: 27 degrees celsius "and target historical environmental data in the long mileage section" temperature in vehicle: 38 degree centigrade outside ambient temperature: 26 ℃, and respectively determining target historical state data corresponding to each aggregation class according to the target historical environment data.
Further, when the current trip type is regular trip, the current travel data in the current travel data and the mileage, the inside temperature and the outside environment temperature in the historical travel data are acquired, the approximation degree calculation is performed on the current travel data and the mileage, the inside temperature and the outside environment temperature in the historical travel data to obtain the approximation degree corresponding to each historical travel data, the target historical state data corresponding to the maximum value of the approximation degree is determined, the approximation degree calculation method can be the same as the calculation method for probability trip, and the specific calculation process can refer to the approximation degree calculation process for probability trip.
S104, acquiring air conditioning adjustment data corresponding to the target historical driving data, and sending the air conditioning adjustment data to the vehicle-mounted terminal;
in one embodiment, after the target historical driving data is determined, air conditioning adjustment data corresponding to historical state data in the target historical driving data is acquired from the target historical driving data, and the air conditioning adjustment data is sent to the vehicle-mounted terminal.
Further, when the current trip type is probabilistic trip, acquiring air conditioning adjustment data and trip mileage corresponding to the target historical state data from the historical state data corresponding to each cluster, acquiring preset trip mileage, calculating difference mileage for the trip mileage of each cluster, determining the size relationship between the difference mileage and the preset trip, determining the issuing mode of the air conditioning adjustment data based on the size relationship between the difference mileage and the preset trip and the air conditioning adjustment data, and sending the air conditioning adjustment data to the vehicle-mounted terminal based on the determined issuing mode.
Further, the preset mileage may be a preset mileage numerical value, or may be a preset percentage of the traveled mileage, for example, 1 km, or the traveled mileage corresponding to the short-mileage segment is 5 km, and the percentage is set to 10%, where the preset mileage is 0.5 km, and the preset mileage may be a numerical value calculated by the server according to the acquired traveled mileage, or may be a numerical value preset by the user and stored in the server.
Further, the calculating the difference mileage may be to perform difference calculation on the driving mileage corresponding to the target historical driving data in the long-mileage segment and the driving mileage corresponding to the target historical driving data in the short-mileage segment to obtain the difference mileage. For example, the driving range corresponding to the target historical driving data in the long range section is 8 km, and the driving range corresponding to the target historical driving data in the short range section is 5 km, and the difference range is 3 km.
Further, the method for determining the magnitude relationship between the difference mileage and the preset mileage may be that the difference between the difference mileage and the preset mileage is calculated, if a numerical value obtained by subtracting the preset mileage from the difference mileage is a negative number or zero, the difference mileage is greater than the preset mileage, and if the numerical value is a positive number, the difference mileage is less than the preset mileage.
Further, the method for determining the issuing mode of the air conditioning regulation data may be that, if the difference mileage is greater than the preset mileage, the air conditioning regulation data corresponding to the long mileage section and the air conditioning regulation data corresponding to the short mileage section are both used as target regulation data, and the target regulation data is sent to the vehicle-mounted terminal; and if the difference mileage is smaller than the preset mileage, performing mean processing on the air conditioning regulation data corresponding to the long mileage section and the air conditioning regulation data corresponding to the short mileage section to obtain target air conditioning regulation data, and sending the target air conditioning regulation data to the vehicle-mounted terminal.
Further, when the travel type is regular travel, air conditioning adjustment data corresponding to target historical travel data in the historical travel data are obtained, and the air conditioning adjustment data are sent to the vehicle-mounted terminal.
S105, receiving the air conditioning adjustment data, and carrying out air conditioning adjustment based on the air conditioning adjustment data;
in one embodiment, the in-vehicle terminal adjusts the air-conditioning setting temperature and the air speed setting of the vehicle based on the target air-conditioning adjustment data after receiving the target air-conditioning adjustment data.
Further, when the trip type is probabilistic trip, target air conditioning adjustment data sent by the server are received, when the difference mileage is greater than or equal to the preset mileage, the vehicle-mounted terminal displays inquiry information on a display screen of the vehicle-mounted terminal, obtains selection operation of a user for the inquiry information displayed on the display screen, determines the selected target air conditioning adjustment data as selection data, and performs air conditioning adjustment on the vehicle-mounted terminal based on the selection data.
Further, the in-vehicle terminal display inquiry information may be air conditioning adjustment data for determining to be employed. For example, as shown in FIG. 5, the query message "which data to use for air conditioning adjustment is data 1: temperature: wind speed at 26 degrees centigrade: level 3 data 2: temperature: wind speed at 24 degrees centigrade: level 4 ", and displaying selection keys including" data 1 "and" data 2", if the user selects" data 1", the in-vehicle terminal adopts" temperature: wind speed at 26 degrees centigrade: 3-level air conditioning data for air conditioning; if the user selects "data 2", the vehicle-mounted terminal adopts "temperature: wind speed at 24 degrees centigrade: the target air-conditioning data of level 4 "is air-conditioning.
Further, when the difference mileage is smaller than the preset mileage, the vehicle-mounted terminal performs air conditioning adjustment by adopting the target air conditioning adjustment data sent by the server.
Further, when the travel type is regular travel, the vehicle-mounted terminal receives the target air-conditioning adjustment data sent by the server, and air-conditioning adjustment is performed by adopting the target air-conditioning adjustment data.
In the embodiment of the invention, the adjustment data acquisition request is acquired through the server, the air conditioning adjustment data is acquired based on the historical driving data and the current driving data in the adjustment data acquisition request, the air conditioning adjustment data is sent to the vehicle-mounted terminal, so that the vehicle-mounted terminal performs air conditioning adjustment based on the air conditioning adjustment data, the air conditioning adjustment data is determined according to the historical data of a user and the current environment data, personalized air conditioning adjustment data is provided, and the adjustment quality of the driving environment of the vehicle is improved.
Referring to fig. 6, a flow chart of an air conditioner adjusting method according to an embodiment of the present invention is shown. As shown in fig. 6, the method may include the following steps S201 to S209.
S201, obtaining a historical travel track in historical travel data of a vehicle and historical travel time corresponding to the historical travel track;
in one embodiment, historical travel tracks in historical travel data and historical travel times corresponding to the historical travel tracks are obtained so as to determine travel types corresponding to the historical travel times.
Further, the historical travel track may be a travel position of the vehicle during a past time, and the departure time of the vehicle starting the historical travel track is a historical travel time corresponding to the historical travel track.
Further, the travel type may be a type divided according to a travel track of the vehicle, for example, the travel type may be divided into a probability travel and a regular travel, the probability travel may be a travel track without similar tracks in the historical travel data, and the regular travel may be a travel track with similar tracks in the historical travel data.
S202, determining a travel type of a travel time period to which the historical travel time belongs based on the historical travel track;
in one embodiment, after the server acquires the historical travel track, the travel time period to which the historical travel time belongs in the historical travel track is determined, and then the travel type corresponding to the travel time period is determined.
Further, a trip type corresponding to the historical trip time is determined, and one feasible method is to obtain a plurality of first travel tracks with similar tracks in the historical travel tracks, determine first trip time corresponding to each first travel track in the plurality of first travel tracks, perform time screening on the first trip time corresponding to each first travel track based on at least one trip time period, and determine the trip type of the trip time period according to the quantity of the trip time included in each trip time period in one trip time period.
Further, a feasible method for judging track similarity is to obtain the current position of the vehicle every set time length, so as to obtain the track of the vehicle going out this time, and if a plurality of going out tracks with the same position change exist, the going out tracks are considered to be track similarity. It is understood that, during actual travel, there is no case where the position changes are exactly the same, and therefore, during actual calculation, if the vehicle travels on the same road, it is considered that the vehicle travels on the same road and is at the same position change. For example, as shown in fig. 3, fig. 3 includes four driving trajectories "a", "B", "C", and "D", and it can be seen from the position change of the vehicle in fig. 3 that the driving trajectories "a" and "B" are driven on the same road, even if there is a difference in the specific position change on the road, the driving trajectories "a" and "B" can be considered as similar trajectories; and looking at the driving tracks 'C' and 'D', the driving tracks 'C' and 'D' can be seen to be driven on different roads, and then the tracks of the driving tracks 'C' and 'D' are considered to be dissimilar.
Further, the first travel track may be a set of travel tracks having similar tracks, and the travel tracks having similar tracks are taken as the same similar travel track. For example, the travel trajectories "a", "B", and "C" in fig. 3 may be the same similar travel trajectories.
Further, the first travel time may be a time corresponding to the first travel track, and the precise schedule of the first travel time may be precise to minutes, for example, the travel times of the travel tracks "a", "B", and "C" in fig. 3 are "monday 7; if the travel times are "monday 7", "monday 8.
Further, the trip time period may be a time length range of a period of time, for example, "monday 8. For example, "monday 7. It should be noted that, because the trip work and rest on the weekday are more regular than the weekend, when the time period is determined, the week type corresponding to the time needs to be marked, so as to avoid that the judgment on the trip type is affected due to the difference between the weekday and the weekend caused by the judgment only according to the hour time.
Further, in order to improve the efficiency of judging the travel time, one feasible method is to perform time screening on the first travel time, determine the travel time quantity contained in each travel time period, and determine the travel time period as regular travel when the travel time quantity is greater than or equal to 1; and when the quantity of the travel time is less than 1, determining that the travel time is probability travel. In order to improve reliability, the number of travel times for determining the travel type may be set according to actual conditions, and may be, for example, 2, 3, 4, and the like.
S203, acquiring current driving data of a vehicle, and sending an adjusting data acquisition request carrying the current driving data to a server;
in one embodiment, the vehicle-mounted terminal acquires current driving data of an environment where a vehicle is located, generates an adjustment data acquisition request, and sends the adjustment data acquisition request to the server, wherein the adjustment data acquisition request carries the acquired current driving data.
Further, the current environmental data may be an in-vehicle temperature, an out-vehicle environmental temperature, a current travel time, and the like of an environment in which the vehicle is located, where the current travel time may be a time corresponding to the start of the vehicle, for example, "9 months, 1 days, one week, 7".
Further, the adjustment data acquisition request may be a request instruction for acquiring the adjustment data to the server, so that the server acquires the adjustment data in response to the adjustment data acquisition request.
S204, receiving the adjustment data acquisition request, and acquiring the current driving data in the adjustment data acquisition request;
in one embodiment, after receiving the adjustment data acquisition request, the server parses the adjustment data acquisition request to acquire the current driving data in the adjustment data acquisition request.
S205, obtaining a current trip time in the current travel data, and obtaining a target trip time period to which the current trip time belongs in the at least one trip time period;
in one embodiment, the server acquires the current travel time in the current travel data, and determines a target travel time period to which the current travel time belongs based on the current travel time.
Further, the target trip time period may be a time period to which the current trip time belongs, for example, the current trip time is "monday 7. It should be noted that, in order to avoid errors in calculation results due to attribution of the current travel time by using a time approximation method, one feasible method is to attribute the same time point to two time periods, for example, "monday 7.
S206, determining the travel type of the target travel time period as the current travel type of the vehicle;
in one embodiment, after the server obtains the target trip time, a trip type corresponding to the target trip time period is determined in the historical travel data, and the trip type is taken as the current trip type.
For example, the current travel time is "monday 7", and the travel time is classified into a target travel time period of "monday 8.
S207, acquiring target historical driving data associated with the current driving data from the historical driving data of the vehicle based on the current travel type;
in one embodiment, after the current travel type is determined, target historical travel data including air conditioner set temperature and wind speed data associated with the current travel data is acquired from historical travel data of the vehicle.
Further, when the current trip type is probabilistic trip, historical travel mileage in the historical travel data and historical state data corresponding to the historical travel mileage are obtained, historical air conditioner adjustment data and historical environment data in the historical travel data are obtained, clustering is performed based on the historical travel mileage and air conditioner set temperature in the historical air conditioner adjustment data as characteristics to obtain at least one cluster, historical environment data corresponding to each cluster are obtained from the historical state data, current environment data in the current travel data are obtained, approximation calculation is performed on the historical environment data corresponding to each cluster according to the current environment data, the approximation degree of the historical environment data corresponding to each cluster and the corresponding current environment data is obtained, target historical environment data with the maximum approximation degree in each cluster is obtained, and the corresponding historical state data are determined according to the target historical environment data. The aggregation may be a plurality of groups of data obtained by clustering data information, and may be divided into a long-range segment and a short-range segment, for example.
Further, the current environment data may be data information including data of a current inside temperature and a current outside temperature. The current in-vehicle temperature may be an in-vehicle temperature acquired by the vehicle-mounted terminal at the current time, and the current outside environment temperature may be an outside temperature acquired by the vehicle-mounted terminal at the current time.
Further, the historical driving mileage may be a driving mileage in the historical driving data, and the driving mileage of the vehicle during a certain driving process is recorded, for example, 10 km or the like.
Further, the historical state data may be data information including historical environmental data, historical air conditioning data, and the like.
Further, the historical environmental data may be data information including data of an in-vehicle temperature and an out-vehicle environmental temperature. The temperature inside the vehicle can be the temperature inside the vehicle recorded at the historical time, and the ambient temperature outside the vehicle can be the temperature outside the vehicle recorded at the historical time.
Further, the historical air conditioning data may be data information including data of a set temperature and a set wind speed of the air conditioner.
Further, clustering is performed based on the historical driving mileage and the air conditioner set temperature in the historical air conditioner adjustment data as features, a clustering result can be a clustering class which is divided into a long class and a short class according to the mileage, and the method for determining the mileage can be used for judging according to the actual numerical value of the historical driving mileage. For example, if the historical driving mileage is 3 km, 5 km, 2 km, 10 km, 50 km, 120 km, the historical driving mileage can be divided into long-mileage sections (50 km and 120 km) and short-mileage sections (3 km, 5 km, 2 km, and 10 km); if the historical driving mileage is 3 km, 5 km, 2 km, 8 km, 10 km, the historical driving mileage can be divided into long mileage sections (8 km and 10 km) and short mileage sections (3 km, 5 km and 2 km). It can be seen that the "10 km" is divided into two cases, a long-range section and a short-range section, under different circumstances, and therefore, when clustering is performed based on the historical driving mileage and the air conditioner set temperature in the historical air conditioner adjustment data as features, the specific classification method is determined in actual circumstances.
Further, historical environment data corresponding to each cluster is obtained, the in-vehicle temperature and the out-vehicle environment temperature corresponding to each cluster vehicle are determined, and the in-vehicle temperature and the out-vehicle environment temperature of the current vehicle are obtained.
Further, the inside temperature and the outside environment temperature corresponding to each cluster vehicle and the inside temperature and the outside environment temperature of the current vehicle are respectively subjected to approximation calculation, so that the approximation corresponding to each cluster is obtained, the maximum value of the approximation is determined from the approximations, and then the target historical state data with the maximum approximation is obtained. For example, as shown in fig. 4, the current environment data "in-vehicle temperature: ambient temperature outside the vehicle at 39 degrees celsius: 26 degrees centigrade ", respectively performing approximation degree calculation with 1, 2, and 3 groups in the short range section and the long range section to obtain corresponding approximation degrees of each group, thereby obtaining a maximum approximation degree of 84% in the long range section and a maximum approximation degree of 78% in the short range section, and further determining a target historical environmental data" temperature in vehicle: 38 degree centigrade outside ambient temperature: 27 degrees celsius "and target historical environmental data in the long mileage section" temperature in vehicle: 38 degree centigrade outside ambient temperature: 26 ℃, and respectively determining target historical state data corresponding to each aggregation class according to the target historical environment data.
Further, when the current trip type is a regular trip, the current travel data in the current travel data and the travel mileage, the in-vehicle temperature and the out-vehicle environment temperature in the historical travel data are acquired, the current travel data, the travel mileage, the in-vehicle temperature and the out-vehicle environment temperature in the historical travel data are subjected to approximation calculation to obtain the approximation degree corresponding to each historical travel data, the target historical state data corresponding to the maximum value of the approximation degree is determined, the approximation degree calculation method can be the same as a calculation method for a trip with the occurrence type being a probability, and the specific calculation process can refer to an approximation degree calculation process for a probability trip.
S208, acquiring air conditioning regulation data corresponding to the target historical driving data, and sending the air conditioning regulation data to the vehicle-mounted terminal;
in one embodiment, after the target historical driving data is determined, air conditioning adjustment data corresponding to historical state data in the target historical driving data is acquired from the target historical driving data, and the air conditioning adjustment data is sent to the vehicle-mounted terminal.
Further, when the current trip type is probabilistic trip, acquiring air conditioning adjustment data and trip mileage corresponding to the target historical state data from the historical state data corresponding to each cluster, acquiring preset trip mileage, calculating difference mileage for the trip mileage of each cluster, determining the size relationship between the difference mileage and the preset trip, determining the issuing mode of the air conditioning adjustment data based on the size relationship between the difference mileage and the preset trip and the air conditioning adjustment data, and sending the air conditioning adjustment data to the vehicle-mounted terminal based on the determined issuing mode.
Further, the preset mileage may be a preset mileage numerical value, or may be a preset percentage of the traveled mileage, for example, 1 km, or the traveled mileage corresponding to the short-mileage segment is 5 km, and the percentage is set to 10%, where the preset mileage is 0.5 km, and the preset mileage may be a numerical value calculated by the server according to the acquired traveled mileage, or may be a numerical value preset by the user and stored in the server.
Further, the calculating the difference mileage may be to perform difference calculation on the driving mileage corresponding to the target historical driving data in the long-mileage segment and the driving mileage corresponding to the target historical driving data in the short-mileage segment to obtain the difference mileage. For example, the driving range corresponding to the target historical driving data in the long range section is 8 km, and the driving range corresponding to the target historical driving data in the short range section is 5 km, and the difference range is 3 km.
Further, the method for determining the magnitude relationship between the difference mileage and the preset mileage may be that the difference between the difference mileage and the preset mileage is calculated, if a numerical value obtained by subtracting the preset mileage from the difference mileage is a negative number or zero, the difference mileage is greater than the preset mileage, and if the numerical value is a positive number, the difference mileage is less than the preset mileage.
Further, the method for determining the issuing mode of the air conditioning regulation data may be that, if the difference mileage is greater than the preset mileage, the air conditioning regulation data corresponding to the long mileage section and the air conditioning regulation data corresponding to the short mileage section are both used as target regulation data, and the target regulation data is sent to the vehicle-mounted terminal; and if the difference mileage is smaller than the preset mileage, performing mean processing on the air conditioning regulation data corresponding to the long mileage section and the air conditioning regulation data corresponding to the short mileage section to obtain target air conditioning regulation data, and sending the target air conditioning regulation data to the vehicle-mounted terminal.
Further, when the travel type is regular travel, air conditioning adjustment data corresponding to target historical travel data in the historical travel data are obtained, and the air conditioning adjustment data are sent to the vehicle-mounted terminal.
S209, receiving the air conditioning adjustment data, and performing air conditioning adjustment based on the air conditioning adjustment data;
in one embodiment, the in-vehicle terminal adjusts the air-conditioning setting temperature and the air speed setting of the vehicle based on the target air-conditioning adjustment data after receiving the target air-conditioning adjustment data.
Further, when the trip type is probabilistic trip, target air conditioning adjustment data sent by the server are received, when the difference mileage is greater than or equal to the preset mileage, the vehicle-mounted terminal displays inquiry information on a display screen of the vehicle-mounted terminal, obtains selection operation of a user for the inquiry information displayed on the display screen, determines the selected target air conditioning adjustment data as selection data, and performs air conditioning adjustment on the vehicle-mounted terminal based on the selection data.
Further, the in-vehicle terminal displaying the mileage inquiry information may be air conditioning adjustment data for determining to be employed. For example, as shown in FIG. 5, the query message "which data to use for air conditioning adjustment is data 1: temperature: wind speed at 26 degrees centigrade: level 3 data 2: temperature: wind speed at 24 degrees centigrade: level 4 ", and displaying selection keys including" data 1 "and" data 2", if the user selects" data 1", the in-vehicle terminal adopts" temperature: wind speed at 26 degrees centigrade: 3-level air conditioning data for air conditioning; if the user selects "data 2", the vehicle-mounted terminal adopts "temperature: wind speed at 24 degrees centigrade: the target air conditioning data of level 4 "is air conditioning.
Further, when the difference mileage is smaller than the preset mileage, the vehicle-mounted terminal performs air conditioning by using the target air conditioning adjustment data sent by the server.
Further, when the travel type is regular travel, the vehicle-mounted terminal receives target air conditioning adjustment data sent by the server, and air conditioning adjustment is performed by adopting the target air conditioning adjustment data.
In the embodiment of the invention, the adjustment data acquisition request is acquired through the server, the air conditioning adjustment data is acquired based on the historical driving data and the current driving data in the adjustment data acquisition request, the air conditioning adjustment data is sent to the vehicle-mounted terminal, so that the vehicle-mounted terminal performs air conditioning adjustment based on the air conditioning adjustment data, the air conditioning adjustment data is determined according to the historical data of a user and the current environment data, personalized air conditioning adjustment data is provided, and the adjustment quality of the driving environment of the vehicle is improved.
Referring to fig. 7, a flow chart of an air conditioner adjusting method according to an embodiment of the invention is shown. As shown in fig. 7, the method may include the following steps S301 to S303.
S301, receiving an adjustment data acquisition request, and acquiring current driving data in the adjustment data acquisition request;
in one embodiment, after receiving the adjustment data acquisition request, the server parses the adjustment data acquisition request to acquire the current driving data in the adjustment data acquisition request.
Further, the vehicle-mounted terminal acquires current driving data of an environment where the vehicle is located, generates an adjustment data acquisition request, and sends the adjustment data acquisition request to the server, wherein the adjustment data acquisition request carries the acquired current driving data.
Further, the current environmental data may be an in-vehicle temperature, an out-vehicle environmental temperature, a current travel time, and the like of an environment in which the vehicle is located, where the current travel time may be a time corresponding to the start of the vehicle, for example, "9 months, 1 days, one week, 7".
Further, the adjustment data acquisition request may be a request instruction for acquiring the adjustment data to the server, so that the server acquires the adjustment data in response to the adjustment data acquisition request.
S302, acquiring target historical driving data related to the current driving data from historical driving data of a vehicle based on the current driving data;
in one embodiment, the server determines a target travel time period to which the current travel time belongs based on the current travel time in the current travel data, determines a current travel type of the vehicle in the historical travel data based on the target travel time period, and acquires target historical travel data including air conditioner set temperature and wind speed data associated with the current travel data in the historical travel data of the vehicle after determining the current travel type.
Further, a target trip time period to which the current trip time belongs is determined based on the current trip time, a trip type corresponding to the target trip time period is determined in the historical travel data, and the trip type is used as the current trip type. For example, the current travel time is "monday 7", and the travel time is classified into a target travel time period of "monday 8.
Further, the target trip time period may be a time period to which the current trip time belongs, for example, the current trip time is "monday 7. It should be noted that, in order to avoid errors in calculation results due to attribution of the current travel time by using a time approximation method, one feasible method is to attribute the same time point to two time periods, for example, "monday 7.
Further, in order to determine the current travel type of the vehicle according to the current travel data, a historical travel track in the historical travel data and historical travel time corresponding to the historical travel track are acquired in advance, and the travel type corresponding to the historical travel time is determined.
Further, a trip type corresponding to the historical trip time is determined, and one feasible method is to obtain a plurality of first travel tracks with similar tracks in the historical travel tracks, determine first trip time corresponding to each first travel track in the plurality of first travel tracks, perform time screening on the first trip time corresponding to each first travel track based on at least one trip time period, and determine the trip type of the trip time period according to the quantity of the trip time included in each trip time period in one trip time period.
Further, the travel type may be a type divided according to a travel track of the vehicle, for example, the travel type may be divided into a probability travel and a regular travel, the probability travel may be a travel track without similar tracks in the historical travel data, and the regular travel may be a travel track with similar tracks in the historical travel data.
Further, a feasible method for judging track similarity is to obtain the current position of the vehicle every set time length, so as to obtain the track of the vehicle going out this time, and if a plurality of going out tracks with the same position change exist, the going out tracks are considered to be track similarity. It is understood that, during actual travel, there is no case where the position changes are exactly the same, and therefore, during actual calculation, if the vehicle travels on the same road, it is considered that the vehicle travels on the same road and is at the same position change. For example, as shown in fig. 3, fig. 3 includes four driving tracks "a", "B", "C", and "D", and it can be seen from the position change of the vehicle in fig. 3 that the driving tracks "a" and "B" are driven on the same road, even if there is a difference in the specific position change on the road, the driving tracks "a" and "B" can be considered as similar tracks; and looking at the driving tracks 'C' and 'D', the driving tracks 'C' and 'D' can be seen to be driven on different roads, and then the tracks of the driving tracks 'C' and 'D' are considered to be dissimilar.
Further, the first travel track may be a set of travel tracks having similar tracks, and the travel tracks having similar tracks are taken as the same similar travel track. For example, the travel trajectories "a", "B", and "C" in fig. 3 may be the same similar travel trajectories.
Further, the first travel time may be a time corresponding to the first travel track, and the precise schedule of the first travel time may be precise to minutes, for example, the travel times of the travel tracks "a", "B", and "C" in fig. 3 are "monday 7; if the travel times are "monday 7", "monday 8.
Further, the trip time period may be a time length range of a period of time, for example, "monday 8. For example, "monday 7. It should be noted that, because the trip work and rest on the weekday are more regular than the weekend, when the time period is determined, the week type corresponding to the time needs to be marked, so as to avoid that the judgment on the trip type is affected due to the difference between the weekday and the weekend caused by the judgment only according to the hour time.
Further, in order to improve the efficiency of judging the travel time, one feasible method is to perform time screening on the first travel time, determine the travel time quantity contained in each travel time period, and determine the travel time period as regular travel when the travel time quantity is greater than or equal to 1; and when the travel time quantity is less than 1, determining that the travel time is probability travel. In order to improve reliability, the number of travel times for determining the travel type may be set according to actual conditions, and may be, for example, 2, 3, 4, and the like.
Further, when the current trip type is probabilistic trip, historical travel mileage in the historical travel data and historical state data corresponding to the historical travel mileage are obtained, historical air conditioner adjustment data and historical environment data in the historical travel data are obtained, clustering is performed based on the historical travel mileage and air conditioner set temperature in the historical air conditioner adjustment data as characteristics to obtain at least one cluster, historical environment data corresponding to each cluster are obtained from the historical state data, current environment data in the current travel data are obtained, approximation calculation is performed on the current environment data and the historical environment data corresponding to each cluster respectively to obtain the approximation between the historical environment data corresponding to each cluster and the current environment data, target historical environment data corresponding to the maximum value of the approximation in each cluster are obtained, and the corresponding historical state data are determined according to the target historical environment data. The aggregation may be a plurality of groups of data obtained by clustering data information, and may be divided into a long-range segment and a short-range segment, for example.
Further, the current environment data may be data information including data of a current inside temperature and a current outside temperature. The current in-vehicle temperature may be an in-vehicle temperature acquired by the vehicle-mounted terminal at the current time, and the current outside environment temperature may be an outside temperature acquired by the vehicle-mounted terminal at the current time.
Further, the historical driving mileage may be a driving mileage in the historical driving data, and the driving mileage of the vehicle during a certain driving process is recorded, for example, 10 km or the like.
Further, the historical state data may be data information including historical environmental data, historical air conditioning data, and the like.
Further, the historical environmental data may be data information including data of an in-vehicle temperature and an out-vehicle environmental temperature. The temperature inside the vehicle can be the temperature inside the vehicle recorded at the historical time, and the ambient temperature outside the vehicle can be the temperature outside the vehicle recorded at the historical time.
Further, the historical air conditioning data may be data information including data of a set temperature and a set wind speed of the air conditioner.
Further, clustering is performed based on the historical driving mileage and the air conditioner set temperature in the historical air conditioner adjustment data as features, a clustering result can be a clustering class which is divided into a long class and a short class according to the mileage, and the method for determining the mileage can be used for judging according to the actual numerical value of the historical driving mileage. For example, if the historical driving mileage is 3 km, 5 km, 2 km, 10 km, 50 km, 120 km, the historical driving mileage can be divided into long-mileage sections (50 km and 120 km) and short-mileage sections (3 km, 5 km, 2 km, and 10 km); if the historical driving mileage is 3 km, 5 km, 2 km, 8 km, 10 km, the historical driving mileage can be divided into long mileage sections (8 km and 10 km) and short mileage sections (3 km, 5 km and 2 km). It can be seen that the "10 km" is divided into two cases, a long-range section and a short-range section, under different circumstances, and therefore, when clustering is performed based on the historical driving mileage and the air conditioner set temperature in the historical air conditioner adjustment data as features, the specific classification method is determined in actual circumstances.
Further, historical environment data corresponding to each cluster is obtained, the in-vehicle temperature and the out-vehicle environment temperature corresponding to each cluster vehicle are determined, and the in-vehicle temperature and the out-vehicle environment temperature of the current vehicle are obtained.
Further, the inside temperature and the outside environment temperature corresponding to each cluster vehicle and the inside temperature and the outside environment temperature of the current vehicle are respectively subjected to approximation calculation, so that the approximation corresponding to each cluster is obtained, the maximum value of the approximation is determined from the approximations, and the target historical state data corresponding to the maximum value of the approximation is obtained. For example, as shown in fig. 4, the current environment data "in-vehicle temperature: ambient temperature outside the vehicle at 39 degrees celsius: 26 ℃, respectively carrying out approximation calculation with 1, 2 and 3 groups in the short mileage section and the long mileage section to obtain corresponding approximation degrees of each group, thereby obtaining the maximum approximation degree of 84% in the long mileage section and the maximum approximation degree of 78% in the short mileage section, and further determining the target historical environmental data 'the in-vehicle temperature' in the short mileage section: 38 degree centigrade outside ambient temperature: 27 degrees celsius "and target historical environmental data in the long mileage section" temperature in vehicle: 38 degree centigrade outside ambient temperature: 26 ℃, and respectively determining target historical state data corresponding to each aggregation class according to the target historical environment data.
Further, when the current trip type is regular trip, the current travel data in the current travel data and the mileage, the inside temperature and the outside environment temperature in the historical travel data are acquired, the approximation degree calculation is performed on the current travel data and the mileage, the inside temperature and the outside environment temperature in the historical travel data to obtain the approximation degree corresponding to each historical travel data, the target historical state data corresponding to the maximum value of the approximation degree is determined, the approximation degree calculation method can be the same as the calculation method for probability trip, and the specific calculation process can refer to the approximation degree calculation process for probability trip.
S303, acquiring air conditioning regulation data corresponding to the target historical driving data, and sending the air conditioning regulation data to a vehicle-mounted terminal;
in one embodiment, after the target historical driving data is determined, air conditioning adjustment data corresponding to historical state data in the target historical driving data is acquired from the target historical driving data, and the air conditioning adjustment data is sent to the vehicle-mounted terminal, so that after the vehicle-mounted terminal receives the target air conditioning adjustment data, the air conditioning setting temperature and the air speed setting of the vehicle are adjusted based on the target air conditioning adjustment data.
Further, when the current trip type is probabilistic trip, acquiring air conditioning adjustment data and trip mileage corresponding to the target historical state data from the historical state data corresponding to each cluster, acquiring preset trip mileage, calculating difference mileage for the trip mileage of each cluster, determining the size relationship between the difference mileage and the preset trip, determining the issuing mode of the air conditioning adjustment data based on the size relationship between the difference mileage and the preset trip and the air conditioning adjustment data, and sending the air conditioning adjustment data to the vehicle-mounted terminal based on the determined issuing mode.
Further, the preset mileage may be a preset mileage numerical value, or may be a preset percentage of the traveled mileage, for example, 1 km, or the traveled mileage corresponding to the short-mileage segment is 5 km, and the percentage is set to 10%, where the preset mileage is 0.5 km, and the preset mileage may be a numerical value calculated by the server according to the acquired traveled mileage, or may be a numerical value preset by the user and stored in the server.
Further, the calculating the difference mileage may be to perform difference calculation on the driving mileage corresponding to the target historical driving data in the long-mileage segment and the driving mileage corresponding to the target historical driving data in the short-mileage segment to obtain the difference mileage. For example, the driving range corresponding to the target historical driving data in the long range section is 8 km, and the driving range corresponding to the target historical driving data in the short range section is 5 km, and the difference range is 3 km.
Further, the method for determining the magnitude relationship between the difference mileage and the preset mileage may be that the difference between the difference mileage and the preset mileage is calculated, if a numerical value obtained by subtracting the preset mileage from the difference mileage is a negative number or zero, the difference mileage is greater than the preset mileage, and if the numerical value is a positive number, the difference mileage is less than the preset mileage.
Further, the method for determining the issuing mode of the air conditioning regulation data may be that, if the difference mileage is greater than the preset mileage, the air conditioning regulation data corresponding to the long mileage section and the air conditioning regulation data corresponding to the short mileage section are both used as target regulation data, and the target regulation data is sent to the vehicle-mounted terminal; and if the difference mileage is smaller than the preset mileage, performing mean processing on the air conditioning regulation data corresponding to the long mileage section and the air conditioning regulation data corresponding to the short mileage section to obtain target air conditioning regulation data, and sending the target air conditioning regulation data to the vehicle-mounted terminal.
Further, when the travel type is regular travel, air conditioning adjustment data corresponding to target historical travel data in the historical travel data are obtained, and the air conditioning adjustment data are sent to the vehicle-mounted terminal.
Further, when the trip type is probabilistic trip, target air conditioning adjustment data sent by the server are received, when the difference mileage is greater than or equal to the preset mileage, the vehicle-mounted terminal displays inquiry information on a display screen of the vehicle-mounted terminal, obtains selection operation of a user for the inquiry information displayed on the display screen, determines the selected target air conditioning adjustment data as selection data, and performs air conditioning adjustment on the vehicle-mounted terminal based on the selection data.
Further, the in-vehicle terminal display inquiry information may be air conditioning adjustment data for determining to be employed. For example, as shown in FIG. 5, the query message "which data to use for air conditioning adjustment is data 1: temperature: wind speed at 26 degrees centigrade: level 3 data 2: temperature: wind speed at 24 degrees centigrade: level 4 ", and displaying selection keys including" data 1 "and" data 2", if the user selects" data 1", the in-vehicle terminal adopts" temperature: wind speed at 26 degrees centigrade: 3-level air conditioning data for air conditioning; if the user selects "data 2", the vehicle-mounted terminal adopts "temperature: wind speed at 24 degrees centigrade: the target air conditioning data of level 4 "is air conditioning.
Further, when the difference mileage is smaller than the preset mileage, the vehicle-mounted terminal performs air conditioning by using the target air conditioning adjustment data sent by the server.
Further, when the travel type is regular travel, target air conditioner adjusting data sent by the receiving server are displayed on the display screen, and air conditioner adjustment is performed by adopting the target air conditioner adjusting data.
In the embodiment of the invention, the adjustment data acquisition request is acquired through the server, the air conditioning adjustment data is acquired based on the historical driving data and the current driving data in the adjustment data acquisition request, the air conditioning adjustment data is sent to the vehicle-mounted terminal, so that the vehicle-mounted terminal performs air conditioning adjustment based on the air conditioning adjustment data, the air conditioning adjustment data is determined according to the historical data of a user and the current environment data, personalized air conditioning adjustment data is provided, and the adjustment quality of the driving environment of the vehicle is improved.
Referring to fig. 8, a flow chart of an air conditioner adjusting method according to an embodiment of the present invention is schematically shown. As shown in fig. 8, the method may include the following steps S401 to S407.
S401, acquiring a historical driving track in historical driving data of a vehicle and historical travel time corresponding to the historical driving track;
in one embodiment, historical travel tracks in historical travel data and historical travel times corresponding to the historical travel tracks are obtained so as to determine travel types corresponding to the historical travel times.
Further, the historical travel track may be a travel position change of the vehicle during a past time, and a departure time of the vehicle from the historical travel track may be a historical travel time corresponding to the historical travel track.
Further, the travel type may be a type divided according to a travel track of the vehicle, for example, the travel type may be divided into a probability travel and a regular travel, the probability travel may be a travel track without similar tracks in the historical travel data, and the regular travel may be a travel track with similar tracks in the historical travel data.
S402, determining a travel type of a travel time period to which the historical travel time belongs based on the historical travel track;
in one embodiment, after the server acquires the historical travel track, the travel time period to which the historical travel time belongs in the historical travel track is determined, and then the travel type corresponding to the travel time period is determined.
Further, a trip type corresponding to the historical trip time is determined, and one feasible method is to obtain a plurality of first travel tracks with similar tracks in the historical travel tracks, determine first trip time corresponding to each first travel track in the plurality of first travel tracks, perform time screening on the first trip time corresponding to each first travel track based on at least one trip time period, and determine the trip type of the trip time period according to the quantity of the trip time included in each trip time period in one trip time period.
Further, a feasible method for judging track similarity is to obtain the current position of the vehicle every set time length, so as to obtain the track of the vehicle going out this time, and if a plurality of going out tracks with the same position change exist, the going out tracks are considered to be track similarity. It is understood that, during actual travel, there is no case where the position changes are exactly the same, and therefore, during actual calculation, if the vehicle travels on the same road, it is considered that the vehicle travels on the same road and is at the same position change. For example, as shown in fig. 3, fig. 3 includes four driving trajectories "a", "B", "C", and "D", and it can be seen from the position change of the vehicle in fig. 3 that the driving trajectories "a" and "B" are driven on the same road, even if there is a difference in the specific position change on the road, the driving trajectories "a" and "B" can be considered as similar trajectories; and looking at the driving tracks 'C' and 'D', the driving tracks 'C' and 'D' can be seen to be driven on different roads, and then the tracks of the driving tracks 'C' and 'D' are considered to be dissimilar.
Further, the first travel track may be a set of travel tracks having similar tracks, and the travel tracks having similar tracks are taken as the same similar travel track. For example, the travel trajectories "a", "B", and "C" in fig. 3 may be the same similar travel trajectories.
Further, the first travel time may be a time corresponding to the first travel track, and the precise schedule of the first travel time may be precise to minutes, for example, the travel times of the travel tracks "a", "B", and "C" in fig. 3 are "monday 7; if the travel times are "monday 7", "monday 8.
Further, the trip time period may be a time length range of a period of time, for example, "monday 8. For example, "monday 7. It should be noted that, because the trip work and rest on the weekday are more regular than the weekend, when the time period is determined, the week type corresponding to the time needs to be marked, so as to avoid that the judgment on the trip type is affected due to the difference between the weekday and the weekend caused by the judgment only according to the hour time.
Further, in order to improve the efficiency of judging the travel time, one feasible method is to perform time screening on the first travel time, determine the travel time quantity contained in each travel time period, and determine the travel time period as regular travel when the travel time quantity is greater than or equal to 1; and when the quantity of the travel time is less than 1, determining that the travel time is probability travel. In order to improve reliability, the number of travel times for determining the travel type may be set according to actual conditions, and may be, for example, 2, 3, 4, and the like.
S403, receiving the adjustment data acquisition request, and acquiring the current driving data in the adjustment data acquisition request;
in one embodiment, after receiving the adjustment data acquisition request, the server parses the adjustment data acquisition request to acquire the current driving data in the adjustment data acquisition request.
Further, the vehicle-mounted terminal acquires current driving data of an environment where the vehicle is located, generates an adjustment data acquisition request, and sends the adjustment data acquisition request to the server, wherein the adjustment data acquisition request carries the acquired current driving data.
Further, the current environmental data may be an in-vehicle temperature, an out-vehicle environmental temperature, a current travel time, and the like of an environment in which the vehicle is located, where the current travel time may be a time corresponding to the start of the vehicle, for example, "9 months, 1 days, one week, 7".
Further, the adjustment data acquisition request may be a request instruction for acquiring the adjustment data to the server, so that the server acquires the adjustment data in response to the adjustment data acquisition request.
S404, acquiring the current travel time in the current travel data, and acquiring a target travel time period to which the current travel time belongs from the at least one travel time period;
in one embodiment, the server acquires the current travel time in the current travel data, and determines a target travel time period to which the current travel time belongs based on the current travel time.
Further, the target trip time period may be a time period to which the current trip time belongs, for example, the current trip time is "monday 7. It should be noted that, in order to avoid errors in calculation results due to attribution of the current travel time by using a time approximation method, one feasible method is to attribute the same time point to two time periods, for example, "monday 7.
S405, determining the travel type of the target travel time period as the current travel type of the vehicle;
in one embodiment, after the server obtains the target trip time, the server determines a trip type corresponding to the target trip time period in the historical travel data, and takes the trip type as the current trip type.
For example, the current travel time is "monday 7", and the travel time is classified into a target travel time period of "monday 8.
S406, acquiring target historical driving data associated with the current driving data from the historical driving data of the vehicle based on the current travel type;
in one embodiment, after the current travel type is determined, target historical travel data including air conditioner set temperature and wind speed data associated with the current travel data is acquired from historical travel data of the vehicle.
Further, when the current trip type is probabilistic trip, historical travel mileage in the historical travel data and historical state data corresponding to the historical travel mileage are obtained, historical air conditioner adjustment data and historical environment data in the historical travel data are obtained, clustering is performed based on the historical travel mileage and air conditioner set temperature in the historical air conditioner adjustment data as characteristics to obtain at least one cluster, historical environment data corresponding to each cluster are obtained from the historical state data, current environment data in the current travel data are obtained, approximation calculation is performed on the current environment data and the historical environment data corresponding to each cluster respectively to obtain the approximation between the historical environment data corresponding to each cluster and the current environment data, target historical environment data corresponding to the maximum value of the approximation in each cluster are obtained, and the corresponding historical state data are determined according to the target historical environment data. The aggregation may be a plurality of groups of data obtained by clustering data information, and may be divided into a long-range segment and a short-range segment, for example.
Further, the current environment data may be data information including data of a current inside temperature and a current outside temperature. The current internal temperature may be an internal temperature obtained by the vehicle-mounted terminal at the current time, and the current external environment temperature may be an external temperature obtained by the vehicle-mounted terminal at the current time.
Further, the historical driving mileage may be a driving mileage in the historical driving data, and the driving mileage of the vehicle during a certain driving process is recorded, for example, 10 km or the like.
Further, the historical state data may be data information including historical environmental data, historical air conditioning data, and the like, and the historical environmental data may be data information including data of an inside temperature of the vehicle at that time, an outside environmental temperature of the vehicle, and the like.
Further, the historical environmental data may be data information including data of an in-vehicle temperature and an out-vehicle environmental temperature. The temperature inside the vehicle can be the temperature inside the vehicle recorded at the historical time, and the temperature outside the vehicle can be the temperature outside the vehicle recorded at the historical time.
Further, the historical air conditioning data may be data information including data of a set temperature and a set wind speed of the air conditioner.
Further, clustering is performed based on the historical driving mileage and the air conditioner set temperature in the historical air conditioner adjustment data as features, a clustering result can be a clustering class which is divided into a long class and a short class according to the mileage, and the method for determining the mileage can be used for judging according to the actual numerical value of the historical driving mileage. For example, if the historical driving mileage is 3 km, 5 km, 2 km, 10 km, 50 km, 120 km, the historical driving mileage can be divided into long-mileage sections (50 km and 120 km) and short-mileage sections (3 km, 5 km, 2 km, and 10 km); if the historical driving mileage is 3 km, 5 km, 2 km, 8 km, 10 km, the historical driving mileage can be divided into long mileage sections (8 km and 10 km) and short mileage sections (3 km, 5 km and 2 km). It can be seen that the "10 km" is divided into two cases, a long-range section and a short-range section, under different circumstances, and therefore, when clustering is performed based on the historical driving mileage and the air conditioner set temperature in the historical air conditioner adjustment data as features, the specific classification method is determined in actual circumstances.
Further, a historical state data set corresponding to each cluster is obtained, the in-vehicle temperature and the out-vehicle environment temperature corresponding to each cluster vehicle are determined, and the in-vehicle temperature and the out-vehicle environment temperature of the current vehicle are obtained.
Further, the inside temperature and the outside environment temperature corresponding to each cluster vehicle and the inside temperature and the outside environment temperature of the current vehicle are respectively subjected to approximation calculation, so that the approximation corresponding to each cluster is obtained, the maximum value of the approximation is determined from the approximations, and then the target historical state data with the maximum approximation is obtained. For example, as shown in fig. 4, the current environment data "in-vehicle temperature: ambient temperature outside the vehicle at 39 degrees celsius: 26 ℃, respectively carrying out approximation calculation with 1, 2 and 3 groups in the short mileage section and the long mileage section to obtain corresponding approximation degrees of each group, thereby obtaining the maximum approximation degree of 84% in the long mileage section and the maximum approximation degree of 78% in the short mileage section, and further determining the target historical environmental data 'the in-vehicle temperature' in the short mileage section: 38 degree centigrade outside ambient temperature: 27 degrees celsius "and target historical environmental data in the long mileage section" temperature inside vehicle: 38 degrees celsius outside ambient temperature: 26 ℃, and respectively determining target historical state data corresponding to each aggregation class according to the target historical environment data.
Further, when the current trip type is a regular trip, the current travel data in the current travel data and the travel mileage, the in-vehicle temperature and the out-vehicle environment temperature in the historical travel data are acquired, the current travel data, the travel mileage, the in-vehicle temperature and the out-vehicle environment temperature in the historical travel data are subjected to approximation calculation to obtain the approximation degree corresponding to each historical travel data, the target historical state data corresponding to the maximum value of the approximation degree is determined, the approximation degree calculation method can be the same as a calculation method for a trip with the occurrence type being a probability, and the specific calculation process can refer to an approximation degree calculation process for a probability trip.
S407, acquiring air conditioning regulation data corresponding to the target historical driving data, and sending the air conditioning regulation data to a vehicle-mounted terminal;
in one embodiment, after the target historical driving data is determined, air conditioning adjustment data corresponding to historical state data in the target historical driving data is acquired from the target historical driving data, and the air conditioning adjustment data is sent to the vehicle-mounted terminal, so that after the vehicle-mounted terminal receives the target air conditioning adjustment data, the air conditioning setting temperature and the air speed setting of the vehicle are adjusted based on the target air conditioning adjustment data.
Further, when the current trip type is probabilistic trip, acquiring air conditioning adjustment data and trip mileage corresponding to the target historical state data from the historical state data corresponding to each cluster, acquiring preset trip mileage, calculating difference mileage for the trip mileage of each cluster, determining the size relationship between the difference mileage and the preset trip, determining the issuing mode of the air conditioning adjustment data based on the size relationship between the difference mileage and the preset trip and the air conditioning adjustment data, and sending the target air conditioning adjustment data to the vehicle-mounted terminal based on the determined issuing mode.
Further, the preset mileage may be a preset mileage numerical value, or may be a preset percentage of the traveled mileage, for example, 1 km, or the traveled mileage corresponding to the short-mileage segment is 5 km, and the percentage is set to 10%, where the preset mileage is 0.5 km, and the preset mileage may be a numerical value calculated by the server according to the acquired traveled mileage, or may be a numerical value preset and stored in the server for the user.
Further, the calculating the difference mileage may be to perform difference calculation on the driving mileage corresponding to the target historical driving data in the long-mileage segment and the driving mileage corresponding to the target historical driving data in the short-mileage segment to obtain the difference mileage. For example, the driving range corresponding to the target historical driving data in the long range section is 8 km, and the driving range corresponding to the target historical driving data in the short range section is 5 km, and the difference range is 3 km.
Further, the method for determining the magnitude relationship between the difference mileage and the preset mileage may be that the difference between the difference mileage and the preset mileage is calculated, if a numerical value obtained by subtracting the preset mileage from the difference mileage is a negative number or zero, the difference mileage is greater than the preset mileage, and if the numerical value is a positive number, the difference mileage is less than the preset mileage.
Further, the method for determining the issuing mode of the air conditioning regulation data may be that, if the difference mileage is greater than the preset mileage, the air conditioning regulation data corresponding to the long mileage section and the air conditioning regulation data corresponding to the short mileage section are both used as target regulation data, and the target regulation data is sent to the vehicle-mounted terminal; and if the difference mileage is less than the preset mileage, performing mean processing on the air conditioning regulation data corresponding to the long mileage section and the air conditioning regulation data corresponding to the short mileage section to obtain target air conditioning regulation data, and sending the target air conditioning regulation data to the vehicle-mounted terminal.
Further, when the travel type is regular travel, air conditioning adjustment data corresponding to target historical travel data in the historical travel data are obtained, and the air conditioning adjustment data are sent to the vehicle-mounted terminal.
Further, when the trip type is probabilistic trip, the target air-conditioning adjusting data sent by the server is received, when the difference mileage is greater than or equal to the preset mileage, the vehicle-mounted terminal displays inquiry information on a display screen of the vehicle-mounted terminal, obtains selection operation of a user for the inquiry information displayed on the display screen, determines the selected target air-conditioning adjusting data as selecting data, and performs air-conditioning adjustment on the vehicle-mounted terminal based on the selecting data.
Further, the in-vehicle terminal display inquiry information may be air conditioning adjustment data for determining to be employed. For example, as shown in FIG. 5, the query message "which data to use for air conditioning adjustment is data 1: temperature: wind speed at 26 degrees centigrade: level 3 data 2: temperature: wind speed at 24 degrees centigrade: level 4 ", and displaying selection keys including" data 1 "and" data 2", if the user selects" data 1", the in-vehicle terminal adopts" temperature: wind speed at 26 degrees centigrade: 3-level air conditioning data for air conditioning; if the user selects "data 2", the vehicle-mounted terminal adopts "temperature: wind speed at 24 degrees centigrade: the target air conditioning data of level 4 "is air conditioning.
Further, when the difference mileage is smaller than the preset mileage, the vehicle-mounted terminal performs air conditioning by using the target air conditioning adjustment data sent by the server.
Further, when the travel type is regular travel, the vehicle-mounted terminal receives the target air-conditioning adjustment data sent by the server, and then the vehicle-mounted terminal performs air-conditioning adjustment by using the target air-conditioning adjustment data.
In the embodiment of the invention, the server determines the travel type corresponding to each travel time period in advance according to the historical travel data, after the adjustment data acquisition request is acquired, the corresponding travel type is determined based on the current travel data, the air conditioning adjustment data corresponding to the current travel data is sent to the vehicle-mounted terminal according to the travel type, so that the vehicle-mounted terminal performs air conditioning adjustment based on the air conditioning adjustment data, the determination of the air conditioning adjustment data is realized according to the historical data of a user and the current environment data, and therefore, the personalized air conditioning adjustment data is provided, and the adjustment quality of the vehicle driving environment is improved.
Referring to fig. 9, a flow chart of an air conditioner adjusting method according to an embodiment of the invention is shown. As shown in fig. 9, the method may include the following steps S501 to S502.
S501, acquiring current driving data of a vehicle, and sending an adjusting data acquisition request carrying the current driving data to a server;
in one embodiment, the vehicle-mounted terminal acquires current driving data of an environment where a vehicle is located, generates an adjustment data acquisition request, and sends the adjustment data acquisition request to the server, wherein the adjustment data acquisition request carries the acquired current driving data.
Further, the current environmental data may be an in-vehicle temperature, an out-vehicle environmental temperature, a current travel time, and the like of an environment in which the vehicle is located, where the current travel time may be a time corresponding to the start of the vehicle, for example, "9 months, 1 days, one week, 7".
Further, the adjustment data acquisition request may be a request instruction for acquiring the adjustment data to the server, so that the server acquires the adjustment data in response to the adjustment data acquisition request.
Further, after acquiring the adjustment data acquisition request, the server executes step S401 to step S407.
S502, receiving the air conditioning adjustment data, and carrying out air conditioning adjustment based on the air conditioning adjustment data;
in one embodiment, the in-vehicle terminal adjusts the air-conditioning setting temperature and the air speed setting of the vehicle based on the target air-conditioning adjustment data after receiving the target air-conditioning adjustment data.
Further, when the trip type is probabilistic trip, target air conditioning adjustment data sent by the server are received, when the difference mileage is greater than or equal to the preset mileage, the vehicle-mounted terminal displays inquiry information on a display screen of the vehicle-mounted terminal, obtains selection operation of a user for the inquiry information displayed on the display screen, determines the selected target air conditioning adjustment data as selection data, and performs air conditioning adjustment on the vehicle-mounted terminal based on the selection data.
Further, the in-vehicle terminal displaying the mileage inquiry information may be air conditioning adjustment data for determining to be employed. For example, as shown in FIG. 5, the query message "which data to use for air conditioning adjustment is data 1: temperature: wind speed at 26 degrees centigrade: level 3 data 2: temperature: wind speed at 24 degrees centigrade: level 4 ", and displaying selection keys including" data 1 "and" data 2", if the user selects" data 1", the in-vehicle terminal adopts" temperature: wind speed at 26 degrees centigrade: 3-level air conditioning data for air conditioning; if the user selects "data 2", the vehicle-mounted terminal adopts "temperature: wind speed at 24 degrees centigrade: the target air conditioning data of level 4 "is air conditioning.
Further, when the difference mileage is smaller than the preset mileage, the vehicle-mounted terminal performs air conditioning by using the target air conditioning adjustment data sent by the server.
Further, when the travel type is regular travel, the vehicle-mounted terminal receives the target air-conditioning adjustment data sent by the server, and air-conditioning adjustment is performed by adopting the target air-conditioning adjustment data.
In the embodiment of the invention, the current driving data of the vehicle is acquired, and the adjusting data acquisition request carrying the current driving data is sent to the server to acquire the air conditioning adjusting data for air conditioning adjustment, so that the air conditioning adjusting data is determined according to the historical data of the user and the current environment data, thereby providing the individualized air conditioning adjusting data and further improving the adjusting quality of the driving environment of the vehicle.
Based on the system architecture shown in fig. 1, the server provided by the embodiment of the present invention will be described in detail below with reference to fig. 10 to fig. 15. It should be noted that, the server in fig. 10-15 is used for executing the method according to the embodiment shown in fig. 3-8 of the present invention, and for convenience of description, only the portion related to the embodiment of the present invention is shown, and details of the specific technology are not disclosed, please refer to the embodiment shown in fig. 3-8 of the present invention.
Fig. 10 is a schematic structural diagram of a server according to an embodiment of the present invention. As shown in fig. 10, the server 1 according to an embodiment of the present invention may include: a current data acquisition unit 11, a history data acquisition unit 12, and a data transmission unit 13.
A current data obtaining unit 11, configured to receive an adjustment data obtaining request, and obtain current driving data in the adjustment data obtaining request;
a history data acquisition unit 12 for acquiring target history traveling data associated with the current traveling data among the history traveling data of the vehicle;
and the data sending unit 13 is configured to obtain air conditioning adjustment data corresponding to the target historical driving data, and send the air conditioning adjustment data to the vehicle-mounted terminal, so that the vehicle-mounted terminal performs air conditioning adjustment based on the air conditioning adjustment data.
Optionally, as shown in fig. 11, the server 1 further includes:
a current type determining unit 14, configured to determine a current travel type of the vehicle based on the current driving data.
Optionally, as shown in fig. 11, the server 1 further includes:
a historical time acquiring unit 15, configured to acquire a historical travel track in historical travel data of a vehicle and a historical travel time corresponding to the historical travel track;
a history type determining unit 16, configured to determine a trip type of a trip time period to which the history trip time belongs based on the history travel track.
Optionally, as shown in fig. 12, the history type determining unit 16 includes:
a first trajectory acquisition subunit 161 configured to acquire a plurality of first travel trajectories, of which trajectories are similar, from among the history travel trajectories; a plurality of first travel trajectories with similar trajectories are determined based on a change in position of the vehicle.
A first time determining subunit 162, configured to determine, in the historical travel time, a first travel time corresponding to each of the plurality of first travel trajectories;
a time screening subunit 163, configured to perform time screening on the first travel time corresponding to each first travel track based on at least one travel time period;
a history type determining subunit 164, configured to determine a trip type of each trip time period based on the number of trip times included in each trip time period in the at least one trip time period.
Optionally, as shown in fig. 13, the current type determining unit 14 includes:
a time period obtaining subunit 141, configured to obtain a current trip time in the current travel data, and obtain, in the at least one trip time period, a target trip time period to which the current trip time belongs;
a current type determining subunit 142, configured to determine the trip type of the target trip time period as the current trip type of the vehicle.
Optionally, as shown in fig. 14, the history data obtaining unit 12 includes:
a historical data obtaining subunit 121, configured to, when the current trip type is probabilistic trip, obtain historical driving mileage and historical state data corresponding to the historical driving mileage from the historical driving data, where the historical state data includes historical air conditioning adjustment data and historical environmental data;
a mileage clustering subunit 122, configured to perform clustering based on the historical driving mileage and the air conditioner setting temperature in the historical air conditioner adjustment data as features to obtain at least one aggregation, and obtain historical environment data corresponding to each aggregation in the at least one aggregation from the historical state data, where the historical environment data includes an inside temperature and an outside temperature;
and a target data obtaining subunit 123, configured to obtain current environment data in the current driving data, and perform approximation calculation on the current environment data and the historical environment data corresponding to each cluster respectively, so as to determine target historical state data with a maximum approximation in each cluster, where the current environment data includes a current inside temperature and a current outside temperature.
Optionally, as shown in fig. 15, the data sending unit 13 includes:
an adjusting data obtaining subunit 131, configured to obtain, from the historical state data corresponding to each aggregation in the at least one aggregation, air conditioner adjusting data and a driving range corresponding to the target historical driving data;
a mileage size determining subunit 132, configured to obtain a preset mileage pre-stored in the server, calculate the driving mileage based on the target historical state data in each cluster class to obtain a difference mileage, and determine a size relationship between the difference mileage and the preset mileage;
a data sending subunit 133, configured to determine, based on the size relationship between the difference mileage and the preset mileage and the air conditioning adjustment data, an issuing manner of the air conditioning adjustment data, and send the air conditioning adjustment data to the vehicle-mounted terminal based on the issuing manner, so that the vehicle-mounted terminal performs air conditioning adjustment based on the air conditioning adjustment data.
Optionally, the data sending subunit 133 is further configured to:
when the difference mileage is greater than or equal to the preset mileage, the air conditioning adjustment data corresponding to target historical state data in the aggregation classes are used as target air conditioning adjustment data, and the target air conditioning adjustment data are sent to the vehicle-mounted terminal, so that the vehicle-mounted terminal can select the target air conditioning adjustment data, determine the selected target air conditioning adjustment data as selection data, and adjust the air conditioner based on the selection data;
or,
and when the difference mileage is smaller than the preset mileage, performing mean processing on the air conditioning adjustment data corresponding to the target historical state data in each cluster to obtain target air conditioning adjustment data, and sending the target air conditioning adjustment data to the vehicle-mounted terminal so that the vehicle-mounted terminal performs air conditioning adjustment by using the target air conditioning adjustment data.
Optionally, the historical data obtaining unit 12 is further configured to:
a historical data obtaining subunit 121, further configured to obtain historical state data in the historical travel data of the vehicle when the current travel type is regular travel;
and the target data acquiring subunit 123 is further configured to perform approximation calculation based on characteristics of the current environment data in the current driving data and the driving range, the inside temperature and the outside temperature in the historical driving data, respectively, so as to determine target historical state data with the maximum approximation in the historical state data.
The data sending unit 13 is further configured to:
the adjustment data acquiring subunit 131 is further configured to acquire, from the historical driving data, air conditioning adjustment data corresponding to the target historical state data;
the data sending subunit 133 is further configured to send the air conditioning adjustment data to the vehicle-mounted terminal, so that the vehicle-mounted terminal performs air conditioning adjustment based on the air conditioning adjustment data.
In the embodiment of the invention, the server determines the travel type corresponding to each travel time period in advance according to the historical travel data, after the adjustment data acquisition request is acquired, the corresponding travel type and the air conditioning adjustment data corresponding to the current travel data are determined based on the current travel data, and the air conditioning adjustment data are sent to the vehicle-mounted terminal according to the travel type, so that the vehicle-mounted terminal performs air conditioning adjustment based on the air conditioning adjustment data, the air conditioning adjustment data are determined according to the historical data of a user and the current environment data, individualized air conditioning adjustment data are provided, and the adjustment quality of the vehicle driving environment is improved.
Based on the system architecture shown in fig. 1, the following describes in detail the vehicle-mounted terminal provided by the embodiment of the present invention with reference to fig. 16. It should be noted that, the vehicle-mounted terminal in fig. 16 is used for executing the method in the embodiments shown in fig. 5 and fig. 9 of the present invention, and for convenience of description, only the portion related to the embodiments of the present invention is shown, and specific technical details are not disclosed, please refer to the embodiments shown in fig. 5 and fig. 9 of the present invention.
Referring to fig. 16, a schematic structural diagram of a vehicle-mounted terminal is provided in an embodiment of the present invention. As shown in fig. 16, the in-vehicle terminal 2 according to the embodiment of the present invention may include: a request transmitting unit 21 and an air conditioning unit 22.
A request sending unit 21, configured to obtain current driving data of a vehicle, send an adjustment data obtaining request carrying the current driving data to a server, so that after the server receives the adjustment data obtaining request, based on the current driving data in the adjustment data obtaining request, target historical driving data associated with the current driving data is obtained, air conditioning adjustment data corresponding to the target historical driving data is obtained, and the air conditioning adjustment data is sent to the vehicle-mounted terminal;
and an air conditioning unit 22 for receiving the air conditioning data and performing air conditioning based on the air conditioning data.
In the embodiment of the invention, the current driving data of the vehicle is acquired, and the adjusting data acquisition request carrying the current driving data is sent to the server to acquire the air conditioning adjusting data for air conditioning adjustment, so that the air conditioning adjusting data is determined according to the historical data of the user and the current environment data, thereby providing the individualized air conditioning adjusting data and further improving the adjusting quality of the driving environment of the vehicle.
An embodiment of the present invention further provides a computer storage medium, where the computer storage medium may store a plurality of program instructions, where the program instructions are suitable for being loaded by a processor and executing the method steps in the embodiments shown in fig. 1 to 9, and a specific execution process may refer to specific descriptions of the embodiments shown in fig. 1 to 9, which are not described herein again.
An embodiment of the present invention further provides an air conditioning adjustment system, where the air conditioning adjustment system includes a server and a vehicle-mounted terminal, where the server executes the method steps in the embodiments shown in fig. 3 to 8, and the vehicle-mounted terminal executes the method steps in the embodiments shown in fig. 5 and 9, which are not described herein again.
Fig. 17 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. As shown in fig. 17, the electronic device 1000 may include: at least one processor 1001, such as a CPU, at least one network interface 1004, input output interfaces 1003, memory 1005, at least one communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others. The memory 1005 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 1005 may optionally be at least one memory device located remotely from the processor 1001. As shown in fig. 17, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, an input-output interface module, and an air conditioning application program.
In the electronic device 1000 shown in fig. 17, the input/output interface 1003 is mainly used as an interface for providing input for a user and acquiring data input by the user.
In one embodiment, the processor 1001 may be configured to invoke an air conditioning application stored in the memory 1005 and specifically perform the following operations:
receiving an adjustment data acquisition request, and acquiring current driving data in the adjustment data acquisition request;
acquiring target historical driving data associated with the current driving data from historical driving data of a vehicle based on the current driving data;
and acquiring air conditioning adjustment data corresponding to the target historical driving data, and sending the air conditioning adjustment data to a vehicle-mounted terminal so that the vehicle-mounted terminal carries out air conditioning adjustment based on the air conditioning adjustment data.
Alternatively, the processor 1001, before executing the acquisition of the target historical travel data associated with the current travel data in the historical travel data of the vehicle, further executes the following operations:
and determining the current travel type of the vehicle based on the current running data.
Optionally, before performing the receiving of the adjustment data obtaining request, the processor 1001 further performs the following operations:
acquiring a historical travel track in historical travel data of a vehicle and historical travel time corresponding to the historical travel track;
and determining the travel type of the travel time period to which the historical travel time belongs based on the historical travel track.
Optionally, when the processor 1001 determines, based on the historical travel trajectory, a travel type of a travel time period to which the historical travel time belongs, specifically performs the following operations:
acquiring a plurality of first driving tracks with similar tracks in the historical driving tracks; a plurality of first travel trajectories, of which the trajectories are similar, are determined based on a change in position of the vehicle.
Determining a first travel time corresponding to each first travel track in the plurality of first travel tracks in the historical travel time;
time screening is carried out on first travel time corresponding to each first travel track based on at least one travel time period;
and determining the travel type of each travel time period based on the travel time quantity contained in each travel time period in the at least one travel time period.
Optionally, when determining the current travel type of the vehicle based on the current driving data, the processor 1001 specifically performs the following operations:
acquiring the current travel time in the current travel data, and acquiring a target travel time quantum to which the current travel time belongs from the at least one travel time quantum;
and determining the travel type of the target travel time period as the current travel type of the vehicle.
Optionally, when the processor 1001 acquires target historical travel data associated with the current travel data from the historical travel data of the vehicle based on the current travel type, specifically:
when the current trip type is probability trip, acquiring historical travel mileage and historical state data corresponding to the historical travel mileage from the historical travel data, wherein the historical state data comprises historical air conditioner adjustment data and historical environment data;
clustering based on the historical driving mileage and the air conditioner set temperature in the historical air conditioner adjusting data as characteristics to obtain at least one cluster, and acquiring historical environment data corresponding to each cluster in the at least one cluster from the historical state data, wherein the historical environment data comprises an inside temperature and an outside temperature;
and acquiring current environment data in the current driving data, and respectively carrying out approximation calculation on the current environment data and the historical environment data corresponding to each aggregation class so as to determine target historical state data corresponding to the maximum value of the approximation in each aggregation class, wherein the current environment data comprises the current inside temperature and the current outside environment temperature.
Optionally, when executing acquiring air conditioning adjustment data corresponding to the target historical driving data and sending the air conditioning adjustment data to the vehicle-mounted terminal, so that the vehicle-mounted terminal performs air conditioning adjustment based on the air conditioning adjustment data, the processor 1001 specifically executes the following operations:
acquiring air conditioner adjusting data and driving mileage corresponding to the target historical driving data from historical state data corresponding to each aggregation in the at least one aggregation;
acquiring preset mileage prestored in the server, calculating the driving mileage based on target historical state data in each cluster class to obtain difference mileage, and determining the size relationship between the difference mileage and the preset mileage;
and determining an issuing mode of the air conditioning regulation data based on the size relation between the difference mileage and the preset mileage and the air conditioning regulation data, and sending the air conditioning regulation data to the vehicle-mounted terminal based on the issuing mode so that the vehicle-mounted terminal carries out air conditioning regulation based on the air conditioning regulation data.
Optionally, when the processor 1001 determines target air conditioning adjustment data based on the size relationship between the difference mileage and the preset mileage and the air conditioning adjustment data, and sends the target air conditioning adjustment data to the vehicle-mounted terminal, so that the vehicle-mounted terminal performs air conditioning based on the air conditioning adjustment data, the following operations are specifically performed:
when the difference mileage is greater than or equal to the preset mileage, the air conditioning adjustment data corresponding to target historical state data in the aggregation classes are used as target air conditioning adjustment data, and the target air conditioning adjustment data are sent to the vehicle-mounted terminal, so that the vehicle-mounted terminal can select the target air conditioning adjustment data, determine the selected target air conditioning adjustment data as selection data, and adjust the air conditioner based on the selection data;
or,
and when the difference mileage is smaller than the preset mileage, performing mean processing on the air conditioning adjustment data corresponding to the target historical state data in each cluster to obtain target air conditioning adjustment data, and sending the target air conditioning adjustment data to the vehicle-mounted terminal so that the vehicle-mounted terminal performs air conditioning adjustment by using the target air conditioning adjustment data.
Alternatively, the processor 1001, when executing acquiring target historical travel data associated with the current travel data from the historical travel data of the vehicle based on the current travel data, performs the following:
when the current travel type is regular travel, acquiring historical state data in the historical travel data of the vehicle;
and respectively carrying out approximation calculation based on the characteristics of the driving mileage, the temperature inside the vehicle and the temperature outside the vehicle in the current driving data and the historical driving data so as to determine target historical state data corresponding to the maximum value of the approximation in the historical state data.
The processor 1001 specifically performs the following operations when executing acquiring air conditioning adjustment data corresponding to the target historical travel data and sending the air conditioning adjustment data to the in-vehicle terminal so that the in-vehicle terminal performs air conditioning based on the air conditioning adjustment data:
acquiring air conditioner adjusting data corresponding to the target historical state data in the historical driving data;
and sending the air conditioning regulation data to the vehicle-mounted terminal so that the vehicle-mounted terminal carries out air conditioning regulation based on the air conditioning regulation data.
In the embodiment of the invention, the server determines the travel type corresponding to each travel time period in advance according to the historical travel data, after the adjustment data acquisition request is acquired, the corresponding travel type is determined based on the current travel data, the air conditioning adjustment data corresponding to the current travel data is sent to the vehicle-mounted terminal according to the travel type, so that the vehicle-mounted terminal performs air conditioning adjustment based on the air conditioning adjustment data, the determination of the air conditioning adjustment data is realized according to the historical data of a user and the current environment data, and therefore, the personalized air conditioning adjustment data is provided, and the adjustment quality of the vehicle driving environment is improved.
Fig. 18 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. As shown in fig. 18, the electronic device 2000 may include: at least one processor 2001, e.g., CPU, at least one network interface 2004, input output interface 2003, memory 2005, at least one communication bus 2002. The communication bus 2002 is used to implement connection communication between these components. The network interface 2004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others. Memory 2005 may be a high-speed RAM memory or a non-volatile memory (e.g., at least one disk memory). The memory 2005 may optionally also be at least one memory device located remotely from the aforementioned processor 2001. As shown in fig. 18, the memory 2005 as one type of computer storage medium may include therein an operating system, a network communication module, an input-output interface module, and an air conditioning application program.
In the electronic device 2000 shown in fig. 18, the input/output interface 2003 is mainly used as an interface for providing input to a user and acquiring data input by the user.
In one embodiment, the processor 2001 may be configured to invoke the climate adjustment application stored in the memory 2005 and specifically perform the following operations:
acquiring current running data of a vehicle, sending an adjusting data acquisition request carrying the current running data to a server, so that after the server receives the adjusting data acquisition request, acquiring target historical running data associated with the current running data based on the current running data in the adjusting data acquisition request, acquiring air conditioning adjusting data corresponding to the target historical running data, and sending the air conditioning adjusting data to the vehicle-mounted terminal;
and receiving the air conditioning adjustment data, and carrying out air conditioning adjustment based on the air conditioning adjustment data.
Optionally, when the processor 2001 receives the air conditioning adjustment data and performs air conditioning based on the air conditioning adjustment data, the following operations are specifically performed:
when the travel type of the vehicle is probabilistic travel, receiving air conditioning adjustment data sent by the server;
when the difference mileage is greater than or equal to a preset mileage, displaying inquiry information on a display screen of the vehicle-mounted terminal, acquiring selection operation aiming at the inquiry information, determining the selected air-conditioning adjustment data as selection data based on the selection operation, and performing air-conditioning adjustment based on the selection data, wherein the mileage inquiry information is used for determining the air-conditioning adjustment data to be adopted;
or,
and when the difference mileage is less than the preset mileage, performing air conditioning adjustment based on the air conditioning adjustment data.
Optionally, the processor 2001 further performs the following operations when receiving the air conditioning adjustment data and performing air conditioning based on the air conditioning adjustment data:
when the vehicle is in a regular trip type, receiving air conditioner adjusting data sent by the server; and performing air conditioning adjustment based on the air conditioning adjustment data.
In the embodiment of the invention, the current driving data of the vehicle is acquired, and the adjusting data acquisition request carrying the current driving data is sent to the server to acquire the air conditioning adjusting data for air conditioning adjustment, so that the air conditioning adjusting data is determined according to the historical data of the user and the current environment data, thereby providing the individualized air conditioning adjusting data and further improving the adjusting quality of the driving environment of the vehicle.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by a computer program, which may be stored in a computer readable storage medium and executed by a computer to implement the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.
Claims (9)
1. An air conditioner adjusting method is applied to a server and comprises the following steps:
step S301, receiving an adjustment data acquisition request, and acquiring current driving data in the adjustment data acquisition request;
determining the current travel type of the vehicle based on the current running data;
a step S302 of acquiring target historical travel data associated with the current travel data from historical travel data of the vehicle based on the current travel data;
step S303, acquiring air conditioning adjustment data corresponding to the target historical driving data, and sending the air conditioning adjustment data to a vehicle-mounted terminal so that the vehicle-mounted terminal can perform air conditioning adjustment based on the air conditioning adjustment data;
the step S303 includes:
when the current trip type is probability trip, acquiring air conditioner adjustment data and a trip mileage corresponding to the target historical trip data from historical state data corresponding to each cluster in at least one cluster, wherein the at least one cluster is obtained by clustering based on the historical trip mileage in the historical trip data and the set temperature of an air conditioner;
acquiring preset mileage prestored in the server, calculating the driving mileage based on target historical state data in each cluster class to obtain difference mileage, and determining the size relationship between the difference mileage and the preset mileage;
and determining an issuing mode of the air conditioning regulation data based on the size relation between the difference mileage and the preset mileage and the air conditioning regulation data, and sending the air conditioning regulation data to the vehicle-mounted terminal based on the issuing mode so that the vehicle-mounted terminal carries out air conditioning regulation based on the air conditioning regulation data.
2. The method according to claim 1, wherein the step S302 comprises:
when the current travel type is probabilistic travel, acquiring historical travel mileage and historical state data corresponding to the historical travel mileage from the historical travel data, wherein the historical state data comprises historical air conditioner adjustment data and historical environmental data;
clustering based on the historical driving mileage and the air conditioner set temperature in the historical air conditioner adjusting data as characteristics to obtain at least one cluster, and acquiring historical environment data corresponding to each cluster in the at least one cluster from the historical state data, wherein the historical environment data comprises an inside temperature and an outside temperature;
and acquiring current environment data in the current driving data, and respectively carrying out approximation calculation on the current environment data and the historical environment data corresponding to each aggregation class so as to determine target historical state data corresponding to the maximum value of the approximation in each aggregation class.
3. The method according to claim 1, wherein the step S302 comprises:
when the current travel type is regular travel, acquiring historical state data in the historical travel data of the vehicle;
respectively carrying out approximation calculation based on the characteristics of the driving mileage, the temperature inside the vehicle and the temperature outside the vehicle in the current driving data and the historical driving data so as to determine target historical state data corresponding to the maximum value of the approximation in the historical state data;
the step S303 includes:
acquiring air conditioner adjusting data corresponding to the target historical state data in the historical driving data;
and sending the air conditioning regulation data to the vehicle-mounted terminal so that the vehicle-mounted terminal carries out air conditioning regulation based on the air conditioning regulation data.
4. An air conditioner adjusting method is applied to a vehicle-mounted terminal and comprises the following steps:
acquiring current running data of a vehicle, sending an adjusting data acquisition request carrying the current running data to a server, so that after the server receives the adjusting data acquisition request, acquiring target historical running data associated with the current running data based on the current running data in the adjusting data acquisition request, acquiring air conditioning adjusting data corresponding to the target historical running data, and sending the air conditioning adjusting data to the vehicle-mounted terminal;
receiving the air conditioning adjustment data, and carrying out air conditioning adjustment based on the air conditioning adjustment data;
when the current trip type is probabilistic trip, the air conditioning regulation data is the air conditioning regulation data corresponding to the target historical driving data acquired from the historical state data corresponding to each cluster in at least one cluster, the at least one cluster is obtained by clustering based on the historical driving mileage in the historical driving data of the vehicle and the set temperature of the air conditioner as characteristics, and the current trip type is determined based on the current driving data;
the issuing mode of sending the air-conditioning adjustment data to the vehicle-mounted terminal is determined based on the size relationship between a difference mileage and a preset mileage, the difference mileage is obtained by calculating the driving mileage based on the target historical state data in each aggregation class, and the preset mileage is prestored in the server.
5. The method of claim 4, wherein receiving the climate conditioning data, and performing climate conditioning based on the climate conditioning data comprises:
when the travel type of the vehicle is probabilistic travel, receiving air conditioner adjusting data sent by the server;
when the difference mileage is greater than or equal to a preset mileage, displaying inquiry information on a display screen of the vehicle-mounted terminal, acquiring selection operation aiming at the inquiry information, determining the selected air-conditioning adjustment data as selection data based on the selection operation, and performing air-conditioning adjustment based on the selection data, wherein the inquiry information is used for determining the air-conditioning adjustment data to be adopted;
or,
and when the difference mileage is smaller than the preset mileage, performing air conditioning adjustment based on the air conditioning adjustment data.
6. The method of claim 4, wherein the receiving the climate conditioning data, performing climate conditioning based on the climate conditioning data, further comprises:
and when the travel type of the vehicle is regular travel, receiving air conditioning adjustment data sent by the server, and carrying out air conditioning adjustment based on the air conditioning adjustment data.
7. A server, characterized in that the server comprises:
the current data acquisition unit is used for receiving an adjustment data acquisition request and acquiring current driving data in the adjustment data acquisition request;
the type determining unit is used for determining the current travel type of the vehicle based on the current running data;
a history data acquisition unit configured to acquire target history traveling data associated with the current traveling data among history traveling data of a vehicle;
the data sending unit is used for obtaining air conditioning adjustment data corresponding to the target historical driving data and sending the air conditioning adjustment data to the vehicle-mounted terminal so that the vehicle-mounted terminal can conduct air conditioning adjustment based on the air conditioning adjustment data;
the data sending unit is further configured to:
when the current trip type is probability trip, acquiring air conditioner adjustment data and a trip mileage corresponding to the target historical trip data from historical state data corresponding to each cluster in at least one cluster, wherein the at least one cluster is obtained by clustering based on the historical trip mileage in the historical trip data and the set temperature of an air conditioner;
the relation determining unit is used for acquiring preset mileage prestored in the server, calculating the driving mileage based on the target historical state data in each cluster class to obtain difference mileage, and determining the size relation between the difference mileage and the preset mileage;
and the data sending unit is used for determining an issuing mode of the air conditioning adjusting data based on the size relation between the difference mileage and the preset mileage and the air conditioning adjusting data, and sending the air conditioning adjusting data to the vehicle-mounted terminal based on the issuing mode so that the vehicle-mounted terminal can perform air conditioning adjustment based on the air conditioning adjusting data.
8. A vehicle-mounted terminal, characterized in that the vehicle-mounted terminal comprises:
the request sending unit is used for obtaining current running data of a vehicle and sending an adjusting data obtaining request carrying the current running data to a server, so that after the server receives the adjusting data obtaining request, target historical running data related to the current running data is obtained based on the current running data in the adjusting data obtaining request, air conditioning adjusting data corresponding to the target historical running data are obtained, and the air conditioning adjusting data are sent to the vehicle-mounted terminal;
the air conditioning adjusting unit is used for receiving the air conditioning adjusting data and carrying out air conditioning adjustment based on the air conditioning adjusting data;
the method for acquiring the air conditioner adjusting data comprises the following steps:
when the current trip type is probability trip, acquiring air conditioner adjustment data and trip mileage corresponding to the target historical trip data from historical state data corresponding to each cluster in at least one cluster, wherein the at least one cluster is obtained by clustering based on the historical trip mileage in the historical trip data and the set temperature of an air conditioner, and the current trip type is determined based on the current trip data;
acquiring preset mileage prestored in the server, calculating the driving mileage based on target historical state data in each cluster class to obtain difference mileage, and determining the size relationship between the difference mileage and the preset mileage;
and determining an issuing mode of the air conditioning adjusting data based on the size relation between the difference mileage and the preset mileage and the air conditioning adjusting data, and sending the air conditioning adjusting data to the vehicle-mounted terminal based on the issuing mode so that the vehicle-mounted terminal performs air conditioning adjustment based on the air conditioning adjusting data.
9. An air conditioning system, characterized in that it comprises a server and a vehicle terminal, the server performing the steps of the method according to any one of claims 1 to 3, and the vehicle terminal performing the steps of the method according to any one of claims 4 to 6.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211344251.2A CN115402057B (en) | 2022-10-31 | 2022-10-31 | Air conditioner adjusting method, server, terminal and system |
PCT/CN2023/126254 WO2024093736A1 (en) | 2022-10-31 | 2023-10-24 | Air-conditioner adjustment method and system, and server and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211344251.2A CN115402057B (en) | 2022-10-31 | 2022-10-31 | Air conditioner adjusting method, server, terminal and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115402057A CN115402057A (en) | 2022-11-29 |
CN115402057B true CN115402057B (en) | 2023-03-24 |
Family
ID=84168433
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211344251.2A Active CN115402057B (en) | 2022-10-31 | 2022-10-31 | Air conditioner adjusting method, server, terminal and system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN115402057B (en) |
WO (1) | WO2024093736A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115402057B (en) * | 2022-10-31 | 2023-03-24 | 长城汽车股份有限公司 | Air conditioner adjusting method, server, terminal and system |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5098490B2 (en) * | 2007-07-30 | 2012-12-12 | 日産自動車株式会社 | Vehicle control system |
JP7067884B2 (en) * | 2017-09-15 | 2022-05-16 | ヤフー株式会社 | Classification device, classification method and classification program |
CN110271380A (en) * | 2018-03-16 | 2019-09-24 | 上海博泰悦臻电子设备制造有限公司 | Air conditioning control method, system, storage medium and car-mounted terminal |
KR102536310B1 (en) * | 2018-05-11 | 2023-05-25 | 한온시스템 주식회사 | Air conditioning apparatus for automotive vehicle |
CN111306720B (en) * | 2018-12-12 | 2021-05-18 | 上海汽车集团股份有限公司 | Method and device for setting air conditioner parameters |
JP7251216B2 (en) * | 2019-03-01 | 2023-04-04 | トヨタ自動車株式会社 | Air-conditioning control system, air-conditioning management system, and in-vehicle air-conditioning system |
CN113119683B (en) * | 2019-12-31 | 2023-06-20 | 长城汽车股份有限公司 | Control method of vehicle air conditioner, vehicle terminal and server |
CN111442489B (en) * | 2020-03-27 | 2021-12-14 | 上海美控智慧建筑有限公司 | Control method and system of air conditioner, air conditioner and readable storage medium |
CN112639764A (en) * | 2020-03-31 | 2021-04-09 | 华为技术有限公司 | Automobile travel rule analysis method, server and system |
CN113733854A (en) * | 2021-10-08 | 2021-12-03 | 安徽江淮汽车集团股份有限公司 | Self-adaptive control method for vehicle-mounted air conditioner |
CN114091336A (en) * | 2021-11-22 | 2022-02-25 | 中国第一汽车股份有限公司 | Air conditioner adjusting method and device, vehicle and storage medium |
CN115402057B (en) * | 2022-10-31 | 2023-03-24 | 长城汽车股份有限公司 | Air conditioner adjusting method, server, terminal and system |
-
2022
- 2022-10-31 CN CN202211344251.2A patent/CN115402057B/en active Active
-
2023
- 2023-10-24 WO PCT/CN2023/126254 patent/WO2024093736A1/en unknown
Also Published As
Publication number | Publication date |
---|---|
WO2024093736A1 (en) | 2024-05-10 |
CN115402057A (en) | 2022-11-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107791854B (en) | System and method for estimating available travel distance of electric vehicle | |
CN110036424B (en) | Storage of speed information for predicting future speed trajectory | |
US8428868B2 (en) | Method and system for updating card data of a navigation system | |
US11584396B2 (en) | Method, system, and vehicle for preparing an energy forecast and determining an optimized driving behavior with respect to the energy forecast | |
JP5943792B2 (en) | Driving support system, driving support device, driving support method, and program | |
CN111220168A (en) | Method and device for planning charging path of electric vehicle and storage medium | |
EP3009797B1 (en) | Travel information recording system, method, and program | |
CN110874929A (en) | Data collection device, data collection system, data collection method, and vehicle-mounted device | |
CN107085748B (en) | Predictive vehicle mission scheduling | |
CN115402057B (en) | Air conditioner adjusting method, server, terminal and system | |
CN109606286A (en) | Vehicle oil consumption prediction technique, automobile navigation method and electronic equipment | |
CN111815096B (en) | Shared automobile throwing method, electronic equipment and storage medium | |
EP3618406B1 (en) | Method and apparatus for controlling vehicle operations and computer device | |
CN111546941B (en) | Method and device for determining remaining mileage of vehicle, vehicle and storage medium | |
EP3836067A1 (en) | Data structure, storage medium, storage device, and receiver | |
KR20210133587A (en) | Apparatus and method for updating software of electronic control unit of vehicle | |
CN113011852A (en) | Vehicle maintenance reminding method and device, vehicle-mounted equipment and storage medium | |
CN113665576B (en) | Method, device, equipment and medium for predicting running condition of vehicle | |
CN111301314A (en) | Active vehicle control notification method and system | |
WO2023241388A1 (en) | Model training method and apparatus, energy replenishment intention recognition method and apparatus, device, and medium | |
JP5123814B2 (en) | MAP INFORMATION UPDATE SYSTEM, MAP INFORMATION UPDATE METHOD, NAVIGATION DEVICE, AND MAP INFORMATION DISTRIBUTION CENTER | |
CN112050823A (en) | Navigation destination correction method and device and computer storage medium | |
US11561555B2 (en) | Control apparatus, system, computer readable storage medium and control method | |
CN113497824B (en) | Server and method for providing vehicle information | |
CN114677778A (en) | Method and device for estimating remaining mileage of vehicle, electronic device and storage 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |