Service operation control method and device, equipment, medium and vehicle

Through the load balancing service, the load values ​​of each device of the smart vehicle are obtained and compared, and the device with a larger load can convert and send the service data to the device with a smaller load, which solves the problem of load imbalance in the smart vehicle and improves the hardware computing power. utilization efficiency.

CN118733237APending Publication Date: 2024-10-01BEIJING CO WHEELS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310332471.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-30
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

In smart vehicles, because some applications and services are not pre-configured in multiple systems, the system load is unbalanced, resulting in low utilization efficiency of hardware computing power.

Method used

Obtain the load value of each device through the load balancing service, and calculate the average load value difference. If it is greater than the threshold, control the device with a larger load to convert the service data and send it to the device with a smaller load, realizing data transfer to achieve load balancing.

Benefits of technology

Load balancing can be achieved without preconfiguring target services, avoiding high system load or idle conditions and improving the utilization efficiency of hardware computing power.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118733237A_ABST
    Figure CN118733237A_ABST
Patent Text Reader

Abstract

The invention relates to a service operation control method, device and equipment, a medium and a vehicle. The service operation control method comprises the following steps: acquiring a first load value of first equipment through a load balancing service, and acquiring a second load value of second equipment; calculating a difference mean value of the first load value and the second load value in a preset time; under the condition that the difference mean value is larger than a preset threshold value, the first target device is controlled to conduct data conversion on the target service, service data are obtained, and the first target device is the device with the large load value in the first device and the second device; and controlling a second target device to receive the service data sent by the first target device, so that the second target device operates the service data, and the second target device is a device with a smaller load value in the first device and the second device. According to the embodiment of the invention, the utilization efficiency of hardware computing power can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of vehicle control technology, and in particular to a service operation control method, device, equipment, medium and vehicle. Background Art

[0002] With the development of technology, the performance and computing power required of smart vehicle software are getting higher and higher. Usually, multiple Android Automotive OS systems are run on multiple system-on-chips (SOCs) to meet the needs of the vehicle.

[0003] In the related technology, applications and services are pre-installed in multiple systems. Vehicles can load balance multiple systems through the pre-installed applications and services, that is, adjust the applications and services in high-load systems to run on idle systems. However, when an application and service is not pre-installed in multiple systems, the vehicle cannot perform load balancing, resulting in some systems being highly loaded and some systems being idle, and the utilization efficiency of hardware computing power is low. Summary of the invention

[0004] In order to solve the above technical problems, the present disclosure provides a service operation control method, device, equipment, medium and vehicle.

[0005] In a first aspect, the present disclosure provides a service operation control method, comprising:

[0006] Obtaining a first load value of the first device through a load balancing service, and obtaining a second load value of the second device;

[0007] Calculating an average of the difference between the first load value and the second load value within a preset time;

[0008] When the difference mean is greater than a preset threshold, controlling the first target device to perform data conversion on the target service to obtain service data, the first target device being a device with a larger load value between the first device and the second device;

[0009] The second target device is controlled to receive the service data sent by the first target device, so that the second target device runs the service data. The second target device is a device with a smaller load value between the first device and the second device.

[0010] In a second aspect, the present disclosure provides a service operation control device, including:

[0011] A data acquisition module, used to acquire a first load value of a first device and a second load value of a second device through a load balancing service;

[0012] A data calculation module, used to calculate the average of the difference between the first load value and the second load value within a preset time;

[0013] A first control module is used to control the first target device to perform data conversion on the target service to obtain service data when the difference mean is greater than a preset threshold, wherein the first target device is a device with a larger load value between the first device and the second device;

[0014] The second control module is used to control the second target device to receive the service data sent by the first target device so that the second target runs the service data. The second target device is the device with a smaller load value between the first device and the second device.

[0015] In a third aspect, the present disclosure provides a service operation control device, including:

[0016] processor;

[0017] A memory for storing executable instructions;

