CN117956020A - Service management method, device, electronic equipment and storage medium - Google Patents

Service management method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117956020A
CN117956020A CN202311533974.1A CN202311533974A CN117956020A CN 117956020 A CN117956020 A CN 117956020A CN 202311533974 A CN202311533974 A CN 202311533974A CN 117956020 A CN117956020 A CN 117956020A
Authority
CN
China
Prior art keywords
service
vehicle
class
state
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311533974.1A
Other languages
Chinese (zh)
Inventor
黄盛立
姚昂
何烈炎
刘光达
黄光健
范稼宝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Automobile Group Co Ltd
Original Assignee
Guangzhou Automobile Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Automobile Group Co Ltd filed Critical Guangzhou Automobile Group Co Ltd
Priority to CN202311533974.1A priority Critical patent/CN117956020A/en
Publication of CN117956020A publication Critical patent/CN117956020A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40234Local Interconnect Network LIN

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Traffic Control Systems (AREA)

Abstract

The application discloses a service management method, a device, electronic equipment and a readable storage medium, wherein the method comprises the following steps: determining a service class corresponding to the vehicle service; if the corresponding service class is the first class, detecting the availability of the vehicle service through the corresponding interface to obtain a target service state; if the corresponding service class is the second class, acquiring a first message transmission condition of the corresponding auxiliary device, and determining a target service state according to the first message transmission condition; if the corresponding service class is the third class, configuring an initial service state as service availability, providing vehicle service to the outside, and determining a target service state according to the second message transmission condition of the corresponding auxiliary device and the initial service state; and managing the vehicle service according to the target service state of the vehicle service. According to the application, the problems of large service workload and easy error in manual maintenance of the vehicle are solved, and the reliability of the service state obtained by adopting a corresponding mode aiming at different service categories is higher.

Description

