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

By calculating the average load difference in smart vehicles and performing data conversion, the problem of load imbalance in smart vehicles is solved and the utilization efficiency of hardware computing power is improved.

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

Patent Information

Application Number
CN202310334192.9
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 preset 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 main service, calculate the average load difference, if it is greater than the threshold, determine the target service and perform data conversion, send data to the device with a lower load, so that it can run the service, thereby achieving 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 CN118733238A_ABST
    Figure CN118733238A_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 through a first load balancing main service, and receiving 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 greater than a preset threshold value, determining a target service, and performing data conversion on the target service to obtain service data; and sending the service data to the second equipment, so that the second equipment operates the service data. 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, applied to a first device, comprising:

[0006] Obtaining a first load value through a first load balancing primary service, and receiving a second load value of a 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 mean of the difference is greater than a preset threshold, a target service is determined, and data conversion is performed on the target service to obtain service data;

[0009] The service data is sent to the second device so that the second device runs the service data.

[0010] In a second aspect, the present disclosure provides a service operation control method, which is applied to a second device, including:

[0011] Obtaining a second load value from the service through a second load balancing;

[0012] sending the second load value to the first device;

[0013] The service data sent by the first device is received, and the service data is executed.

[0014] In a third aspect, the present disclosure provides a service operation control device, applied to a first device, including:

[0015] A first acquisition module, configured to acquire a first load value through a first load balancing main service, and receive a second load value of a second device;

[0016] 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;

[0017] A data conversion module is used to determine the target service when the difference mean is greater than a preset threshold, and perform data conversion on the target service to obtain service data;

[0018] The first sending module is used to send service data to the second device so that the second device runs the service data.

[0019] In a fourth aspect, the present disclosure provides a service operation control device, applied to a second device, including:

[0020] A second acquisition module, configured to acquire a second load value from the service through a second load balancing;

[0021] A second sending module, used to send the second load value to the first device;

[0022] The first receiving module is used to receive service data sent by the first device and execute the service data.

[0023] In a fifth aspect, the present disclosure provides a service operation control system, including:

[0024] The first device is used to obtain a first load value through a first load balancing service, receive a second load value of a second device, calculate an average of differences between the first load value and the second load value within a preset time, determine a target service when the average of the differences is greater than a preset threshold, perform data conversion on the target service, obtain service data, and send the service data to the second device so that the second device runs the service data;

[0025] The second device is used to obtain a second load value through a second load balancing service, send the second load value to the first device, receive service data sent by the first device, and run the service data.

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

[0027] processor;

[0028] A memory for storing executable instructions;

[0029] 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 and the second aspect.

[0030] In a seventh 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 and the second aspect.

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

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

[0033] The service operation control method, device, equipment, medium and vehicle of the disclosed embodiment can obtain the first load value through the first load balancing main service, and receive the second load value of the second device, then calculate the average of the difference between the first load value and the second load value within a preset time, and then determine the target service when the average of the difference is greater than the preset threshold, and perform data conversion on the target service to obtain service data, and finally send the service data to the second device so that the second device runs the service data. In this way, the first load value and the second load value can be obtained, and when the average of the difference between the first load value and the second load value within the preset time is greater than the preset threshold, the service data obtained by performing data conversion on the target service is sent to the second device for operation, 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

[0034] 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.

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

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

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

[0038] Figure 4A flowchart of another service operation control method provided by an embodiment of the present disclosure;

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

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

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

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

[0043] 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.

[0044] 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.

[0045] 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.

[0046] 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.

[0047] 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".

[0048] 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.

[0049] 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.

[0050] 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.

[0051] 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 5 The service operation control method provided by the embodiment of the present disclosure is described in detail.

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

[0053] In the disclosed embodiment, the service operation control method may be executed by a first device having a service operation control function. The first device may be an electronic device. 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.

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

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