[0018] The processor is used to read executable instructions from the memory and execute the executable instructions to implement the service operation control method of the first aspect.

[0019] In a fourth aspect, the present disclosure provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the processor implements the service operation control method of the first aspect.

[0020] In a fifth aspect, the present disclosure provides a vehicle, comprising the service operation control device as above.

[0021] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has the following advantages:

[0022] The service operation control method, apparatus, device, medium and vehicle of the disclosed embodiments can obtain the first load value of the first device and the second load value of the second device through the load balancing service, and calculate the average difference between the first load value and the second load value within a preset time, and then control the first target device to perform data conversion on the target service to obtain service data when the average difference is greater than a preset threshold, wherein the first target device is the device with a larger load value among the first device and the second device, and finally control the second target device to receive the service data sent by the first target device so that the second target runs the service data, wherein the second target device is the device with a smaller load value among the first device and the second device, thereby obtaining the first load value and the second load value corresponding to the first device and the second device through the load balancing service, and sending the service data obtained by performing data conversion on the target service in the first target device with a larger load value to the second target device with a smaller load value for operation through the average difference between the first load value and the second load value within a preset time, so that load balancing can be performed without presetting the target service, avoiding the situation where some systems are highly loaded and some systems are idle, and improving the utilization efficiency of hardware computing power. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0024] Figure 1 A flow chart of a service operation control method provided by an embodiment of the present disclosure;

[0025] Figure 2 A schematic diagram of a scenario of a service operation control method provided by an embodiment of the present disclosure;

[0026] Figure 3 A schematic diagram of another scenario of a service operation control method provided by an embodiment of the present disclosure;

[0027] Figure 4 A schematic diagram of a scenario of another service operation control method provided by an embodiment of the present disclosure;

[0028] Figure 5 A schematic diagram of the structure of a service operation control device provided by an embodiment of the present disclosure;

[0029] Figure 6 A schematic diagram of the structure of a service operation control device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0030] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0031] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0032] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0033] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0034] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0035] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0036] Smart vehicles usually run multiple Android Automotive OS systems through multiple SOCs to meet the performance and computing power requirements of the vehicle's own software.

[0037] In the related technology, applications and services are pre-installed in multiple systems, and the vehicle can load balance multiple systems through the pre-installed applications and services. That is, the vehicle can adjust the applications and services in the high-loaded system to the idle system for operation according to the load conditions of each system. However, when an application and service is not pre-installed in multiple systems, the vehicle cannot perform load balancing, resulting in some systems being highly loaded and some systems being idle, and the utilization efficiency of hardware computing power is low.

[0038] In order to solve the above problems, the embodiments of the present disclosure provide a service operation control method, device, equipment, medium and vehicle. Figures 1 to 4 The service operation control method provided by the embodiment of the present disclosure is described in detail.

[0039] Figure 1 A flow chart of a service operation control method provided by an embodiment of the present disclosure is shown.

[0040] In the disclosed embodiment, the service operation control method may be executed by an electronic device having a service operation control function. Specifically, the electronic device may include but is not limited to mobile terminals such as mobile phones, vehicle-mounted devices, vehicle controllers, tablet computers, wearable devices, etc.

[0041] like Figure 1 As shown, the service operation control method may include the following steps.

[0042] S110. Obtain a first load value of a first device through a load balancing service, and obtain a second load value of a second device.

[0043] In an embodiment of the present disclosure, the electronic device may obtain a first load value of a first device and obtain a second load value of a second device through a load balancing service.

[0044] Optionally, the load balancing service (Dex Load Balancing Service, DLBS) may be based on dynamic bytecode technology and used to control the load balancing between various devices. The load balancing service may include a service container (Dex Services Container, DSC).

[0045] Optionally, the electronic device may be a main control device including a load balancing service. For example, the electronic device may be a vehicle controller. The first device and the second device may be respective vehicle-mounted devices. The electronic device may be configured to adjust the load balancing between the first device and the second device through the load balancing service.