Service management method, device, electronic equipment and storage medium
Technical Field
The present application relates to the field of vehicle management, and more particularly, to a service management method, apparatus, electronic device, and computer-readable storage medium.
Background
With the development trend of software-defined automobiles, the design concept of Service Oriented Architecture (SOA) is introduced in automobile software architecture design, the number of vehicle services of the whole automobile is continuously increased and different vehicles are required to be dealt with, so that certain challenges exist in vehicle service management. The service management of the existing whole vehicle depends on the manual maintenance of vehicle services corresponding to various combinations such as different vehicle types, different configurations of the same vehicle type, different optional devices of the same configuration of the same vehicle type and the like.
But the manual maintenance is heavy and error-prone, resulting in low service management reliability.
Disclosure of Invention
The application provides a service management method, a device, an electronic device and a computer readable storage medium, so as to improve the defects.
In a first aspect, an embodiment of the present application provides a service management method, where the method includes: determining a service class corresponding to the vehicle service; if the service class corresponding to the vehicle service is a first class, detecting the availability of the vehicle service through an interface corresponding to the vehicle service to obtain a target service state corresponding to the vehicle service, wherein the first class is a service class realizing functions through a controller of the vehicle; if the service class corresponding to the vehicle service is the second class, acquiring a first message transmission condition of an auxiliary device corresponding to the vehicle service, and determining a target service state corresponding to the vehicle service according to the first message transmission condition; the second category is a service category of a selected device function implemented by a controller of the vehicle with the aid of an auxiliary device of the vehicle, the auxiliary device being a sensor and/or an actuator of the vehicle; if the service class corresponding to the vehicle service is a third class, configuring the initial service state of the vehicle service as service availability, providing the vehicle service to the outside, and determining the target service state corresponding to the vehicle service according to the second message transmission condition and the initial service state of the auxiliary device corresponding to the vehicle service, wherein the third class is the service class of the standard configuration function realized by the controller of the vehicle under the assistance of the auxiliary device of the vehicle; and managing the vehicle service according to the target service state of the vehicle service.
In a second aspect, an embodiment of the present application further provides a service management apparatus, where the apparatus includes:
The first determining module is used for determining a service class corresponding to the vehicle service;
The second determining module is used for detecting the availability of the vehicle service through the interface corresponding to the vehicle service if the service class corresponding to the vehicle service is a first class, so as to obtain a target service state corresponding to the vehicle service, wherein the first class is a service class for realizing functions through the controller of the vehicle;
The third determining module is used for obtaining a first message transmission condition of an auxiliary device corresponding to the vehicle service if the service class corresponding to the vehicle service is the second class, and determining a target service state corresponding to the vehicle service according to the first message transmission condition; the first category is a service category for realizing functions through the controller of the vehicle, and the auxiliary devices are sensors and/or actuators of the vehicle;
a fourth determining module, configured to configure an initial service state of the vehicle service as a service available if a service class corresponding to the vehicle service is a third class, provide the vehicle service to the outside, and determine a target service state corresponding to the vehicle service according to a second message transmission condition of an auxiliary device corresponding to the vehicle service and the initial service state, where the third class is a service class of a standard configuration function implemented by a controller of the vehicle under assistance of the auxiliary device of the vehicle;
And the management module is used for managing the vehicle service according to the target service state of the vehicle service.
In a third aspect, an embodiment of the present application further provides an electronic device, where the vehicle includes: one or more processors; a memory; one or more applications, wherein the one or more applications are stored in memory and configured to be executed by the one or more processors, the one or more applications configured to perform the above-described methods.
In a fourth aspect, embodiments of the present application also provide a computer readable storage medium storing program code executable by a processor, the program code when executed by the processor causing the processor to perform the above method.
According to the service management method, the device, the electronic equipment and the computer readable storage medium, the service types corresponding to the vehicle service are determined by directly classifying the vehicle service, the problems that the workload of manually maintaining the vehicle service is large and errors are prone to occur are solved, different modes of obtaining the target service states are different, the service types of realizing functions of the controller, namely the first class of vehicle service, can be directly detected through corresponding interfaces to obtain the target service states, the service types of needing auxiliary devices to realize configuration functions, namely the second class and the third class of vehicle service, the reliability of obtaining the target service states of the vehicle service is higher, the vehicle service is managed according to the obtained target service states, the accuracy of service management is improved, and meanwhile, the dynamic detection of the service states and the dynamic management of the service according to the service states are realized.
Additional features and advantages of embodiments of the application will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of embodiments of the application. The objectives and other advantages of embodiments of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 shows a flow chart of a service management method according to an embodiment of the application.
Fig. 2 shows a flow chart of a service management method according to a further embodiment of the application.
Fig. 3 is a flowchart illustrating a target service state determination procedure in an embodiment of the present application.
Fig. 4 is a flowchart illustrating a target service state determination process according to still another embodiment of the present application.
Fig. 5 is a flowchart illustrating a further target service state determination procedure in an embodiment of the present application.
Fig. 6 shows a flow chart of a service management method according to yet another embodiment of the application.
Fig. 7 shows a flowchart of an application process of a service management method according to an embodiment of the present application.
Fig. 8 is a block diagram showing a service management apparatus according to an embodiment of the present application.
Fig. 9 shows a schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the present application better understood by those skilled in the art, the following description will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. The components of the embodiments of the present application generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the application, as presented in the figures, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by a person skilled in the art without making any inventive effort, are intended to be within the scope of the present application.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only to distinguish the description, and are not to be construed as indicating or implying relative importance.
Referring to fig. 1, fig. 1 shows a flowchart of a service management method according to an embodiment of the present application, for an electronic device, where the method includes:
s101, determining a service class corresponding to the vehicle service.
The vehicle service is a service which can be realized by the vehicle, such as a vehicle window opening degree adjustment service, a personal hot spot control service and the like, and the vehicle service is related to a vehicle type, a vehicle configuration and a vehicle selection, and the vehicle service corresponding to different vehicle types, different configurations of the same vehicle type and different selection of the same configuration of the same vehicle type can be the same or different.
The Service classes corresponding to the vehicle services refer to the Service classes of the implementation manner corresponding to the vehicle services, wherein the Service classes include three Service classes of Service oriented architecture (Service-Oriented Architecture, SOA), namely the Service class of the function realized by the controller of the vehicle, the Service class of the standard configuration function realized by the controller of the vehicle with the assistance of the auxiliary device of the vehicle, and the Service class of the function of the selected device realized by the controller of the vehicle with the assistance of the auxiliary device of the vehicle, and the auxiliary device is a sensor and/or an actuator of the vehicle. The controller can be used for directly calling the vehicle service, can call the vehicle service according to the message sent by the connected sensor and the preset algorithm, and can send a control signal to the executor according to the message sent by the connected sensor and the preset algorithm so as to instruct the executor to call the vehicle service.
In some embodiments, S101 may include: and carrying out service classification identification according to the service identifier (SERVICE ID ) of the vehicle service to obtain the service class corresponding to the vehicle service. Wherein the service IDs may be combined by numerals and characters, different service IDs representing different vehicle services.
In some embodiments, performing service classification identification based on a service identifier (SERVICE ID ) of the vehicle service may include: and carrying out service classification identification according to the value of the target position in the service identifier of the vehicle service. The target position is a number of bits in the service ID, and may be selected according to the requirement, for example, the target position may be Bit5-4, that is, the 5 th Bit and the 4 th Bit in the service ID, the 4 th Bit may have a value of 00, and the 5 th Bit may have a value of 01.
Illustratively, the values of the target locations in the service identifiers and their corresponding service categories are shown in the following table:
TABLE 1
S102, if the service class corresponding to the vehicle service is the first class, detecting the availability of the vehicle service through the interface corresponding to the vehicle service to obtain the target service state corresponding to the vehicle service.
The first category is a service category in which a function is realized by the controller itself of the vehicle, and the controller itself realizes a function such as personal hot spot control or the like. The availability detection of the vehicle service is herein the availability detection of a controller of the vehicle. The interface corresponding to the vehicle service is an implementation service discovery interface arranged inside the controller.
S103, if the service class corresponding to the vehicle service is the second class, acquiring a first message transmission condition of an auxiliary device corresponding to the vehicle service, and determining a target service state corresponding to the vehicle service according to the first message transmission condition.
The second category is a service category of the selected device function implemented by a controller of the vehicle with the aid of an auxiliary device of the vehicle, the auxiliary device being a sensor and/or an actuator of the vehicle. The optional configuration is selected according to personal preference or demand of a consumer, and the configuration does not belong to the necessary configuration of the model of the vehicle, such as customizing the color of the vehicle body, heating the seat, massaging the seat, multifunctional steering wheel, electronic hand brake, automatic parking, uphill assistance, electric adjustment of the driver seat and the like.
And determining a target service state corresponding to the vehicle service according to the first message transmission condition, namely, detecting the availability of the vehicle service of the category, and determining whether the vehicle service is available. The first message transmission condition includes whether a transmission channel of the message is a target transmission channel, whether the message is sent or not, and whether a message signal is valid or not.
Because the function service of the selection device is related to the vehicle type, the vehicle type configuration and the selection device corresponding to the vehicle type configuration, the types and the quantity of the vehicle services which can be provided under each combination are different, if the vehicle service belonging to the service class of the function of the selection device realized by the controller of the vehicle under the assistance of the auxiliary device of the vehicle is called under the condition that the availability detection of the vehicle service is not carried out, the condition that the vehicle service cannot be used after the calling can be generated, in order to prevent the condition that the service cannot be used after the calling, the target service state corresponding to the vehicle service is determined firstly, and then the vehicle service is managed according to the service state, so that the accuracy of vehicle service management is improved.
And S104, if the service type corresponding to the vehicle service is the third type, configuring the initial service state of the vehicle service as service availability, providing the vehicle service to the outside, and determining the target service state corresponding to the vehicle service according to the second message transmission condition and the initial service state of the auxiliary device corresponding to the vehicle service.
The third category is a service category of a standard configuration function realized by a controller of the vehicle with the assistance of an auxiliary device of the vehicle. The standard configuration is a necessary configuration of the vehicle according to standard requirements, such as rear transverse incoming vehicle early warning, blind spot monitoring system, automatic emergency braking system and the like. The availability detection of the vehicle service here is an availability detection of the availability of the vehicle service provided to the auxiliary devices of the vehicle.
And determining a target service state corresponding to the vehicle service according to the second message transmission condition and the initial service state, namely, detecting the availability of the vehicle service of the category, determining whether the vehicle service is available, replacing or retaining the initial service state according to the detection result, and finally obtaining the target service state. The second message transmission condition includes whether the transmission channel of the message is a target transmission channel, whether the message is sent or not, and whether the message signal is valid or not.
The standard configuration is the basic configuration of each vehicle, and the related vehicle service can be successfully invoked in the hardware environment, and can be managed according to the target service state after the vehicle service is provided to the outside to obtain the target service state of the vehicle service.
S105, managing the vehicle service according to the target service state of the vehicle service.
In some embodiments, the target service status of the vehicle service may be divided into service available and service unavailable, and the service status of the vehicle may be represented in other languages or symbols, for example up for service available and down for service unavailable.
If the service state of the vehicle service is that the service is available, providing the vehicle service to the outside; if the service state of the vehicle service is that the service is not available, the vehicle service is not provided outside.
In this embodiment, the service types corresponding to the vehicle service are determined by directly classifying the vehicle service, so that the problems of large workload and easy error in manually maintaining the vehicle service are solved, different modes of obtaining the target service states are obtained, the service types which are the first types of vehicle service and realize functions for the controller can be directly detected through corresponding interfaces to obtain the target service states, the service types which need auxiliary devices to realize configuration functions, namely the second type and the third type of vehicle service, the target service states are determined according to the corresponding message transmission conditions, the reliability of obtaining the target service states of the vehicle service is higher, the accuracy of service management is improved according to the obtained target service states, and meanwhile, the dynamic detection of the service states and the dynamic management of the service according to the service states are realized.
Referring to fig. 2, fig. 2 shows a flowchart of a service management method according to another embodiment of the present application, for an electronic device, where the method includes:
s201, determining a service class corresponding to the vehicle service.
S202, if the service class corresponding to the vehicle service is the second class, acquiring a first message transmission condition of an auxiliary device corresponding to the vehicle service, and determining a target service state corresponding to the vehicle service according to the first message transmission condition.
S203, if the service class corresponding to the vehicle service is the second class, acquiring a first message transmission condition of an auxiliary device corresponding to the vehicle service.
The descriptions of S201 to S203 refer to the descriptions of S101 to S103 above, and are not repeated here.
S241, if the first message transmission condition is that the auxiliary device transmits a message through the target channel, determining a target service state of the vehicle service according to a message transmission result of the auxiliary device and/or the validity of a message signal.
Wherein the target channel CAN be a controller area network (Controller Area Network, CAN bus), and various data of the automobile CAN be sent to the CAN line through sensors distributed throughout the automobile body; CAN be CAN flexible data rate bus (CAN Flexible Data Rate, CANFD bus), CANFD bus has made up the constraint of CAN bus bandwidth and data field length, its appearance CAN raise the network bandwidth greatly, promote the data transmission speed, strengthen reliability and security of the system; or a local interconnect network (Local Interconnect Network, LIN bus) that uses a single master and multiple slaves mode, requiring only one 12 volt signal line between the master and slaves.
The message is periodically sent, the message sending result refers to whether the message is sent or not, including message sending and message non-sending, and the validity of the message signal refers to whether the message signal is valid or not, including validity and invalidity of the message signal.
In some embodiments, as shown in fig. 3 and fig. 4, determining the target service state of the vehicle service according to the message sending result of the auxiliary device and/or the validity of the message signal may include: if the message sending result of the auxiliary device is that the message sending or the validity of the message signal is valid, determining that the target service state of the vehicle service is available. If the message sending result of the auxiliary device is that the message is not sent and the validity of the message signal is invalid, determining that the target service state of the vehicle service is unavailable.
In some embodiments, the validity of a message signal may be determined by the definition of the message signal. Illustratively, the definition of message signal XX and the validity of its corresponding message signal are shown in the following table:
TABLE 2
S242, if the first message transmission condition is that the auxiliary device cannot transmit the message through the target channel, sending a diagnosis service request to the auxiliary device through the controller of the vehicle; in response to a diagnostic service response returned by the auxiliary device based on the diagnostic service request, a target service state of the vehicle service is determined from the diagnostic service response.
As shown in fig. 5, the diagnostic service request at least includes detecting availability of a vehicle service, and the diagnostic service response at least includes detecting availability of a vehicle service corresponding to the diagnostic service request to obtain a service state corresponding to the vehicle service.
S205, if the service class corresponding to the vehicle service is the third class, configuring the initial service state of the vehicle service as service availability, providing the vehicle service to the outside, and determining the target service state corresponding to the vehicle service according to the second message transmission condition and the initial service state of the auxiliary device corresponding to the vehicle service.
S206, managing the vehicle service according to the target service state of the vehicle service.
The descriptions of S205-S206 refer to the descriptions of S104-S105 above, and are not repeated here.
In this embodiment, when the service class corresponding to the vehicle service is the second class and the third class, by acquiring the message transmission condition of the auxiliary device, when the auxiliary device cannot transmit the message through the target channel, and when the message transmission result and/or the validity of the message signal are different when the message is transmitted through the target channel, the target service state is respectively determined, and the vehicle service is managed according to the obtained target service state, so that the accuracy of service management is improved, and the reliability of the obtained target service state of the vehicle service is higher, and meanwhile, the dynamic detection of the service state and the dynamic management of the service according to the service state are realized.
Referring to fig. 6, fig. 6 shows a flowchart of a service management method according to another embodiment of the present application, for an electronic device, where the method includes:
s301, determining a service class corresponding to the vehicle service.
S302, if the service class corresponding to the vehicle service is the first class, detecting the availability of the vehicle service through the interface corresponding to the vehicle service to obtain the target service state corresponding to the vehicle service.
S303, if the service class corresponding to the vehicle service is the second class, acquiring a first message transmission condition of an auxiliary device corresponding to the vehicle service, and determining a target service state corresponding to the vehicle service according to the first message transmission condition.
S304, if the service class corresponding to the vehicle service is the third class, configuring the initial service state of the vehicle service as service availability, and providing the vehicle service to the outside.
The descriptions of S301 to S304 refer to the descriptions of S101 to S104 above, and are not repeated here.
S305, determining an intermediate service state corresponding to the vehicle service according to the second message transmission condition.
In some embodiments, if the second message transmission condition is that the auxiliary device transmits the message through the target channel, the intermediate service state of the vehicle service is determined according to the message sending result of the auxiliary device and/or the validity of the message signal.
In some embodiments, determining the target service state of the vehicle service according to the message sending result of the auxiliary device and/or the validity of the message signal may include: if the message sending result of the auxiliary device is that the message sending or the validity of the message signal is valid, determining that the target service state of the vehicle service is available. If the message sending result of the auxiliary device is that the message is not sent and the validity of the message signal is invalid, determining that the target service state of the vehicle service is unavailable.
S306, determining a comparison result of the intermediate service state and the initial service state.
The initial service state is known to be service available, if the intermediate service state is service available, the intermediate service state is consistent with the initial service state, and if the intermediate service state is service unavailable, the intermediate service state is inconsistent with the initial service state.
S371, if the intermediate service state is consistent with the initial service state, determining that the target service state of the vehicle service is service available.
When the intermediate service state is consistent with the initial service state, the initial service state and the intermediate service state of the vehicle service are both available, and the target service state of the vehicle service can be determined to be available.
And S372, if the intermediate service state is inconsistent with the initial service state, determining that the target service state of the vehicle service is service unavailable.
When the intermediate service state is inconsistent with the initial service state, the initial service state of the vehicle service is service available, the intermediate service state is service unavailable, the service state of the vehicle service is changed from service available to service unavailable, and the obtained target service state is service unavailable.
S308, managing the vehicle service according to the target service state of the vehicle service.
In some embodiments, S308 may include: if the target service state of the vehicle service is service available, continuing to provide the vehicle service to the outside; if the target service state of the vehicle service is that the service is not available, stopping providing the vehicle service.
The other descriptions of S308 refer to the descriptions of S105 above, and are not repeated here.
In this embodiment, for the third class of vehicle service, the initial service state of the vehicle service is configured to be service available, so that the vehicle service is provided to the outside, the problem that the feedback time of the vehicle service of this class depending on the auxiliary device to obtain the corresponding target service state is long is solved, the quick call of the vehicle service of this service class is ensured, the efficiency of service management is improved, and then whether to continue to provide the vehicle service to the outside or interrupt the vehicle service to the outside is determined according to the determined target service state, so that the flexibility of service management is improved.
As shown in fig. 7, the service class of the vehicle service is first determined, if the vehicle service is in the first class or the second class, the target service state of the vehicle service is determined, if the target service state is service available, the service state is set to up, the service is provided to the outside, and if the target service state is service unavailable, the service state is set to down, and the service is not provided to the outside; if the vehicle service is in the third category, setting an initial service state as up, providing service to the outside, then determining a target service state of the vehicle service, if the target service state is available, setting the service state as up, continuing to provide service to the outside, and if the target service state is unavailable, setting the service state as down, and interrupting the providing service to the outside.
Referring to fig. 8, fig. 8 is a block diagram illustrating a service management apparatus according to an embodiment of the present application. For an electronic device, the apparatus 400 comprises:
a first determining module 401, configured to determine a service class corresponding to a vehicle service;
The second determining module 402 is configured to detect, if a service class corresponding to the vehicle service is a first class, availability of the vehicle service through an interface corresponding to the vehicle service to obtain a target service state corresponding to the vehicle service, where the first class is a service class that implements a function through a controller of the vehicle;
A third determining module 403, configured to obtain a first message transmission condition of an auxiliary device corresponding to the vehicle service if the service class corresponding to the vehicle service is the second class, and determine a target service state corresponding to the vehicle service according to the first message transmission condition; the first category is a service category for realizing functions through the controller of the vehicle, and the auxiliary devices are sensors and/or actuators of the vehicle;
A fourth determining module 404, configured to configure an initial service state of the vehicle service to be service available if the service class corresponding to the vehicle service is a third class, provide the vehicle service to the outside, and determine a target service state corresponding to the vehicle service according to a second message transmission condition of an auxiliary device corresponding to the vehicle service and the initial service state, where the third class is a service class of a standard configuration function implemented by a controller of the vehicle under assistance of the auxiliary device of the vehicle;
and the management module 405 is configured to manage the vehicle service according to the target service state of the vehicle service.
Optionally, the third determining module 403 is further configured to determine, if the first message transmission condition is that the auxiliary device transmits a message through the target channel, a target service state of the vehicle service according to a message sending result of the auxiliary device and/or validity of a message signal. .
Optionally, the third determining module 403 is further configured to determine that the target service state of the vehicle service is available if the message sending result of the auxiliary device is that the message sending result or the validity of the message signal is valid; if the message sending result of the auxiliary device is that the message is not sent and the validity of the message signal is invalid, determining that the target service state of the vehicle service is unavailable.
Optionally, the third determining module 403 is further configured to send, if the first message transmission condition is that the auxiliary device cannot transmit the message through the target channel, a diagnostic service request to the auxiliary device through the controller of the vehicle; in response to a diagnostic service response returned by the auxiliary device based on the diagnostic service request, a target service state of the vehicle service is determined from the diagnostic service response.
Optionally, the fourth determining module 404 is further configured to determine, according to the second message transmission condition, an intermediate service state corresponding to the vehicle service; determining a comparison result of the intermediate service state and the initial service state; if the intermediate service state is consistent with the initial service state, determining that the target service state of the vehicle service is service available; if the intermediate service state is inconsistent with the initial service state, determining that the target service state of the vehicle service is service unavailable.
Optionally, the fourth determining module 404 is further configured to continue providing the vehicle service to the outside if the target service status of the vehicle service is service available; if the target service state of the vehicle service is that the service is not available, stopping providing the vehicle service.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the apparatus and modules described above may refer to the corresponding process in the foregoing method embodiment, which is not repeated herein.
In addition, each function in each embodiment of the present application may be integrated into one processing module, each module may exist alone physically, or two or more modules may be integrated into one module. The integrated modules may be implemented in hardware or in software functional modules.
Referring to fig. 9, a block diagram of an electronic device according to an embodiment of the application is shown. The electronic device 500 may be a smart phone, a tablet computer, an electronic book, a vehicle, or other electronic devices capable of running applications. The electronic device 500 of the present application may include one or more of the following components: a processor 510, a memory 520, and one or more application programs. Wherein one or more application programs may be stored in the memory 520 and configured to be executed by the one or more processors 510, the one or more program(s) configured to perform the methods as described in the foregoing method embodiments.
Processor 510 may include one or more processing cores. The processor 510 utilizes various interfaces and lines to connect various portions of the overall electronic device 500, perform various functions of the electronic device 500, and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 520, and invoking data stored in the memory 520. Alternatively, the processor 510 may be implemented in hardware in at least one of digital signal Processing (DIGITAL SIGNAL Processing, DSP), field-Programmable gate array (Field-Programmable GATE ARRAY, FPGA), programmable logic array (Programmable Logic Array, PLA). The processor 510 may integrate one or a combination of several of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), and a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for being responsible for rendering and drawing of display content; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 510 and may be implemented solely by a single communication chip.
Memory 520 may include random access Memory (Random Access Memory, RAM) or Read-Only Memory (ROM). Memory 520 may be used to store instructions, programs, code sets, or instruction sets. The memory 520 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described below, etc. The storage data area may also store data created by the electronic device 500 in use (e.g., phonebook, audiovisual data, chat log data), and the like.
In addition, each function in each embodiment of the present application may be integrated into one processing module, each module may exist alone physically, or two or more modules may be integrated into one module. The integrated modules may be implemented in hardware or in software functional modules.
In another aspect, the present application also provides a computer readable storage medium having stored therein program code that can be invoked by a processor to perform the method described in the above method embodiments.
The computer readable storage medium may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a cluster of ROMs. Optionally, the computer readable storage medium comprises a non-volatile computer readable storage medium (non-transitory computer-readable storage medium). The computer readable storage medium has storage space for program code to perform any of the method steps described above. The program code can be read from or written to one or more computer program products. The program code may be compressed, for example, in a suitable form.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the application has been described in detail with reference to the foregoing embodiments, it will be appreciated by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not drive the essence of the corresponding technical solutions to depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (9)