[0056] In the embodiment of the present disclosure, the first device can obtain its own first load value through the first load balancing service, and receive the second load value sent by the second device.

[0057] Optionally, the load balancing service (Dex Load Banlance Service, DLBS) may be a service for load balancing based on dynamic bytecode technology. The load balancing service may include a service container (Dex Services Container, DSC).

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

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

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

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

[0062] Specifically, the first device may obtain a first load value corresponding to the first device through the first load balancing service, and receive a second load value sent by 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 30%.

[0063] 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.

[0064] In the embodiment of the present disclosure, a load balancing service may be deployed in the first device and the second device, so as to obtain the load values ​​corresponding to the devices through the load balancing service.

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

[0066] Optionally, the service operation control method may further include: performing master-slave election on the first load balancing service and the second load balancing service of the second device, determining the first load balancing service as the master service and the second load balancing service as the slave service.

[0067] In an embodiment of the present disclosure, after deploying the first load balancing service in the first device and deploying the second load balancing service in the second device, a master-slave election can be performed on the first load balancing service and the second load balancing service to determine that the first load balancing service is the master service and the second load balancing service is the slave service.

[0068] Specifically, after the load balancing service is deployed in the first device and the second device, the master-slave relationship of the load balancing service can be confirmed by the master-slave election method. For example, the first load balancing service of the first device can be determined as the master service, and the second load balancing service of the second device can be determined as the slave service. The master-slave election method can be any known method and is not limited here.

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

[0070] like Figure 2 As shown, an Ethernet connection may be established between the first device 210 and the second device 220 via 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.

[0071] For example, a first load balancing service in the first device 210 may obtain a first load value of the first device 210 , and a second load balancing service in the second device 220 may obtain a second load value of the second device 220 and send the second load value to the first device 210 .

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

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

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

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

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

[0077] 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.

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

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

[0080] Specifically, after obtaining the first load value and the second load value, the first 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.

[0081] For example, taking the preset time of 5s as an example, the first 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 first 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 first 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%.

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

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

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

[0085] Therefore, in the embodiment of the present disclosure, the first 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.

[0086] S130. When the difference mean is greater than a preset threshold, determine a target service, perform data conversion on the target service, and obtain service data. The first device is a device having a larger load value between the first device and the second device.

[0087] In the embodiment of the present disclosure, after obtaining the mean value of the differences, the first device may determine the target service when the mean value of the differences is greater than a preset threshold value, and perform data conversion on the target service to obtain service data.

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

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

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

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

[0092] Specifically, after obtaining the mean difference, the first device can compare the mean difference with a preset threshold, for example, to determine whether the mean difference is greater than a preset threshold of 40%. When the mean difference is greater than the preset threshold, it means that the load value difference between the first device and the second device is large and load balancing is required. The first device can determine the target service from multiple services, and perform data conversion on the target service to obtain service data.

[0093] S140: Send service data to the second device, so that the second device runs the service data.

[0094] In the embodiment of the present disclosure, after obtaining the service data, the first device may send the obtained service data to the second device, so that the second device runs the service data.

[0095] Specifically, after obtaining the service data, the first device may send the obtained service data to the second device, the second device may receive the service data sent by the first device, and after receiving the service data, the second device may run the service data, thereby running the corresponding target service.

[0096] Therefore, in the embodiment of the present disclosure, the first load value can be obtained through the load balancing main service, and the second load value of the second device can be received, and then the average difference between the first load value and the second load value within the preset time can be calculated, and then when the average difference is greater than the preset threshold, the target service is determined, and the target service is converted to obtain service data, and finally the service data is sent to the second device so that the second device runs the service data. Thus, the first load value and the second load value can be obtained, and when the average difference between the first load value and the second load value within the preset time is greater than the preset threshold, the target service is converted to obtain service data and sent to the second device for operation, so that the target service does not need to be preset, and load balancing can be performed, avoiding the situation where some systems are highly loaded and some systems are idle, and improving the utilization efficiency of hardware computing power.

