Service configuration method and device, equipment, storage medium, program product and vehicle
By analyzing vehicle historical log data, determining the execution order of application service objects and generating configuration information, optimizing the task execution order of application services in Internet of Vehicles services, solving the problem of low efficiency of application services in the existing technology, and achieving more efficient Task execution.
Patent Information
- Application Number
- CN202310805056.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-30
- Publication Date
- 2024-12-31
AI Technical Summary
In the existing Internet of Vehicles services, when multiple application services collaborate to complete tasks, the potential connection between each application service is unclear, resulting in low efficiency in the operation of the application service.
By obtaining the historical log data of the vehicle in the first period, the target execution order of multiple application service objects is determined, and execution configuration information is generated, instructing the application service objects to execute tasks in the target order within the second period, thereby optimizing task execution Duration.
The execution time of multiple application service objects performing target tasks is shortened and the operation efficiency of application service objects is improved.
Smart Images

Figure CN119232575A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of intelligent transportation technology, and in particular, relates to a service configuration method, device, equipment, storage medium, program product and vehicle. Background Art
[0002] The Internet of Vehicles is the application of the Internet of Things in the field of intelligent transportation. With the help of wireless communication technology, it provides users with navigation, security, information and monitoring services through the display interfaces of in-vehicle devices, mobile clients, computer clients and other devices to achieve smarter and safer driving. In existing Internet of Vehicles services, multiple application services are often required to collaborate to complete a task, but the potential connections between the application services are not clear, which cannot improve the efficiency of application service operation. Summary of the invention
[0003] The embodiments of the present application provide a service configuration method, apparatus, device, storage medium, program product and vehicle, which can discover the target execution order of multiple application service objects performing target tasks based on the historical log data of the vehicle in the first time period, and generate execution configuration information to instruct the multiple application service objects of the vehicle to perform the target tasks according to the target execution order in the second time period, thereby shortening the execution time of the multiple application service objects performing the target tasks, thereby improving the efficiency of the operation of the application service objects.
[0004] In a first aspect, an embodiment of the present application provides a service configuration method, which is applied to a vehicle-mounted terminal, and the method includes:
[0005] Acquire historical log data of multiple application service objects, each of which is log data generated by the vehicle controlling each of the application service objects to perform a target task within a first time period;
[0006] Determine a target execution order corresponding to each of the application service objects corresponding to the historical log data of the multiple application service objects;
[0007] Generate execution configuration information corresponding to the target execution order, the execution configuration information is used to indicate the order and execution duration of the vehicle controlling the multiple application service objects to execute target tasks within a second time period, and the second time period is a time period after the first time period.
[0008] In a second aspect, an embodiment of the present application provides a service configuration device, which is applied to a vehicle-mounted terminal, and the device includes:
[0009] A first acquisition module is used to acquire historical log data of multiple application service objects, each of which is log data generated by the vehicle controlling each of the application service objects to perform a target task within a first time period;
[0010] A determination module, configured to determine a target execution order corresponding to each of the application service objects corresponding to the historical log data of the multiple application service objects;
[0011] A generation module is used to generate execution configuration information corresponding to the target execution order, and the execution configuration information is used to indicate the order and execution duration of the vehicle controlling the multiple application service objects to perform target tasks within a second time period, and the second time period is a time period after the first time period.
[0012] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the service configuration method as described in any one of claims 1-6 is implemented.
[0013] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the service configuration method as described in any one of claims 1-6 is implemented.
[0014] In a fifth aspect, an embodiment of the present application provides a computer program product. When instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the service configuration method as described in any one of the above.
[0015] In a sixth aspect, an embodiment of the present application provides a vehicle, comprising: an electronic device, wherein the electronic device is used to implement the service configuration method as described in any one of the above.
[0016] The service configuration method, apparatus, device, storage medium, program product, and vehicle of the embodiments of the present application are applied to a vehicle-mounted terminal, and can determine the target execution order of multiple application service objects based on the historical log data generated by the vehicle controlling each application service object to execute the target task in a first time period, and generate execution configuration information corresponding to the target execution order, wherein the execution configuration information is used to indicate the order and execution duration of the vehicle controlling multiple application service objects to execute the target tasks in a second time period, and the second time period is a time period after the first time period. In this way, the present embodiment can find the target execution order of multiple application service objects to execute the target tasks based on the historical log data of the vehicle in the first time period, and generate execution configuration information to instruct the multiple application service objects of the vehicle to execute the target tasks according to the target execution order in the second time period, thereby shortening the execution time of multiple application service objects to execute the target tasks, thereby improving the efficiency of the operation of the application service objects. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0018] Figure 1 It is a flowchart of the service configuration method provided in the embodiment of the present application;
[0019] Figure 2 It is a structural diagram of a vehicle networking system provided in an embodiment of the present application;
[0020] Figure 3 This is a flow chart of a scenario implementation of the service configuration method provided in the embodiment of the present application;
[0021] Figure 4 It is a structural diagram of a service configuration device provided in an embodiment of the present application;
[0022] Figure 5 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0023] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.
[0024] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0025] The Internet of Vehicles is the application of the Internet of Things in the field of intelligent transportation. With the help of wireless communication technology, it provides users with navigation, security, information and monitoring services through the display interfaces of in-vehicle devices, mobile clients, computer clients and other devices to achieve smarter and safer driving. In existing Internet of Vehicles services, multiple application services are often required to collaborate to complete a task, but the potential connections between the application services are not clear, which cannot improve the efficiency of application service operation.
[0026] In order to solve the problems of the prior art, the embodiments of the present application provide a service configuration method, device, equipment, storage medium, program product and vehicle. The service configuration method provided by the embodiments of the present application is first introduced below.
[0027] Figure 1 FIG. 1 is a flow chart showing a service configuration method provided by an embodiment of the present application. Figure 1As shown, a service configuration method is applied to a vehicle terminal, and the method may include the following steps S101 to S103:
[0028] S101, obtaining historical log data of multiple application service objects. The historical log data includes historical operation types and historical operation times; each historical log data is log data generated by the vehicle controlling each application service object to perform a target task in a first period of time.
[0029] S102, determining the target execution order corresponding to each application service object corresponding to the historical log data of the multiple application service objects. The target execution order is used to characterize the order in which the multiple application service objects complete the target tasks, and the execution time corresponding to the target execution order meets the preset conditions, and the execution time is the time consumed to complete the target task according to the target execution order; the order of each application service object in the target execution order is determined by the historical operation type and historical operation time corresponding to it.
[0030] S103, generating execution configuration information corresponding to the target execution order. The execution configuration information is used to indicate the order and execution duration of controlling multiple application service objects to execute target tasks by the vehicle in a second period, and the second period is a period after the first period.
[0031] The service configuration method of the embodiment of the present application can determine the target execution order of multiple application service objects based on the historical log data generated by the vehicle controlling each application service object to perform the target task in the first time period, and generate execution configuration information corresponding to the target execution order, wherein the execution configuration information is used to indicate the order and execution duration of the vehicle controlling multiple application service objects to perform the target tasks in the second time period, and the second time period is the time period after the first time period. In this way, the present embodiment can find the target execution order of multiple application service objects to perform the target tasks based on the historical log data of the vehicle in the first time period, and generate execution configuration information to instruct the multiple application service objects of the vehicle to perform the target tasks according to the target execution order in the second time period, shorten the execution time of multiple application service objects to perform the target tasks, and thus improve the efficiency of the operation of the application service objects.
[0032] The above service configuration method is mainly applied to vehicle terminals. This application is not limited to this, and can also be a vehicle central control system or other terminal equipment with data processing capabilities.
[0033] The specific implementation methods of the above steps are introduced below.
[0034] In S101, the above-mentioned multiple application service objects may be application service objects that need to be coordinated by the vehicle to complete the target task in the Internet of Vehicles system. For example, they may be application service objects corresponding to multiple application programs such as "vehicle positioning", "vehicle diagnosis" and "remote control".
[0035] The above historical log data may include historical operation types and historical operation times. For example, the historical operation types may be start, run and end operation types, and the historical operation times are times corresponding to each historical operation type.
[0036] The above historical log data is the log data generated by the vehicle controlling each application service object to perform the target task during the first time period.
[0037] In S102, the above-mentioned target execution order can be a sequence for representing the sequence in which multiple application service objects complete target tasks, and the execution time corresponding to the target execution order meets the preset conditions, and the execution time is the time consumed to complete the target tasks according to the target execution order; wherein, the execution time corresponding to the target execution order meets the preset conditions, which can be that the execution time corresponding to the target execution order is less than the preset time threshold, or, it can also be that the execution time corresponding to the target execution order is less than the execution time of at least one execution order other than it.
[0038] The ranking of the above-mentioned application service objects in the target execution order is illustratively determined based on the multi-objective optimization algorithm INSGA-II and by the historical operation type and historical operation time corresponding to each application service object.
[0039] In some embodiments, the historical log data may include historical operation types and historical operation times; the above S102 may specifically include:
[0040] Determine multiple execution orders corresponding to each application service object corresponding to the historical log data of the multiple application service objects, each execution order is used to represent the order in which the multiple application service objects complete the target tasks, and the ranking position of each application service object in each execution order is determined by the historical operation type and historical operation time corresponding to the same;
[0041] A target execution sequence is determined among multiple execution sequences, and the execution time corresponding to the target execution sequence is less than the execution time of at least one execution sequence other than the target execution sequence, and the execution time is the time consumed to complete the target task according to the target execution sequence.
[0042] The above execution order can be used to represent the order in which multiple application service objects complete target tasks.
[0043] The ranking position of each of the above-mentioned application service objects in each execution order is determined by the historical operation type and historical operation time corresponding thereto. For example, it can be found that application service object A needs to be executed after application service object B is completed, and application service object C needs to be executed after both service A and service B are completed, and the execution order of application service object A, application service object B and application service object C is determined to be B to A to C. In this embodiment, the execution order is not limited to the execution order of B to A to C, but can also be other execution orders, which are not specifically limited here.
[0044] The execution time corresponding to the above-mentioned target execution order is shorter than the execution time of at least one execution order other than it. Exemplarily, the target execution order may be the execution order corresponding to the top three execution times among the execution times of multiple execution orders, sorted from small to large.
[0045] In this embodiment, based on the historical operation types and historical operation times of multiple application service objects, multiple execution sequences for completing target tasks of multiple application service objects can be mined, and the target execution sequence can be determined among the multiple execution sequences, thereby improving the operating efficiency of the application service objects.
[0046] In some embodiments, the above-mentioned determining the target execution order among multiple execution orders may specifically include:
[0047] A target execution sequence is determined among multiple execution sequences, and the execution duration corresponding to the target execution sequence is the shortest execution duration among the execution durations of the multiple execution sequences.
[0048] In this embodiment, the execution duration corresponding to the target execution sequence is the shortest execution duration among the execution times of multiple execution sequences, which can further improve the running efficiency of the application service object.
[0049] In S103, the execution configuration information may be used to indicate the order and execution duration of the vehicle controlling multiple application service objects to execute target tasks in a second time period, wherein the second time period is a time period after the first time period.
[0050] The above execution duration may include the sub-duration consumed by each application service object to execute the target task.
[0051] As an implementation of the present application, in order to further improve the efficiency of the application service operation, before the above S102, it may also include:
[0052] Acquire function information of each application service object among the multiple application service objects, where the function information is used to represent the service function of each application service object;
[0053] Calculate the similarity of each application service object based on the functional information of each application service object;
[0054] Clustering multiple application service objects according to the similarity of each application service object to obtain at least one application service object group, wherein the application service object group includes at least one application service object, and the similarities of application service objects in different application service object groups are different;
[0055] The above S102 may specifically include:
[0056] A target execution order corresponding to each application service object group corresponding to historical log data of the plurality of application service object groups is determined.
[0057] The above functional information can be used to characterize the service functions of each application service object. For example, the service function of the "vehicle positioning" application service object is vehicle positioning, the service function of the "vehicle diagnosis" application service object is vehicle diagnosis, and the service function of the "remote control" application service object is remote control.
[0058] The similarity of each application service object is calculated based on the function information of each application service object. For example, the similarity of each application service object can be calculated based on the Euclidean distance according to the function information of each application service object. In this embodiment, the calculation of similarity is not limited to the calculation method of the Euclidean distance, but can also be other similarity calculation methods, which are not specifically limited here.
[0059] The above-mentioned application service object group includes at least one application service object, and the function information of the application service objects in the same application service object group is similar.
[0060] In the above, multiple application service objects are clustered according to the similarity of each application service object to obtain at least one application service object group. For example, "vehicle positioning" and "vehicle diagnosis" can be clustered and encapsulated into an application service object group named "vehicle monitoring service", while "remote control" can be another application service object group.
[0061] In this embodiment, multiple application service objects are clustered according to the similarity of functional information of each application service object to obtain at least one application service object group. The association relationship between each application service object in the multiple application service objects can be discovered, and the target execution order can be determined in combination with the historical log data of the multiple application service object groups, thereby further improving the efficiency of application service operation.
[0062] As another implementation of the present application, in order to improve the accuracy of the target execution order, before the above S102, the following may also be included:
[0063] Preprocessing the historical log data of multiple application service objects to obtain standard log data of multiple application service objects;
[0064] The above S102 may specifically include:
[0065] A target execution order corresponding to each application service object corresponding to the standard log data of the plurality of application service objects is determined.
[0066] The above-mentioned preprocessing may include at least one of missing value removal, outlier processing and duplicate value deletion.
[0067] In this embodiment, by preprocessing the historical log data, standard log data of multiple application service objects are obtained, and based on the standard log data of the multiple application service objects, the target execution order of the multiple application service objects can be obtained more accurately.
[0068] In order to facilitate the understanding of the service configuration method in the embodiment of the present application, the application process of the service configuration method is described here, as follows:
[0069] In a vehicle networking application scenario, there are multiple sensor devices that collect data and upload it to the cloud for data processing and analysis. This scenario involves multiple services, including data collection service, data upload service, data distribution service, data processing service, etc. In this scenario, the log analysis module can be used to monitor the running status of each service and discover the timing constraint relationship between services. The running status of each service includes information such as the timestamp of the corresponding service execution and the speed of processing data, and analyze this data to understand the performance and latency of each service. Based on this information, for example, it can be found that the data upload service may need to wait for the data collection service to complete before it can start uploading data. Therefore, a timing constraint relationship can be set between services to ensure that the data upload service does not run before the data collection service is completed.
[0070] For example, Figure 2 As shown in the figure, in the application of Internet of Vehicles, multiple services are often required to work together to complete a task (i.e., the target task mentioned above), where service A can only be executed after service B is completed, and service C can only be executed after both service A and service B are completed, but these timing constraints are not clearly stated. By analyzing the historical log information of service operation through the log analysis module, the time information of service call (i.e., the above startup) and execution (i.e., the above moment information) can be extracted, and the timing process model can be constructed using this information. Then, through the proposed timing constraint mining method, hidden timing constraint relationships such as B->A->C or A->B or (A,B)->C can be discovered from the timing process model.
[0071] Based on the timing constraint relationship, the dynamic configuration center can be used to dynamically adjust service behavior at runtime. The results of dynamic configuration are dynamically fed back based on log analysis. Users modify and publish in the configuration center based on the results of log analysis; the configuration center notifies the client of configuration updates; the client pulls the latest configuration from the configuration center, updates the local configuration, and notifies the application service.
[0072] Through these hidden timing constraints, we can better understand the dependencies between services and provide guidance for service optimization and adjustment. For example, based on the timing constraints in the above example, we can optimize the service scheduling strategy to make the execution time of service A and service B more compact, thereby meeting the needs of service C more quickly.
[0073] In order to prevent the push mechanism from failing and causing the configuration to not be updated, a compensation mechanism is introduced (the client will regularly pull the latest configuration from the configuration center).
[0074] To prevent the remote service from crashing or the network from failing, a double cache mechanism is introduced (the application service always obtains the configuration from the memory, and the client also caches a copy of the configuration obtained from the server in a local file).
[0075] The above log analysis module mainly includes:
[0076] The INSGA-II algorithm is used to build a service-based temporal process model. The service configuration mechanism discovers and analyzes the temporal correlation between services by mining execution instances in large-scale historical log data.
[0077] During the construction process, log data preprocessing is performed first: the original time series data is processed and cleaned, such as removing missing values, processing outliers, removing duplicate data, etc. In addition, the data can also be filtered to make the data more accurate.
[0078] Then perform feature extraction: In time series data, there are often some important features, such as maximum value, minimum value, average value, volatility, etc. These features can be calculated and used as model input to help improve the accuracy and reliability of the model.
[0079] like Figure 3 As shown, in a specific implementation, the event logs can be analyzed to extract the diversity of operations therein. For example, for all log data within a period of time (i.e., the above-mentioned historical log data), an event log data table can be established by extracting the operation type and operation time information therein; by performing cluster analysis on the data table, similar operation types can be clustered together to form individual services;
[0080] In terms of capturing the control flow transfer relationship between services, data mining technology can be used for analysis to mine the control flow relationship between services and build a sequential process model based on these relationships. For example, by mining the sequential relationship of service calls in the log, a sequence diagram of service calls can be built.
[0081] Based on the formation of the process model, the timing constraints between services can be encoded. The internal deadlines of services can be combined by attaching relative timing interval constraints between adjacent services. For example, time limits can be set between adjacent service calls to ensure that the services are completed within the scheduled time. This can achieve collaboration between services and optimize service adaptation efficiency.
[0082] The service composition problem is modeled as a multi-objective optimization problem, where the objectives include service execution time, resource utilization, availability, etc. At the same time, considering the impact of timing correlation, the execution order of certain services can be added to the optimization configuration as a decision variable.
[0083] The established time series process model is input into the INSGA-II algorithm for optimization. The INSGA-II algorithm adopts the idea of genetic algorithm, generates new optimization results through evolutionary operations (crossover, mutation), and uses non-dominated sorting and crowding distance to evaluate the quality of the solution, and finally obtains a set of optimal results.
[0084] Take a car networking service as an example:
[0085] Activity type extraction: Mining and extracting activity types from event logs in the connected vehicle system. For example, the log may contain activities such as "vehicle positioning", "vehicle diagnosis", and "remote control". We can identify and extract these activity types by parsing the log data.
[0086] Service encapsulation: Encapsulate activities with similar functions into services based on their functional similarities. For example, "vehicle positioning" and "vehicle diagnosis" can be encapsulated into a service called "vehicle monitoring service", while "remote control" can be another service.
[0087] Control flow transfer relationship: By analyzing the control flow transfer relationship between activities, a process model of the Internet of Vehicles service is formed. For example, the "vehicle monitoring service" may transfer the control flow to the vehicle diagnosis service after obtaining the vehicle location.
[0088] Timing constraints: Add relative timing interval constraints between services to limit the deadlines within the services. For example, "Vehicle Monitoring Service" must be completed before "Vehicle Diagnosis".
[0089] Establish a process model for Internet of Vehicles services based on operational diversity, encapsulate activities into different services, and manage the deadlines within services through timing constraints. Optimize the time limits set between adjacent service calls to ensure that services are completed within the scheduled time and achieve collaboration between services.
[0090] In this embodiment, compared with previous methods, the service adaptation optimization based on log analysis can more comprehensively consider the temporal correlation between services and improve the optimization efficiency, thereby improving the efficiency and availability of service combination.
[0091] Based on the service configuration method provided in the above embodiment, the present application also provides a specific implementation of the service configuration device. Please refer to the following embodiment.
[0092] like Figure 4 As shown, a service configuration device 400 provided in an embodiment of the present application is applied to a vehicle-mounted terminal. The device 400 may include the following modules: a first acquisition module 401 , a determination module 402 and a generation module 403 .
[0093] The first acquisition module 401 is used to acquire historical log data of multiple application service objects. Each historical log data is log data generated by the vehicle controlling each application service object to perform a target task during a first period of time.
[0094] A determination module 402, for determining a target execution order corresponding to each application service object corresponding to historical log data of a plurality of application service objects;
[0095] The generation module 403 is used to generate execution configuration information corresponding to the target execution order, and the execution configuration information is used to indicate the order and execution duration of the vehicle controlling multiple application service objects to execute target tasks within the second time period, and the second time period is the time period after the first time period.
[0096] The service configuration device of the embodiment of the present application can determine the target execution order of multiple application service objects based on the historical log data generated by the vehicle controlling each application service object to perform the target task in the first time period, and generate execution configuration information corresponding to the target execution order, wherein the execution configuration information is used to indicate the order and execution duration of the vehicle controlling multiple application service objects to perform the target tasks in the second time period, and the second time period is the time period after the first time period. In this way, the present embodiment can find the target execution order of multiple application service objects to perform the target tasks based on the historical log data of the vehicle in the first time period, and generate execution configuration information to instruct the multiple application service objects of the vehicle to perform the target tasks according to the target execution order in the second time period, thereby shortening the execution time of multiple application service objects to perform the target tasks, thereby improving the efficiency of the operation of the application service objects.
[0097] In some embodiments, the historical log data may include historical operation types and historical operation times; the above-mentioned determination module 402 may specifically include:
[0098] A first determining unit is used to determine a plurality of execution sequences corresponding to each application service object corresponding to historical log data of the plurality of application service objects, each execution sequence is used to represent the order in which the plurality of application service objects complete target tasks, and the ranking position of each application service object in each execution sequence is determined by the historical operation type and historical operation time corresponding thereto;
[0099] The second determination unit is used to determine a target execution order among multiple execution orders, the execution time corresponding to the target execution order is less than the execution time of at least one execution order other than the target execution order, and the execution time is the time consumed to complete the target task according to the target execution order.
[0100] In some embodiments, the second determination unit may be specifically used to determine a target execution order among multiple execution orders, and the execution duration corresponding to the target execution order is the shortest execution duration among the execution durations of the multiple execution orders.
[0101] As an implementation of the present application, in order to further improve the efficiency of application service operation, the above-mentioned device 400 may also include:
[0102] A second acquisition module is used to acquire function information of each application service object among the multiple application service objects, where the function information is used to represent the service function of each application service object;
[0103] A calculation module, used to calculate the similarity of each application service object according to the function information of each application service object;
[0104] A clustering module, used for clustering a plurality of application service objects according to the similarity of each application service object to obtain at least one application service object group, wherein the application service object group includes at least one application service object, and the similarities of application service objects in different application service object groups are different;
[0105] The generation module 403 may be specifically used to determine the target execution order corresponding to each application service object group corresponding to the historical log data of the multiple application service object groups.
[0106] As another implementation of the present application, in order to improve the accuracy of the target execution order, the above-mentioned device 400 may further include:
[0107] A preprocessing module, used to preprocess the historical log data of multiple application service objects to obtain standard log data of multiple application service objects, wherein the preprocessing includes at least one of missing value removal, outlier processing and duplicate value deletion;
[0108] The generation module 403 may be specifically used to determine a target execution order corresponding to each application service object group corresponding to the standard log data of the plurality of application service objects.
[0109] Based on the service configuration method provided in the above embodiment, the present application also provides a specific implementation method of the electronic device. Please refer to the following embodiment.
[0110] Figure 5 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown.
[0111] The electronic device may include a processor 501 and a memory 502 storing computer program instructions.
[0112] Specifically, the processor 501 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.
[0113] The memory 502 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 502 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 502 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 502 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 502 is a non-volatile solid-state memory.
[0114] In certain embodiments, the memory 502 may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Thus, in general, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to an aspect of the present disclosure.
[0115] The processor 501 implements any one of the service configuration methods in the above embodiments by reading and executing computer program instructions stored in the memory 502 .
[0116] In one example, the electronic device may further include a communication interface 503 and a bus 510. Figure 5 As shown, the processor 501, the memory 502, and the communication interface 503 are connected via a bus 510 and communicate with each other.
[0117] The communication interface 503 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0118] Bus 510 includes hardware, software or both, and the parts of electronic equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 510 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the application considers any suitable bus or interconnection.
[0119] The electronic device can execute the service configuration method in the embodiment of the present application, thereby realizing the combination Figure 1 and Figure 4 Described service configuration method and device.
[0120] In addition, in combination with the service configuration method in the above embodiment, the embodiment of the present application can provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any one of the service configuration methods in the above embodiment is implemented.
[0121] In combination with the service configuration method in the above embodiment, the embodiment of the present application may provide a computer program product. When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes any one of the service configuration methods above.
[0122] In combination with the service configuration method in the above embodiment, the embodiment of the present application can provide a vehicle for implementation. The vehicle includes: an electronic device for implementing any one of the service configuration methods above.
[0123] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0124] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0125] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0126] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0127] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
[0128] 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 "comprises" or any other variant thereof 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. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
Claims
1. A service configuration method, characterized in that: Applied to a vehicle-mounted terminal, the method comprises: Acquire historical log data of multiple application service objects, each of the historical log data is log data generated by the vehicle controlling each of the application service objects to perform a target task within a first time period; Determine a target execution order corresponding to each of the application service objects corresponding to the historical log data of the multiple application service objects; Generate execution configuration information corresponding to the target execution order, the execution configuration information is used to indicate the order and execution duration of the vehicle controlling the multiple application service objects to execute target tasks within a second time period, and the second time period is a time period after the first time period.
2. The method according to claim 1, characterized in that The historical log data includes historical operation types and historical operation times; The determining of the target execution order corresponding to each of the application service objects corresponding to the historical log data of the multiple application service objects includes: Determine a plurality of execution orders corresponding to each of the application service objects corresponding to the historical log data of the plurality of application service objects, each of the execution orders being used to characterize the order in which the plurality of application service objects complete the target tasks, and the ranking position of each of the application service objects in each of the execution orders being determined by the historical operation type and historical operation time corresponding thereto; A target execution order is determined among the multiple execution orders, and the execution time corresponding to the target execution order is less than the execution time of at least one execution order other than the target execution order, and the execution time is the time consumed to complete the target task according to the target execution order.
3. The method according to claim 2, characterized in that The determining of a target execution order among the multiple execution orders comprises: A target execution order is determined among the multiple execution orders, and the execution duration corresponding to the target execution order is the shortest execution duration among the execution durations of the multiple execution orders.
4. The method according to claim 1, characterized in that Before determining the target execution order corresponding to each of the application service objects corresponding to the historical log data of the multiple application service objects, the method further includes: Acquire function information of each of the multiple application service objects, where the function information is used to represent the service function of each of the application service objects; Calculating the similarity of each of the application service objects according to the function information of each of the application service objects; Clustering the multiple application service objects according to the similarity of each of the application service objects to obtain at least one application service object group, wherein the application service object group includes at least one of the application service objects, and the similarities of the application service objects in different application service object groups are different; The determining of the target execution order corresponding to each of the application service objects corresponding to the historical log data of the multiple application service objects includes: Determine a target execution order corresponding to each of the application service object groups corresponding to the historical log data of the plurality of application service object groups.
5. The method according to claim 1, characterized in that Before determining the target execution order corresponding to each of the application service objects corresponding to the historical log data of the multiple application service objects, the method further includes: Preprocessing the historical log data of the multiple application service objects to obtain standard log data of the multiple application service objects, wherein the preprocessing includes at least one of missing value removal, outlier processing, and duplicate value deletion; The determining of the target execution order corresponding to each of the application service objects corresponding to the historical log data of the multiple application service objects includes: Determine a target execution order corresponding to each of the application service objects corresponding to the standard log data of the plurality of application service objects.
6. A service configuration device, characterized in that: Applied to a vehicle-mounted terminal, the device comprises: A first acquisition module is used to acquire historical log data of multiple application service objects, each of which is log data generated by the vehicle controlling each of the application service objects to perform a target task within a first time period; A determination module, configured to determine a target execution order corresponding to each of the application service objects corresponding to the historical log data of the multiple application service objects; A generation module is used to generate execution configuration information corresponding to the target execution order, and the execution configuration information is used to indicate the order and execution duration of the vehicle controlling the multiple application service objects to perform target tasks within a second time period, and the second time period is a time period after the first time period.
7. An electronic device, characterized in that: The electronic device comprises: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the service configuration method according to any one of claims 1 to 5 is implemented.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the service configuration method according to any one of claims 1 to 5 is implemented.
9. A computer program product, characterized in that When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the service configuration method as described in any one of claims 1 to 5.
10. A vehicle, characterized in that: include: An electronic device, wherein the electronic device is used to implement the service configuration method as described in any one of claims 1 to 5.