[0046] Optionally, the first device may be a device running an Android Automotive OS system through a soc.

[0047] Optionally, the first load value may be used to characterize a load condition of the first device.

[0048] Optionally, the second device may be a device running an Android Automotive OS system through a soc.

[0049] Optionally, the second load value may be used to characterize a load condition of the second device.

[0050] Specifically, the electronic device can obtain the first load value and the second load value corresponding to the first device and the second device respectively through the load balancing service. For example, the first load value of the first device can be 70%, and the second load value of the second device can be 30%.

[0051] Optionally, before S110, the service operation control method may further include: deploying a load balancing service in the first device and the second device, where the load balancing service is used to obtain a load value corresponding to each device.

[0052] In an embodiment of the present disclosure, the electronic device may deploy a load balancing service in the first device and the second device, so as to obtain the load value corresponding to the device through the load balancing service.

[0053] Among them, the load balancing service can be used to obtain the load value corresponding to each device.

[0054] Figure 2 A scenario diagram of a service operation control method provided by an embodiment of the present disclosure is shown.

[0055] like Figure 2 As shown, an Ethernet connection can be established between the electronic device 200, the first device 210, and the second device 220 through a static Internet Protocol (IP), and the first device 210 and the second device 220 may include a load balancing service and a service container.

[0056] For example, the electronic device 200 can obtain the first load value of the first device 201 through the load balancing service in the first device 201, and can also obtain the second load value of the second device 221 through the load balancing service in the second device 220.

[0057] S120, calculating an average of the differences between the first load value and the second load value within a preset time.

[0058] In the embodiment of the present disclosure, after obtaining the first load value and the second load value, the electronic device may calculate an average of the difference between the first load value and the second load value within a preset time.

[0059] Optionally, the preset time may be a pre-set time, for example, 5 seconds, 10 seconds, etc., which is not limited here.

[0060] Optionally, the difference mean may be a mean of a plurality of difference values ​​between the first load value and the second load value.

[0061] Specifically, after obtaining the first load value and the second load value, the electronic device may calculate an average of the differences between the first load value and the second load value within a preset time.

[0062] Optionally, S120 may specifically include: calculating the difference between the first load value and the second load value per second within a preset time to obtain a plurality of load differences; and averaging the plurality of load differences to obtain a mean value of the differences.

[0063] In the embodiment of the present disclosure, after obtaining the first load value and the second load value, the electronic device may calculate the difference between the first load value and the second load value every second within a preset time to obtain a plurality of load difference values.

[0064] Optionally, the load difference may be a difference between the first load value and the second load value.

[0065] Specifically, after obtaining the first load value and the second load value, the electronic device may calculate the difference between the first load value and the second load value per second within a preset time, thereby obtaining a plurality of load difference values.

[0066] For example, taking the preset time of 5s as an example, the electronic device can obtain the first load value and the second load value at the first second. If the first load value can be 70% and the second load value can be 20%, then the electronic device can calculate the difference between the first load value and the second load value as 50% at the first second, that is, the load difference can be 50%. Then the electronic device can continue to calculate the difference between the first load value and the second load value in the remaining 4s to obtain the corresponding 4 load differences, such as 40%, 50%, 60%, and 30%.

[0067] Furthermore, after obtaining a plurality of load differences, the electronic device may average the plurality of load differences to obtain a difference mean.

[0068] Optionally, the averaging calculation may be a calculation of an average value of the data.

[0069] Specifically, after obtaining multiple load differences, the electronic device can average the multiple load differences, that is, calculate the average value of the multiple load differences, so as to obtain the difference mean. For example, the multiple load differences can be 50%, 40%, 50%, 60%, and 30%, and the electronic device can perform an average calculation to obtain a corresponding difference mean of 46%.

[0070] Therefore, in the embodiment of the present disclosure, the electronic device can calculate the average of the difference between the first load value and the second load value within a preset time, that is, obtain the averaged difference, which can make the obtained difference more accurate, thereby improving the accuracy of subsequent judgments and further improving the utilization efficiency of hardware computing power.