[0097] Optionally, S130 may specifically include: determining a target service among multiple services, and setting the target service to a pre-balanced state; converting 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.

[0098] In the embodiment of the present disclosure, the first device may determine a target service among multiple services, and set the target service to a pre-balancing state.

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

[0100] Optionally, the pre-balancing state may be a state of waiting for load balancing.

[0101] Specifically, the first device may determine a service that needs to perform data conversion among multiple services, that is, determine a target service, and set the target service to a pre-balancing state.

[0102] Furthermore, after determining the target service, the first device may control the first device to convert the first data format of the target service into a second data format to obtain service data, where the second data format is obtained by removing redundancy from the first data format.

[0103] 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.

[0104] 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.

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

[0106] Specifically, after determining the target service, the first device may control the first 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.

[0107] Optionally, after obtaining the service data, the service operation control method may further include: sending prompt reception information to the second device, where the data reception information is used to prompt the second device to receive the service data.

[0108] In the embodiment of the present disclosure, after obtaining the service data, the first device may send a prompt reception message to the second device.

[0109] Optionally, the data reception information may be used to prompt the second device to receive service data.

[0110] Specifically, after obtaining the service data, the electronic device may send a prompt reception message to the second device, and the prompt reception message may be used to prompt the second device to receive the service data. After receiving the prompt reception message, the second device may prepare to receive the service data.

[0111] Optionally, after S140, the service operation control method may further include: receiving a service request corresponding to the service data through the first load balancing service; and sending the service request corresponding to the service data to the second device.

[0112] In the embodiment of the present disclosure, after sending service data to the second device, the first device may receive a service request corresponding to the service data through the first load balancing service.

[0113] Specifically, after the first device sends the service data of the target service to the second device, the first load balancing service may receive a service request corresponding to the service data.

[0114] Furthermore, the first device may send a service request corresponding to the service data to the second device.

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

[0116] Specifically, after sending the service data of the target service to the second device, the first device stops running the target service through the first load balancing service, and sends a service request corresponding to the service data to the second device, so that the second device can run and process the service data of the target service according to the service request.

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

[0118] like Figure 3 As shown, the first device 310 can determine the target service that needs to perform data conversion among multiple services, such as service A, and the first device 310 can perform data conversion on service A, that is, the first device 310 can perform data conversion on service A through the first 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.

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

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

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

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

[0123] Figure 4 A flow chart of another service operation control method provided by an embodiment of the present disclosure is shown.

[0124] In the embodiment of the present disclosure, the service operation control method can be executed by a second device having a service operation control function. The second device can be 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.

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

[0126] S410. Obtain a second load value through a second load balancing service.

[0127] In the embodiment of the present disclosure, the second device can obtain its own second load value through the second load balancing service. The specific implementation method refers to the first device and is not repeated here.

[0128] S420. Send the second load value to the first device.

[0129] In an implementation of the present disclosure, after obtaining the second load value, the second device may send the obtained second load value to the first device.

[0130] S430: Receive service data sent by the first device, and run the service data.

[0131] In the embodiment of the present disclosure, the second device may receive the service data sent by the first device, and execute the service data.

[0132] For example, after converting service A into service data, the first device may send the service data to the second device. The second device may receive the service data and run the service data through the second load balancing service.

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

[0134] like Figure 5 As shown, the first device 510 can send notification information and service data to the second device 520, and the second device 520 can receive the notification information and service data sent by the first device 510, and run the service data through the second load balancing service, that is, run service A.

[0135] Optionally, after S140, the service operation control method may further include: sending confirmation information to the first device, and receiving a service request corresponding to the service data sent by the first device.

[0136] In the embodiment of the present disclosure, the second device may send confirmation information to the first device, and receive a service request corresponding to the service data sent by the first device.

[0137] Optionally, the confirmation information may be information used to confirm that the service data has been received and run.

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