1. A method of service management, the method comprising:
Determining a service class corresponding to the vehicle service;
If the service class corresponding to the vehicle service is a first class, detecting the availability of the vehicle service through an interface corresponding to the vehicle service to obtain a target service state corresponding to the vehicle service, wherein the first class is a service class which realizes functions through a controller of the vehicle;
If the service class corresponding to the vehicle service is the second class, acquiring a first message transmission condition of an auxiliary device corresponding to the vehicle service, and determining a target service state corresponding to the vehicle service according to the first message transmission condition; the second category is a service category of a selected device function implemented by a controller of a vehicle with the aid of an auxiliary device of the vehicle, the auxiliary device being a sensor and/or an actuator of the vehicle;
If the service class corresponding to the vehicle service is a third class, configuring an initial service state of the vehicle service as service available, providing the vehicle service to the outside, and determining a target service state corresponding to the vehicle service according to a second message transmission condition of an auxiliary device corresponding to the vehicle service and the initial service state, wherein the third class is a service class of a standard configuration function realized by a controller of the vehicle under the assistance of the auxiliary device of the vehicle;
and managing the vehicle service according to the target service state of the vehicle service.
2. The method according to claim 1, wherein the determining, according to the first message transmission condition, a target service state corresponding to the vehicle service includes:
And if the first message transmission condition is that the auxiliary device transmits a message through a target channel, determining a target service state of the vehicle service according to a message transmission result of the auxiliary device and/or the validity of a message signal.
3. The method according to claim 2, wherein determining the target service state of the vehicle service according to the messaging result and/or the validity of the messaging signal of the auxiliary device comprises:
If the message sending result of the auxiliary device is that the message sending or the validity of the message signal is valid, determining that the target service state of the vehicle service is available;
and if the message sending result of the auxiliary device is that the message is not sent and the validity of the message signal is invalid, determining that the target service state of the vehicle service is unavailable.
4. The method of claim 1, wherein determining the target service status of the vehicle service based on the first messaging condition comprises:
If the first message transmission condition is that the auxiliary device cannot transmit the message through the target channel, sending a diagnosis service request to the auxiliary device through the controller of the vehicle;
and responding to a diagnosis service response returned by the auxiliary device based on the diagnosis service request, and determining a target service state of the vehicle service according to the diagnosis service response.
5. The method of claim 1, wherein determining the target service state of the vehicle service based on the second messaging condition and the initial service state comprises:
Determining an intermediate service state corresponding to the vehicle service according to the second message transmission condition;
Determining a comparison result of the intermediate service state and the initial service state;
If the intermediate service state is consistent with the initial service state, determining that the target service state of the vehicle service is available for service;
And if the intermediate service state is inconsistent with the initial service state, determining that the target service state of the vehicle service is service unavailable.
6. The method of claim 5, wherein managing the vehicle service according to the target service state of the vehicle service comprises:
If the target service state of the vehicle service is service available, continuing to provide the vehicle service to the outside;
and if the target service state of the vehicle service is that the service is unavailable, stopping providing the vehicle service.
7. A service management apparatus, the apparatus comprising:
The first determining module is used for determining a service class corresponding to the vehicle service;
The second determining module is configured to detect availability of the vehicle service through an interface corresponding to the vehicle service if the service class corresponding to the vehicle service is a first class, and obtain a target service state corresponding to the vehicle service, where the first class is a service class that realizes a function through a controller of the vehicle;
The third determining module is configured to obtain a first message transmission condition of an auxiliary device corresponding to the vehicle service if the service class corresponding to the vehicle service is a second class, and determine a target service state corresponding to the vehicle service according to the first message transmission condition; the first category is a service category for realizing functions through a controller of the vehicle, and the auxiliary devices are sensors and/or actuators of the vehicle;
A fourth determining module, configured to configure an initial service state of the vehicle service as a service available if a service class corresponding to the vehicle service is a third class, provide the vehicle service to the outside, and determine a target service state corresponding to the vehicle service according to a second message transmission condition of an auxiliary device corresponding to the vehicle service and the initial service state, where the third class is a service class of a standard configuration function implemented by a controller of a vehicle under assistance of the auxiliary device of the vehicle;
and the management module is used for managing the vehicle service according to the target service state of the vehicle service.
8. An electronic device, comprising:
one or more processors;
A memory;
One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications configured to perform the method of any of claims 1-6.
9. A computer readable storage medium, characterized in that the computer readable storage medium stores a program code executable by a processor, which program code, when executed by the processor, causes the processor to perform the method of any of claims 1-6.
CN202311533974.1A 2023-11-16 2023-11-16 Service management method, device, electronic equipment and storage medium Pending CN117956020A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311533974.1A CN117956020A (en) 2023-11-16 2023-11-16 Service management method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311533974.1A CN117956020A (en) 2023-11-16 2023-11-16 Service management method, device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117956020A true CN117956020A (en) 2024-04-30