[0071] S130. When the difference mean is greater than a preset threshold, control the first target device to perform data conversion on the target service to obtain service data, wherein the first target device is a device with a larger load value between the first device and the second device.

[0072] In the embodiment of the present disclosure, after obtaining the difference mean, the electronic device may control the first target device to perform data conversion on the target service to obtain service data when the difference mean is greater than a preset threshold.

[0073] Optionally, the preset threshold may be a predefined threshold, for example, the preset threshold may be 40%, 50%, etc., which is not limited here.

[0074] Optionally, the target service may be a service in the first target device. The target service may be a service that needs to be processed.

[0075] Optionally, the data conversion may be conversion of operating data corresponding to the target service.

[0076] Optionally, the service data may be data obtained by performing data conversion on the operation data.

[0077] Optionally, the first target device may be a device with a larger load value between the first device and the second device. For example, the first load value of the first device may be 70%, and the second load value of the second device may be 40%, in which case the first target device may be the first device; the first load value of the first device may be 30%, and the second load value of the second device may be 60%, in which case the first target device may be the second device.

[0078] Specifically, after obtaining the mean value of the differences, the electronic device can compare the mean value of the differences with a preset threshold value, for example, to determine whether the mean value of the differences is greater than a preset threshold value of 40%. When the mean value of the differences is greater than the preset threshold value, it means that the load value difference between the first device and the second device is large and load balancing is required. The electronic device can control the device with the larger load value between the first device and the second device, that is, the first target device controls the data conversion of the target service to obtain service data.

[0079] S140: Control the second target device to receive the service data sent by the first target device, so that the second target device runs the service data. The second target device is a device with a smaller load value between the first device and the second device.

[0080] In the embodiment of the present disclosure, after obtaining the service data, the electronic device may control the second target device to receive the service data sent by the first target device, so that the second target device runs the service data.

[0081] Optionally, the second target device may be a device with a smaller load value between the first device and the second device. For example, the first load value of the first device may be 70%, and the second load value of the second device may be 40%, in which case the second target device may be the second device; the first load value of the first device may be 30%, and the second load value of the second device may be 60%, in which case the second target device may be the first device.

[0082] Specifically, the electronic device may control the second target device to receive the service data sent by the first target device. After receiving the service data, the second target device may run the service data, thereby running the corresponding target service.

[0083] Therefore, in the embodiment of the present disclosure, the first load value of the first device and the second load value of the second device can be obtained through the load balancing service, and the difference average of the first load value and the second load value within a preset time can be calculated. Then, when the difference average is greater than the preset threshold, the first target device is controlled to perform data conversion on the target service to obtain service data, wherein the first target device is the device with a larger load value among the first device and the second device. Finally, the second target device is controlled to receive the service data sent by the first target device so that the second target runs the service data, wherein the second target device is the device with a smaller load value among the first device and the second device. Therefore, the first load value and the second load value corresponding to the first device and the second device can be obtained through the load balancing service, and the service data obtained by performing data conversion on the target service in the first target device with a larger load value can be sent to the second target device with a smaller load value for operation through the difference average of the first load value and the second load value within a preset time, so that load balancing can be performed without presetting the target service, thereby avoiding the situation where some systems are highly loaded and some systems are idle, and improving the utilization efficiency of hardware computing power.

[0084] Optionally, S130 may specifically include: determining a target service from multiple services of the first target device; controlling the first target device to convert a first data format of the target service into a second data format to obtain service data, wherein the second data format is obtained by removing redundancy from the first data format.

[0085] In the embodiment of the present disclosure, the electronic device may determine the target service from a plurality of services of the first target device.

[0086] Optionally, the first target device may include multiple services.

[0087] Specifically, the electronic device may determine a service that needs to perform data conversion among multiple services of the first target device, that is, determine a target service.