[0139] Specifically, the second device can send confirmation information to the first device, and the second device can send information to the first device that the service data has been received and is running. After receiving the confirmation information, the first device can stop running the corresponding target service and send a service request corresponding to the service data to the second device. The second device can receive the service request corresponding to the service data and process it.

[0140] The embodiment of the present disclosure also provides an operation control system, including a first device and a second device.

[0141] Optionally, the first device can be used to obtain a first load value through a first load balancing service, and receive a second load value of a second device, calculate an average of the difference between the first load value and the second load value within a preset time, and when the average of the difference is greater than a preset threshold, determine a target service, perform data conversion on the target service, obtain service data, and send the service data to the second device so that the second device runs the service data.

[0142] Optionally, the second device can be used to obtain a second load value through a second load balancing service, send the second load value to the first device, receive service data sent by the first device, and run the service data.

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

[0144] In some embodiments of the present disclosure, Figure 6 The service operation control device shown may be arranged in a first device. Specifically, the first device may include but is not limited to a mobile terminal such as a mobile phone, a vehicle-mounted device, a vehicle controller, a tablet computer, a wearable device, etc.

[0145] like Figure 6 As shown, the service operation control device 600 may include a first acquisition module 610 , a data calculation module 620 , a data conversion module 630 and a first sending module 640 .

[0146] The first acquisition module 610 may be configured to acquire a first load value through a first load balancing service and receive a second load value of a second device.

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

[0148] The data conversion module 630 can be used to determine the target service when the difference mean is greater than a preset threshold, and perform data conversion on the target service to obtain service data.

[0149] The first sending module 640 can be used to send service data to the second device so that the second device runs the service data.

[0150] Therefore, in the embodiment of the present disclosure, the first load value can be obtained through the first load balancing service, and the second load value of the second device can be received, and then the average difference between the first load value and the second load value within the preset time can be calculated, and then when the average difference is greater than the preset threshold, the target service is determined, and the target service is converted to obtain service data, and finally the service data is sent to the second device so that the second device runs the service data. Thus, the first load value and the second load value can be obtained, and when the average difference between the first load value and the second load value within the preset time is greater than the preset threshold, the target service is converted to obtain service data and sent to the second device for operation, so that the target service does not need to be preset, and load balancing can be performed, avoiding the situation where some systems are highly loaded and some systems are idle, and improving the utilization efficiency of hardware computing power.

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

[0152] 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.

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

[0154] In some embodiments of the present disclosure, the data conversion module 630 may include a service determination unit, a format conversion unit and an information sending unit.

[0155] The service determination unit may be used to determine a target service among multiple services, and set the target service to a pre-balancing state.

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

[0157] The information sending unit may be used to send prompt reception information to the second device after obtaining the service data, and the data reception information is used to prompt the second device to receive the service data.

[0158] In some embodiments of the present disclosure, the service operation control device 600 may further include a request receiving module and a request sending module.

[0159] The request receiving module may be configured to receive a service request corresponding to the service data through the first load balancing service after sending the service data to the second device.

[0160] The request sending module can be used to send a service request corresponding to the service data to the second device.

[0161] In some embodiments of the present disclosure, the service operation control device 600 may further include a master-slave election module.

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

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

[0164] In some embodiments of the present disclosure, Figure 7 The service operation control device shown may be arranged in a second device. Specifically, the second device may include but is not limited to a mobile terminal such as a mobile phone, a vehicle-mounted device, a vehicle controller, a tablet computer, a wearable device, etc.

[0165] like Figure 7 As shown, the service operation control device 700 may include a second acquisition module 710 , a second sending module 720 and a first receiving module 730 .

[0166] The second acquisition module 710 may be configured to acquire a second load value through a second load balancing service.

[0167] The second sending module 720 can be used to send the second load value to the first device.

[0168] The first receiving module 730 may be configured to receive service data sent by the first device and execute the service data.