Family

ID=90802373

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311533974.1A Pending CN117956020A (en) 2023-11-16 2023-11-16 Service management method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117956020A (en)

Similar Documents

Publication Publication Date Title
US10140783B2 (en) Enhanced central gateway for vehicle networking
US11240317B2 (en) Diagnostic method and system for vehicle, and related device thereof
US10601606B2 (en) Communications on vehicle data buses
JP5123321B2 (en) Device control device and device control program
EP3179320B1 (en) Method and device for processing real-time vehicle traveling data
CN110971453B (en) Network topology determination method and device, vehicle network topology structure and vehicle
US8275513B2 (en) Vehicle communications interface and method of operation thereof
CN112230624B (en) Control system and method for vehicle door lock
US20130304277A1 (en) Vehicle control system
CN112805645A (en) Vehicle remote diagnosis method and related device
EP4072168B1 (en) Vehicle communication method, apparatus, and vehicle
CN113608483B (en) Method for acquiring vehicle signal value, electronic equipment and electronic control unit
US20100211582A1 (en) Open architecture vehicle information module for vehicle and trailer, and system and method thereof
US20220234626A1 (en) Trusted context self learning method for an in-vehicle network intrusion detection system developed to limit calibration proliferation and development costs
CN117956020A (en) Service management method, device, electronic equipment and storage medium
CN116319499A (en) Diagnostic method and device for vehicle, electronic equipment and storage medium
CN118694621A (en) System and method for waking up vehicle-mounted system by dormancy
CN115499791B (en) Service-oriented communication method, device, electronic equipment and storage medium
WO2024204024A1 (en) Vehicle control device and vehicle control method
CN117055536A (en) Function detection method and device and electronic equipment
CN117376053A (en) Vehicle network segment wake-up method, device, equipment, medium and program product
CN118276962A (en) Service management method, application management method, device and vehicle
JP2002274292A (en) Operating system for automobile
CN118394027A (en) Diagnostic upgrading method of multiple controllers and related device
JP2016158142A (en) Repeating device

Legal Events

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