[0088] Furthermore, after determining the target service, the electronic device may control the first target device to convert the first data format of the target service into the second data format to obtain service data.

[0089] Optionally, the first data format may be a format of the running data of the target service. For example, the first data format may be a class format.

[0090] Optionally, the second data format may be a data format after data conversion is performed on the running data of the target service. For example, the second data format may be a dex format.

[0091] The electronic device may perform redundancy removal processing on the first data format, such as the class format, so as to obtain the second data format, such as the dex format.

[0092] Specifically, after determining the target service, the electronic device may control the first target device to convert the first data format of the operation data of the target service into the second data format, thereby obtaining corresponding service data.

[0093] Figure 3 A scenario diagram of another service operation control method provided by an embodiment of the present disclosure is shown.

[0094] like Figure 3 As shown, taking the first target device as the first device as an example, the electronic device 300 can determine the target service that needs to perform data conversion in the first device 310, such as service A, and the electronic device 300 can control the first device 310 to perform data conversion on service A, that is, the first device 310 can perform data conversion on service A through the load balancing service, and convert the first data format of service A into the second data format, such as converting the class format into the dex format, thereby obtaining the corresponding service data.

[0095] Optionally, after S130, the service operation control method may further include: controlling the first target device to send notification information and service data to the second target device, where the notification information is used to notify the second target device to receive the service data.

[0096] In the embodiment of the present disclosure, after obtaining the service data, the electronic device may control the first target device to send notification information and the service data to the second target device.

[0097] Optionally, the notification information may be information used to notify the second target device to receive service data.

[0098] Specifically, after obtaining the service data, the electronic device may control the first target device to send notification information and the service data to the second target device, so that the second target device may receive the service data in a timely manner after receiving the notification information.

[0099] Figure 4 A scenario diagram of another service operation control method provided by an embodiment of the present disclosure is shown.

[0100] like Figure 4 As shown, taking the first target device as the first device as an example, the electronic device 400 can control the first device 410 to send notification information and service data to the second device 420, and the second device 420 can receive the notification information and service data sent by the first device 410, and run the service data through the load balancing service, that is, run service A.

[0101] Optionally, after S140, the service operation control method may further include: controlling the second target device to load and run the service data through the load balancing service; and controlling the second target device to send confirmation information to the first target device, wherein the confirmation information is used to indicate that the service data has been run.

[0102] In the embodiment of the present disclosure, the electronic device may control the second target device to load and run the service data through the load balancing service.

[0103] Specifically, after controlling the second target device to receive the service data, the electronic device continues to control the second target device to load and run the service data through the load balancing service.

[0104] Further, after controlling the second target device to load and run the service data, the electronic device may control the second target device to send confirmation information to the first target device.

[0105] Optionally, the confirmation information may be information used to indicate confirmation that the service data has been received and is running.

[0106] Specifically, the electronic device may control the second target device to send confirmation information to the first target device, that is, control the second target device to send information indicating that the service data has been received and is running to the first target device.

[0107] Optionally, the service operation control method may also include: controlling the first target device to stop running the target service and receive a service request corresponding to the service data; controlling the first target device to send the service request to the second device, so that the second device runs the service data according to the service request; continuously monitoring the first device and the second device through the load balancing service to determine the load status of the first device and the second device

[0108] In an embodiment of the present disclosure, the electronic device may control the first target device to stop running the target service and receive a service request corresponding to the service data.

[0109] Optionally, the service request may be a request for a target service.

[0110] Specifically, after controlling the second target device to send confirmation information to the first target device, the electronic device may also control the first target device to stop running the target service according to the confirmation information and receive a service request corresponding to the service data.

[0111] Furthermore, the electronic device may control the first target device to send the received service request to the second device, so that the second device may run the service data according to the service request.

[0112] Specifically, the electronic device controls the first target device to send a service request to the second device, and then controls the second device to execute the service data according to the service request.