[0169] In some embodiments of the present disclosure, the service operation control device 700 may further include an information sending module and a second receiving module.

[0170] The information sending module can be used to send confirmation information to the first device after receiving the service data sent by the first device and running the service data.

[0171] The second receiving module can be used to receive a service request corresponding to the service data sent by the first device.

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

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

[0174] In some embodiments of the present disclosure, Figure 8 The service operation control device shown may be an electronic device that a user wants to control the service operation. The electronic 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.

[0175] like Figure 8 As shown, the service operation control device may include a processor 801 and a memory 802 storing computer program instructions.

[0176] Specifically, the processor 801 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.

[0177] The memory 802 may include a large capacity memory for information or instructions. By way of example and not limitation, the memory 802 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 802 may include a removable or non-removable (or fixed) medium. Where appropriate, the memory 802 may be inside or outside the integrated gateway device. In a particular embodiment, the memory 802 is a non-volatile solid-state memory. In a particular embodiment, the memory 802 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.

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

[0179] In one example, the service operation control device may further include a transceiver 803 and a bus 804. Figure 8 As shown, the processor 801, the memory 802 and the transceiver 803 are connected via a bus 804 and communicate with each other.

[0180] The bus 804 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 804 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.

[0181] 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.

[0182] The storage medium may include, for example, a memory 802 of computer program instructions, and the instructions may be executed by the processor 801 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, a 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.

[0183] 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 8 The parts described in the illustrated embodiment are not repeated here.

[0184] 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.

[0185] 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 through a first load balancing service, and receiving a second load value of a 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 values ​​is greater than a preset threshold, determining a target service, and performing data conversion on the target service to obtain service data; The service data is sent to the second device, so that the second device runs the service data.

2. 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.

3. The method according to claim 1, characterized in that When the mean of the difference is greater than a preset threshold, determining a target service, and performing data conversion on the target service to obtain service data, includes: Determine the target service among multiple services, and set the target service to a pre-balancing state; The first data format of the target service is converted 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.

4. The method according to claim 1, characterized in that: After obtaining the service data, the method further includes: Send prompt reception information to the second device, where the data reception information is used to prompt the second device to receive the service data.

5. The method according to claim 1, characterized in that After sending the service data to the second device, the method further includes: receiving, through the first load balancing service, a service request corresponding to the service data; Sending a service request corresponding to the service data to the second device.

6. A service operation control method, characterized in that: include: Obtaining a second load value through a second load balancing service; sending the second load value to the first device; Receive service data sent by the first device, and run the service data.

7. The method according to claim 6, characterized in that After receiving the service data sent by the first device and running the service data, the method further includes: Sending confirmation information to the first device; Receive a service request corresponding to the service data sent by the first device.

8. A service operation control device, characterized in that: include: A first acquisition module, configured to acquire a first load value through a first load balancing service, and receive a second load value of a second device; 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 data conversion module, used for determining a target service when the mean of the difference is greater than a preset threshold, and performing data conversion on the target service to obtain service data; The first sending module is configured to send the service data to the second device so that the second device runs the service data.

9. A service operation control device, characterized in that: include: A second acquisition module, used to obtain a second load value through a second load balancing service; A second sending module, used to send the second load value to the first device; The first receiving module is used to receive the service data sent by the first device and run the service data.

10. A service operation control system, characterized in that: include: The first device is configured to obtain a first load value through a first load balancing service, receive a second load value of a second device, calculate an average of differences between the first load value and the second load value within a preset time, determine a target service when the average of the differences is greater than a preset threshold, perform data conversion on the target service to obtain service data, and send the service data to the second device so that the second device runs the service data; The second device is used to obtain a second load value through a second load balancing service, send the second load value to the first device, receive service data sent by the first device, and run the service data.

11. 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 5.

12. 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.

13. A vehicle, characterized in that: It comprises the detection frame filtering device as described in any one of claims 8-9.