[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

WO2023051315A1 - Application control method and apparatus, electronic device, and storage medium - Google Patents

Application control method and apparatus, electronic device, and storage medium Download PDF

Info

Publication number
WO2023051315A1
WO2023051315A1 PCT/CN2022/119863 CN2022119863W WO2023051315A1 WO 2023051315 A1 WO2023051315 A1 WO 2023051315A1 CN 2022119863 W CN2022119863 W CN 2022119863W WO 2023051315 A1 WO2023051315 A1 WO 2023051315A1
Authority
WO
WIPO (PCT)
Prior art keywords
started
adaptive application
adaptive
application
management device
Prior art date
Application number
PCT/CN2022/119863
Other languages
French (fr)
Chinese (zh)
Inventor
孙荫权
张晓谦
李岩
于士淇
冯一诺
Original Assignee
中国第一汽车股份有限公司
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 中国第一汽车股份有限公司 filed Critical 中国第一汽车股份有限公司
Publication of WO2023051315A1 publication Critical patent/WO2023051315A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B13/00Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
    • G05B13/02Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
    • G05B13/04Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators
    • G05B13/042Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators in which a parameter or coefficient is automatically adjusted to optimise the performance

Definitions

  • the embodiments of the present application relate to the technical field of network services, for example, to an application control method, device, electronic device, and storage medium.
  • Automotive Open System Architecture Automotive Open System Architecture, AUTOSAR
  • AUTOSAR Automatic Open System Architecture
  • the adaptive (Adaptive) AUTOSAR development code package uses a scalable service-oriented middleware (Scalable service-Oriented Middleware over IP, SOME/IP) communication protocol based on the Internet Protocol (Internet Protocol, IP) for each adaptive Provide a service-oriented communication mode between applications, and use the execution management module to manage the start and stop of each adaptive application according to the AUTOSAR specification.
  • SOME/IP Scalable service-Oriented Middleware over IP
  • IP Internet Protocol
  • the embodiment of the present application provides an application control method, device, electronic equipment and storage medium, so as to save the hardware configuration cost of the development board, and provide a new idea for controlling multiple self-adaptive application terminals.
  • the embodiment of the present application provides an application control method, the method includes:
  • the service management device receives service provisioning events sent by multiple adaptive application ends;
  • the service management device determines the startup sequence of the multiple adaptive application terminals
  • the service management device determines the adaptive application terminal to be started from the plurality of adaptive application terminals according to the startup sequence
  • the service management device sends specified state information to the adaptive application to be started, so that the adaptive application to be started determines whether to start the adaptive application to be started based on the specified state information;
  • the service management device determines the adaptive application end to be started from the plurality of adaptive application ends according to the startup sequence until the adaptive application end of the plurality of adaptive All applications are started.
  • an embodiment of the present application provides an application control method, the method including:
  • the adaptive application receives the specified status information sent by the service management device
  • the adaptive application determines whether to start based on the specified state information, and sends a notification service event to the service management device.
  • the embodiment of the present application provides an application control device, which is applied to a service management device, and the device includes:
  • the event receiving module is configured to receive service provisioning events sent by multiple adaptive application ends;
  • the first determination module is configured to determine the startup sequence of the plurality of adaptive application terminals
  • the second determining module is configured to determine an adaptive application terminal to be started from the plurality of adaptive application terminals according to the startup sequence
  • An information sending module configured to send specified state information to the adaptive application to be started, so that the adaptive application to be started determines whether to start the adaptive application to be started based on the specified state information
  • the repeated execution module is configured to return to execute the adaptive application terminal to be started from the plurality of adaptive application terminals determined according to the startup sequence after the adaptive application terminal to be started is started, until the multiple adaptive application terminals are All adaptive applications are started.
  • the embodiment of the present application provides an application control device, which is applied to an adaptive application terminal, and the device includes:
  • the information receiving module is configured to receive specified status information sent by the service management device
  • the information processing module is configured to determine whether to start based on the specified state information, and send a notification service event to the service management device.
  • the embodiment of the present application provides an electronic device, the electronic device includes:
  • a storage device configured to store a program
  • the processor When the program is executed by the processor, the processor implements the application control method described in any embodiment of the present application.
  • the embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the application control method described in any embodiment of the present application is implemented.
  • FIG. 1 is a schematic flow chart of a first application control method provided in an embodiment of the present application
  • FIG. 2 is a second schematic flowchart of an application control method provided in an embodiment of the present application.
  • FIG. 3 is a signaling diagram of an application control provided by an embodiment of the present application.
  • Fig. 4 is a first structural schematic diagram of an application control device provided by an embodiment of the present application.
  • FIG. 5 is a second structural schematic diagram of an application control device provided in an embodiment of the present application.
  • Fig. 6 is a block diagram of an electronic device used to implement an application control method according to an embodiment of the present application.
  • This application binds the SOME/IP communication protocol to the service management device and multiple adaptive application terminals through the communication management module. Through the SOME/IP communication protocol and the application control method of this application, the service management device can implement multiple self-adaptive applications. The startup sequence of the application side is controlled. Next, based on the above introduction, an implementation manner of the embodiment of the present application is introduced.
  • FIG. 1 is a schematic flowchart of a first application control method provided by an embodiment of the present application. This embodiment is applicable to a situation where a service management device controls the startup sequence of multiple adaptive application terminals based on the application control method.
  • An application control method provided in this embodiment can be executed by the application control device provided in Embodiment 4 of the present application.
  • the device can be realized by at least one of software and hardware, and integrated into the service management device that executes the method. middle.
  • the method of the present embodiment comprises the steps:
  • the service event is an event communication type in the SOME/IP protocol, which means that after the client application sends a subscription to the server with a specified requirement, the server sends the specified data required by the client to the client.
  • the self-adaptive application refers to the device that carries the self-adaptive application; the service management device can receive service provisioning events sent from multiple self-adaptive application.
  • the service management device may be a device different from the adaptive application end, or the same device as the adaptive application end.
  • the service management device after the service management device receives the service provision events sent by the multiple adaptive application terminals, it also needs to determine the startup sequence of the multiple adaptive application terminals. Then, the service management device sequentially starts multiple adaptive application terminals according to the starting sequence.
  • the process of determining the startup order of multiple adaptive application ends may be: acquiring attribute information of multiple adaptive application ends in advance, the attribute information at least including corresponding adaptive application end identification numbers and priority levels. According to the priority levels of the adaptive application terminals in the attribute information, the priority levels of the multiple adaptive application terminals are sorted to obtain the starting order of the multiple adaptive application terminals.
  • the process of determining the startup sequence of multiple adaptive application ends may also be: the service provision event sent by the adaptive application end may include the corresponding adaptive application end identification number and priority level. According to the priority levels of the adaptive application ends in the service provision event, the priority levels of the multiple adaptive application ends are sorted to obtain the starting sequence of the multiple adaptive application ends.
  • This application can allow different adaptive application terminals to have the same priority level, that is, this application can allow multiple adaptive application terminals with the same priority level to start simultaneously.
  • the naming method of the adaptive application priority level in this application may be words such as “high level”, “middle level” and “low level”, or the numbers “1", “2” and “3” number, or other naming methods that can indicate the priority level.
  • the service management device determines the adaptive application terminals to be started from the multiple adaptive application terminals according to the startup sequence. It is worth noting that since this application allows different adaptive application terminals to have the same priority level, there can be one or more adaptive application terminals to be activated, and the number of adaptive application terminals to be activated can be managed according to the service It is determined by the adaptive application received by the device.
  • the service management device For example, if there is no adaptive application with the same priority level in the adaptive application received by the service management device, then there is one adaptive application to be started; if there are two adaptive applications received by the service management device The priority levels of the adaptive application terminals are the same, so when the two adaptive application terminals are adaptive application terminals to be activated, there are two adaptive application terminals to be activated.
  • S140 Send specified state information to the adaptive application to be started, so that the adaptive application to be started determines whether to start the adaptive application to be started based on the specified state information.
  • the specified status information includes at least one of the following: platform status information of the hardware platform carrying the adaptive application, running status information of other adaptive application terminals that have a dependent relationship with the adaptive application, and custom status information of the adaptive application .
  • the platform state information includes at least one of the following: power on the hardware platform, normal operation of the hardware platform, sleep operation of the hardware platform, power off of the hardware platform, and stop operation of the hardware platform; custom state information is an artificially abstract state. The status information that technicians can artificially set according to actual needs in practical applications.
  • the specified status information can be sent through a service event.
  • the service management device needs to send specified status information to the adaptive application to be started, so that the adaptive application to be started determines whether to Start the adaptive application to be started.
  • the type of the adaptive application terminal to be started it can be determined what kind of information the specified state information is.
  • the process of sending specified status information to the adaptive application to be started in this step can be realized through the following three situations:
  • the first case when the type of the adaptive application to be started is the first type, the service management device acquires the platform state information, and sends the platform state information to the adaptive application to be started.
  • the first type means that whether the adaptive application to be started can be started depends only on the platform status information, and does not depend on the running status information of other adaptive applications; the platform status information is the status information of the hardware platform carrying the adaptive application.
  • the second case when the type of the adaptive application to be started is the second type, the service management device obtains the platform status information and the running status information of other adaptive applications, and sends the platform status information to the adaptive application to be started and other running status information on the adaptive application side.
  • the second type means that whether the adaptive application to be started can be started depends not only on the platform status information, but also depends on the running status information of other adaptive application terminals that have a dependency relationship with the adaptive application terminal to be started; other adaptive application terminals are related to The to-be-started adaptive application has dependencies on other adaptive applications.
  • the other adaptive application end may be one adaptive application end, or may be multiple adaptive application ends.
  • the adaptive application end A to be started is dependent on the adaptive application end B, whether the adaptive application end A to be started can be started depends on the adaptive Whether the running status information of application side B is enabled or not. That is, when the running state information of the adaptive application terminal B is running, the adaptive application terminal A can only be started when it is started; when the running state information of the adaptive application terminal B is stopped, the adaptive application terminal A to be started A cannot start.
  • the adaptive application terminal A to be started if the adaptive application terminal A to be started, the adaptive application terminal B and the adaptive application terminal C are dependencies, the adaptive application terminal A to be started Whether it can be started depends on whether the running status information of the adaptive application terminal B and the adaptive application terminal C are both running. That is, when the running status information of adaptive application terminal B and adaptive application terminal C are both running, the adaptive application terminal A can only be started after starting; when the adaptive application terminal B and adaptive application terminal C are running When one of the state information is stopped, the adaptive application terminal A to be started cannot be started.
  • Case 3 When the type of the adaptive application to be started is the third type, the service management device obtains the state information corresponding to the customized state after switching to the customized state, and sends the customized State information corresponding to the state.
  • the third type means that whether the adaptive application to be started can be started does not depend on the platform status information, nor on the running status information of other adaptive applications, but depends on the status information corresponding to the self-defined status of the adaptive application.
  • the service management device executes the suspension operation (such as a suspended state); when the service management device receives the notification service sent by the adaptive application to be started Execute on-run on event.
  • the notification service event is start notification information
  • the service management device also needs to send an acknowledgment service event to the adaptive application to be started to instruct the adaptive application to be started to enter the working mode.
  • the notification service event refers to the event that the adaptive application to be started sends to the service management device to notify its running status after determining whether it is started.
  • the notification service event includes opening notification information or stopping notification information; opening notification information is the current pending The self-adaptive application is in the running state; the stop notification information is that the current adaptive application to be started is in the stopped state; the confirmation service event is the event communication type in the SOME/IP protocol, and the service management device has confirmed that the self-adaptive application to be started has received After the notification service event of the adaptation application end, a confirmation service event is sent to the adaptive application end to be started, so as to instruct the adaptive application end to be started to enter the working mode.
  • the above S130-S140 is a process of responding to a service provision event sent by one of the adaptive application terminals to be started. Each adaptive application end responds to the corresponding service event until multiple adaptive application ends are all started.
  • the startup order of multiple adaptive application ends is determined according to the priority level of the adaptive application ends, so as to start from multiple adaptive application ends according to the startup sequence.
  • return execution determines the adaptive application end to be started from the multiple adaptive application ends according to the start order until all the adaptive application ends are started.
  • the service management device when only the communication management module is configured in the development board, the service management device receives the service event requests of each adaptive application through the communication management module, and processes each service event request, so as to realize the control of multiple adaptive application terminals boot sequence.
  • the implementation of the technical solution of the present application can save the hardware configuration cost of the development board, and provide a new idea for controlling multiple self-adaptive application terminals of the AUTOSAR platform.
  • FIG. 2 is a second schematic flowchart of an application control method provided by an embodiment of the present application. This embodiment is applicable to the situation where an adaptive application terminal to be started on an adaptive application terminal determines its running state based on an application control method.
  • An application control method provided in this embodiment can be executed by the application control device provided in Embodiment 5 of the present application.
  • the device can be realized by at least one of software and hardware, and integrated in the adaptive application that executes the method. terminal.
  • the method of the present embodiment comprises the following steps:
  • S210 Receive specified state information sent by the service management device.
  • the service management device determines the startup order of multiple adaptive application terminals according to the priority levels of adaptive application terminals, so that the multiple The adaptive application end to be started is determined from the adaptive application end, and specified status information is sent to the adaptive application end to be started.
  • the adaptive application to be started receives the specified status information sent by the service management device.
  • the specified status information includes at least one of the following: status information of a platform carrying an adaptive application platform, running status information of other adaptive application terminals that have a dependent relationship with the adaptive application, and custom status information of the adaptive application.
  • receiving the specified status information sent by the service management device can be realized through the following three situations:
  • the first case when the type of the adaptive application to be started is the first type, what the adaptive application to be started receives is the platform state information sent by the service management device.
  • the first type means that whether the adaptive application to be started can be started depends only on the platform status information, and does not depend on the running status information of other adaptive applications;
  • the platform status information is the status information of the hardware platform carrying the adaptive application.
  • the second case when the type of the adaptive application to be started is the second type, what the adaptive application to be started receives is the platform status information sent by the service management device and the running status information of other adaptive applications.
  • the second type means that whether the adaptive application to be started can be started depends not only on the platform status information, but also depends on the running status information of other adaptive applications that have a dependency relationship with the adaptive application to be started; other adaptive applications
  • the terminal is another adaptive application terminal that has a dependency relationship with the adaptive application terminal to be started.
  • the third case when the type of the adaptive application to be started is the third type, what the adaptive application to be started receives is the state information corresponding to the custom state sent by the service management device.
  • the third type refers to whether the adaptive application to be started can be started neither depending on the platform status information nor on the running status information of other adaptive applications, but depends on the status information corresponding to the self-defined status of the adaptive application .
  • S220 Determine whether to start based on the specified state information, and send a notification service event to the service management device.
  • the notification service event is information to notify the running status of the adaptive application terminal to be started after determining whether to start it; for example, the notification service event includes enabling notification information or stopping notification information.
  • the management device sends the opening notification information and receives the confirmation service event sent by the service management device, and the adaptive application to be started enters the working mode after receiving the confirmation service event; based on the specified status information, it is inconsistent with the start-up operation conditions of the adaptive application to be started , do not start the self-adaptive application to be started, and send stop notification information to the service management device.
  • the service management device receives a notification service event sent by the adaptive application to be started (whether the notification information is enabled or the notification information is stopped), it stops the suspended state, executes the startup operation, and continues to work.
  • the type of the adaptive application terminal to be started when the type of the adaptive application terminal to be started is the first type, it is judged whether the received platform status information is consistent with the start operation condition; the type of the adaptive application terminal to be started is the second type. type, judge whether the received platform status information and the running status information of other adaptive applications are consistent with the start-up operation conditions; when the type of the adaptive application to be started is the third type, judge whether Whether the custom status information of the user is consistent with the start-up operation condition.
  • the adaptive application terminal to be started among the multiple adaptive application terminals receives the specified state information sent by the service management device;
  • the management device sends notification service events.
  • the service management device receives the service event requests of each adaptive application through the communication management module, and processes each service event request, so as to realize the control of multiple adaptive application terminals boot sequence.
  • the implementation of the technical solution of the present application can save the hardware configuration cost of the development board, and provide a new idea for controlling multiple self-adaptive application terminals of the AUTOSAR platform.
  • FIG. 3 is a signaling diagram of an application control provided by an embodiment of the present application.
  • this embodiment of the present application provides an example of interaction between an application control-based service management device and an adaptive application end, and this embodiment includes the following steps:
  • the method of the present embodiment includes the following steps:
  • the service management device receives service provision events sent by multiple adaptive application ends.
  • Fig. 3 only shows the situation of two adaptive application ends, that is, adaptive application end A and adaptive application end B.
  • the service management device determines the startup sequence of the multiple adaptive application terminals according to the priority levels of the multiple adaptive application terminals.
  • the service management device determines an adaptive application terminal to be started from a plurality of adaptive application terminals according to a starting sequence.
  • FIG. 3 shows the situation that the self-adaptive application terminal A is the self-adaptive application terminal to be started.
  • the service management device sends specified status information to the self-adaptive application to be started, and suspends the operation.
  • the specified status information includes at least one of the following: status information of the platform carrying the adaptive application platform, running status information of other adaptive application terminals that have a dependent relationship with the adaptive application, and custom status information of the adaptive application.
  • the adaptive application to be started receives the specified state information sent by the service management device.
  • the to-be-started adaptive application terminal determines whether to start the to-be-started adaptive application terminal based on the specified state information.
  • the adaptive application to be started sends a notification service event to the service management device.
  • the notification service event includes enabling notification information or stopping notification information.
  • the service management device receives the notification service event sent by the adaptive application to be started, and executes the start operation.
  • the service management device sends a confirmation service event to the adaptive application terminal to be started.
  • the adaptive application to be started receives the confirmation service event sent by the service management device, and enters the working mode.
  • the service management device returns to execute and determines the adaptive application end to be started from the plurality of adaptive application ends according to the start order until all the adaptive application ends are started.
  • the service management device when only the communication management module is configured in the development board, the service management device receives the service event requests of each adaptive application through the communication management module, and processes each service event request to realize control The startup sequence of multiple adaptive applications.
  • the implementation of the technical solution of the present application can save the hardware configuration cost of the development board, and provide a new idea for controlling multiple self-adaptive application terminals of the AUTOSAR platform.
  • FIG. 4 is a schematic diagram of a first structure of an application control device provided in an embodiment of the present application.
  • the application control device is applied to a service management device.
  • the device 400 may include:
  • the event receiving module 410 is configured to receive service provision events sent by multiple adaptive application ends;
  • the first determination module 420 is configured to determine the startup sequence of the multiple adaptive application terminals
  • the second determination module 430 is configured to determine the adaptive application terminal to be started from the plurality of adaptive application terminals according to the startup sequence;
  • the information sending module 440 is configured to send specified state information to the adaptive application to be started, so that the adaptive application to be started determines whether to start the adaptive application to be started based on the specified state information;
  • the second determining module and the information sending module repeatedly execute corresponding steps until all the multiple adaptive application terminals are started.
  • the above-mentioned first determining module 420 is configured to: sort the priority levels of the multiple adaptive application terminals according to the pre-acquired attribute information of the multiple adaptive application terminals, and obtain the multiple Adaptive application startup sequence.
  • the above-mentioned information sending module 440 is configured to: determine the type of the adaptive application terminal to be started according to the pre-acquired attribute information of the plurality of adaptive application terminals; In the case of the first type, obtain platform state information, and send the platform state information to the adaptive application to be started, wherein the platform state information is the state information of the hardware platform carrying the adaptive application; When the type of the adaptive application to be started is the second type, obtain the platform status information and the running status information of other adaptive applications, and send the platform status information and The running status information of the other adaptive application end, wherein the other adaptive application end is another adaptive application end that has a dependency relationship with the adaptive application end to be started; the type of the adaptive application end to be started In the case of the third type, switch to a custom state and obtain state information corresponding to the custom state, and send the state information corresponding to the custom state to the adaptive application to be started.
  • the above-mentioned application control device may also include: a start-stop control module;
  • the start-stop control module is configured to execute pause operation after sending specified status information to the adaptive application end to be started; execute start operation when receiving a notification service event sent by the adaptive application end to be started ; and when the notification service event is start notification information, send an acknowledgment service event to the adaptive application to be started to instruct the adaptive application to be started to enter the working mode.
  • the application control device provided in this embodiment can be applied to the application control method provided in any of the above embodiments, and has corresponding functions and beneficial effects.
  • FIG. 5 is a schematic diagram of a second structure of an application control device provided in an embodiment of the present application.
  • the application control device is applied to an adaptive application terminal.
  • the device 500 may include:
  • the information receiving module 510 is configured to receive specified status information sent by the service management device;
  • the information processing module 520 is configured to determine whether to start based on the specified state information, and send a notification service event to the service management device.
  • the above-mentioned information processing module 520 is configured to: determine whether the specified state information is consistent with the enabling operation condition; start the adaptive application terminal based on the judgment result that the specified state information is consistent with the enabling operation condition, and Sending start notification information to the service management device; and entering a working mode when receiving a confirmation service event sent by the service management device; based on the judgment result that the specified state information is inconsistent with the start operation condition, not starting the adaptive application terminal, and send stop notification information to the service management device.
  • the application control device provided in this embodiment can be applied to the application control method provided in any of the above embodiments, and has corresponding functions and beneficial effects.
  • Fig. 6 is a block diagram of an electronic device used to implement an application control method according to an embodiment of the present application
  • Fig. 6 shows a block diagram of an exemplary electronic device suitable for implementing implementations of the embodiment of the present application.
  • the electronic device shown in Figure 6 is only an example.
  • the electronic device may be a smart phone, a tablet computer, a notebook computer, a vehicle terminal, a wearable device, and the like.
  • electronic device 600 takes the form of a general-purpose computing device.
  • the components of the electronic device 600 may include: one or more processors or processing units 616, a memory 628, and a bus 618 connecting different system components (including the memory 628 and the processing unit 616).
  • Bus 618 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus structures.
  • bus structures include, for example, the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MCA) bus, the Enhanced ISA bus, the Video Electronics Standards Association (VESA) ) Local bus and Peripheral Component Interconnect (PCI) bus.
  • ISA Industry Standard Architecture
  • MCA Micro Channel Architecture
  • VESA Video Electronics Standards Association
  • PCI Peripheral Component Interconnect
  • Electronic device 600 typically includes a variety of computer system readable media. These media can be all available media that can be accessed by electronic device 600 and include both volatile and nonvolatile media, removable and non-removable media.
  • Memory 628 may include computer system readable media in the form of volatile memory, such as random access memory (Random Access Memory, RAM) 630 and/or cache memory 632 .
  • Electronic device 600 may include other removable/non-removable, volatile/nonvolatile computer system storage media.
  • storage system 634 may be used to read from and write to non-removable, non-volatile magnetic media (often referred to as "hard drives").
  • a disk drive may be provided for reading and writing to removable nonvolatile disks (such as "floppy disks"), and for removable nonvolatile optical disks (such as the Compact Disc-Read Only Memory, CD-ROM), Digital Video Disk-Read Only Memory (DVD-ROM) or other optical media) CD-ROM drive.
  • each drive may be connected to bus 618 through one or more data media interfaces.
  • the memory 628 may include at least one program product, and the program product has a group (for example, at least one) of program modules configured to execute the functions of the embodiments of the present application.
  • a program/utility 640 having a set (at least one) of program modules 642, such as an operating system, one or more application programs, other program modules, and program data, examples of which may be stored in memory 628. Each or a combination of several may include the realization of the network environment.
  • the program module 642 generally executes the functions and/or methods in the embodiments described in the embodiments of this application.
  • the electronic device 600 may also communicate with one or more external devices 614 (such as a keyboard, pointing device, display 624, etc.), communicate with one or more devices that enable a user to interact with the electronic device 600, and/or communicate with A device (eg, network card, modem, etc.) that enables the electronic device 600 to communicate with one or more other computing devices. Such communication may be through an Input/Output (I/O) interface 622 .
  • the electronic device 600 can also communicate with one or more networks (such as a local area network (Local Area Network, LAN), a wide area network (Wide Area Network, WAN) and/or a public network such as the Internet) through the network adapter 620. As shown in FIG.
  • the network adapter 620 communicates with other modules of the electronic device 600 through the bus 618 .
  • other hardware and/or software modules may be used in conjunction with electronic device 600, including: microcode, device drivers, redundant processing units, external disk drive arrays, Redundant Array of Independent Disks (RAID) systems, tape drives And data backup storage system, etc.
  • the processing unit 616 executes various functional applications and data processing by running the programs stored in the memory 628, for example, implementing the application control method provided by any embodiment of the present application.
  • Embodiment 7 of the present application also provides a computer-readable storage medium, on which a computer program (or called computer-executable instructions) is stored.
  • a computer program or called computer-executable instructions
  • the computer program When the computer program is executed by a processor, it can be used to execute the above-mentioned The application control method provided by any embodiment.
  • the computer storage medium in the embodiments of the present application may use a combination of one or more computer-readable media.
  • the computer readable medium may be a computer readable signal medium or a computer readable storage medium.
  • the computer-readable storage medium may be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or a suitable combination of the above.
  • a computer-readable storage medium includes: an electrical connection having one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read only memory (ROM) , erasable programmable read-only memory (such as electronic programmable read-only memory (Electronic Programable Read Only Memory, EPROM) or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic memory components, or a suitable combination of the above.
  • a computer-readable storage medium may be a tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • a computer readable signal medium may include a data signal carrying computer readable program code in baseband or as part of a carrier wave. Such propagated data signals may take many forms, including electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer-readable signal medium may also be other computer-readable media other than the computer-readable storage medium, and the computer-readable medium may transmit, propagate or transmit the program for use by or in conjunction with the instruction execution system, device or device .
  • the program code contained on the computer readable medium can be transmitted by appropriate medium, including wireless, electric wire, optical cable, radio frequency (Radio Frequency, RF), etc., or an appropriate combination of the above.
  • Computer program codes for performing the operations of the embodiments of the present application can be written in one or more programming languages or combinations thereof, and the programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and conventional A procedural programming language such as "C" or a similar programming language.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. Where a remote computer is involved, the remote computer may be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g. via the Internet using an Internet Service Provider). .
  • LAN local area network
  • WAN wide area network
  • Internet Service Provider e.g. via the Internet using an Internet Service Provider.

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Computation (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Stored Programmes (AREA)

Abstract

An application control method and apparatus, an electronic device, and a storage medium. The application control method comprises: S110: receiving service providing events sent by a plurality of adaptive application ends; S120: determining a startup sequence of the plurality of adaptive application ends; S130: determining, from the plurality of adaptive application ends according to the startup sequence, an adaptive application end to be started; S140: sending specified state information to the adaptive application end to be started, so that the adaptive application end to be started determines, on the basis of the specified state information, whether to start the adaptive application end to be started; and S150: after the adaptive application end to be started is started, returning to execute the step of determining, from the plurality of adaptive application ends according to the startup sequence, an adaptive application end to be started, until the plurality of adaptive application ends are all started.

Description

应用控制方法、装置、电子设备及存储介质Application control method, device, electronic device and storage medium
本公开要求在2021年9月29日提交中国专利局、申请号为202111149639.2的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。This disclosure claims priority to a Chinese patent application with application number 202111149639.2 filed with the China Patent Office on September 29, 2021, the entire contents of which are incorporated herein by reference.
技术领域technical field
本申请实施例涉及网络服务技术领域,例如涉及一种应用控制方法、装置、电子设备及存储介质。The embodiments of the present application relate to the technical field of network services, for example, to an application control method, device, electronic device, and storage medium.
背景技术Background technique
在汽车领域中,车载娱乐系统和高级驾驶辅助系统等电子电气架构对车辆的通信模式提出了更高要求,因而汽车开放系统架构(Automotive Open System Architecture,AUTOSAR)联盟正推出一套新的标准,以适应更加多变的通信模式。In the automotive field, electronic and electrical architectures such as in-vehicle entertainment systems and advanced driver assistance systems have put forward higher requirements on the communication mode of vehicles. Therefore, the Automotive Open System Architecture (Automotive Open System Architecture, AUTOSAR) Alliance is introducing a new set of standards. In order to adapt to more changeable communication modes.
相关技术中,自适应(Adaptive)AUTOSAR开发代码包使用基于因特网协议(Internet Protocol,IP)的可扩展面向服务的中间件(Scalable service-Oriented MiddlewarE over IP,SOME/IP)通信协议为各个自适应应用之间提供面向服务的通信模式,并根据AUTOSAR规范使用执行管理模块对各个自适应应用的启停进行管理。然而,相关技术只有在开发板中配置有通信管理模块和执行管理模块,才能控制各个自适应应用之间的启动顺序。因此,相关技术在开发板空间有限,无法配置执行管理模块情况下,无法仅通过通信管理模块做到对自适应应用启动顺序进行控制。In the related technology, the adaptive (Adaptive) AUTOSAR development code package uses a scalable service-oriented middleware (Scalable service-Oriented Middleware over IP, SOME/IP) communication protocol based on the Internet Protocol (Internet Protocol, IP) for each adaptive Provide a service-oriented communication mode between applications, and use the execution management module to manage the start and stop of each adaptive application according to the AUTOSAR specification. However, in the related art, only when the communication management module and the execution management module are configured in the development board, can the startup sequence among various adaptive applications be controlled. Therefore, in the related art, when the space of the development board is limited and the execution management module cannot be configured, it is impossible to control the startup sequence of the adaptive application only through the communication management module.
发明内容Contents of the invention
本申请实施例提供了一种应用控制方法、装置、电子设备及存储介质,以实现节约开发板的硬件配置成本,为控制多个自适应应用端提供了一种新思路。The embodiment of the present application provides an application control method, device, electronic equipment and storage medium, so as to save the hardware configuration cost of the development board, and provide a new idea for controlling multiple self-adaptive application terminals.
第一方面,本申请实施例提供了一种应用控制方法,该方法包括:In the first aspect, the embodiment of the present application provides an application control method, the method includes:
服务管理设备接收多个自适应应用端发送的提供服务事件;The service management device receives service provisioning events sent by multiple adaptive application ends;
所述服务管理设备确定所述多个自适应应用端的启动顺序;The service management device determines the startup sequence of the multiple adaptive application terminals;
所述服务管理设备根据所述启动顺序从所述多个自适应应用端中确定出待启动自适应应用端;The service management device determines the adaptive application terminal to be started from the plurality of adaptive application terminals according to the startup sequence;
所述服务管理设备向所述待启动自适应应用端发送指定状态信息,以使得所述待启动自适应应用端基于所述指定状态信息确定是否启动所述待启动自适应应用端;The service management device sends specified state information to the adaptive application to be started, so that the adaptive application to be started determines whether to start the adaptive application to be started based on the specified state information;
在所述待启动自适应应用端启动之后,返回执行所述服务管理设备根据所述启动顺序从所述多个自适应应用端中确定出待启动自适应应用端,直至所述多个自适应应用端全部启动。After the adaptive application end to be started is started, the service management device determines the adaptive application end to be started from the plurality of adaptive application ends according to the startup sequence until the adaptive application end of the plurality of adaptive All applications are started.
第二方面,本申请实施例提供了一种应用控制方法,该方法包括:In a second aspect, an embodiment of the present application provides an application control method, the method including:
自适应应用端接收服务管理设备发送的指定状态信息;The adaptive application receives the specified status information sent by the service management device;
所述自适应应用端基于所述指定状态信息确定是否启动,并向所述服务管理设备发送通知服务事件。The adaptive application determines whether to start based on the specified state information, and sends a notification service event to the service management device.
第三方面,本申请实施例提供了一种应用控制装置,应用于服务管理设备,该装置包括:In a third aspect, the embodiment of the present application provides an application control device, which is applied to a service management device, and the device includes:
事件接收模块,被设置为接收多个自适应应用端发送的提供服务事件;The event receiving module is configured to receive service provisioning events sent by multiple adaptive application ends;
第一确定模块,被设置为确定所述多个自适应应用端的启动顺序;The first determination module is configured to determine the startup sequence of the plurality of adaptive application terminals;
第二确定模块,被设置为根据所述启动顺序从所述多个自适应应用端中确定出待启动自适应应用端;The second determining module is configured to determine an adaptive application terminal to be started from the plurality of adaptive application terminals according to the startup sequence;
信息发送模块,被设置为向所述待启动自适应应用端发送指定状态信息,以使得所述待启动自适应应用端基于所述指定状态信息确定是否启动所述待启动自适应应用端;An information sending module, configured to send specified state information to the adaptive application to be started, so that the adaptive application to be started determines whether to start the adaptive application to be started based on the specified state information;
重复执行模块,被设置为在所述待启动自适应应用端启动之后,返回执行根据所述启动顺序从所述多个自适应应用端中确定出待启动自适应应用端,直至所述多个自适应应用端全部启动。The repeated execution module is configured to return to execute the adaptive application terminal to be started from the plurality of adaptive application terminals determined according to the startup sequence after the adaptive application terminal to be started is started, until the multiple adaptive application terminals are All adaptive applications are started.
第四方面,本申请实施例提供了一种应用控制装置,应用于自适应应用端,该装置包括:In a fourth aspect, the embodiment of the present application provides an application control device, which is applied to an adaptive application terminal, and the device includes:
信息接收模块,被设置为接收服务管理设备发送的指定状态信息;The information receiving module is configured to receive specified status information sent by the service management device;
信息处理模块,被设置为基于所述指定状态信息确定是否启动,并向所述服务管理设备发送通知服务事件。The information processing module is configured to determine whether to start based on the specified state information, and send a notification service event to the service management device.
第五方面,本申请实施例提供了一种电子设备,该电子设备包括:In a fifth aspect, the embodiment of the present application provides an electronic device, the electronic device includes:
处理器;processor;
存储装置,被设置为存储程序;a storage device configured to store a program;
在所述程序被所述处理器执行时,所述处理器实现本申请任意实施例所述的应用控制方法。When the program is executed by the processor, the processor implements the application control method described in any embodiment of the present application.
第六方面,本申请实施例提供了一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现本申请任意实施例所述的应用控制方法。In a sixth aspect, the embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the application control method described in any embodiment of the present application is implemented.
附图说明Description of drawings
图1为本申请实施例提供的一种应用控制方法的第一流程示意图;FIG. 1 is a schematic flow chart of a first application control method provided in an embodiment of the present application;
图2为本申请实施例提供的一种应用控制方法的第二流程示意图;FIG. 2 is a second schematic flowchart of an application control method provided in an embodiment of the present application;
图3为本申请实施例提供的一种应用控制的信令图;FIG. 3 is a signaling diagram of an application control provided by an embodiment of the present application;
图4为本申请实施例提供的一种应用控制装置的第一结构示意图;Fig. 4 is a first structural schematic diagram of an application control device provided by an embodiment of the present application;
图5为本申请实施例提供的一种应用控制装置的第二结构示意图;FIG. 5 is a second structural schematic diagram of an application control device provided in an embodiment of the present application;
图6是用来实现本申请实施例的一种应用控制方法的电子设备的框图。Fig. 6 is a block diagram of an electronic device used to implement an application control method according to an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案描述,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application, and the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.
在介绍本申请实施例之前,需要说明的是,本申请的开发板中仅配置通信管理模块,未配置执行管理模块。本申请通过通信管理模块为服务管理设备和多个自适应应用端均绑定SOME/IP通信协议,通过SOME/IP通信协议和本申请的应用控制方法,服务管理设备可以实现对多个自适应应用端的启动顺序进行控制。接下来,基于上述介绍,对本申请实施例的实现方式进行介绍。Before introducing the embodiment of the present application, it should be noted that only the communication management module is configured in the development board of the present application, and the execution management module is not configured. This application binds the SOME/IP communication protocol to the service management device and multiple adaptive application terminals through the communication management module. Through the SOME/IP communication protocol and the application control method of this application, the service management device can implement multiple self-adaptive applications. The startup sequence of the application side is controlled. Next, based on the above introduction, an implementation manner of the embodiment of the present application is introduced.
实施例一Embodiment one
图1为本申请实施例提供的一种应用控制方法的第一流程示意图,本实施例可适用于服务管理设备基于应用控制方法对多个自适应应用端的启动顺序进行控制的情况。本实施例提供的一种应用控制方法可以由本申请实施例四提供的应用控制装置来执行,该装置可以通过软件和硬件中的至少之一的方式实现,并集成在执行本方法的服务管理设备中。FIG. 1 is a schematic flowchart of a first application control method provided by an embodiment of the present application. This embodiment is applicable to a situation where a service management device controls the startup sequence of multiple adaptive application terminals based on the application control method. An application control method provided in this embodiment can be executed by the application control device provided in Embodiment 4 of the present application. The device can be realized by at least one of software and hardware, and integrated into the service management device that executes the method. middle.
参见图1,本实施例的方法包括如下步骤:Referring to Fig. 1, the method of the present embodiment comprises the steps:
S110、接收多个自适应应用端发送的提供服务事件。S110. Receive service provision events sent by multiple adaptive application ends.
在本申请实施例中,提供服务事件是SOME/IP协议中事件通信类型,是指由客户端应用程序向服务端发送指定需求的订阅之后,服务端向客户端发送客户端需求的指定数据。自适应应用端是指承载自适应应用的设备;服务管理设备可以接收来自多个自适应应用端发送的提供服务事件。可选的,服务管理设备可以是区别于自适应应用端的一个设备,也可以与自适应应用端相同的一个设备。In the embodiment of this application, the service event is an event communication type in the SOME/IP protocol, which means that after the client application sends a subscription to the server with a specified requirement, the server sends the specified data required by the client to the client. The self-adaptive application refers to the device that carries the self-adaptive application; the service management device can receive service provisioning events sent from multiple self-adaptive application. Optionally, the service management device may be a device different from the adaptive application end, or the same device as the adaptive application end.
S120、确定多个自适应应用端的启动顺序。S120. Determine a startup sequence of multiple adaptive application terminals.
在本申请实施例中,服务管理设备接收多个自适应应用端发送的提供服务事件之后,还需确定多个自适应应用端的启动顺序。然后,服务管理设备按照启动顺序对多个自适应应用端依次进行启动。In the embodiment of the present application, after the service management device receives the service provision events sent by the multiple adaptive application terminals, it also needs to determine the startup sequence of the multiple adaptive application terminals. Then, the service management device sequentially starts multiple adaptive application terminals according to the starting sequence.
示例性地,多个自适应应用端的启动顺序的确定过程可以是:预先获取多个自适应应用端的属性信息,属性信息中至少包括对应的自适应应用端标识编号和优先级级别。根据属性信息中的自适应应用的端优先级级别,对多个自适应应用端的优先级级别进行排序,得到多个自适应应用端的启动顺序。Exemplarily, the process of determining the startup order of multiple adaptive application ends may be: acquiring attribute information of multiple adaptive application ends in advance, the attribute information at least including corresponding adaptive application end identification numbers and priority levels. According to the priority levels of the adaptive application terminals in the attribute information, the priority levels of the multiple adaptive application terminals are sorted to obtain the starting order of the multiple adaptive application terminals.
可选的,多个自适应应用端的启动顺序的确定过程还可以是:自适应应用端发送的提供服务事件中可以包含对应的自适应应用端标识编号和优先级级别。根据提供服务事件中的自适应应用端的优先级级别,对多个自适应应用端的优先级级别进行排序,得到多个自适应应用端的启动顺序。Optionally, the process of determining the startup sequence of multiple adaptive application ends may also be: the service provision event sent by the adaptive application end may include the corresponding adaptive application end identification number and priority level. According to the priority levels of the adaptive application ends in the service provision event, the priority levels of the multiple adaptive application ends are sorted to obtain the starting sequence of the multiple adaptive application ends.
本申请可以允许不同的自适应应用端有相同的优先级级别,也就是,本申请可以允许拥有相同优先级级别的多个自适应应用端同时启动。This application can allow different adaptive application terminals to have the same priority level, that is, this application can allow multiple adaptive application terminals with the same priority level to start simultaneously.
示例性的,本申请自适应应用优先级级别的命名方式可以是“高级别”、“中级别”和“低级本”等文字,也可以是“1”、“2”和“3”的数字编号,也可以是其他能够表示优先级级别的命名方式。Exemplarily, the naming method of the adaptive application priority level in this application may be words such as "high level", "middle level" and "low level", or the numbers "1", "2" and "3" number, or other naming methods that can indicate the priority level.
S130、根据启动顺序从多个自适应应用端中确定出待启动自适应应用端。S130. Determine the adaptive application terminal to be started from the plurality of adaptive application terminals according to the starting order.
在本申请实施例中,经上述S120确定了多个自适应应用端的启动顺序之后,服务管理设备根据启动顺序从多个自适应应用端中确定出待启动自适应应用端。值得注意的是,由于本申请可以允许不同的自适应应用端有相同的优先级级别,所以待启动自适应应用端可以一个,也可以是多个,待启动自适应应用端的数量可以根据服务管理设备所接收的自适应应用端来决定。In the embodiment of the present application, after the startup sequence of the multiple adaptive application terminals is determined through the above S120, the service management device determines the adaptive application terminals to be started from the multiple adaptive application terminals according to the startup sequence. It is worth noting that since this application allows different adaptive application terminals to have the same priority level, there can be one or more adaptive application terminals to be activated, and the number of adaptive application terminals to be activated can be managed according to the service It is determined by the adaptive application received by the device.
例如,如果服务管理设备所接收的自适应应用端中没有相同优先级级别的自适应应用端,那么待启动自适应应用端是一个;如果服务管理设备所接收的自适应应用端中有两个自适应应用端的优先级级别相同,那么当这两个自适应应用端为待启动自适应应用端时,待启动自适应应用端为两个。For example, if there is no adaptive application with the same priority level in the adaptive application received by the service management device, then there is one adaptive application to be started; if there are two adaptive applications received by the service management device The priority levels of the adaptive application terminals are the same, so when the two adaptive application terminals are adaptive application terminals to be activated, there are two adaptive application terminals to be activated.
S140、向待启动自适应应用端发送指定状态信息,以使得待启动自适应应用端基于指定状态信息确定是否启动待启动自适应应用端。S140. Send specified state information to the adaptive application to be started, so that the adaptive application to be started determines whether to start the adaptive application to be started based on the specified state information.
可选的,指定状态信息包括如下至少一项:承载自适应应用的硬件平台的平台状态信息、与自适应应用存在依赖关系的其他自适应应用端的运行状态信息和自适应应用的自定义状态信息。示例性的,平台状态信息包括如下至少一项:硬件平台上电、硬件平台正常运行、硬件平台休眠运行、硬件平台下电和硬件平台停止运行;自定义状态信息是人为抽象的状态,本领域技术人员在实际应用中可以根据实际需求而人为设定的状态信息。可选的,指定状态信息可以是通过一个服务事件进行发送的。Optionally, the specified status information includes at least one of the following: platform status information of the hardware platform carrying the adaptive application, running status information of other adaptive application terminals that have a dependent relationship with the adaptive application, and custom status information of the adaptive application . Exemplarily, the platform state information includes at least one of the following: power on the hardware platform, normal operation of the hardware platform, sleep operation of the hardware platform, power off of the hardware platform, and stop operation of the hardware platform; custom state information is an artificially abstract state. The status information that technicians can artificially set according to actual needs in practical applications. Optionally, the specified status information can be sent through a service event.
在本申请实施例中,经上述S130确定出待启动自适应应用端之后,服务管理设备需要向待启动自适应应用端发送指定状态信息,以使得待启动自适应应用端基于指定状态信息确定是否启动待启动自适应应用端。In this embodiment of the present application, after the adaptive application to be started is determined through S130 above, the service management device needs to send specified status information to the adaptive application to be started, so that the adaptive application to be started determines whether to Start the adaptive application to be started.
在本申请实施例中,根据待启动自适应应用端的类型可以确定指定状态信息为哪种信息。可选的,先根据预先获取的多个自适应应用端的属性信息确定待启动自适应应用端的类型;再根据待启动自适应应用端的类型,向待启动自适应应用端发送指定状态信息。本步骤向待启动自适应应用端发送指定状态信 息的过程可以通过以下三种情况进行实现:In the embodiment of the present application, according to the type of the adaptive application terminal to be started, it can be determined what kind of information the specified state information is. Optionally, first determine the type of the adaptive application to be started according to the pre-acquired attribute information of multiple adaptive applications; and then send specified status information to the adaptive application to be started according to the type of the adaptive application to be started. The process of sending specified status information to the adaptive application to be started in this step can be realized through the following three situations:
第一种情况:在待启动自适应应用端的类型为第一类型的情况下,服务管理设备获取平台状态信息,并向待启动自适应应用端发送平台状态信息。The first case: when the type of the adaptive application to be started is the first type, the service management device acquires the platform state information, and sends the platform state information to the adaptive application to be started.
第一类型是指该待启动自适应应用是否能够启动仅仅依赖平台状态信息,不依赖其他自适应应用端的运行状态信息;平台状态信息为承载自适应应用的硬件平台的状态信息。The first type means that whether the adaptive application to be started can be started depends only on the platform status information, and does not depend on the running status information of other adaptive applications; the platform status information is the status information of the hardware platform carrying the adaptive application.
第二种情况:在待启动自适应应用端的类型为第二类型的情况下,服务管理设备获取平台状态信息和其他自适应应用端的运行状态信息,并向待启动自适应应用端发送平台状态信息和其他自适应应用端的运行状态信息。The second case: when the type of the adaptive application to be started is the second type, the service management device obtains the platform status information and the running status information of other adaptive applications, and sends the platform status information to the adaptive application to be started and other running status information on the adaptive application side.
第二类型是指该待启动自适应应用是否能够启动不仅依赖平台状态信息,还依赖与该待启动自适应应用端具有依赖关系的其他自适应应用端的运行状态信息;其他自适应应用端为与该待启动自适应应用端存在依赖关系的其他自适应应用端。The second type means that whether the adaptive application to be started can be started depends not only on the platform status information, but also depends on the running status information of other adaptive application terminals that have a dependency relationship with the adaptive application terminal to be started; other adaptive application terminals are related to The to-be-started adaptive application has dependencies on other adaptive applications.
能够理解的,其他自适应应用端可以是一个自适应应用端,也可以是多个自适应应用端。It can be understood that the other adaptive application end may be one adaptive application end, or may be multiple adaptive application ends.
示例性的,以其他自适应应用端是一个自适应应用端举例,假如待启动自适应应用端A与自适应应用端B为依赖关系,待启动自适应应用端A是否能够启动取决于自适应应用端B的运行状态信息是否开启运行。也就是,当自适应应用端B的运行状态信息为开启运行时,待启动自适应应用端A才能够启动;当自适应应用端B的运行状态信息为停止运行时,待启动自适应应用端A不能够启动。Exemplarily, taking another adaptive application end as an example, if the adaptive application end A to be started is dependent on the adaptive application end B, whether the adaptive application end A to be started can be started depends on the adaptive Whether the running status information of application side B is enabled or not. That is, when the running state information of the adaptive application terminal B is running, the adaptive application terminal A can only be started when it is started; when the running state information of the adaptive application terminal B is stopped, the adaptive application terminal A to be started A cannot start.
示例性的,以其他自适应应用端是多个自适应应用端举例,假如待启动自适应应用端A、自适应应用端B和自适应应用端C为依赖关系,待启动自适应应用端A是否能够启动取决于自适应应用端B和自适应应用端C的运行状态信息是否都为开启运行。也就是,当自适应应用端B和自适应应用端C的运行状态信息都为开启运行时,待启动自适应应用端A才能够启动;当自适应应用端B和自适应应用端C的运行状态信息中有一个为停止运行时,待启动自适应应用端A不能够启动。Exemplarily, taking other adaptive application terminals as an example, if the adaptive application terminal A to be started, the adaptive application terminal B and the adaptive application terminal C are dependencies, the adaptive application terminal A to be started Whether it can be started depends on whether the running status information of the adaptive application terminal B and the adaptive application terminal C are both running. That is, when the running status information of adaptive application terminal B and adaptive application terminal C are both running, the adaptive application terminal A can only be started after starting; when the adaptive application terminal B and adaptive application terminal C are running When one of the state information is stopped, the adaptive application terminal A to be started cannot be started.
第三种情况:在待启动自适应应用端的类型为第三类型的情况下,服务管理设备切换为自定义状态之后获取自定义状态对应的状态信息,并向待启动自 适应应用端发送自定义状态对应的状态信息。Case 3: When the type of the adaptive application to be started is the third type, the service management device obtains the state information corresponding to the customized state after switching to the customized state, and sends the customized State information corresponding to the state.
第三类型是指该待启动自适应应用端是否能够启动既不依赖平台状态信息,也不依赖其他自适应应用端的运行状态信息,而是取决于该自适应应用自定义状态对应的状态信息。The third type means that whether the adaptive application to be started can be started does not depend on the platform status information, nor on the running status information of other adaptive applications, but depends on the status information corresponding to the self-defined status of the adaptive application.
可选的,在服务管理设备向待启动自适应应用端发送指定状态信息之后,服务管理设备执行暂停运行(如挂起状态);当服务管理设备接收到待启动自适应应用端发送的通知服务事件时执行开启运行。当通知服务事件为开启通知信息时,服务管理设备还需向待启动自适应应用端发送确认服务事件,以指示所述待启动自适应应用端进入工作模式。通知服务事件是指待启动自适应应用端确定了是否启动之后,向服务管理设备发送的通知其运行状态的事件,通知服务事件包括开启通知信息或停止通知信息;开启通知信息为当前的待启动自适应应用端处于正在运行状态;停止通知信息为当前的待启动自适应应用端处于停止运行状态;确认服务事件是SOME/IP协议中事件通信类型,是服务管理设备已确认接收了待启动自适应应用端的通知服务事件之后向待启动自适应应用端发送确认服务事件,以指示所述待启动自适应应用端进入工作模式。Optionally, after the service management device sends the specified state information to the adaptive application to be started, the service management device executes the suspension operation (such as a suspended state); when the service management device receives the notification service sent by the adaptive application to be started Execute on-run on event. When the notification service event is start notification information, the service management device also needs to send an acknowledgment service event to the adaptive application to be started to instruct the adaptive application to be started to enter the working mode. The notification service event refers to the event that the adaptive application to be started sends to the service management device to notify its running status after determining whether it is started. The notification service event includes opening notification information or stopping notification information; opening notification information is the current pending The self-adaptive application is in the running state; the stop notification information is that the current adaptive application to be started is in the stopped state; the confirmation service event is the event communication type in the SOME/IP protocol, and the service management device has confirmed that the self-adaptive application to be started has received After the notification service event of the adaptation application end, a confirmation service event is sent to the adaptive application end to be started, so as to instruct the adaptive application end to be started to enter the working mode.
S150、在待启动自适应应用端启动之后,返回执行根据启动顺序从多个自适应应用端中确定出待启动自适应应用端,直至多个自适应应用端全部启动。S150. After the adaptive application end to be started is started, return to execution to determine the adaptive application end to be started from the multiple adaptive application ends according to the start order until all the adaptive application ends are started.
在本申请实施例中,上述S130-S140是对其中一个待启动自适应应用端所发送的提供服务事件进行响应的过程,根据S120确定的多个自适应应用端的启动顺序,依次对启动顺序中的每一个自适应应用端对应的提供服务事件进行响应,直至多个自适应应用端全部启动。In the embodiment of the present application, the above S130-S140 is a process of responding to a service provision event sent by one of the adaptive application terminals to be started. Each adaptive application end responds to the corresponding service event until multiple adaptive application ends are all started.
本实施例提供的技术方案,通过服务管理设备接收多个自适应应用端发送的提供服务事件之后,根据自适应应用端优先级级别确定多个自适应应用端的启动顺序,从而根据启动顺序从多个自适应应用端中确定出待启动自适应应用端,并向待启动自适应应用端发送指定状态信息,以使得待启动自适应应用端基于指定状态信息确定是否启动待启动自适应应用端;在待启动自适应应用端启动之后,返回执行根据启动顺序从多个自适应应用端中确定出待启动自适应应用端,直至多个自适应应用端全部启动。本申请可以在开发板中仅配置通信管理模块的情况下,服务管理设备通过通信管理模块接收各个自适应应用的服 务事件请求,并对各个服务事件请求进行处理,实现控制多个自适应应用端的启动顺序。执行本申请的技术方案,可以节约开发板的硬件配置成本,为控制AUTOSAR平台的多个自适应应用端提供了一种新思路。In the technical solution provided by this embodiment, after the service management device receives service provisioning events sent by multiple adaptive application ends, the startup order of multiple adaptive application ends is determined according to the priority level of the adaptive application ends, so as to start from multiple adaptive application ends according to the startup sequence. Determine the adaptive application end to be started from one adaptive application end, and send specified state information to the adaptive application end to be started, so that the adaptive application end to be started determines whether to start the adaptive application end to be started based on the specified state information; After the adaptive application end to be started is started, return execution determines the adaptive application end to be started from the multiple adaptive application ends according to the start order until all the adaptive application ends are started. In this application, when only the communication management module is configured in the development board, the service management device receives the service event requests of each adaptive application through the communication management module, and processes each service event request, so as to realize the control of multiple adaptive application terminals boot sequence. The implementation of the technical solution of the present application can save the hardware configuration cost of the development board, and provide a new idea for controlling multiple self-adaptive application terminals of the AUTOSAR platform.
实施例二Embodiment two
图2为本申请实施例提供的一种应用控制方法的第二流程示意图,本实施例可适用于自适应应用端的待启动自适应应用端基于应用控制方法确定其运行状态的情况。本实施例提供的一种应用控制方法可以由本申请实施例五提供的应用控制装置来执行,该装置可以通过软件和硬件中的至少之一的方式实现,并集成在执行本方法的自适应应用端中。FIG. 2 is a second schematic flowchart of an application control method provided by an embodiment of the present application. This embodiment is applicable to the situation where an adaptive application terminal to be started on an adaptive application terminal determines its running state based on an application control method. An application control method provided in this embodiment can be executed by the application control device provided in Embodiment 5 of the present application. The device can be realized by at least one of software and hardware, and integrated in the adaptive application that executes the method. terminal.
参见图2,本实施例的方法包括如下步骤:Referring to Fig. 2, the method of the present embodiment comprises the following steps:
S210、接收服务管理设备发送的指定状态信息。S210. Receive specified state information sent by the service management device.
在本申请实施例中,服务管理设备在接收多个自适应应用端发送的提供服务事件之后,根据自适应应用端优先级级别确定多个自适应应用端的启动顺序,从而根据启动顺序从多个自适应应用端中确定出待启动自适应应用端,并向待启动自适应应用端发送指定状态信息。待启动自适应应用端接收服务管理设备发送的指定状态信息。In the embodiment of the present application, after receiving the service provision events sent by multiple adaptive application terminals, the service management device determines the startup order of multiple adaptive application terminals according to the priority levels of adaptive application terminals, so that the multiple The adaptive application end to be started is determined from the adaptive application end, and specified status information is sent to the adaptive application end to be started. The adaptive application to be started receives the specified status information sent by the service management device.
可选的,指定状态信息包括如下至少一项:承载自适应应用平台的平台状态信息、与自适应应用存在依赖关系的其他自适应应用端的运行状态信息和自适应应用的自定义状态信息。Optionally, the specified status information includes at least one of the following: status information of a platform carrying an adaptive application platform, running status information of other adaptive application terminals that have a dependent relationship with the adaptive application, and custom status information of the adaptive application.
需要说明的是,待启动自适应应用端接收的是哪种信息取决于待启动自适应应用端的类型。本步骤接收服务管理设备发送的指定状态信息可以通过以下三种情况进行实现:It should be noted that what kind of information the adaptive application to be started receives depends on the type of the adaptive application to be started. In this step, receiving the specified status information sent by the service management device can be realized through the following three situations:
第一种情况:在待启动自适应应用端的类型为第一类型的情况下,待启动自适应应用端接收的是服务管理设备发送的平台状态信息。其中,第一类型是指该待启动自适应应用是否能够启动仅仅依赖平台状态信息,不依赖其他自适应应用端的运行状态信息;平台状态信息为承载自适应应用的硬件平台的状态信息。The first case: when the type of the adaptive application to be started is the first type, what the adaptive application to be started receives is the platform state information sent by the service management device. Among them, the first type means that whether the adaptive application to be started can be started depends only on the platform status information, and does not depend on the running status information of other adaptive applications; the platform status information is the status information of the hardware platform carrying the adaptive application.
第二种情况:在待启动自适应应用端的类型为第二类型的情况下,待启动自适应应用端接收的是服务管理设备发送的平台状态信息和其他自适应应用端的运行状态信息。其中,第二类型是指该待启动自适应应用端是否能够启动不仅依赖平台状态信息,还依赖与该待启动自适应应用端具有依赖关系的其他自适应应用端的运行状态信息;其他自适应应用端为与该待启动自适应应用端存在依赖关系的其他自适应应用端。The second case: when the type of the adaptive application to be started is the second type, what the adaptive application to be started receives is the platform status information sent by the service management device and the running status information of other adaptive applications. Among them, the second type means that whether the adaptive application to be started can be started depends not only on the platform status information, but also depends on the running status information of other adaptive applications that have a dependency relationship with the adaptive application to be started; other adaptive applications The terminal is another adaptive application terminal that has a dependency relationship with the adaptive application terminal to be started.
第三种情况:在待启动自适应应用端的类型为第三类型的情况下,待启动自适应应用端接收的是服务管理设备发送的自定义状态对应的状态信息。其中,第三类型是指该待启动自适应应用是否能够启动既不依赖平台状态信息,也不依赖其他自适应应用端的运行状态信息,而是取决于该自适应应用自定义状态对应的状态信息。The third case: when the type of the adaptive application to be started is the third type, what the adaptive application to be started receives is the state information corresponding to the custom state sent by the service management device. Among them, the third type refers to whether the adaptive application to be started can be started neither depending on the platform status information nor on the running status information of other adaptive applications, but depends on the status information corresponding to the self-defined status of the adaptive application .
S220、基于指定状态信息确定是否启动,并向服务管理设备发送通知服务事件。S220. Determine whether to start based on the specified state information, and send a notification service event to the service management device.
在本申请实施例中,经上述S210接收服务管理设备发送的指定状态信息之后,再基于指定状态信息确定是否启动待启动自适应应用端,并向服务管理设备发送通知服务事件。通知服务事件是待启动自适应应用端确定了是否启动之后,向服务管理设备发送的通知其运行状态的信息;例如,通知服务事件包括开启通知信息或停止通知信息。In the embodiment of the present application, after receiving the specified state information sent by the service management device through the above S210, it is determined based on the specified state information whether to start the adaptive application terminal to be started, and a notification service event is sent to the service management device. The notification service event is information to notify the running status of the adaptive application terminal to be started after determining whether to start it; for example, the notification service event includes enabling notification information or stopping notification information.
可选的,判断指定状态信息与待启动自适应应用端的开启运行条件是否一致;基于指定状态信息与待启动自适应应用端的开启运行条件一致的判断结果,启动待启动自适应应用端并向服务管理设备发送开启通知信息,并接收服务管理设备发送的确认服务事件,待启动自适应应用端接收到该确认服务事件之后进入工作模式;基于指定状态信息与待启动自适应应用端的开启运行条件不一致的判断结果,不启动待启动自适应应用端,并向服务管理设备发送停止通知信息。需要说明的是,在服务管理设备接收到待启动自适应应用端发送的通知服务事件(无论是开启通知信息还是停止通知信息)的情况下,停止挂起状态执行开启运行,并继续进行工作。Optionally, determine whether the specified state information is consistent with the start-up operation conditions of the adaptive application to be started; based on the judgment result that the specified state information is consistent with the start-up operation conditions of the adaptive application to be started, start the adaptive The management device sends the opening notification information and receives the confirmation service event sent by the service management device, and the adaptive application to be started enters the working mode after receiving the confirmation service event; based on the specified status information, it is inconsistent with the start-up operation conditions of the adaptive application to be started , do not start the self-adaptive application to be started, and send stop notification information to the service management device. It should be noted that, when the service management device receives a notification service event sent by the adaptive application to be started (whether the notification information is enabled or the notification information is stopped), it stops the suspended state, executes the startup operation, and continues to work.
在本申请实施例中,在待启动自适应应用端的类型为第一类型的情况下,判断所接收到的平台状态信息是否和开启运行条件是否一致;在待启动自适应 应用端的类型为第二类型的情况下,判断所接收到的平台状态信息和其他自适应应用端的运行状态信息是否和开启运行条件是否一致;在待启动自适应应用端的类型为第三类型的情况下,判断所接收到的自定义状态信息是否和开启运行条件是否一致。In the embodiment of the present application, when the type of the adaptive application terminal to be started is the first type, it is judged whether the received platform status information is consistent with the start operation condition; the type of the adaptive application terminal to be started is the second type. type, judge whether the received platform status information and the running status information of other adaptive applications are consistent with the start-up operation conditions; when the type of the adaptive application to be started is the third type, judge whether Whether the custom status information of the user is consistent with the start-up operation condition.
本实施例提供的技术方案,多个自适应应用端中的待启动自适应应用端接收服务管理设备发送的指定状态信息;并基于指定状态信息确定是否启动待启动自适应应用端,并向服务管理设备发送通知服务事件。本申请可以在开发板中仅配置通信管理模块的情况下,服务管理设备通过通信管理模块接收各个自适应应用的服务事件请求,并对各个服务事件请求进行处理,实现控制多个自适应应用端的启动顺序。执行本申请的技术方案,可以节约开发板的硬件配置成本,为控制AUTOSAR平台的多个自适应应用端提供了一种新思路。In the technical solution provided by this embodiment, the adaptive application terminal to be started among the multiple adaptive application terminals receives the specified state information sent by the service management device; The management device sends notification service events. In this application, when only the communication management module is configured in the development board, the service management device receives the service event requests of each adaptive application through the communication management module, and processes each service event request, so as to realize the control of multiple adaptive application terminals boot sequence. The implementation of the technical solution of the present application can save the hardware configuration cost of the development board, and provide a new idea for controlling multiple self-adaptive application terminals of the AUTOSAR platform.
实施例三Embodiment Three
图3为本申请实施例提供的一种应用控制的信令图。本申请实施例在上述实施例的基础上,给出了基于应用控制的服务管理设备和自适应应用端进行交互的一种实例,该实施例包括以下步骤:FIG. 3 is a signaling diagram of an application control provided by an embodiment of the present application. On the basis of the above-mentioned embodiments, this embodiment of the present application provides an example of interaction between an application control-based service management device and an adaptive application end, and this embodiment includes the following steps:
参见图3,本实施例的方法包括如下步骤:Referring to Fig. 3, the method of the present embodiment includes the following steps:
S301、服务管理设备接收多个自适应应用端发送的提供服务事件。S301. The service management device receives service provision events sent by multiple adaptive application ends.
其中,图3仅展示了两个自适应应用端的情况,即自适应应用端A和自适应应用端B。Wherein, Fig. 3 only shows the situation of two adaptive application ends, that is, adaptive application end A and adaptive application end B.
S302、服务管理设备根据多个自适应应用端的优先级级别确定多个自适应应用端的启动顺序。S302. The service management device determines the startup sequence of the multiple adaptive application terminals according to the priority levels of the multiple adaptive application terminals.
S303、服务管理设备根据启动顺序从多个自适应应用端中确定出待启动自适应应用端。S303. The service management device determines an adaptive application terminal to be started from a plurality of adaptive application terminals according to a starting sequence.
其中,图3展示了自适应应用端A为待启动自适应应用端的情况。Wherein, FIG. 3 shows the situation that the self-adaptive application terminal A is the self-adaptive application terminal to be started.
S304、服务管理设备向待启动自适应应用端发送指定状态信息,并执行暂停运行。S304. The service management device sends specified status information to the self-adaptive application to be started, and suspends the operation.
其中,指定状态信息包括如下至少一项:承载自适应应用平台的平台状态 信息、与自适应应用存在依赖关系的其他自适应应用端的运行状态信息和自适应应用的自定义状态信息。Wherein, the specified status information includes at least one of the following: status information of the platform carrying the adaptive application platform, running status information of other adaptive application terminals that have a dependent relationship with the adaptive application, and custom status information of the adaptive application.
S305、待启动自适应应用端接收服务管理设备发送的指定状态信息。S305. The adaptive application to be started receives the specified state information sent by the service management device.
S306、待启动自适应应用端基于指定状态信息确定是否启动待启动自适应应用端。S306. The to-be-started adaptive application terminal determines whether to start the to-be-started adaptive application terminal based on the specified state information.
S307、待启动自适应应用端向服务管理设备发送通知服务事件。S307. The adaptive application to be started sends a notification service event to the service management device.
其中,通知服务事件包括开启通知信息或停止通知信息。Wherein, the notification service event includes enabling notification information or stopping notification information.
S308、服务管理设备接收待启动自适应应用端发送的通知服务事件,并执行开启运行。S308. The service management device receives the notification service event sent by the adaptive application to be started, and executes the start operation.
S309、在通知服务事件为开启通知信息的情况下,服务管理设备向待启动自适应应用端发送确认服务事件。S309. In the case that the notification service event is notification information of enabling, the service management device sends a confirmation service event to the adaptive application terminal to be started.
S310、待启动自适应应用端接收服务管理设备发送的确认服务事件,并进入工作模式。S310. The adaptive application to be started receives the confirmation service event sent by the service management device, and enters the working mode.
S311、服务管理设备返回执行根据启动顺序从多个自适应应用端中确定出待启动自适应应用端,直至多个自适应应用端全部启动。S311. The service management device returns to execute and determines the adaptive application end to be started from the plurality of adaptive application ends according to the start order until all the adaptive application ends are started.
本实施例提供的技术方案,可以在开发板中仅配置通信管理模块的情况下,服务管理设备通过通信管理模块接收各个自适应应用的服务事件请求,并对各个服务事件请求进行处理,实现控制多个自适应应用端的启动顺序。执行本申请的技术方案,可以节约开发板的硬件配置成本,为控制AUTOSAR平台的多个自适应应用端提供了一种新思路。In the technical solution provided by this embodiment, when only the communication management module is configured in the development board, the service management device receives the service event requests of each adaptive application through the communication management module, and processes each service event request to realize control The startup sequence of multiple adaptive applications. The implementation of the technical solution of the present application can save the hardware configuration cost of the development board, and provide a new idea for controlling multiple self-adaptive application terminals of the AUTOSAR platform.
实施例四Embodiment four
图4为本申请实施例提供的一种应用控制装置的第一结构示意图,该应用控制装置应用于服务管理设备,如图4所示,该装置400可以包括:FIG. 4 is a schematic diagram of a first structure of an application control device provided in an embodiment of the present application. The application control device is applied to a service management device. As shown in FIG. 4 , the device 400 may include:
事件接收模块410,被设置为接收多个自适应应用端发送的提供服务事件;The event receiving module 410 is configured to receive service provision events sent by multiple adaptive application ends;
第一确定模块420,被设置为确定所述多个自适应应用端的启动顺序;The first determination module 420 is configured to determine the startup sequence of the multiple adaptive application terminals;
第二确定模块430,被设置为根据所述启动顺序从所述多个自适应应用端中 确定出待启动自适应应用端;The second determination module 430 is configured to determine the adaptive application terminal to be started from the plurality of adaptive application terminals according to the startup sequence;
信息发送模块440,被设置为向所述待启动自适应应用端发送指定状态信息,以使得所述待启动自适应应用端基于所述指定状态信息确定是否启动所述待启动自适应应用端;The information sending module 440 is configured to send specified state information to the adaptive application to be started, so that the adaptive application to be started determines whether to start the adaptive application to be started based on the specified state information;
所述第二确定模块和所述信息发送模块重复执行对应步骤,直至所述多个自适应应用端全部启动。The second determining module and the information sending module repeatedly execute corresponding steps until all the multiple adaptive application terminals are started.
可选的,上述第一确定模块420,是被设置为:根据预先获取的所述多个自适应应用端的属性信息对所述多个自适应应用端的优先级级别进行排序,得到所述多个自适应应用端的启动顺序。Optionally, the above-mentioned first determining module 420 is configured to: sort the priority levels of the multiple adaptive application terminals according to the pre-acquired attribute information of the multiple adaptive application terminals, and obtain the multiple Adaptive application startup sequence.
可选的,上述信息发送模块440,是被设置为:根据预先获取的所述多个自适应应用端的属性信息确定所述待启动自适应应用端的类型;在所述待启动自适应应用端的类型为第一类型的情况下,获取平台状态信息,并向所述待启动自适应应用端发送所述平台状态信息,其中,所述平台状态信息为承载自适应应用的硬件平台的状态信息;在所述待启动自适应应用端的类型为第二类型的情况下,获取所述平台状态信息和其他自适应应用端的运行状态信息,并向所述待启动自适应应用端发送所述平台状态信息和所述其他自适应应用端的运行状态信息,其中,所述其他自适应应用端为与所述待启动自适应应用端存在依赖关系的其他自适应应用端;在所述待启动自适应应用端的类型为第三类型的情况下,切换为自定义状态并获取所述自定义状态对应的状态信息,并向所述待启动自适应应用端发送所述自定义状态对应的状态信息。Optionally, the above-mentioned information sending module 440 is configured to: determine the type of the adaptive application terminal to be started according to the pre-acquired attribute information of the plurality of adaptive application terminals; In the case of the first type, obtain platform state information, and send the platform state information to the adaptive application to be started, wherein the platform state information is the state information of the hardware platform carrying the adaptive application; When the type of the adaptive application to be started is the second type, obtain the platform status information and the running status information of other adaptive applications, and send the platform status information and The running status information of the other adaptive application end, wherein the other adaptive application end is another adaptive application end that has a dependency relationship with the adaptive application end to be started; the type of the adaptive application end to be started In the case of the third type, switch to a custom state and obtain state information corresponding to the custom state, and send the state information corresponding to the custom state to the adaptive application to be started.
可选的,上述应用控制装置,还可以包括:启停控制模块;Optionally, the above-mentioned application control device may also include: a start-stop control module;
所述启停控制模块,被设置为在向所述待启动自适应应用端发送指定状态信息之后,执行暂停运行;当接收到所述待启动自适应应用端发送的通知服务事件时执行开启运行;并在所述通知服务事件为开启通知信息时,向所述待启动自适应应用端发送确认服务事件,以指示所述待启动自适应应用端进入工作模式。The start-stop control module is configured to execute pause operation after sending specified status information to the adaptive application end to be started; execute start operation when receiving a notification service event sent by the adaptive application end to be started ; and when the notification service event is start notification information, send an acknowledgment service event to the adaptive application to be started to instruct the adaptive application to be started to enter the working mode.
本实施例提供的应用控制装置可适用于上述任意实施例提供的应用控制方法,具备相应的功能和有益效果。The application control device provided in this embodiment can be applied to the application control method provided in any of the above embodiments, and has corresponding functions and beneficial effects.
实施例五Embodiment five
图5为本申请实施例提供的一种应用控制装置的第二结构示意图,该应用控制装置应用于自适应应用端,如图5所示,该装置500可以包括:FIG. 5 is a schematic diagram of a second structure of an application control device provided in an embodiment of the present application. The application control device is applied to an adaptive application terminal. As shown in FIG. 5 , the device 500 may include:
信息接收模块510,被设置为接收服务管理设备发送的指定状态信息;The information receiving module 510 is configured to receive specified status information sent by the service management device;
信息处理模块520,被设置为基于所述指定状态信息确定是否启动,并向所述服务管理设备发送通知服务事件。The information processing module 520 is configured to determine whether to start based on the specified state information, and send a notification service event to the service management device.
可选的,上述信息处理模块520,是被设置为:判断所述指定状态信息与开启运行条件是否一致;基于指定状态信息与开启运行条件一致的判断结果,启动所述自适应应用端,并向所述服务管理设备发送开启通知信息;以及在接收所述服务管理设备发送的确认服务事件之时进入工作模式;基于指定状态信息与开启运行条件不一致的判断结果,不启动所述自适应应用端,并向所述服务管理设备发送停止通知信息。Optionally, the above-mentioned information processing module 520 is configured to: determine whether the specified state information is consistent with the enabling operation condition; start the adaptive application terminal based on the judgment result that the specified state information is consistent with the enabling operation condition, and Sending start notification information to the service management device; and entering a working mode when receiving a confirmation service event sent by the service management device; based on the judgment result that the specified state information is inconsistent with the start operation condition, not starting the adaptive application terminal, and send stop notification information to the service management device.
本实施例提供的应用控制装置可适用于上述任意实施例提供的应用控制方法,具备相应的功能和有益效果。The application control device provided in this embodiment can be applied to the application control method provided in any of the above embodiments, and has corresponding functions and beneficial effects.
实施例六Embodiment six
图6是用来实现本申请实施例的一种应用控制方法的电子设备的框图,图6示出了适于用来实现本申请实施例实施方式的示例性电子设备的框图。图6显示的电子设备仅仅是一个示例。该电子设备典型可以是智能手机、平板电脑、笔记本电脑、车载终端以及可穿戴设备等。Fig. 6 is a block diagram of an electronic device used to implement an application control method according to an embodiment of the present application, and Fig. 6 shows a block diagram of an exemplary electronic device suitable for implementing implementations of the embodiment of the present application. The electronic device shown in Figure 6 is only an example. Typically, the electronic device may be a smart phone, a tablet computer, a notebook computer, a vehicle terminal, a wearable device, and the like.
如图6所示,电子设备600以通用计算设备的形式表现。电子设备600的组件可以包括:一个或者多个处理器或者处理单元616,存储器628,连接不同系统组件(包括存储器628和处理单元616)的总线618。As shown in FIG. 6, electronic device 600 takes the form of a general-purpose computing device. The components of the electronic device 600 may include: one or more processors or processing units 616, a memory 628, and a bus 618 connecting different system components (including the memory 628 and the processing unit 616).
总线618表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括工业标准体系结构(Industry Standard Architecture,ISA)总线,微通道体系结构(Micro Channel Architecture,MCA)总线,增强型ISA总线、视频电子标准协会(Video Electronics Standards  Association,VESA)局域总线以及外围组件互连(Peripheral Component Interconnect,PCI)总线。 Bus 618 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus structures. These architectures include, for example, the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MCA) bus, the Enhanced ISA bus, the Video Electronics Standards Association (VESA) ) Local bus and Peripheral Component Interconnect (PCI) bus.
电子设备600典型地包括多种计算机系统可读介质。这些介质可以是能够被电子设备600访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。 Electronic device 600 typically includes a variety of computer system readable media. These media can be all available media that can be accessed by electronic device 600 and include both volatile and nonvolatile media, removable and non-removable media.
存储器628可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(Random Access Memory,RAM)630和/或高速缓存存储器632。电子设备600可以包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统634可以用于读写不可移动的、非易失性磁介质(通常称为“硬盘驱动器”)。可选的,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如便携式紧凑磁盘只读存储器(Compact Disc-Read Only Memory,CD-ROM),数字通用光盘只读存储器(Digital Video Disk-Read Only Memory,DVD-ROM)或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线618相连。存储器628可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本申请实施例各实施例的功能。 Memory 628 may include computer system readable media in the form of volatile memory, such as random access memory (Random Access Memory, RAM) 630 and/or cache memory 632 . Electronic device 600 may include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 634 may be used to read from and write to non-removable, non-volatile magnetic media (often referred to as "hard drives"). Optionally, a disk drive may be provided for reading and writing to removable nonvolatile disks (such as "floppy disks"), and for removable nonvolatile optical disks (such as the Compact Disc-Read Only Memory, CD-ROM), Digital Video Disk-Read Only Memory (DVD-ROM) or other optical media) CD-ROM drive. In these cases, each drive may be connected to bus 618 through one or more data media interfaces. The memory 628 may include at least one program product, and the program product has a group (for example, at least one) of program modules configured to execute the functions of the embodiments of the present application.
具有一组(至少一个)程序模块642的程序/实用工具640,可以存储在例如存储器628中,这样的程序模块642包括操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或几种组合中可能包括网络环境的实现。程序模块642通常执行本申请实施例所描述的实施例中的功能和/或方法。A program/utility 640 having a set (at least one) of program modules 642, such as an operating system, one or more application programs, other program modules, and program data, examples of which may be stored in memory 628. Each or a combination of several may include the realization of the network environment. The program module 642 generally executes the functions and/or methods in the embodiments described in the embodiments of this application.
电子设备600也可以与一个或多个外部设备614(例如键盘、指向设备、显示器624等)通信,还可与一个或者多个使得用户能与该电子设备600交互的设备通信,和/或与使得该电子设备600能与一个或多个其它计算设备进行通信的设备(例如网卡,调制解调器等)通信。这种通信可以通过输入/输出(Input/Output,I/O)接口622进行。并且,电子设备600还可以通过网络适配器620与一个或者多个网络(例如局域网(Local Area Network,LAN),广域网(Wide Area Network,WAN)和/或公共网络,例如因特网)通信。如图6所示,网络适配器620通过总线618与电子设备600的其它模块通信。应当明白,可以结合电子设备600使用其 它硬件和/或软件模块,包括:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、转盘阵列(Redundant Array of Independent Disks,RAID)系统、磁带驱动器以及数据备份存储系统等。The electronic device 600 may also communicate with one or more external devices 614 (such as a keyboard, pointing device, display 624, etc.), communicate with one or more devices that enable a user to interact with the electronic device 600, and/or communicate with A device (eg, network card, modem, etc.) that enables the electronic device 600 to communicate with one or more other computing devices. Such communication may be through an Input/Output (I/O) interface 622 . Moreover, the electronic device 600 can also communicate with one or more networks (such as a local area network (Local Area Network, LAN), a wide area network (Wide Area Network, WAN) and/or a public network such as the Internet) through the network adapter 620. As shown in FIG. 6 , the network adapter 620 communicates with other modules of the electronic device 600 through the bus 618 . It should be appreciated that other hardware and/or software modules may be used in conjunction with electronic device 600, including: microcode, device drivers, redundant processing units, external disk drive arrays, Redundant Array of Independent Disks (RAID) systems, tape drives And data backup storage system, etc.
处理单元616通过运行存储在存储器628中的程序,从而执行各种功能应用以及数据处理,例如实现本申请任一实施例所提供的应用控制方法。The processing unit 616 executes various functional applications and data processing by running the programs stored in the memory 628, for example, implementing the application control method provided by any embodiment of the present application.
实施例七Embodiment seven
本申请实施例七还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序(或称为计算机可执行指令),该计算机程序被处理器执行时可以用于执行本申请上述任一实施例所提供的应用控制方法。Embodiment 7 of the present application also provides a computer-readable storage medium, on which a computer program (or called computer-executable instructions) is stored. When the computer program is executed by a processor, it can be used to execute the above-mentioned The application control method provided by any embodiment.
本申请实施例的计算机存储介质,可以采用一个或多个计算机可读的介质的组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者上述的合适的组合。例如,计算机可读存储介质(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(Read Only Memory,ROM)、可擦式可编程只读存储器(如电子可编程只读存储器(Electronic Programable Read Only Memory,EPROM)或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的合适的组合。在本文件中,计算机可读存储介质可以是包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。The computer storage medium in the embodiments of the present application may use a combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer-readable storage medium may be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or a suitable combination of the above. For example, a computer-readable storage medium (non-exhaustive list) includes: an electrical connection having one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read only memory (ROM) , erasable programmable read-only memory (such as electronic programmable read-only memory (Electronic Programable Read Only Memory, EPROM) or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic memory components, or a suitable combination of the above. In this document, a computer-readable storage medium may be a tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括电磁信号、光信号或上述的合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的其他计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer readable signal medium may include a data signal carrying computer readable program code in baseband or as part of a carrier wave. Such propagated data signals may take many forms, including electromagnetic signals, optical signals, or any suitable combination of the foregoing. The computer-readable signal medium may also be other computer-readable media other than the computer-readable storage medium, and the computer-readable medium may transmit, propagate or transmit the program for use by or in conjunction with the instruction execution system, device or device .
计算机可读介质上包含的程序代码可以用适当的介质传输,包括无线、电线、光缆、射频(Radio Frequency,RF)等,或者上述的合适的组合。The program code contained on the computer readable medium can be transmitted by appropriate medium, including wireless, electric wire, optical cable, radio frequency (Radio Frequency, RF), etc., or an appropriate combination of the above.
可以以一种或多种程序设计语言或其组合来编写用于执行本申请实施例操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言如Java、Smalltalk、C++,还包括常规的过程式程序设计语言如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络包括局域网(LAN)或广域网(WAN)连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program codes for performing the operations of the embodiments of the present application can be written in one or more programming languages or combinations thereof, and the programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and conventional A procedural programming language such as "C" or a similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. Where a remote computer is involved, the remote computer may be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g. via the Internet using an Internet Service Provider). .

Claims (10)

  1. 一种应用控制方法,所述方法包括:An application control method, the method comprising:
    服务管理设备接收多个自适应应用端发送的提供服务事件;The service management device receives service provisioning events sent by multiple adaptive application ends;
    所述服务管理设备确定所述多个自适应应用端的启动顺序;The service management device determines the startup sequence of the multiple adaptive application terminals;
    所述服务管理设备根据所述启动顺序从所述多个自适应应用端中确定出待启动自适应应用端;The service management device determines the adaptive application terminal to be started from the plurality of adaptive application terminals according to the startup sequence;
    所述服务管理设备向所述待启动自适应应用端发送指定状态信息,以使得所述待启动自适应应用端基于所述指定状态信息确定是否启动所述待启动自适应应用端;The service management device sends specified state information to the adaptive application to be started, so that the adaptive application to be started determines whether to start the adaptive application to be started based on the specified state information;
    在所述待启动自适应应用端启动之后,返回执行所述服务管理设备根据所述启动顺序从所述多个自适应应用端中确定出待启动自适应应用端,直至所述多个自适应应用端全部启动。After the adaptive application end to be started is started, the service management device determines the adaptive application end to be started from the plurality of adaptive application ends according to the startup sequence until the adaptive application end of the plurality of adaptive All applications are started.
  2. 根据权利要求1所述的应用控制方法,其中,所述服务管理设备确定所述多个自适应应用端的启动顺序,包括:The application control method according to claim 1, wherein the service management device determines the startup sequence of the multiple adaptive application terminals, comprising:
    所述服务管理设备根据预先获取的所述多个自适应应用端的属性信息对所述多个自适应应用端的优先级级别进行排序,得到所述多个自适应应用端的启动顺序。The service management device sorts the priority levels of the multiple adaptive application terminals according to the pre-acquired attribute information of the multiple adaptive application terminals, to obtain the startup order of the multiple adaptive application terminals.
  3. 根据权利要求1所述的应用控制方法,其中,所述服务管理设备向所述待启动自适应应用端发送指定状态信息,包括:The application control method according to claim 1, wherein the service management device sends specified status information to the adaptive application to be started, including:
    所述服务管理设备根据预先获取的所述多个自适应应用端的属性信息确定所述待启动自适应应用端的类型;The service management device determines the type of the adaptive application to be started according to the pre-acquired attribute information of the plurality of adaptive applications;
    在所述待启动自适应应用端的类型为第一类型的情况下,所述服务管理设备获取平台状态信息,并向所述待启动自适应应用端发送所述平台状态信息,其中,所述平台状态信息为承载自适应应用的硬件平台的状态信息;When the type of the adaptive application to be started is the first type, the service management device acquires platform state information, and sends the platform state information to the adaptive application to be started, wherein the platform The state information is the state information of the hardware platform carrying the adaptive application;
    在所述待启动自适应应用端的类型为第二类型的情况下,所述服务管理设备获取所述平台状态信息和其他自适应应用端的运行状态信息,并向所述待启动自适应应用端发送所述平台状态信息和所述其他自适应应用端的运行状态信息,其中,所述其他自适应应用端为与所述待启动自适应应用端存在依赖关系的其他自适应应用端;When the type of the adaptive application to be started is the second type, the service management device acquires the platform state information and the running status information of other adaptive applications, and sends the adaptive application to the to-be-started The platform state information and the running state information of the other adaptive application end, wherein the other adaptive application end is another adaptive application end that has a dependency relationship with the adaptive application end to be started;
    在所述待启动自适应应用端的类型为第三类型的情况下,所述服务管理设备切换为自定义状态并获取所述自定义状态对应的状态信息,并向所述待启动自适应应用端发送所述自定义状态对应的状态信息。In the case where the type of the adaptive application terminal to be started is the third type, the service management device switches to a custom state and obtains state information corresponding to the custom state, and sends the adaptive application terminal to be started Send the status information corresponding to the custom status.
  4. 根据权利要求1所述的应用控制方法,在所述服务管理设备向所述待启动自适应应用端发送指定状态信息之后,所述方法还包括:According to the application control method according to claim 1, after the service management device sends specified status information to the adaptive application to be started, the method further includes:
    所述服务管理设备执行暂停运行;The service management device executes suspend operation;
    在接收到所述待启动自适应应用端发送的通知服务事件的情况下,所述服务管理设备执行开启运行;并在所述通知服务事件为开启通知信息的情况下,向所述待启动自适应应用端发送确认服务事件,以指示所述待启动自适应应用端进入工作模式。In the case of receiving the notification service event sent by the self-adaptive application to be started, the service management device executes the startup operation; The adaptive application end sends a confirmation service event to instruct the adaptive application end to be started to enter the working mode.
  5. 一种应用控制方法,所述方法包括:An application control method, the method comprising:
    自适应应用端接收服务管理设备发送的指定状态信息;The adaptive application receives the specified status information sent by the service management device;
    所述自适应应用端基于所述指定状态信息确定是否启动,并向所述服务管理设备发送通知服务事件。The adaptive application determines whether to start based on the specified state information, and sends a notification service event to the service management device.
  6. 根据权利要求5所述的应用控制方法,其中,所述自适应应用端基于所述指定状态信息确定是否启动,并向所述服务管理设备发送通知服务事件,包括:The application control method according to claim 5, wherein the adaptive application terminal determines whether to start based on the specified status information, and sends a notification service event to the service management device, including:
    所述自适应应用端判断所述指定状态信息与开启运行条件是否一致;The self-adaptive application terminal judges whether the specified state information is consistent with the start-up operation condition;
    基于所述指定状态信息与所述开启运行条件一致的判断结果,所述自适应应用端启动,并向所述服务管理设备发送开启通知信息,以及在接收所述服务管理设备发送的确认服务事件时进入工作模式;Based on the judging result that the specified state information is consistent with the start-up operation condition, the adaptive application starts up, sends start-up notification information to the service management device, and receives a service confirmation event sent by the service management device enter working mode;
    基于所述指定状态信息与所述开启运行条件不一致的判断结果,所述自适应应用端不启动,并向所述服务管理设备发送停止通知信息。Based on the judgment result that the specified state information is inconsistent with the start-up operation condition, the adaptive application end is not started, and sends stop notification information to the service management device.
  7. 一种应用控制装置,应用于服务管理设备,所述装置包括:An application control device applied to a service management device, the device comprising:
    事件接收模块,被设置为接收多个自适应应用端发送的提供服务事件;The event receiving module is configured to receive service provisioning events sent by multiple adaptive application ends;
    第一确定模块,被设置为确定所述多个自适应应用端的启动顺序;The first determination module is configured to determine the startup sequence of the plurality of adaptive application terminals;
    第二确定模块,被设置为根据所述启动顺序从所述多个自适应应用端中确定出待启动自适应应用端;The second determining module is configured to determine an adaptive application terminal to be started from the plurality of adaptive application terminals according to the startup sequence;
    信息发送模块,被设置为向所述待启动自适应应用端发送指定状态信息,以使得所述待启动自适应应用端基于所述指定状态信息确定是否启动所述待启动自适应应用端;An information sending module, configured to send specified state information to the adaptive application to be started, so that the adaptive application to be started determines whether to start the adaptive application to be started based on the specified state information;
    所述第二确定模块和所述信息发送模块重复执行对应步骤,直至所述多个自适应应用端全部启动。The second determining module and the information sending module repeatedly execute corresponding steps until all the multiple adaptive application terminals are started.
  8. 一种应用控制装置,应用于自适应应用端,所述装置包括:An application control device applied to an adaptive application terminal, the device comprising:
    信息接收模块,被设置为接收服务管理设备发送的指定状态信息;The information receiving module is configured to receive specified status information sent by the service management device;
    信息处理模块,被设置为基于所述指定状态信息确定是否启动,并向所述服务管理设备发送通知服务事件。The information processing module is configured to determine whether to start based on the specified state information, and send a notification service event to the service management device.
  9. 一种电子设备,所述电子设备包括:An electronic device comprising:
    处理器;processor;
    存储装置,被设置为存储程序;a storage device configured to store a program;
    在所述程序被所述处理器执行时,所述处理器实现如权利要求1至4任一 项所述的应用控制方法,或者所述处理器实现如权利要求5或6所述的应用控制方法。When the program is executed by the processor, the processor implements the application control method according to any one of claims 1 to 4, or the processor implements the application control method according to claim 5 or 6 method.
  10. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现如权利要求1至4任一项所述的应用控制方法,或者该计算机程序被处理器执行时实现如权利要求5或6所述的应用控制方法。A computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the application control method according to any one of claims 1 to 4 is realized, or the computer program When executed by the processor, the application control method according to claim 5 or 6 is realized.
PCT/CN2022/119863 2021-09-29 2022-09-20 Application control method and apparatus, electronic device, and storage medium WO2023051315A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111149639.2 2021-09-29
CN202111149639.2A CN113867145A (en) 2021-09-29 2021-09-29 Application control method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2023051315A1 true WO2023051315A1 (en) 2023-04-06

Family

ID=78992471

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/119863 WO2023051315A1 (en) 2021-09-29 2022-09-20 Application control method and apparatus, electronic device, and storage medium

Country Status (2)

Country Link
CN (1) CN113867145A (en)
WO (1) WO2023051315A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113867145A (en) * 2021-09-29 2021-12-31 中国第一汽车股份有限公司 Application control method and device, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106972963A (en) * 2017-03-23 2017-07-21 数据通信科学技术研究所 Enabling for business module enables control method after control method, collapse are restarted
US20180173515A1 (en) * 2015-06-01 2018-06-21 Opensynergy Gmbh Method for updating a control unit for an automotive vehicle, control unit for an automotive vehicle, and computer program product
CN108509603A (en) * 2018-04-02 2018-09-07 焦点科技股份有限公司 A kind of adaptive dynamic dispatching method and system of data warehouse
CN111324385A (en) * 2018-12-12 2020-06-23 中兴通讯股份有限公司 Starting method of application module, container, control device and readable storage medium
CN112291194A (en) * 2020-09-27 2021-01-29 上海赫千电子科技有限公司 State management method and device based on ECU in vehicle-mounted network and intelligent automobile
CN112291124A (en) * 2020-09-27 2021-01-29 上海赫千电子科技有限公司 Vehicle-mounted network ECU communication method based on SOME/IP protocol
CN112882813A (en) * 2021-03-18 2021-06-01 苏州科达科技股份有限公司 Task scheduling method, device and system and electronic equipment
CN113867145A (en) * 2021-09-29 2021-12-31 中国第一汽车股份有限公司 Application control method and device, electronic equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108664291A (en) * 2017-03-30 2018-10-16 中国移动通信集团山西有限公司 The construction method and device of container group
CN111488220A (en) * 2020-04-09 2020-08-04 北京字节跳动网络技术有限公司 Method and device for processing starting request and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180173515A1 (en) * 2015-06-01 2018-06-21 Opensynergy Gmbh Method for updating a control unit for an automotive vehicle, control unit for an automotive vehicle, and computer program product
CN106972963A (en) * 2017-03-23 2017-07-21 数据通信科学技术研究所 Enabling for business module enables control method after control method, collapse are restarted
CN108509603A (en) * 2018-04-02 2018-09-07 焦点科技股份有限公司 A kind of adaptive dynamic dispatching method and system of data warehouse
CN111324385A (en) * 2018-12-12 2020-06-23 中兴通讯股份有限公司 Starting method of application module, container, control device and readable storage medium
CN112291194A (en) * 2020-09-27 2021-01-29 上海赫千电子科技有限公司 State management method and device based on ECU in vehicle-mounted network and intelligent automobile
CN112291124A (en) * 2020-09-27 2021-01-29 上海赫千电子科技有限公司 Vehicle-mounted network ECU communication method based on SOME/IP protocol
CN112882813A (en) * 2021-03-18 2021-06-01 苏州科达科技股份有限公司 Task scheduling method, device and system and electronic equipment
CN113867145A (en) * 2021-09-29 2021-12-31 中国第一汽车股份有限公司 Application control method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113867145A (en) 2021-12-31

Similar Documents

Publication Publication Date Title
US11294714B2 (en) Method and apparatus for scheduling task, device and medium
US20220053068A1 (en) Methods, apparatuses and computer storage media for applet state synchronization
CN111737022B (en) Micro-service-based interface calling method, system, equipment and medium
CN110069308B (en) Page starting method and device, electronic equipment and storage medium
WO2021013247A1 (en) Method and device for running applet, and computer storage medium
CN110908682A (en) Firmware upgrading method and system for vehicle controller, vehicle and storage medium
WO2020177697A1 (en) Method for discovery between mini program platforms, device, and computer storage medium
WO2023051315A1 (en) Application control method and apparatus, electronic device, and storage medium
CN112055251A (en) Media data playing method, device, equipment and storage medium
CN110781014B (en) Recording data multi-process distribution method and system based on Android device
CN109981778B (en) Method, device, equipment and storage medium for realizing service of content distribution network
CN110365839B (en) Shutdown method, shutdown device, shutdown medium and electronic equipment
CN113564865A (en) Remote control method and device for washing machine, electronic equipment and storage medium
CN111475230A (en) Application function configuration method and device and electronic equipment
CN111290861A (en) Message processing method and device and electronic equipment
CN110096196B (en) Data processing method for vehicle-mounted terminal, chip and medium
CN111708568B (en) Modularized development decoupling method and terminal
US20110125902A1 (en) Apparatus And A Method For Resource Management
CN112489660A (en) Vehicle-mounted voice recognition method, device, equipment and storage medium
CN112615916A (en) File deployment method and device, electronic equipment and storage medium
CN114710755B (en) Message processing method, vehicle-mounted communication device, electronic equipment and storage medium
CN115550501B (en) Audio control method, electronic equipment and medium
CN106484536B (en) IO scheduling method, device and equipment
CN113821248B (en) Service method of vehicle-end software, vehicle-end software and related equipment thereof
CN113495794B (en) Module bridging method and device for Android system, electronic equipment and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22874702

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22874702

Country of ref document: EP

Kind code of ref document: A1