[0113] Furthermore, the electronic device may continuously monitor the first device and the second device through the load balancing service to determine the load status of the first device and the second device.

[0114] Specifically, the electronic device can monitor the first device and the second device in real time through the load balancing service, that is, obtain the first load value of the first device and the second load value of the second device in real time, and determine whether the average difference between the first load value and the second load value within a preset time is greater than a preset threshold, that is, determine the load status of the first device and the second device.

[0115] Furthermore, after determining whether the mean difference is greater than a preset threshold, the electronic device repeatedly executes the operation control method for the target service if the mean difference is greater than the preset threshold.

[0116] Specifically, if the electronic device determines through the load balancing service that the difference mean is greater than the preset threshold, the target service is repeatedly executed as follows: Figure 1 The service operation control method is not described here.

[0117] Furthermore, after the electronic device determines whether the mean difference is greater than the preset threshold, if the mean difference is not greater than the preset threshold, the electronic device continues to monitor.

[0118] Figure 5 A schematic diagram of the structure of a service operation control device provided by an embodiment of the present disclosure is shown.

[0119] In some embodiments of the present disclosure, Figure 5 The service operation control device shown can be arranged in an electronic device. Specifically, the electronic device can include but is not limited to mobile terminals such as mobile phones, vehicle-mounted devices, vehicle controllers, tablet computers, wearable devices, etc.

[0120] like Figure 5As shown, the service operation control device 500 may include a data acquisition module 510 , a data calculation module 520 , a first control module 530 and a second control module 540 .

[0121] The data acquisition module 510 may be used to acquire a first load value of a first device and a second load value of a second device through a load balancing service.

[0122] The data calculation module 520 can be used to calculate the average of the difference between the first load value and the second load value within a preset time.

[0123] The first control module 530 can be used to control the first target device to perform data conversion on the target service to obtain service data when the difference mean is greater than a preset threshold. The first target device is the device with a larger load value between the first device and the second device.

[0124] The second control module 540 can be used to control the second target device to receive the service data sent by the first target device, so that the second target runs the service data. The second target device is the device with a smaller load value between the first device and the second device.

[0125] Therefore, in the embodiment of the present disclosure, the first load value of the first device and the second load value of the second device can be obtained through the load balancing service, and the difference average of the first load value and the second load value within a preset time can be calculated. Then, when the difference average is greater than the preset threshold, the first target device is controlled to perform data conversion on the target service to obtain service data, wherein the first target device is the device with a larger load value among the first device and the second device. Finally, the second target device is controlled to receive the service data sent by the first target device so that the second target runs the service data, wherein the second target device is the device with a smaller load value among the first device and the second device. Therefore, the first load value and the second load value corresponding to the first device and the second device can be obtained through the load balancing service, and the service data obtained by performing data conversion on the target service in the first target device with a larger load value can be sent to the second target device with a smaller load value for operation through the difference average of the first load value and the second load value within a preset time, so that load balancing can be performed without presetting the target service, thereby avoiding the situation where some systems are highly loaded and some systems are idle, and improving the utilization efficiency of hardware computing power.

[0126] In some embodiments of the present disclosure, the service operation control device 500 may further include a service deployment module.

[0127] The service deployment module can be used to deploy a load balancing service in the first device and the second device before obtaining a first load value of the first device through the load balancing service and obtaining a second load value of the second device. The load balancing service is used to obtain the load values ​​corresponding to each device.

[0128] In some embodiments of the present disclosure, the data calculation module 520 may include a first calculation unit and a second calculation unit.

[0129] The first calculation unit can be used to calculate the difference between the first load value and the second load value per second within a preset time to obtain multiple load difference values.

[0130] The second calculation unit may be used to perform an averaging calculation on a plurality of load differences to obtain a difference mean.

[0131] In some embodiments of the present disclosure, the first control module 530 may include a service determination unit and a device control unit.

[0132] The service determination unit may be configured to determine a target service from a plurality of services of a first target device.

