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

CN113791843A - Execution method, device, equipment and storage medium - Google Patents

Execution method, device, equipment and storage medium Download PDF

Info

Publication number
CN113791843A
CN113791843A CN202111061141.0A CN202111061141A CN113791843A CN 113791843 A CN113791843 A CN 113791843A CN 202111061141 A CN202111061141 A CN 202111061141A CN 113791843 A CN113791843 A CN 113791843A
Authority
CN
China
Prior art keywords
target
input information
execution
actuator
target actuator
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111061141.0A
Other languages
Chinese (zh)
Inventor
郑红丽
吴明哲
刘朝阳
蔡旭
樊永友
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
FAW Group Corp
Original Assignee
FAW Group Corp
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 FAW Group Corp filed Critical FAW Group Corp
Priority to CN202111061141.0A priority Critical patent/CN113791843A/en
Publication of CN113791843A publication Critical patent/CN113791843A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/548Queue

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses an execution method, an execution device, equipment and a storage medium. The method comprises the following steps: acquiring input information; determining a target actuator according to the input information; the technical scheme of the invention solves the problems that due to the development of electronic devices, control terminals and display terminals are increased, and the problem of conflict between control and display is gradually revealed and increased, and the development work in the aspect of interaction can be reduced.

Description

Execution method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of vehicles, in particular to an execution method, an execution device, execution equipment and a storage medium.
Background
Due to the development of electronic devices, the increase of control terminals and display terminals, and the problem of conflict between control and display are gradually revealed and increased.
The existing method is to perform input/output control in the executive program for controlling the actuator, and the input/output control in the executive program for controlling the actuator can solve part of conflict problems, but each executive program needs to perform corresponding development work on an interactive mode (an execution strategy and a display strategy), so that the difficulty is high.
Disclosure of Invention
Embodiments of the present invention provide an execution method, an execution apparatus, a device, and a storage medium, so as to solve the problems that due to the development of electronic devices, control terminals and display terminals are increased, and the problem of conflict between control and display is gradually revealed and increased, and to reduce development work in the aspect of interaction.
In a first aspect, an embodiment of the present invention provides an execution method, including:
acquiring input information;
determining a target actuator according to the input information;
and determining a target execution strategy according to the target actuator, and controlling the target actuator to execute the input information according to the target execution strategy.
Further, determining a target execution strategy according to the target executor, and controlling the target executor to execute the input information according to the target execution strategy includes:
if the current state of the target actuator is an execution state, determining a target execution strategy according to the target actuator;
and controlling the target actuator to execute the input information according to the target execution strategy.
Further, the method also comprises the following steps:
and if the current state of the target actuator is an idle state, controlling the target actuator to execute the input information.
Further, the target execution policy is a waiting policy;
correspondingly, controlling the target actuator to execute the input information according to the target execution strategy comprises:
adding the input information to an input information queue;
and when the current state of the target actuator is an idle state, controlling the target actuator to sequentially execute the input information in the input information queue.
Further, the target execution strategy is a recording strategy;
correspondingly, controlling the target actuator to execute the input information according to the target execution strategy comprises:
acquiring a current expected result of the target actuator and a target expected result corresponding to the input information;
if the current expected result is the same as the target expected result, ignoring the input information;
and if the current expected result is different from the target expected result, executing the input information when the current state of the target actuator is an idle state.
Further, the target execution policy is an exclusive policy;
correspondingly, controlling the target actuator to execute the input information according to the target execution strategy comprises:
controlling the target actuator not to respond to input information received during the target actuator being in an executing state.
Further, the target execution strategy is an interruption strategy;
correspondingly, controlling the target actuator to execute the input information according to the target execution strategy comprises:
and controlling the target actuator to end the last responding operation or cancel the waiting execution result, and executing the input information.
In a second aspect, an embodiment of the present invention further provides an execution apparatus, where the execution apparatus includes:
the acquisition module is used for acquiring input information;
the determining module is used for determining a target actuator according to the input information;
and the execution module is used for determining a target execution strategy according to the target actuator and controlling the target actuator to execute the input information according to the target execution strategy.
Further, the execution module is specifically configured to:
if the current state of the target actuator is an execution state, determining a target execution strategy according to the target actuator;
and controlling the target actuator to execute the input information according to the target execution strategy.
Further, the execution module is specifically configured to:
and if the current state of the target actuator is an idle state, controlling the target actuator to execute the input information.
Further, the target execution policy is a waiting policy;
the execution module is specifically configured to:
adding the input information to an input information queue;
and when the current state of the target actuator is an idle state, controlling the target actuator to sequentially execute the input information in the input information queue.
Further, the target execution strategy is a recording strategy;
the execution module is specifically configured to:
acquiring a current expected result of the target actuator and a target expected result corresponding to the input information;
if the current expected result is the same as the target expected result, ignoring the input information;
and if the current expected result is different from the target expected result, executing the input information when the current state of the target actuator is an idle state.
Further, the target execution policy is an exclusive policy;
the execution module is specifically configured to:
controlling the target actuator not to respond to input information received during the target actuator being in an executing state.
Further, the target execution strategy is an interruption strategy;
correspondingly, the execution module is specifically configured to:
and controlling the target actuator to end the last responding operation or cancel the waiting execution result, and executing the input information.
In a third aspect, an embodiment of the present invention further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the execution method according to any one of the embodiments of the present invention.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the execution method according to any one of the embodiments of the present invention.
The embodiment of the invention obtains the input information; determining a target actuator according to the input information; and determining a target execution strategy according to the target actuator, controlling the target actuator to execute the input information according to the target execution strategy, solving the problems that the control terminals and the display terminals are increased and the problem of conflict between control and display is gradually revealed and increased due to the development of electronic devices, and reducing the development work in the aspect of interaction.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
FIG. 1 is a flow chart of one method of execution in an embodiment of the invention;
FIG. 1a is an interaction diagram in an embodiment of the invention;
FIG. 1b is a timing diagram of application calls in an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of an execution device according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device in an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a computer-readable storage medium containing a computer program in an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures. In addition, the embodiments and features of the embodiments in the present invention may be combined with each other without conflict.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like. In addition, the embodiments and features of the embodiments in the present invention may be combined with each other without conflict.
The term "include" and variations thereof as used herein are intended to be open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment".
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Fig. 1 is a flowchart of an execution method provided in an embodiment of the present invention, where the embodiment is applicable to a case where an actuator executes input information, and the method may be executed by an execution device in an embodiment of the present invention, where the execution device may be implemented in a software and/or hardware manner, as shown in fig. 1, the method specifically includes the following steps:
s110, acquiring input information.
The input information is input information input through an input source, and the input source may be various input devices, including but not limited to: screen input for controllers such as infotainment systems, air conditioning systems, and the like; inputting voice; inputting by a camera; hard keys, buttons or intelligent surface keys such as a steering wheel, an air conditioner, a car window and the like; external connecting equipment: the mobile phone, the tablet personal computer and the like are connected to the information entertainment system through USB, WIFI and Bluetooth; peripheral equipment connected to the whole vehicle through a whole vehicle network connection (CAN network, ethernet, etc.); other normal types of controllers, sensors and the like are connected through a hard wire IO; a cloud server connected to the entire vehicle through a vehicle-mounted Ethernet; built-in application: the vehicle control unit provides navigation positioning information; the cloud transmits local road information and other navigation information; the cloud transmits the weather information to the local; and the cloud transmits local smart city information and the like.
Wherein the input information includes: the data input by the user and/or the instruction input by the user may be, for example, that the user clicks an air conditioner button.
And S120, determining a target actuator according to the input information.
Wherein, the executor is for showing and carrying out the terminal, and the executor includes but not limited to: infotainment system display screen: the system comprises an instrument screen, a central control screen, a secondary driving screen, a rear row screen and the like; carrying display screens such as an air conditioner, a HUD, a reversing look-around image, a transparent A column, a streaming media rearview mirror, a vehicle event data recorder and the like; voice feedback information; vehicle-finishing prompt information or prompt tone and the like; status lights for hard keys, buttons or intelligent surface keys such as steering wheels, air conditioners and vehicle windows; vehicle windows and doors, etc.
Specifically, the method for determining the target actuator according to the input information may be: according to the input information query table, obtaining a target actuator corresponding to the input information; the method for determining the target actuator according to the input information may further include: and determining a target actuator corresponding to the input information according to the identifier carried by the input information, which is not limited in the embodiment of the present invention.
Specifically, the manager determines the target actuator according to the input information, and the manager may be a controller mounted on an ECU of the vehicle, including but not limited to: an infotainment host; controllers for the body, chassis and engine; an automatic driving related controller.
S130, determining a target execution strategy according to the target actuator, and controlling the target actuator to execute the input information according to the target execution strategy.
The target execution policy may be a waiting policy, the target execution policy may also be a recording policy, the target execution policy may also be an exclusive policy, the target execution policy may also be an interruption policy, and the waiting policy may be: recording the input information in sequence, and executing the input information in sequence according to the recording sequence; the recording policy may be: and judging according to the current expected result of the target actuator and the target expected result corresponding to the input information, if the current expected result of the target actuator is the same as the target expected result corresponding to the input information, ignoring the input information, and if the current expected result of the target actuator is different from the target expected result corresponding to the input information, executing the input information when the current state of the target actuator is an idle state. The exclusive policy may be: the target actuator does not respond to the received input information while in the executing state. The breaking policy may be: and after receiving the input information, ending the last responding operation or canceling the waiting execution result and executing the input information. The embodiments of the present invention are not limited in this regard.
Specifically, the determining of the target execution policy according to the target executor, and the controlling of the target executor to execute the input information according to the target execution policy may be: if the current state of the target actuator is an execution state, determining a target execution strategy according to the target actuator; and controlling the target actuator to execute the input information according to the target execution strategy. Determining a target execution strategy according to the target executor, wherein a mode for controlling the target executor to execute the input information according to the target execution strategy can also be as follows: and if the current state of the target actuator is an idle state, controlling the target actuator to execute the input information.
Optionally, determining a target execution policy according to the target executor, and controlling the target executor to execute the input information according to the target execution policy includes:
if the current state of the target actuator is an execution state, determining a target execution strategy according to the target actuator;
and controlling the target actuator to execute the input information according to the target execution strategy.
The determination method that the current state of the target actuator is the execution state may be: and if the target actuator is in response operation, determining that the current state of the target actuator is an execution state. The determination mode that the current state of the target actuator is the execution state may further be: and if the target actuator waits for the execution result, determining that the current state of the target actuator is the execution state.
Specifically, the method for determining the target execution policy according to the target executor may be: inquiring a database according to a target actuator to obtain a target execution strategy corresponding to the target actuator; the method for determining the target execution strategy according to the target executor may further include: obtaining a type corresponding to the target actuator, and determining a target execution policy according to the type corresponding to the target actuator, which is not limited in the embodiment of the present invention.
Specifically, if the target execution policy is a waiting policy, the manner of controlling the target executor to execute the input information according to the target execution policy may be: adding the input information to an input information queue; and when the current state of the target actuator is an idle state, controlling the target actuator to sequentially execute the input information in the input information queue. If the target execution policy is a record policy, the manner of controlling the target executor to execute the input information according to the target execution policy may be: acquiring a current expected result of the target actuator and a target expected result corresponding to the input information; if the current expected result is the same as the target expected result, ignoring the input information; and if the current expected result is different from the target expected result, executing the input information when the current state of the target actuator is an idle state. If the target execution policy is an exclusive policy, a manner of controlling the target executor to execute the input information according to the target execution policy may be: controlling the target actuator not to respond to input information received during the target actuator being in an executing state. If the target execution policy is an interruption policy, the manner of controlling the target executor to execute the input information according to the target execution policy may be: and controlling the target actuator to end the last responding operation or cancel the waiting execution result, and executing the input information.
Optionally, the method further includes:
and if the current state of the target actuator is an idle state, controlling the target actuator to execute the input information.
Optionally, the target execution policy is a waiting policy;
correspondingly, controlling the target actuator to execute the input information according to the target execution strategy comprises:
adding the input information to an input information queue;
and when the current state of the target actuator is an idle state, controlling the target actuator to sequentially execute the input information in the input information queue.
Wherein, the input information in the input information queue is arranged in sequence.
Specifically, the input information is added to an input information queue; when the current state of the target actuator is the idle state, the target actuator is controlled to sequentially execute the input information in the input information queue, for example, in the process that the target actuator is in the execution state, the input information a is received, the input information a is added to the input information queue, the input information B is received, the input information B is added to the input information a in the input information queue, after the target actuator completes execution, the target actuator executes the input information a first, and after the target actuator completes execution of the input information a, the target actuator executes the input information B.
Optionally, the target execution policy is a recording policy;
correspondingly, controlling the target actuator to execute the input information according to the target execution strategy comprises:
acquiring a current expected result of the target actuator and a target expected result corresponding to the input information;
if the current expected result is the same as the target expected result, ignoring the input information;
and if the current expected result is different from the target expected result, executing the input information when the current state of the target actuator is an idle state.
And the current expected result of the target actuator is an expected result corresponding to the operation currently responded by the target actuator.
The obtaining mode of the target expected result can be that a database is queried according to the input information to obtain the target expected result corresponding to the input information; the obtaining mode of the target expected result can also be as follows: and determining a target expected result corresponding to the input information according to the identifier carried by the input information, which is not limited in the embodiment of the present invention.
Specifically, a current expected result of the target actuator and a target expected result corresponding to the input information are obtained; if the current expected result is the same as the target expected result, ignoring the input information; and if the current expected result is different from the target expected result, executing the input information when the current state of the target actuator is an idle state. For example, the input information a is received, the actuator Q corresponding to the input information a is acquired, the current expected result of the actuator Q and the target expected result corresponding to the input information a are acquired, if the current expected result of the actuator Q is the same as the target expected result corresponding to the input information a, the input information a is ignored, and if the current expected result of the actuator Q is different from the target expected result corresponding to the input information a, the input information a is executed when the current state of the actuator Q is in the idle state.
Optionally, the target execution policy is an exclusive policy;
correspondingly, controlling the target actuator to execute the input information according to the target execution strategy comprises:
controlling the target actuator not to respond to input information received during the target actuator being in an executing state.
Optionally, the target execution policy is an interruption policy;
correspondingly, controlling the target actuator to execute the input information according to the target execution strategy comprises:
and controlling the target actuator to end the last responding operation or cancel the waiting execution result, and executing the input information.
The embodiment of the invention aims at the scenes that a plurality of input devices input and control the same device or different devices and can be displayed and executed on different terminals, and the plurality of input devices are communicated with a realization carrier in the same or different communication modes. The terminal display or execution is controlled by the input device to display or control correspondingly. The carrier can let the terminal display or process the final result through different communication modes.
According to different executor functions, when the manager receives the input of various input sources (because the input is uncertain), the manager adopts various execution strategies and display strategies to carry out strategy response, and the execution strategies and the display strategies can be combined into various interaction strategy models.
As shown in fig. 1a, since the input source is a special case of continuous input, the following model is also applicable to discontinuous input, namely: start input- > execution completes. Because the actuators are different, when various inputs control different actuators, the manager adopts a parallel management mode, and the interaction strategy is executed according to the operation of each actuator.
The display policy rules are not limited to the following 3 ways:
the results of execution from the input to the receipt are shown in table 1:
TABLE 1
Figure BDA0003256614380000131
The embodiment of the invention adopts a centralized processing mode, encapsulates the interaction strategy, calls the interaction strategy by the application, and transmits the strategy execution state and the display state back to the corresponding application in a communication mode. The embodiment of the invention solves the problem of control conflict when multiple inputs are interacted. Unifying the interactive execution mode of the same strategy of the same type of functions. Decoupling operations, controls, and interactions.
As shown in FIG. 1B, input Collection A receives input control of input Source A and input Collection B receives input control of input Source B; the input collection A/B sends the input to a strategy execution program, and the strategy execution is scheduled according to a preset strategy; when input is received, synchronizing the state to a display strategy, and controlling the display state by the display strategy; executing the scheduling executive program; after the combined execution is completed in the execution process, the strategy execution synchronizes the state to the display strategy; when input is received again, the policy enforcement determines whether and how enforcement is required based on the policy.
According to the technical scheme of the embodiment, the input information is acquired; determining a target actuator according to the input information; and determining a target execution strategy according to the target actuator, controlling the target actuator to execute the input information according to the target execution strategy, solving the problems that the control terminals and the display terminals are increased and the problem of conflict between control and display is gradually revealed and increased due to the development of electronic devices, and reducing the development work in the aspect of interaction.
Fig. 2 is a schematic structural diagram of an execution apparatus according to an embodiment of the present invention. The embodiment may be applicable to the case where the actuator executes the input information, the apparatus may be implemented in a software and/or hardware manner, and the apparatus may be integrated into any device that provides an execution function, as shown in fig. 2, where the execution apparatus specifically includes: an acquisition module 210, a determination module 220, and an execution module 230.
The obtaining module 210 is configured to obtain input information;
a determining module 220, configured to determine a target actuator according to the input information;
and the execution module 230 is configured to determine a target execution policy according to the target executor, and control the target executor to execute the input information according to the target execution policy.
Optionally, the execution module is specifically configured to:
if the current state of the target actuator is an execution state, determining a target execution strategy according to the target actuator;
and controlling the target actuator to execute the input information according to the target execution strategy.
Optionally, the execution module is specifically configured to:
and if the current state of the target actuator is an idle state, controlling the target actuator to execute the input information.
Optionally, the target execution policy is a waiting policy;
the execution module is specifically configured to:
adding the input information to an input information queue;
and when the current state of the target actuator is an idle state, controlling the target actuator to sequentially execute the input information in the input information queue.
Optionally, the target execution policy is a recording policy;
the execution module is specifically configured to:
acquiring a current expected result of the target actuator and a target expected result corresponding to the input information;
if the current expected result is the same as the target expected result, ignoring the input information;
and if the current expected result is different from the target expected result, executing the input information when the current state of the target actuator is an idle state.
Optionally, the target execution policy is an exclusive policy;
the execution module is specifically configured to:
controlling the target actuator not to respond to input information received during the target actuator being in an executing state.
Optionally, the target execution policy is an interruption policy;
correspondingly, the execution module is specifically configured to:
and controlling the target actuator to end the last responding operation or cancel the waiting execution result, and executing the input information.
The product can execute the method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
According to the technical scheme of the embodiment, the input information is acquired; determining a target actuator according to the input information; and determining a target execution strategy according to the target actuator, controlling the target actuator to execute the input information according to the target execution strategy, solving the problems that the control terminals and the display terminals are increased and the problem of conflict between control and display is gradually revealed and increased due to the development of electronic devices, and reducing the development work in the aspect of interaction.
Fig. 3 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention. FIG. 3 illustrates a block diagram of an electronic device 312 suitable for use in implementing embodiments of the present invention. The electronic device 312 shown in fig. 3 is only an example, and should not bring any limitation to the functions and the scope of the use of the embodiment of the present invention. Device 312 is a computing device for typical trajectory fitting functions.
As shown in fig. 3, electronic device 312 is in the form of a general purpose computing device. The components of the electronic device 312 may include, but are not limited to: one or more processors 316, a storage device 328, and a bus 318 that couples the various system components including the storage device 328 and the processors 316.
Bus 318 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MCA) bus, an enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
Electronic device 312 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by electronic device 312 and includes both volatile and nonvolatile media, removable and non-removable media.
Storage 328 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) 330 and/or cache Memory 332. The electronic device 312 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 334 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 3, and commonly referred to as a "hard drive"). Although not shown in FIG. 3, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a Compact disk-Read Only Memory (CD-ROM), a Digital Video disk (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to bus 318 by one or more data media interfaces. Storage 328 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
Program 336 having a set (at least one) of program modules 326 may be stored, for example, in storage 328, such program modules 326 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which may comprise an implementation of a network environment, or some combination thereof. Program modules 326 generally carry out the functions and/or methodologies of embodiments of the invention as described herein.
Electronic device 312 may also communicate with one or more external devices 314 (e.g., keyboard, pointing device, camera, display 324, etc.), with one or more devices that enable a user to interact with electronic device 312, and/or with any devices (e.g., network card, modem, etc.) that enable electronic device 312 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 322. Also, the electronic device 312 may communicate with one or more networks (e.g., a Local Area Network (LAN), Wide Area Network (WAN), and/or a public Network, such as the internet) via the Network adapter 320. As shown, a network adapter 320 communicates with the other modules of the electronic device 312 via the bus 318. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 312, including but not limited to: microcode, device drivers, Redundant processing units, external disk drive Arrays, disk array (RAID) systems, tape drives, and data backup storage systems, to name a few.
The processor 316 executes various functional applications and data processing by executing programs stored in the storage device 328, for example, implementing the execution methods provided by the above-described embodiments of the present invention:
acquiring input information;
determining a target actuator according to the input information;
and determining a target execution strategy according to the target actuator, and controlling the target actuator to execute the input information according to the target execution strategy.
Fig. 4 is a schematic structural diagram of a computer-readable storage medium containing a computer program according to an embodiment of the present invention. Embodiments of the present invention provide a computer-readable storage medium 61, on which a computer program 610 is stored, which when executed by one or more processors implements the execution method as provided by all inventive embodiments of the present application:
acquiring input information;
determining a target actuator according to the input information;
and determining a target execution strategy according to the target actuator, and controlling the target actuator to execute the input information according to the target execution strategy.
Any combination of one or more computer-readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (Hyper Text Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, or the like, as well as conventional procedural programming languages, such as the "C" programming language or similar programming languages. 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. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. An execution method, comprising:
acquiring input information;
determining a target actuator according to the input information;
and determining a target execution strategy according to the target actuator, and controlling the target actuator to execute the input information according to the target execution strategy.
2. The method of claim 1, wherein determining a target execution strategy based on the target actuator, and controlling the target actuator to execute the input message based on the target execution strategy comprises:
if the current state of the target actuator is an execution state, determining a target execution strategy according to the target actuator;
and controlling the target actuator to execute the input information according to the target execution strategy.
3. The method of claim 2, further comprising:
and if the current state of the target actuator is an idle state, controlling the target actuator to execute the input information.
4. The method of claim 2, wherein the target execution policy is a wait policy;
correspondingly, controlling the target actuator to execute the input information according to the target execution strategy comprises:
adding the input information to an input information queue;
and when the current state of the target actuator is an idle state, controlling the target actuator to sequentially execute the input information in the input information queue.
5. The method of claim 2, wherein the target execution policy is a logging policy;
correspondingly, controlling the target actuator to execute the input information according to the target execution strategy comprises:
acquiring a current expected result of the target actuator and a target expected result corresponding to the input information;
if the current expected result is the same as the target expected result, ignoring the input information;
and if the current expected result is different from the target expected result, executing the input information when the current state of the target actuator is an idle state.
6. The method of claim 2, wherein the target execution policy is an exclusive policy;
correspondingly, controlling the target actuator to execute the input information according to the target execution strategy comprises:
controlling the target actuator not to respond to input information received during the target actuator being in an executing state.
7. The method of claim 2, wherein the target execution policy is a break policy;
correspondingly, controlling the target actuator to execute the input information according to the target execution strategy comprises:
and controlling the target actuator to end the last responding operation or cancel the waiting execution result, and executing the input information.
8. An execution apparatus, comprising:
the acquisition module is used for acquiring input information;
the determining module is used for determining a target actuator according to the input information;
and the execution module is used for determining a target execution strategy according to the target actuator and controlling the target actuator to execute the input information according to the target execution strategy.
9. An electronic device, comprising:
one or more processors;
a memory for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the processors to implement the method of any of claims 1-7.
10. A computer-readable storage medium containing a computer program, on which the computer program is stored, characterized in that the program, when executed by one or more processors, implements the method according to any one of claims 1-7.
CN202111061141.0A 2021-09-10 2021-09-10 Execution method, device, equipment and storage medium Pending CN113791843A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111061141.0A CN113791843A (en) 2021-09-10 2021-09-10 Execution method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111061141.0A CN113791843A (en) 2021-09-10 2021-09-10 Execution method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113791843A true CN113791843A (en) 2021-12-14

Family

ID=79182981

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111061141.0A Pending CN113791843A (en) 2021-09-10 2021-09-10 Execution method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113791843A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115220922A (en) * 2022-02-24 2022-10-21 广州汽车集团股份有限公司 Vehicle application program running method and device and vehicle
WO2024216834A1 (en) * 2023-04-18 2024-10-24 上海易咖智车科技有限公司 Mode switching task processing method and apparatus, electronic device, and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103218326A (en) * 2013-04-24 2013-07-24 上海华力创通半导体有限公司 Comprehensive arbiter device
CN107870759A (en) * 2016-09-26 2018-04-03 中兴通讯股份有限公司 A kind of audio control method and device
CN111476539A (en) * 2020-04-07 2020-07-31 深圳市分期乐网络科技有限公司 Task monitoring method and device, computer equipment and storage medium
CN112015157A (en) * 2019-05-29 2020-12-01 比亚迪股份有限公司 Linux-based vehicle-mounted device interaction method and device, computer equipment and storage medium
CN112463420A (en) * 2021-02-02 2021-03-09 湖北亿咖通科技有限公司 Information scheduling method of car machine desktop system and electronic equipment
CN113342477A (en) * 2021-07-08 2021-09-03 河南星环众志信息科技有限公司 Container group deployment method, device, equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103218326A (en) * 2013-04-24 2013-07-24 上海华力创通半导体有限公司 Comprehensive arbiter device
CN107870759A (en) * 2016-09-26 2018-04-03 中兴通讯股份有限公司 A kind of audio control method and device
CN112015157A (en) * 2019-05-29 2020-12-01 比亚迪股份有限公司 Linux-based vehicle-mounted device interaction method and device, computer equipment and storage medium
CN111476539A (en) * 2020-04-07 2020-07-31 深圳市分期乐网络科技有限公司 Task monitoring method and device, computer equipment and storage medium
CN112463420A (en) * 2021-02-02 2021-03-09 湖北亿咖通科技有限公司 Information scheduling method of car machine desktop system and electronic equipment
CN113342477A (en) * 2021-07-08 2021-09-03 河南星环众志信息科技有限公司 Container group deployment method, device, equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115220922A (en) * 2022-02-24 2022-10-21 广州汽车集团股份有限公司 Vehicle application program running method and device and vehicle
WO2024216834A1 (en) * 2023-04-18 2024-10-24 上海易咖智车科技有限公司 Mode switching task processing method and apparatus, electronic device, and storage medium

Similar Documents

Publication Publication Date Title
US10279762B2 (en) Systems and methods for using mobile devices to control on-board devices of vehicles
CN106537335B (en) Operating system boot acceleration
CN113791843A (en) Execution method, device, equipment and storage medium
JP2021190986A (en) Ultrasonic radar array, and obstacle detection method and system
CN106663009B (en) Operating system boot acceleration
JP6564845B2 (en) Operating system startup acceleration
US10149137B2 (en) Enhanced communication system
CN111324202A (en) Interaction method, device, equipment and storage medium
CN113792059A (en) Scene library updating method, device, equipment and storage medium
EP4369186A1 (en) Control method and apparatus, device, and storage medium
WO2023036234A1 (en) Management system, method and apparatus, and device and storage medium
CN113791842A (en) Management method, device, equipment and storage medium
KR20220065669A (en) Hybrid fetching using a on-device cache
CN113539265A (en) Control method, device, equipment and storage medium
US20240198938A1 (en) Computing Systems And Methods For Generating User-Specific Automated Vehicle Actions
WO2023036230A1 (en) Execution instruction determination method and apparatus, device, and storage medium
CN109669898B (en) System and method for aggregating vehicle data from infotainment application accessories
CN116803110A (en) Platform for integrating heterogeneous ecosystems in vehicles
CN112465605A (en) Part generation method, device, equipment and storage medium
US20240333795A1 (en) Methods and Computing Systems for Vehicle Connection Visibility
CN115805882A (en) Control method and device for in-vehicle child mode and related equipment
CN117104133A (en) Vehicle whistle control method, device, electronic equipment and storage medium

Legal Events

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