[0133] The device control unit can be used to control the first target device to convert the first data format of the target service into the second data format to obtain service data, and the second data format is obtained by removing redundancy from the first data format.

[0134] In some embodiments of the present disclosure, the service operation control device 500 may further include a third control module.

[0135] The third control module can be used to control the first target device to convert data of the target service and obtain service data, and then control the first target device to send notification information and service data to the second target device, wherein the notification information is used to notify the second target device to receive the service data.

[0136] In some embodiments of the present disclosure, the service operation control device 500 may further include a fourth control module and a fifth control module.

[0137] The fourth control module can be used to control the second target device to load and run the service data through the load balancing service.

[0138] The fifth control module may be used to control the second target device to send confirmation information to the first target device, where the confirmation information is used to indicate that the service data has been executed.

[0139] In some embodiments of the present disclosure, the service operation control device 500 may further include a sixth control module, a seventh control module and a device monitoring module.

[0140] The sixth control module can be used to control the first target device to stop running the target service and receive a service request corresponding to the service data.

[0141] The seventh control module can be used to control the first target device to send a service request to the second device, so that the second device runs the service data according to the service request.

[0142] The device monitoring module can be used to continuously monitor the first device and the second device through the load balancing service to determine the load status of the first device and the second device.

[0143] It should be noted that Figure 5 The service operation control device 500 shown can execute Figures 1 to 4 The various steps in the method embodiment shown in the figure are implemented Figures 1 to 4 The various processes and effects in the method embodiment shown are not described in detail here.

[0144] Figure 6 A schematic diagram of the structure of a service operation control device provided by an embodiment of the present disclosure is shown.

[0145] In some embodiments of the present disclosure, Figure 6 The service operation control device shown may be an intelligent electronic device that a user wants to control the service operation. The intelligent electronic screen device may include a first device and a second device having a service operation control function. Specifically, the electronic device may include but is not limited to mobile terminals such as mobile phones, vehicle-mounted devices, vehicle controllers, tablet computers, wearable devices, smart home devices, etc.

[0146] like Figure 6 As shown, the service operation control device may include a processor 601 and a memory 602 storing computer program instructions.

[0147] Specifically, the processor 601 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0148] The memory 602 may include a large capacity memory for information or instructions. By way of example and not limitation, the memory 602 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a tape, or a universal serial bus (USB) drive or a combination of two or more of these. Where appropriate, the memory 602 may include a removable or non-removable (or fixed) medium. Where appropriate, the memory 602 may be inside or outside the integrated gateway device. In a particular embodiment, the memory 602 is a non-volatile solid-state memory. In a particular embodiment, the memory 602 includes a read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (Electrically Erasable Programmable ROM, EEPROM), an electrically rewritable ROM (EAROM) or a flash memory, or a combination of two or more of these.

[0149] The processor 601 reads and executes the computer program instructions stored in the memory 602 to perform the steps of the service operation control method provided in the embodiment of the present disclosure.

[0150] In one example, the service operation control device may further include a transceiver 603 and a bus 604. Figure 6 As shown, the processor 601, the memory 602 and the transceiver 603 are connected via a bus 604 and communicate with each other.

[0151] The bus 604 includes hardware, software, or both. For example, but not limitation, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industrial Standard Architecture (ISA) bus, an InfiniBand interconnect, a Low Pin Count (LPC) bus, a memory bus, a MicroChannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local Bus (VLB) bus, or other suitable buses or a combination of two or more of these. Where appropriate, the bus 604 may include one or more buses. Although embodiments of the present application describe and illustrate a particular bus, the present application contemplates any suitable bus or interconnect.

[0152] The embodiment of the present disclosure further provides a computer-readable storage medium, which can store a computer program. When the computer program is executed by a processor, the processor implements the service operation control method provided by the embodiment of the present disclosure.

[0153] The above-mentioned storage medium may, for example, include a memory 602 of computer program instructions, and the above-mentioned instructions may be executed by the processor 601 of the service operation control device to complete the service operation control method provided by the embodiment of the present disclosure. Optionally, the storage medium may be a non-temporary computer-readable storage medium, for example, the non-temporary computer-readable storage medium may be a ROM, a random access memory (Random Access Memory, RAM), a compact disc read-only memory (Compact Disc ROM, CD-ROM), a magnetic tape, a floppy disk, and an optical data storage device, etc.

[0154] The present disclosure also provides a vehicle, which includes the service operation control device as described above. It is understood that the vehicle may also include: a processor, a memory, and a computer program. The computer program is stored in the memory and is configured to be executed by the processor to implement the service operation control method provided by the present disclosure. The processor and the memory are already in the Figure 6 The parts described in the illustrated embodiment are not repeated here.

[0155] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the term "comprising" is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0156] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A service operation control method, characterized in that: include: Obtaining a first load value of the first device through a load balancing service, and obtaining a second load value of the second device; Calculating an average of differences between the first load value and the second load value within a preset time; When the mean of the difference is greater than a preset threshold, controlling the first target device to perform data conversion on the target service to obtain service data, wherein the first target device is a device with a larger load value between the first device and the second device; The second target device is controlled to receive the service data sent by the first target device, so that the second target device runs the service data, and the second target device is a device with a smaller load value between the first device and the second device.

2. The method according to claim 1, characterized in that: Before obtaining the first load value of the first device through the load balancing service and obtaining the second load value of the second device, the method further includes: The load balancing service is deployed in the first device and the second device, and the load balancing service is used to obtain the load value corresponding to each device.

3. The method according to claim 1, characterized in that The calculating the average of the differences between the first load value and the second load value within a preset time includes: Within the preset time, calculating the difference between the first load value and the second load value per second to obtain a plurality of load difference values; An average calculation is performed on the multiple load differences to obtain the difference mean.

4. The method according to any one of claims 1 to 3, characterized in that The controlling the first target device to perform data conversion on the target service to obtain service data includes: determining the target service among a plurality of services of the first target device; The first target device is controlled to convert a first data format of the target service into a second data format to obtain the service data, wherein the second data format is obtained by removing redundancy from the first data format.

5. The method according to claim 4, characterized in that After controlling the first target device to perform data conversion on the target service to obtain service data, the method further includes: The first target device is controlled to send notification information and the service data to the second target device, where the notification information is used to notify the second target device to receive the service data.

6. The method according to claim 1, characterized in that After controlling the second target device to receive the service data sent by the first target device, the method further includes: Controlling the second target device to load and run the service data through the load balancing service; The second target device is controlled to send confirmation information to the first target device, where the confirmation information is used to indicate that the service data has been run.

7. The method according to claim 1, characterized in that The method further comprises: Controlling the first target device to stop running the target service and receive a service request corresponding to the service data; Controlling the first target device to send the service request to the second device, so that the second device runs the service data according to the service request; The first device and the second device are continuously monitored by a load balancing service to determine load states of the first device and the second device.

8. A service operation control device, characterized in that: include: A data acquisition module, used to acquire a first load value of a first device and a second load value of a second device through a load balancing service; A data calculation module, used for calculating the average of the difference between the first load value and the second load value within a preset time; A first control module, configured to control a first target device to perform data conversion on a target service to obtain service data when the mean of the difference is greater than a preset threshold, wherein the first target device is a device with a larger load value between the first device and the second device; The second control module is used to control the second target device to receive the service data sent by the first target device so that the second target device runs the service data. The second target device is the device with a smaller load value between the first device and the second device.

9. A service operation control device, characterized in that: include: processor; A memory for storing executable instructions; The processor is used to read the executable instructions from the memory and execute the executable instructions to implement the service operation control method described in any one of claims 1 to 6.

10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements the service operation control method described in any one of claims 1 to 7.

11. A vehicle, characterized in that: It comprises the detection frame filtering device as claimed in claim 8.