WO2022166109A1 - Information scheduling method for head unit desktop system, and electronic device - Google Patents

Information scheduling method for head unit desktop system, and electronic device Download PDF

Info

Publication number
WO2022166109A1
WO2022166109A1 PCT/CN2021/105266 CN2021105266W WO2022166109A1 WO 2022166109 A1 WO2022166109 A1 WO 2022166109A1 CN 2021105266 W CN2021105266 W CN 2021105266W WO 2022166109 A1 WO2022166109 A1 WO 2022166109A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
input
layer
scheduling method
information scheduling
Prior art date
Application number
PCT/CN2021/105266
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 WO2022166109A1 publication Critical patent/WO2022166109A1/en

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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • 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/545Interprogram communication where tasks reside in different layers, e.g. user- and kernel-space

Definitions

  • the present invention requires the priority of the Chinese patent application with the application number of 202110139883.4 and the title of the invention "an information scheduling method and electronic device for a desktop system of a vehicle", which was submitted to the Chinese Patent Office on February 2, 2021. Reference is incorporated herein.
  • the invention relates to the technical field of in-vehicle infotainment products, in particular to an information scheduling method and electronic device of an in-vehicle desktop system.
  • the in-vehicle infotainment system (also known as In-Vehicle Infotainment, IVI for short) is the core of vehicle control, and the in-vehicle desktop system is all the The center of vehicle information aggregation is the carrier for the most intuitive experience for users. In order to accurately, efficiently and intuitively display vehicle information in front of users and ensure the safety of users' vehicle use, it is urgent to develop an excellent information scheduling scheme for the vehicle-machine desktop system.
  • the present invention provides an information scheduling method and electronic device for a vehicle-machine desktop system that overcomes the above-mentioned problems or at least partially solves the above-mentioned problems.
  • An object of the present invention is to provide an information scheduling method for a vehicle-machine desktop system that can send messages in an orderly, regular, and efficient manner and avoid mutual interference in sending messages.
  • a further object of the present invention is to perform precise scheduling by ensuring the validity of the delivered message.
  • a still further object of the present invention is to ensure the rationality of the message delivery order by reordering the sending queue.
  • an information scheduling method of an on-board desktop system which is applied to a policy center controller of the on-board desktop system, and the information scheduling method includes:
  • each message input party In response to the access request of each message input party, establish a connection with each of the message input parties, and in response to the connection and registration request of each touch layer to connect and register each of the touch layers, and formulate the strategy center controller and Data attributes, message management rules and message transmission channels for interaction between each of the message input parties and each of the reach layers;
  • the input message is processed and integrated into the sending queue
  • the target reach layer of the input message is determined from the registered reach layers according to the scene in which the vehicle-machine desktop system is currently located, and the target reach layer of the input message is sent to the lower layer through the corresponding message transmission channel. send the input message in the send queue.
  • the message input party includes at least one of the following: cloud, scene, in-vehicle navigation, and multimedia application;
  • the reach layer includes at least one of the following: an image system, a desktop, and a notification center.
  • the data attributes include at least one of the following: display attributes, control attributes, and queue attributes; wherein
  • the display attributes include message type, message title and message content
  • the control attributes include whether to display a prompt, whether to synthesize a speech, and whether to be able to speak if it is visible;
  • the queue attributes include priority and co-opetition strategy.
  • the step of detecting whether the input message is valid according to the message management rule includes at least one of the following:
  • the step of processing the input message and integrating it into the sending queue includes:
  • the sending queue If the sending queue is full, store the input message in the storage queue, and move the input message from the storage queue to the sending queue after there is space in the sending queue for adding data ;
  • the messages in the sending queue are reordered according to the data attributes of the messages in the sending queue, including the input message.
  • the step of reordering the messages in the sending queue according to the data attributes of each message including the input message in the sending queue includes:
  • the merged messages are sorted according to the priority and reception time of each message in the send queue.
  • the input message carries a message delivery route indication of the message input party, and the message delivery route indication includes an indication that a message is directly delivered to a trigger layer or an indication that a message is delivered through a sending queue;
  • the information scheduling method further includes:
  • the step of processing the input message and integrating it into the sending queue is performed.
  • the target reach layer of the input message is determined according to the scene where the vehicle-machine desktop system is currently located, and The input message is delivered to the target reach layer through the corresponding message transmission channel.
  • the information scheduling method further includes:
  • the input message is delivered to the target reaching layer only when the target reaching layer is in a normal state.
  • the information scheduling method further includes:
  • the information scheduling method further includes:
  • a notification message is generated according to the control instruction and sent to the target reach layer, so that the target reach layer changes the current state according to the notification message An operation to perform on the input message.
  • the information scheduling method further includes:
  • the information scheduling method in response to the access request of each message input party to establish a connection with each of the message input parties, and in response to the registration request of each touch layer to register each of the touch layers, formulate the strategy center controller.
  • the information scheduling method further includes:
  • the registration of the touch layer is cancelled, and the monitoring of the touch layer and the corresponding message transmission channel of the touch layer are removed.
  • an electronic device including:
  • the computer program code When executed by the processor, it causes the electronic device to execute the information scheduling method of the vehicle-machine desktop system described in any one of the foregoing.
  • a computer-readable storage medium on which a computer program is stored, and the computer program is executed by a processor to execute the information of any one of the aforementioned vehicle-machine desktop systems scheduling method.
  • a chip for running instructions includes a memory and a processor, the memory stores codes and data, the memory is coupled with the processor, and the memory is coupled to the processor.
  • the processor runs the code in the memory, so that the chip is used to execute the information scheduling method of the vehicle-machine desktop system described in any one of the foregoing.
  • a program product including instructions, when the program product is run on a computer, the computer is made to execute any one of the preceding steps of the vehicle-machine desktop system.
  • Information scheduling method when the program product is run on a computer, the computer is made to execute any one of the preceding steps of the vehicle-machine desktop system.
  • a computer program when the computer program is executed by the processor, for executing any one of the foregoing information scheduling methods for the desktop system of the vehicle machine.
  • the data attributes, message management rules and message transmission channels that interact with each message input party and each touch layer are formulated by the policy center controller, and then the Based on the message management rules and the message transmission channel, the policy center controller sends the input message from the message input party to the target reaching layer in an orderly and regular manner through the sending queue for execution.
  • the scheme of the present invention can associate each separated vehicle-mounted application as the message input party, realize resource sharing and message control through the access policy center controller, and ensure that any message sent to the policy center controller has only one message channel, and mutual It does not interfere, so as to efficiently deliver messages while avoiding mutual interference of delivered messages, and realize accurate and orderly execution and/or display of delivered messages, thereby ensuring the safety of the user's car.
  • the policy center controller can perform specific validity detection on the input message according to the specified message management rule, so as to effectively ensure the validity of the delivered message, thereby realizing precise scheduling.
  • FIG. 1 shows a schematic flowchart of an information scheduling method for a desktop system of a vehicle-machine according to an embodiment of the present invention.
  • FIG. 2 shows a system frame diagram of a method for implementing an information scheduling method of a vehicle-machine desktop system according to an embodiment of the present invention
  • FIG. 3 shows a schematic flowchart of the steps of processing an input message and integrating it into a sending queue according to an embodiment of the present invention
  • FIG. 4 shows a schematic flowchart of an information scheduling method of a vehicle-machine desktop system according to another embodiment of the present invention
  • FIG. 5 shows a sequence diagram of the relationship between the policy center controller, the message input party and the reach layer according to a specific embodiment of the present invention.
  • an embodiment of the present invention proposes an information scheduling method for a desktop system of an in-vehicle machine.
  • FIG. 1 shows a schematic flowchart of an information scheduling method for a desktop system of a vehicle-machine according to an embodiment of the present invention.
  • FIG. 2 shows a system frame diagram of a method for implementing an information scheduling method for a desktop system of a vehicle-machine according to an embodiment of the present invention.
  • a system framework for implementing the information scheduling method of the embodiment of the present invention may include a policy center controller of the vehicle-machine desktop system, at least one information input party, and at least one reach layer.
  • the information input party is mainly an application that is connected to the vehicle or the vehicle itself contains a message sending action, which is used to send messages or commands to be executed or displayed, including but not limited to: cloud, scene, vehicle navigation , multimedia applications (such as music applications, video applications, etc.) and so on.
  • the touch layer is mainly some functional units executed or displayed in the desktop system of the vehicle and the machine, which may include but are not limited to the image system, the desktop, the notification center, and so on.
  • the strategy center controller is configured to execute the information scheduling method of the vehicle-machine desktop system according to the embodiment of the present invention.
  • the scheduling method may at least include the following steps S102 to S110.
  • Step S102 after the vehicle-machine desktop system is started, the policy center controller is initialized.
  • Step S104 establish connection with each message input party in response to the access request of each message input party, and connect and register each touch layer in response to the connection and registration request of each touch layer, formulate the strategy center controller and each message input party.
  • Step S106 receiving the input message sent by the message input party through the corresponding message transmission channel, and detecting whether the input message is valid according to the message management rule. If the input message is valid, step S108 is executed.
  • Step S108 the input message is processed and integrated into the sending queue.
  • Step S110 Determine the target reach layer of the input message from the registered reach layers according to the scene in which the vehicle-machine desktop system is currently located, and deliver the input message in the sending queue to the target reach layer through the corresponding message transmission channel .
  • the policy center controller formulates data attributes, message management rules and message transmission channels for interaction with each message input party and each touch layer, and then the policy center Based on the message management rules and the message transmission channel, the controller sends the input message from the message input party to the target reaching layer in an orderly and regular manner through the sending queue for execution.
  • the scheme of the present invention can associate each separated vehicle-mounted application as the message input party, realize resource sharing and message control through the access policy center controller, and ensure that any message sent to the policy center controller has only one message channel, and mutual It does not interfere, so as to efficiently deliver messages while avoiding mutual interference of delivered messages, and realize accurate and orderly execution and/or display of delivered messages, thereby ensuring the safety of the user's car.
  • step S102 after the in-vehicle desktop system (specifically, the Infotainment Head Unit (IHU)) is started, the strategy center controller of the in-vehicle desktop system is initialized, waiting for the access of the information input party and the touch layer .
  • IHU Infotainment Head Unit
  • step S104 the access of the information input party and the reach layer is realized, and data attributes, message management rules and message transmission channels corresponding to the information input party and the reach layer are formulated (or defined).
  • the reach layer initiates a connection to the policy center controller, and after the connection is completed, initiates a registration with the policy center controller, and after the registration is completed, a two-way channel for interaction with the policy center controller is established.
  • the image system sends a connection request to the policy center controller.
  • the policy center controller informs the image system of the current connection status. If the connection is successful, the image system sends a registration request and registration data to the policy center controller.
  • the controller returns the current registration state to the image system. Only the touch layer in the state approved by the strategy center controller can perform data interaction and policy control with the strategy center controller. That is to say, only the effectively registered touch layer can be used. A party identified as a legitimate message control or display party.
  • the information input party accesses the policy center controller in a relatively broad manner. It can use the on-board system, that is, the native pipeline of the vehicle to transmit data to the policy center controller, or a custom pipeline can be used to transmit data to the policy center controller according to the data attributes and rules defined by the policy center controller. pass data.
  • the interactive data attributes defined by the policy center controller may include, but are not limited to, display attributes (such as message type, message title, message content, etc.), control attributes (such as whether to display prompts, whether to broadcast Text to Speech (TTS) , whether it is visible or not, etc.), queue attributes (such as priority, co-opetition strategy), etc.
  • the message management rules may include message validity detection rules and message enqueue logic rules, which will be described later.
  • the message transmission channel is in one-to-one correspondence with each message input party and each reach layer, and each message input party and each reach layer have a unique message transmission channel that interacts with the strategy center controller.
  • the policy center controller also defines a unified management channel for messages to ensure that any input message sent to the policy center controller has only one management path and is processed in an orderly manner.
  • the unified management channel will be introduced later.
  • connection and registration actions in this step can be connected at any time when the vehicle is running, but not necessarily performed when the system is initialized.
  • the policy center controller can also establish a data area, a policy management area and a control area.
  • the data area is mainly used to save the data attribute of the message.
  • the data area can be shared by all the reach layers, and the reach layer can also indirectly notify the policy center controller to change the value of a data attribute in the data area.
  • the policy management area is used to save message management rules. Objects (including touch layers) that have been registered with the strategy center controller are saved in the control area. It should be noted that, before the message input party and the reach layer access and define data attributes, message management rules and message transmission channels, the policy center controller can first establish the data area, policy management area and control area. It will affect the scheme of the present invention.
  • data recovery may also be performed to recover the unprocessed data before the last shutdown when the vehicle is powered on, and the recovery process may involve a data inverse analysis method.
  • the strategy center controller receives the input message from the message input party, wherein the message input party transmits data (that is, the input message) to the data area of the strategy center controller according to the data format according to the usage scenario rules, and transmits the data.
  • the data transmission channel is uniquely determined by the strategy center controller, so that when different message input parties transmit data, the parties do not interfere with each other and have low coupling.
  • the data format here may include Json data format or other object data format.
  • the message management rule may include rule conditions such as authority, blacklist, channel, message content, data attribute, and the like for the message input party.
  • the step of detecting whether the input message is valid according to the message management rule may include at least one of the following: whether the message input party sending the input message has permission, whether the message input party sending the input message is in the blacklist, and the message of transmitting the input message. Check whether the transmission channel is legal, whether the content of the input message is valid, and whether the data attribute of the input message is abnormal. If the input message meets the conditional requirements of the message management rules, everything is normal, and the next step is entered; otherwise, the transmission of the input message is terminated.
  • the policy center controller checks whether the scene has permission, checks the source of the message, and checks whether the scene is on the blacklist , check whether the content of the message is valid, check whether there is any abnormality in the data attribute of the message, all conditions are checked, and the rules are met, then go to the next step to process the message and integrate it into the sending queue.
  • the detection process and the detection sequence can be interchanged without limitation.
  • the policy center controller can perform specific validity detection on the input message according to the specified message management rule, so as to effectively ensure the validity of the delivered message, thereby realizing precise scheduling.
  • step S108 the input message is integrated into the sending queue according to the defined logic rules for message enqueuing.
  • the step of processing the input message and adding it to the sending queue may include the following steps S1081 to S1085:
  • step S1081 the received input messages are entered into the processing channel according to the order of reception time, that is, the input messages that arrive first enter the processing channel first, and those that arrive later are queued in sequence.
  • Step S1082 check whether the sending queue is full. If the sending queue is full, step S1083 is executed. If the sending queue is not full, step S1084 is executed.
  • Step S1083 Store the input message in the storage queue, and move the input message from the storage queue to the sending queue after there is a space in the queue to be sent for adding data.
  • step S1085 is executed.
  • Step S1084 adding the input message to the sending queue.
  • step S1085 is executed.
  • Step S1085 Reorder each message in the sending queue according to the data attribute of each message in the sending queue including the input message.
  • processing channel and the sending queue may jointly form the unified management channel mentioned above.
  • the storage queue mentioned above is another unrestricted queue independent of the sending queue, which can be a database, a local cache of the vehicle, and so on.
  • step S1085 may be specifically implemented as follows: firstly, according to the competing strategy and message type of each message in the sending queue, the messages in the sending queue are merged. Then, the combined messages are sorted according to the priority and reception time of each message in the sending queue.
  • the co-opetition strategy may be that messages from the same source and that can be combined (eg, of the same message type) are combined, and the priority and time of the combined messages are reset after the combination.
  • the sorting rule can be that messages with higher priority are sorted first, and messages with the same priority are sorted according to time.
  • the processed messages are integrated into the sending queue, and the length of the sending queue can be increased or the same as the original queue. Of course, it is also possible to sort first and then merge, which does not affect the solution of the present invention.
  • step S1082 adopts a method of processing the received input messages according to the order of reception time, but in other embodiments, the processing may also be performed at the same time.
  • the sending queue is full in step S1083
  • the input message is stored in the storage queue for waiting, but in other embodiments, when the sending queue is full, other methods may also be used to process the input message. Processing, such as deprecation, or comprehensive judgment on how to handle according to the properties of the message input party.
  • each message including the input message in the sending queue is sorted according to the data attributes of each message (specifically, priority, competition strategy, message type, and receiving time, etc.). Merge processing and reordering to ensure the rationality of message delivery order.
  • the input message may carry a message delivery route indication of the message input party, and the message delivery route indication includes an indication that the message is directly delivered to the trigger layer or the message is delivered through a sending queue.
  • step S107 may be further included: determining the message delivery route selected by the message input party according to the message delivery route indication . If the message delivery path selected by the message input party is to deliver the message through the sending queue, step S108 is executed. Specifically, if the indication of the message delivery route is the indication of delivering the message through the sending queue, it indicates that the message delivery route selected by the message input party is delivering the message through the sending queue.
  • step S112 is executed: according to the current scene of the vehicle-machine desktop system, the target trigger of the input message is determined. reach layer, and send input messages to the target reach layer through the corresponding message transmission channel.
  • the policy center controller by instructing the selection of channels according to the message delivery path of the message input side, when the message input side selects the trigger layer to directly deliver the message, the policy center controller does not perform excessive maintenance processing and storage on the input message, Instead, it directly conveys the target reach layer; when the message input party chooses to send the message through the sending queue, the policy center controller processes the input message and integrates it into the sending queue. In this way, personalized restriction and control of messages can be achieved.
  • the target reach layer is determined according to the scene in which the vehicle-machine desktop system is currently located, and an input message is delivered to it.
  • the input message will eventually reach the reach layer for display processing or retention.
  • the reach layer can be customized according to requirements.
  • the strategy center controller does not limit the reach layer scheme.
  • the policy center controller maintains the information of the reach layer connected and registered in step S104, and can select the target reach layer as the message receiver according to the current scenario (including but not limited to the in-app scenario or the out-of-app scenario). For example, if the current scene is an in-app scene, the registered image system of the car desktop system is selected as the target reach layer, otherwise the desktop (specifically, the Launcher launcher of the desktop) is selected as the target reach layer.
  • the target reach layer can also form a reach layer receiving queue, so as to receive the input message fetched and issued from the sending queue accordingly .
  • an error control operation may also be performed on the target touch layer. Specifically, it is detected whether the target reaching layer is in a normal state. The input message is sent to the target reach layer only when the target reach layer is in normal condition. For example, if the scenario is met but the target reach layer client dies abnormally, the input message in the sending queue will continue to be maintained, and the abnormally dead target reach layer will be removed from the reach layer receive queue. After the target reach layer is reconnected and registered, Redistribute messages to the target reach layer.
  • the policy center controller will send the most advanced message in the sending queue to the corresponding target reach layer first, and at the same time remove the sent message from the sending queue, and the queue length will decrease. 1.
  • the message sent to the target reach layer is displayed by the target reach layer according to the message and selects the trigger control timing according to the method defined by the target reach layer. This embodiment ensures that the message delivery operation is effective by controlling the error of the target reach layer.
  • step S114 may be further included: receiving information fed back after the target touch layer executes the input message, and converting the feedback information Sent to the sender of the message.
  • the reach layer is the final message handler. After the target reach layer receives the delivered message, it can trigger message events through voice interaction, gesture clicks, etc., and the processed message events are fed back to the policy center controller. Corresponding marking (marking behavior can be changing the stored value of the database, changing the stored value of the memory, etc.).
  • the strategy center controller can also feed back the feedback information of the target reaching layer to the message input party.
  • the strategy center controller can also feed back the current feedback information to other target reach layers at the same time.
  • the layer performs corresponding processing according to the feedback information. In this way, the message control interconnection between the reach layer and the reach layer can also be achieved through the strategy center controller.
  • the policy center controller may also control messages.
  • the control of the message can be divided into the control of the message input by the message input party, the mutual control between the touch layer and the touch layer, and the control of the message behavior by the touch layer and feedback to the message input party.
  • the control of the above several kinds of messages will be introduced separately below, wherein the mutual control between the touch layer and the touch layer has been introduced in the previous section, and will not be repeated here.
  • the policy center controller may further receive a control instruction for the aforementioned input message sent by the message input party. If the input message is still in the sending queue, the policy center controller changes the data attribute of the input message in the sending queue according to the control instruction. If the input message has been sent to the target reach layer, the strategy center controller generates a notification message according to the control instruction and sends it to the target reach layer, so that the target reach layer changes the current execution operation on the input message according to the notification message.
  • the message input party can initiate a control instruction (such as "Cancel", etc.) to the policy center controller through the unique message input channel, and the policy center controller also needs to verify the validity and legality of the control instruction after receiving the control instruction. . After passing the verification, if the input message is still in the sending queue, the policy center controller sends control instructions to its data area to change the data attributes in the sending queue, such as deleting the input message from the sending queue, changing the Datastore property values for an input message, etc. If the input message has been sent to the target reach layer, all target reach layers are notified to change the current operation (such as display operation) of the input message, so as to achieve the purpose of controlling the reach layer from the message input party.
  • a control instruction such as "Cancel", etc.
  • the policy center controller may further receive reverse control data sent by the message input party, and forward the reverse control data to the target reach layer, so that the target The reach layer directly controls the message input party according to the reverse control data.
  • the message input party can transmit the reverse control data to the strategy center controller, and then send it to the target reach layer after being processed by the strategy center controller.
  • the target reach layer obtains the reverse control data, it directly controls the behavior of the message input party. For example, button click events, VR (Virtual Reality, virtual reality) visible events can be said.
  • the strategy center controller after receiving the reverse control data, the strategy center controller can store it in the data area, convert it into a storable data format, and then send it to the target reach layer.
  • the conversion method depends on the data format of the message input party. For example, the cloud may transmit json data, then json parsing needs to be performed, and then the converted data is kept in the queue for forwarding.
  • the embodiment of the present invention can realize the distribution of messages from the message input party to the reach layer through the strategy center controller.
  • Mutual control between each other, the strategy center controller makes all interactions independent of each other and executed in an orderly manner.
  • the policy center controller waits for the next message to be queued and processes it in a loop.
  • the policy center controller may also cancel the registration of the reach layer in response to the cancellation request of the reach layer, and remove the monitoring of the reach layer and the Reach the corresponding message transmission channel of the layer.
  • An unregistered (ie unregistered) touch layer will not receive input messages for it, thus enabling personalized restrictions on messages.
  • FIG. 5 shows a sequence diagram of the relationship between the policy center controller, the message input party and the reach layer according to a specific embodiment of the present invention.
  • the scene is the message input party
  • the image system, the notification center, and the desktop are the reach layers.
  • the numbers in Figure 5 indicate the corresponding operations or channels.
  • the first step (ie (1) operation identified in Figure 5): After the vehicle-machine desktop system is started, the strategy center controller is initialized, and the interactive data attributes, message transmission channels, and messages with each message input party and touch layer are formulated. management rules. The image system, notification center, desktop and other touch layers initiate connections to the strategy center controller, and register through (6), (8), and (10).
  • the second step establish a control area, a data area and a policy management area, and store the objects registered in the policy center controller into the control area. It should be noted that the control area, the data area and the policy management area can also be established before the first step.
  • Step 3 Receive a message from the message input party through (3), such as a message from a scene.
  • the message from the scene enters the policy center controller, and after the validity check, enters the policy management area of (2) and manages the sending queue (also called the output queue) sent to the data area according to the policy.
  • the sending queue also called the output queue
  • Step 4 After the message enters the sending queue, the strategy center controller searches for the corresponding reach layers (5), (7), and (9) according to the rules. If there is a matching reach layer and the reach layer can be received, then Send messages through (5), (7), (9).
  • Step 5 After the message is delivered to the touch layer, the touch layer will be displayed according to the corresponding rules, and the touch layer can reversely pass (6), (8) according to the operations it supports (such as VR, gesture recognition, click, etc.). ), (10) inform the strategy center controller to control its corresponding operation, the strategy center controller reuses channels (5), (7), (9), and (4) to feed back to all parties, and the strategy center controller according to The rule changes the data area data value.
  • Step 6 The message input party can also initiate control of the sent message to the strategy center controller through (4), and the strategy center controller reuses (5), (7), (9) to transmit the control instructions to the touch Floor.
  • Step 7 The reach layer can also be unregistered through (6), (8), (10). At this time, the policy center controls to remove its monitoring, and then its corresponding channel is removed, and the unregistered reach layer will not be registered. will receive its message.
  • a security check mechanism is set for all bidirectional controls for security consideration, and tasks that comply with security rules are legal message input parties and reach layers.
  • an embodiment of the present invention also provides an electronic device.
  • the electronic device includes: a processor; and a memory storing computer program code.
  • the computer program code When executed by the processor, it causes the electronic device to execute the information scheduling method of the vehicle-machine desktop system described in any one of the above embodiments or a combination thereof.
  • An embodiment of the present invention further provides a computer-readable storage medium, where computer instructions are stored in the computer-readable storage medium, and when the computer instructions are executed on the computer, the computer is made to execute the above-mentioned information scheduling method of the vehicle-machine desktop system corresponding example.
  • An embodiment of the present invention further provides a chip for running instructions, the chip includes a memory and a processor, where code and data are stored in the memory, the memory is coupled with the processor, and the processor runs the memory in the memory
  • the code of the above enables the chip to be used to execute the above-mentioned embodiments corresponding to the information scheduling method of the above-mentioned vehicle-machine desktop system.
  • An embodiment of the present invention further provides a program product containing instructions, the program product includes a computer program, and the computer program is stored in a computer-readable storage medium, and at least one processor can read from the computer-readable storage medium
  • the computer program when the at least one processor executes the computer program, can implement the embodiments corresponding to the above-mentioned information scheduling method of the vehicle-machine desktop system.
  • An embodiment of the present invention further provides a computer program, which, when the computer program is executed by the processor, is used to execute the embodiments corresponding to the above-mentioned information scheduling method of the vehicle-machine desktop system.
  • the embodiments of the present invention can achieve the following beneficial effects:
  • the policy center controller formulates data attributes, message management rules and message transmission channels for interaction with each message input party and each touch layer, and then the policy center Based on the message management rules and the message transmission channel, the controller sends the input message from the message input party to the target reaching layer in an orderly and regular manner through the sending queue for execution.
  • the scheme of the present invention can associate each separated vehicle-mounted application as the message input party, realize resource sharing and message control through the access policy center controller, and ensure that any message sent to the policy center controller has only one message channel, and mutual It does not interfere, so that the message can be delivered efficiently while avoiding the mutual interference of the delivered messages, and the accurate and orderly execution and/or display of the delivered messages can be realized, thereby ensuring the safety of the user's car.
  • the policy center controller can perform specific validity detection on the input message according to the specified message management rule, so as to effectively ensure the validity of the delivered message, thereby realizing precise scheduling.
  • each functional unit in each embodiment of the present invention may be physically independent of each other, or two or more functional units may be integrated together, or all functional units may be integrated into one processing unit.
  • the above-mentioned integrated functional units may be implemented in the form of hardware, and may also be implemented in the form of software or firmware.
  • the integrated functional unit is implemented in the form of software and sold or used as an independent product, it can be stored in a computer-readable storage medium.
  • the technical solution of the present invention or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, which includes several instructions to make a computer
  • a computing device such as a personal computer, a server, or a network device, etc.
  • the aforementioned storage medium includes: a U disk, a removable hard disk, a read only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk and other media that can store program codes.
  • all or part of the steps of implementing the foregoing method embodiments may be accomplished by program instructions related to hardware (such as a personal computer, a server, or a computing device such as a network device), and the program instructions may be stored in a computer-readable storage
  • the program instructions when executed by the processor of the computing device, the computing device executes all or part of the steps of the methods described in the embodiments of the present invention.

Abstract

An information scheduling method for a head unit desktop system, and an electronic device, relating to the field of in-vehicle infotainment products. The information scheduling method is applied to a policy center controller of a head unit desktop system, and mainly comprises: initializing a policy center controller after a head unit desktop system is started; accessing message input parties and reach layers, and formulating a data attribute, a message management rule, and message transmission channels for interaction; receiving an input message sent by the message input party by means of the corresponding message transmission channel, and detecting, according to the message management rule, whether the input message is valid; if the input message is valid, processing the input message and incorporating same into a send queue; and determining, according to the scene where the head unit desktop system is currently located, a target reach layer of the input message from registered reach layers, and delivering the input message in the send queue to the target reach layer by means of the corresponding message transmission channel. Messages can be sequentially, regularly and efficiently delivered and mutual interference of the messages is avoided.

Description

一种车机桌面系统的信息调度方法和电子设备A kind of information scheduling method and electronic device of car-machine desktop system
本发明要求于2021年02月02日提交中国专利局、申请号为202110139883.4、发明名称为“一种车机桌面系统的信息调度方法和电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本发明中。The present invention requires the priority of the Chinese patent application with the application number of 202110139883.4 and the title of the invention "an information scheduling method and electronic device for a desktop system of a vehicle", which was submitted to the Chinese Patent Office on February 2, 2021. Reference is incorporated herein.
技术领域technical field
本发明涉及车载信息娱乐产品技术领域,特别是一种车机桌面系统的信息调度方法和电子设备。The invention relates to the technical field of in-vehicle infotainment products, in particular to an information scheduling method and electronic device of an in-vehicle desktop system.
背景技术Background technique
在智能车辆的行驶过程中,驾驶员需要对车辆进行各类控制,车载信息娱乐系统(又称车机,In-Vehicle Infotainment,简称IVI)是车辆控制的核心,而车机桌面系统又是所有车辆信息汇聚的中心,是给用户最直观体验的载体。为了使车辆信息能准确、高效、直观地展现在用户面前,保障用户用车安全,亟待开发一种优良的车机桌面系统的信息调度方案。In the process of driving a smart vehicle, the driver needs to control the vehicle in various ways. The in-vehicle infotainment system (also known as In-Vehicle Infotainment, IVI for short) is the core of vehicle control, and the in-vehicle desktop system is all the The center of vehicle information aggregation is the carrier for the most intuitive experience for users. In order to accurately, efficiently and intuitively display vehicle information in front of users and ensure the safety of users' vehicle use, it is urgent to develop an excellent information scheduling scheme for the vehicle-machine desktop system.
发明内容SUMMARY OF THE INVENTION
鉴于上述问题,本发明提供一种克服上述问题或者至少部分地解决上述问题的一种车机桌面系统的信息调度方法和电子设备。In view of the above-mentioned problems, the present invention provides an information scheduling method and electronic device for a vehicle-machine desktop system that overcomes the above-mentioned problems or at least partially solves the above-mentioned problems.
本发明的一个目的是提供一种可有序、规则、高效地下发消息并避免下发消息的互相干扰的车机桌面系统的信息调度方法。An object of the present invention is to provide an information scheduling method for a vehicle-machine desktop system that can send messages in an orderly, regular, and efficient manner and avoid mutual interference in sending messages.
本发明一个进一步的目的是通过保证下发消息的有效性进行精准调度。A further object of the present invention is to perform precise scheduling by ensuring the validity of the delivered message.
本发明一个再进一步的目的是通过对发送队列的重排序保证消息下发顺序的合理性。A still further object of the present invention is to ensure the rationality of the message delivery order by reordering the sending queue.
特别地,根据本发明实施例的一方面,提供了一种车机桌面系统的信息调度方法,应用于所述车机桌面系统的策略中心控制器,所述信息调度方法包括:In particular, according to an aspect of the embodiments of the present invention, an information scheduling method of an on-board desktop system is provided, which is applied to a policy center controller of the on-board desktop system, and the information scheduling method includes:
在所述车机桌面系统启动后,初始化所述策略中心控制器;After the on-board desktop system is started, initialize the strategy center controller;
响应各消息输入方的接入请求与各所述消息输入方建立连接,并响应各触达层的连接和注册请求对各所述触达层进行连接和注册,制定所述策略中心控制器与各所述消息输入方和各所述触达层之间交互的数据属性、消息管理规则和消息传输通道;In response to the access request of each message input party, establish a connection with each of the message input parties, and in response to the connection and registration request of each touch layer to connect and register each of the touch layers, and formulate the strategy center controller and Data attributes, message management rules and message transmission channels for interaction between each of the message input parties and each of the reach layers;
接收所述消息输入方通过相应的所述消息传输通道发送的输入消息,根据所述消息管理规则检测所述输入消息是否有效;receiving an input message sent by the message input party through the corresponding message transmission channel, and detecting whether the input message is valid according to the message management rule;
若所述输入消息有效,则对所述输入消息进行处理并融入发送队列;If the input message is valid, the input message is processed and integrated into the sending queue;
根据所述车机桌面系统当前所处的场景从已注册的所述触达层中确定所述输入消息的目标触达层,并通过相应的所述消息传输通道向所述目标触达层下发所述发送队列中的所述输入消息。The target reach layer of the input message is determined from the registered reach layers according to the scene in which the vehicle-machine desktop system is currently located, and the target reach layer of the input message is sent to the lower layer through the corresponding message transmission channel. send the input message in the send queue.
可选地,所述消息输入方包括下列至少之一:云端、场景、车载导航、多媒体应用;Optionally, the message input party includes at least one of the following: cloud, scene, in-vehicle navigation, and multimedia application;
所述触达层包括下列至少之一:形象系统、桌面、通知中心。The reach layer includes at least one of the following: an image system, a desktop, and a notification center.
可选地,所述数据属性包括下列至少之一:显示属性、控制属性、队列属性;其中Optionally, the data attributes include at least one of the following: display attributes, control attributes, and queue attributes; wherein
所述显示属性包括消息种类、消息标题和消息内容;The display attributes include message type, message title and message content;
所述控制属性包括是否显示提示语、是否语音合成播报、是否可见即可说;The control attributes include whether to display a prompt, whether to synthesize a speech, and whether to be able to speak if it is visible;
所述队列属性包括优先级、竞合策略。The queue attributes include priority and co-opetition strategy.
可选地,所述根据所述消息管理规则检测所述输入消息是否有效的步骤包括下列至少之一:Optionally, the step of detecting whether the input message is valid according to the message management rule includes at least one of the following:
发送所述输入消息的所述消息输入方是否有权限;Whether the message input party sending the input message has permission;
发送所述输入消息的所述消息输入方是否在黑名单中;Whether the message input party sending the input message is in the blacklist;
传输所述输入消息的所述消息传输通道是否合法;Whether the message transmission channel for transmitting the input message is legal;
所述输入消息的内容是否有效;Whether the content of the input message is valid;
所述输入消息的数据属性是否存在异常。Whether the data attribute of the input message is abnormal.
可选地,所述对所述输入消息进行处理并融入发送队列的步骤包括:Optionally, the step of processing the input message and integrating it into the sending queue includes:
使接收的所述输入消息根据接收时间的先后进入处理通道;causing the received input messages to enter the processing channel according to the order of reception time;
查看所述发送队列是否已满;Check whether the sending queue is full;
若所述发送队列已满,则将所述输入消息存储于存储队列中,待所述发送队列中有空位用于添加数据后,将所述输入消息从所述存储队列移到所述 发送队列;If the sending queue is full, store the input message in the storage queue, and move the input message from the storage queue to the sending queue after there is space in the sending queue for adding data ;
若所述发送队列未满,则将所述输入消息加入所述发送队列中;If the sending queue is not full, adding the input message to the sending queue;
根据所述发送队列中的包括所述输入消息在内的各消息的数据属性对所述发送队列中的各消息进行重排序。The messages in the sending queue are reordered according to the data attributes of the messages in the sending queue, including the input message.
可选地,所述根据所述发送队列中的包括所述输入消息在内的各消息的数据属性对所述发送队列中的消息进行重排序的步骤包括:Optionally, the step of reordering the messages in the sending queue according to the data attributes of each message including the input message in the sending queue includes:
根据所述发送队列中的各消息的竞合策略和消息种类对所述发送队列中的消息进行合并处理;merging and processing the messages in the sending queue according to the competition strategy and message type of each message in the sending queue;
根据发送队列中各消息的优先级和接收时间,对合并后的消息进行排序。The merged messages are sorted according to the priority and reception time of each message in the send queue.
可选地,所述输入消息携带所述消息输入方的消息下发途径指示,所述消息下发途径指示包括消息直接下发触达层或通过发送队列下发消息的指示;Optionally, the input message carries a message delivery route indication of the message input party, and the message delivery route indication includes an indication that a message is directly delivered to a trigger layer or an indication that a message is delivered through a sending queue;
在检测出所述输入消息有效之后,且对所述输入消息进行处理并融入发送队列之前,所述信息调度方法还包括:After it is detected that the input message is valid, but before the input message is processed and added to the sending queue, the information scheduling method further includes:
根据所述消息下发途径指示确定所述消息输入方选择的消息下发途径;Determine the message delivery path selected by the message input party according to the message delivery path indication;
若所述消息输入方选择的消息下发途径为通过发送队列下发消息,则执行所述对所述输入消息进行处理并融入发送队列的步骤。If the message delivery method selected by the message input party is to deliver the message through the sending queue, the step of processing the input message and integrating it into the sending queue is performed.
可选地,若所述消息输入方选择的消息下发途径为消息直接下发触达层,则根据所述车机桌面系统当前所处的场景确定所述输入消息的目标触达层,并通过相应的所述消息传输通道向所述目标触达层下发所述输入消息。Optionally, if the message delivery method selected by the message input party is the message direct delivery trigger layer, the target reach layer of the input message is determined according to the scene where the vehicle-machine desktop system is currently located, and The input message is delivered to the target reach layer through the corresponding message transmission channel.
可选地,在确定所述输入消息的目标触达层之后且向所述目标触达层下发所述输入消息之前,所述信息调度方法还包括:Optionally, after determining the target reach layer of the input message and before delivering the input message to the target reach layer, the information scheduling method further includes:
检测所述目标触达层是否处于正常状态;其中,只有在所述目标触达层处于正常情况下才向所述目标触达层下发所述输入消息。Detecting whether the target reaching layer is in a normal state; wherein, the input message is delivered to the target reaching layer only when the target reaching layer is in a normal state.
可选地,在向所述目标触达层下发所述输入消息之后,所述信息调度方法还包括:Optionally, after delivering the input message to the target reach layer, the information scheduling method further includes:
接收所述目标触达层执行所述输入消息后反馈的信息,并将所述反馈的信息发送至所述消息输入方。Receive information fed back after the target reaching layer executes the input message, and send the fed back information to the message input party.
可选地,在接收所述消息输入方发送的所述输入消息后,所述信息调度方法还包括:Optionally, after receiving the input message sent by the message input party, the information scheduling method further includes:
接收所述消息输入方发送的针对所述输入消息的控制指令;receiving a control instruction for the input message sent by the message input party;
若所述输入消息仍在所述发送队列中,则根据所述控制指令改变所述发 送队列中所述输入消息的数据属性;If the input message is still in the sending queue, then change the data attribute of the input message in the sending queue according to the control instruction;
若所述输入消息已下发至所述目标触达层,则根据所述控制指令生成通知消息并发送至所述目标触达层,以使所述目标触达层根据所述通知消息改变当前对所述输入消息的执行操作。If the input message has been sent to the target reach layer, a notification message is generated according to the control instruction and sent to the target reach layer, so that the target reach layer changes the current state according to the notification message An operation to perform on the input message.
可选地,在确定所述输入消息的目标触达层之后,所述信息调度方法还包括:Optionally, after determining the target reaching layer of the input message, the information scheduling method further includes:
接收所述消息输入方发送的反向控制数据,并将所述反向控制数据转发至所述目标触达层,以便所述目标触达层根据所述反向控制数据直接控制所述消息输入方。Receive the reverse control data sent by the message input party, and forward the reverse control data to the target reach layer, so that the target reach layer directly controls the message input according to the reverse control data square.
可选地,在响应各消息输入方的接入请求与各所述消息输入方建立连接,并响应各触达层的注册请求对各所述触达层进行注册,制定所述策略中心控制器与各所述消息输入方和各所述触达层之间交互的数据属性、消息管理规则和消息传输通道之后,所述信息调度方法还包括:Optionally, in response to the access request of each message input party to establish a connection with each of the message input parties, and in response to the registration request of each touch layer to register each of the touch layers, formulate the strategy center controller. After interacting with the data attributes, message management rules and message transmission channels between each of the message input parties and each of the reach layers, the information scheduling method further includes:
响应所述触达层的取消注册请求取消所述触达层的注册,移除对所述触达层的监听和所述触达层相应的消息传输通道。In response to the cancellation registration request of the touch layer, the registration of the touch layer is cancelled, and the monitoring of the touch layer and the corresponding message transmission channel of the touch layer are removed.
根据本发明实施例的另一方面,还提供了一种电子设备,包括:According to another aspect of the embodiments of the present invention, an electronic device is also provided, including:
处理器;以及processor; and
存储有计算机程序代码的存储器;memory in which computer program code is stored;
当所述计算机程序代码被所述处理器运行时,导致所述电子设备执行前文中任一项所述的车机桌面系统的信息调度方法。When the computer program code is executed by the processor, it causes the electronic device to execute the information scheduling method of the vehicle-machine desktop system described in any one of the foregoing.
根据本发明实施例的再一方面,还提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行前文中任一项所述的车机桌面系统的信息调度方法。According to yet another aspect of the embodiments of the present invention, a computer-readable storage medium is also provided, on which a computer program is stored, and the computer program is executed by a processor to execute the information of any one of the aforementioned vehicle-machine desktop systems scheduling method.
根据本发明实施例的还一方面,还提供了一种运行指令的芯片,所述芯片包括存储器、处理器,所述存储器中存储代码和数据,所述存储器与所述处理器耦合,所述处理器运行所述存储器中的代码使得所述芯片用于执行前文中任一项所述的车机桌面系统的信息调度方法。According to another aspect of the embodiments of the present invention, a chip for running instructions is further provided, the chip includes a memory and a processor, the memory stores codes and data, the memory is coupled with the processor, and the memory is coupled to the processor. The processor runs the code in the memory, so that the chip is used to execute the information scheduling method of the vehicle-machine desktop system described in any one of the foregoing.
根据本发明实施例的又一方面,还提供了一种包含指令的程序产品,当所述程序产品在计算机上运行时,使得所述计算机执行前文中任一项所述的车机桌面系统的信息调度方法。According to another aspect of the embodiments of the present invention, there is also provided a program product including instructions, when the program product is run on a computer, the computer is made to execute any one of the preceding steps of the vehicle-machine desktop system. Information scheduling method.
根据本发明实施例的又一方面,还提供了一种计算机程序,当所述计算 机程序被处理器执行时,用于执行前文中任一项所述的车机桌面系统的信息调度方法。According to another aspect of the embodiments of the present invention, there is also provided a computer program, when the computer program is executed by the processor, for executing any one of the foregoing information scheduling methods for the desktop system of the vehicle machine.
本发明实施例提出的一种车机桌面系统的信息调度方法,通过策略中心控制器制定与各消息输入方和各触达层之间交互的数据属性、消息管理规则和消息传输通道,进而由策略中心控制器基于消息管理规则和消息传输通道通过发送队列有序、规则地将来自消息输入方的输入消息下发至目标触达层进行执行。本发明的方案能够将作为消息输入方的各个分离的车载应用关联起来,通过接入策略中心控制器实现资源共享和消息控制,且保证任何向策略中心控制器发出的消息只有一条消息通道,互不干扰,从而在高效下发消息的同时避免下发消息的互相干扰,实现下发消息的准确、有序执行和/或显示,从而保障用户用车安全。The information scheduling method of the vehicle-machine desktop system proposed by the embodiment of the present invention, the data attributes, message management rules and message transmission channels that interact with each message input party and each touch layer are formulated by the policy center controller, and then the Based on the message management rules and the message transmission channel, the policy center controller sends the input message from the message input party to the target reaching layer in an orderly and regular manner through the sending queue for execution. The scheme of the present invention can associate each separated vehicle-mounted application as the message input party, realize resource sharing and message control through the access policy center controller, and ensure that any message sent to the policy center controller has only one message channel, and mutual It does not interfere, so as to efficiently deliver messages while avoiding mutual interference of delivered messages, and realize accurate and orderly execution and/or display of delivered messages, thereby ensuring the safety of the user's car.
进一步地,在接收到输入消息后,策略中心控制器可根据指定的消息管理规则对输入消息进行具体的有效性检测,有效保证下发消息的有效性,从而实现精准调度。Further, after receiving the input message, the policy center controller can perform specific validity detection on the input message according to the specified message management rule, so as to effectively ensure the validity of the delivered message, thereby realizing precise scheduling.
进一步地,在将输入消息融入发送队列的过程中,根据各消息的数据属性(具体为优先级、竞合策略、消息种类和接收时间等)对发送队列中包括该输入消息在内的各消息进行合并处理和重排序,从而保证消息下发顺序的合理性。Further, in the process of integrating the input message into the sending queue, according to the data attributes of each message (specifically, priority, co-op strategy, message type, and receiving time, etc.) Merge processing and reordering to ensure the rationality of message delivery order.
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solutions of the present invention, in order to be able to understand the technical means of the present invention more clearly, it can be implemented according to the content of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand , the following specific embodiments of the present invention are given.
根据下文结合附图对本发明具体实施例的详细描述,本领域技术人员将会更加明了本发明的上述以及其他目的、优点和特征。The above and other objects, advantages and features of the present invention will be more apparent to those skilled in the art from the following detailed description of the specific embodiments of the present invention in conjunction with the accompanying drawings.
附图说明Description of drawings
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are for the purpose of illustrating preferred embodiments only and are not to be considered limiting of the invention. Also, the same components are denoted by the same reference numerals throughout the drawings. In the attached image:
图1示出了根据本发明一实施例的车机桌面系统的信息调度方法的流程示意图。FIG. 1 shows a schematic flowchart of an information scheduling method for a desktop system of a vehicle-machine according to an embodiment of the present invention.
图2示出了根据本发明一实施例的实现车机桌面系统的信息调度方法的系统框架图;FIG. 2 shows a system frame diagram of a method for implementing an information scheduling method of a vehicle-machine desktop system according to an embodiment of the present invention;
图3示出了根据本发明一实施例的对输入消息进行处理并融入发送队列的步骤的流程示意图;3 shows a schematic flowchart of the steps of processing an input message and integrating it into a sending queue according to an embodiment of the present invention;
图4示出了根据本发明另一实施例的车机桌面系统的信息调度方法的流程示意图;FIG. 4 shows a schematic flowchart of an information scheduling method of a vehicle-machine desktop system according to another embodiment of the present invention;
图5示出了根据本发明一具体实施例的策略中心控制器与消息输入方和触达层的关系时序图。FIG. 5 shows a sequence diagram of the relationship between the policy center controller, the message input party and the reach layer according to a specific embodiment of the present invention.
具体实施方式Detailed ways
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that the present disclosure will be more thoroughly understood, and will fully convey the scope of the present disclosure to those skilled in the art.
为解决上述技术问题,本发明实施例提出一种车机桌面系统的信息调度方法。In order to solve the above technical problem, an embodiment of the present invention proposes an information scheduling method for a desktop system of an in-vehicle machine.
图1示出了根据本发明一实施例的车机桌面系统的信息调度方法的流程示意图。图2示出了根据本发明一实施例的实现车机桌面系统的信息调度方法的系统框架图。FIG. 1 shows a schematic flowchart of an information scheduling method for a desktop system of a vehicle-machine according to an embodiment of the present invention. FIG. 2 shows a system frame diagram of a method for implementing an information scheduling method for a desktop system of a vehicle-machine according to an embodiment of the present invention.
如图2所示,实现本发明实施例的信息调度方法的系统框架可包括车机桌面系统的策略中心控制器、至少一个信息输入方和至少一个触达层。信息输入方主要是与车机连接的或车机本身包含的有下发消息动作的应用,用于下发待执行或显示的消息或命令等,可包括但不限于:云端、场景、车载导航、多媒体应用(如音乐应用、视频应用等)等。触达层主要是车机桌面系统的一些执行或显示的功能单元,可包括但不限于形象系统、桌面、通知中心等。策略中心控制器用于执行本发明实施例的车机桌面系统的信息调度方法。As shown in FIG. 2 , a system framework for implementing the information scheduling method of the embodiment of the present invention may include a policy center controller of the vehicle-machine desktop system, at least one information input party, and at least one reach layer. The information input party is mainly an application that is connected to the vehicle or the vehicle itself contains a message sending action, which is used to send messages or commands to be executed or displayed, including but not limited to: cloud, scene, vehicle navigation , multimedia applications (such as music applications, video applications, etc.) and so on. The touch layer is mainly some functional units executed or displayed in the desktop system of the vehicle and the machine, which may include but are not limited to the image system, the desktop, the notification center, and so on. The strategy center controller is configured to execute the information scheduling method of the vehicle-machine desktop system according to the embodiment of the present invention.
参见图1所示,该调度方法至少可以包括以下步骤S102至步骤S110。Referring to FIG. 1 , the scheduling method may at least include the following steps S102 to S110.
步骤S102,在车机桌面系统启动后,初始化策略中心控制器。Step S102, after the vehicle-machine desktop system is started, the policy center controller is initialized.
步骤S104,响应各消息输入方的接入请求与各消息输入方建立连接,并响应各触达层的连接和注册请求对各触达层进行连接和注册,制定策略 中心控制器与各消息输入方和各触达层之间交互的数据属性、消息管理规则和消息传输通道。Step S104, establish connection with each message input party in response to the access request of each message input party, and connect and register each touch layer in response to the connection and registration request of each touch layer, formulate the strategy center controller and each message input party. Data attributes, message management rules and message transmission channels for interaction between parties and each touch layer.
步骤S106,接收消息输入方通过相应的消息传输通道发送的输入消息,根据消息管理规则检测输入消息是否有效。若输入消息有效,则执行步骤S108。Step S106, receiving the input message sent by the message input party through the corresponding message transmission channel, and detecting whether the input message is valid according to the message management rule. If the input message is valid, step S108 is executed.
步骤S108,对输入消息进行处理并融入发送队列。Step S108, the input message is processed and integrated into the sending queue.
步骤S110,根据车机桌面系统当前所处的场景从已注册的触达层中确定输入消息的目标触达层,并通过相应的消息传输通道向目标触达层下发发送队列中的输入消息。Step S110: Determine the target reach layer of the input message from the registered reach layers according to the scene in which the vehicle-machine desktop system is currently located, and deliver the input message in the sending queue to the target reach layer through the corresponding message transmission channel .
本发明实施例提出的车机桌面系统的信息调度方法,通过策略中心控制器制定与各消息输入方和各触达层之间交互的数据属性、消息管理规则和消息传输通道,进而由策略中心控制器基于消息管理规则和消息传输通道通过发送队列有序、规则地将来自消息输入方的输入消息下发至目标触达层进行执行。本发明的方案能够将作为消息输入方的各个分离的车载应用关联起来,通过接入策略中心控制器实现资源共享和消息控制,且保证任何向策略中心控制器发出的消息只有一条消息通道,互不干扰,从而在高效下发消息的同时避免下发消息的互相干扰,实现下发消息的准确、有序执行和/或显示,从而保障用户用车安全。In the information scheduling method of the vehicle-machine desktop system proposed by the embodiment of the present invention, the policy center controller formulates data attributes, message management rules and message transmission channels for interaction with each message input party and each touch layer, and then the policy center Based on the message management rules and the message transmission channel, the controller sends the input message from the message input party to the target reaching layer in an orderly and regular manner through the sending queue for execution. The scheme of the present invention can associate each separated vehicle-mounted application as the message input party, realize resource sharing and message control through the access policy center controller, and ensure that any message sent to the policy center controller has only one message channel, and mutual It does not interfere, so as to efficiently deliver messages while avoiding mutual interference of delivered messages, and realize accurate and orderly execution and/or display of delivered messages, thereby ensuring the safety of the user's car.
上文步骤S102中,在车机桌面系统(具体为信息娱乐主机(Infotainment Head Unit,IHU))启动后,初始化车机桌面系统的策略中心控制器,等待信息输入方与触达层的接入。In the above step S102, after the in-vehicle desktop system (specifically, the Infotainment Head Unit (IHU)) is started, the strategy center controller of the in-vehicle desktop system is initialized, waiting for the access of the information input party and the touch layer .
上文步骤S104中,实现信息输入方和触达层的接入,并制定(或称定义)与信息输入方和触达层相应的数据属性、消息管理规则和消息传输通道。In the above step S104, the access of the information input party and the reach layer is realized, and data attributes, message management rules and message transmission channels corresponding to the information input party and the reach layer are formulated (or defined).
具体地,触达层向策略中心控制器发起连接,连接完成后向策略中心控制器发起注册,注册完成后即建立与策略中心控制器交互的双向通道。例如,形象系统向策略中心控制器发送连接请求,连接成功后策略中心控制器告知形象系统当前的连接状态,如果连接成功,则形象系统向策略中心控制器下发注册请求和注册数据,策略中心控制器向形象系统返回当前注册状态,只有被策略中心控制器认可的状态下触达层才能与策略中心控制器进行数据交互和策略控制,也就是说,只有有效注册过的触达层才被 认定为是合法的消息控制或显示方。Specifically, the reach layer initiates a connection to the policy center controller, and after the connection is completed, initiates a registration with the policy center controller, and after the registration is completed, a two-way channel for interaction with the policy center controller is established. For example, the image system sends a connection request to the policy center controller. After the connection is successful, the policy center controller informs the image system of the current connection status. If the connection is successful, the image system sends a registration request and registration data to the policy center controller. The controller returns the current registration state to the image system. Only the touch layer in the state approved by the strategy center controller can perform data interaction and policy control with the strategy center controller. That is to say, only the effectively registered touch layer can be used. A party identified as a legitimate message control or display party.
信息输入方接入策略中心控制器的方式较为宽泛,可以采用车载系统即车机的原生管道向策略中心控制器传递数据,也可以采用自定义管道,根据策略中心控制器定义的数据属性和规则传递数据。The information input party accesses the policy center controller in a relatively broad manner. It can use the on-board system, that is, the native pipeline of the vehicle to transmit data to the policy center controller, or a custom pipeline can be used to transmit data to the policy center controller according to the data attributes and rules defined by the policy center controller. pass data.
策略中心控制器定义的交互的数据属性可包括但不限于显示属性(如消息种类、消息标题、消息内容等)、控制属性(如是否显示提示语、是否语音合成(Text to Speech,TTS)播报、是否可见即可说等)、队列属性(如优先级、竞合策略)等。消息管理规则可包括消息有效性检测规则和消息入队逻辑规则,此在后文进行介绍。消息传输通道是与各消息输入方和各触达层一一对应的,每个消息输入方和触达层都具有唯一的与策略中心控制器交互的消息传输通道。The interactive data attributes defined by the policy center controller may include, but are not limited to, display attributes (such as message type, message title, message content, etc.), control attributes (such as whether to display prompts, whether to broadcast Text to Speech (TTS) , whether it is visible or not, etc.), queue attributes (such as priority, co-opetition strategy), etc. The message management rules may include message validity detection rules and message enqueue logic rules, which will be described later. The message transmission channel is in one-to-one correspondence with each message input party and each reach layer, and each message input party and each reach layer have a unique message transmission channel that interacts with the strategy center controller.
此外,策略中心控制器还定义消息的统一管理通道,保证任何向策略中心控制器发出的输入消息都只有一条管理通路,有序进行处理。统一管理通道将在后文介绍。In addition, the policy center controller also defines a unified management channel for messages to ensure that any input message sent to the policy center controller has only one management path and is processed in an orderly manner. The unified management channel will be introduced later.
另外,本领域技术人员应认识到,本步骤中的连接与注册动作可以在车机处于运行时随时连接,而并不一定在系统初始化时进行。In addition, those skilled in the art should realize that the connection and registration actions in this step can be connected at any time when the vehicle is running, but not necessarily performed when the system is initialized.
在完成消息输入方和触达层的接入,定义相应的数据属性、消息管理规则和消息传输通道后,策略中心控制器还可以建立数据区、策略管理区和控制区。数据区主要用于保存消息的数据属性,数据区可以被所有触达层共享,触达层也可以间接地通知策略中心控制器改变数据区中某一个数据属性值。策略管理区用于保存消息管理规则。已注册到策略中心控制器的对象(包括触达层)则保存至控制区中。需要说明的是,也可以在消息输入方和触达层接入并定义数据属性、消息管理规则和消息传输通道之前,策略中心控制器先建立数据区、策略管理区和控制区,这并不会对本发明的方案产生影响。After completing the access of the message input party and the reach layer, and defining the corresponding data attributes, message management rules and message transmission channels, the policy center controller can also establish a data area, a policy management area and a control area. The data area is mainly used to save the data attribute of the message. The data area can be shared by all the reach layers, and the reach layer can also indirectly notify the policy center controller to change the value of a data attribute in the data area. The policy management area is used to save message management rules. Objects (including touch layers) that have been registered with the strategy center controller are saved in the control area. It should be noted that, before the message input party and the reach layer access and define data attributes, message management rules and message transmission channels, the policy center controller can first establish the data area, policy management area and control area. It will affect the scheme of the present invention.
在一个可选的实施例中,在车机的启动过程中,还可以进行数据恢复,以在开机时恢复在上次关机之前未处理的数据,恢复过程可涉及数据反解析方法。In an optional embodiment, during the startup process of the vehicle, data recovery may also be performed to recover the unprocessed data before the last shutdown when the vehicle is powered on, and the recovery process may involve a data inverse analysis method.
上文步骤S106中,策略中心控制器接收来自于消息输入方的输入消息,其中,消息输入方根据数据格式按照使用场景规则向策略中心控制器的数据区传递数据(即输入消息),传递数据的数据传输通道由策略中心 控制器唯一确定,使得不同消息输入方传递数据时,各方互不干扰、低耦合。此处的数据格式可包括Json数据格式或其他对象数据格式。当输入消息送达策略中心控制器时,策略中心控制器根据消息管理规则检测输入消息的有效性,只有符合规则的输入消息才会被数据区依次接受。In the above step S106, the strategy center controller receives the input message from the message input party, wherein the message input party transmits data (that is, the input message) to the data area of the strategy center controller according to the data format according to the usage scenario rules, and transmits the data. The data transmission channel is uniquely determined by the strategy center controller, so that when different message input parties transmit data, the parties do not interfere with each other and have low coupling. The data format here may include Json data format or other object data format. When the input message is delivered to the policy center controller, the policy center controller detects the validity of the input message according to the message management rules, and only the input messages that meet the rules will be accepted by the data area in turn.
具体地,消息管理规则(具体为消息有效性检测规则)可以包括对消息输入方的权限、黑名单、通道、消息内容、数据属性等的规则条件。相应地,根据消息管理规则检测输入消息是否有效的步骤可包括下列至少之一:发送输入消息的消息输入方是否有权限、发送输入消息的消息输入方是否在黑名单中、传输输入消息的消息传输通道是否合法、输入消息的内容是否有效、输入消息的数据属性是否存在异常。如果输入消息符合消息管理规则的条件要求,则一切正常,进入下一步,否则终止输入消息的传输。例如,若场景(作为消息输入方)下发消息“今天下雨,出门注意带伞”到达策略中心控制器,策略中心控制器检查场景是否有权限,检查消息的来源,检查场景是否在黑名单中,检查消息内容是否有效,检查消息数据属性是否有异常,所有条件检查完成,符合规则,则进入下一步进行消息的处理和融入发送队列。在本步骤中进行多项检测时,检测过程和检测顺序可以互换,不受限制。Specifically, the message management rule (specifically, the message validity detection rule) may include rule conditions such as authority, blacklist, channel, message content, data attribute, and the like for the message input party. Correspondingly, the step of detecting whether the input message is valid according to the message management rule may include at least one of the following: whether the message input party sending the input message has permission, whether the message input party sending the input message is in the blacklist, and the message of transmitting the input message. Check whether the transmission channel is legal, whether the content of the input message is valid, and whether the data attribute of the input message is abnormal. If the input message meets the conditional requirements of the message management rules, everything is normal, and the next step is entered; otherwise, the transmission of the input message is terminated. For example, if the scene (as the message input party) sends the message "It's raining today, take an umbrella when you go out" to the policy center controller, the policy center controller checks whether the scene has permission, checks the source of the message, and checks whether the scene is on the blacklist , check whether the content of the message is valid, check whether there is any abnormality in the data attribute of the message, all conditions are checked, and the rules are met, then go to the next step to process the message and integrate it into the sending queue. When multiple detections are performed in this step, the detection process and the detection sequence can be interchanged without limitation.
本实施例中,在接收到输入消息后,策略中心控制器可根据指定的消息管理规则对输入消息进行具体的有效性检测,有效保证下发消息的有效性,从而实现精准调度。In this embodiment, after receiving the input message, the policy center controller can perform specific validity detection on the input message according to the specified message management rule, so as to effectively ensure the validity of the delivered message, thereby realizing precise scheduling.
上文步骤S108中,根据定义的消息入队逻辑规则将输入消息融入发送队列。In the above step S108, the input message is integrated into the sending queue according to the defined logic rules for message enqueuing.
在一个可选的实施例中,如图3所示,对输入消息进行处理并融入发送队列的步骤可包括以下步骤S1081至步骤S1085:In an optional embodiment, as shown in FIG. 3 , the step of processing the input message and adding it to the sending queue may include the following steps S1081 to S1085:
步骤S1081,使接收的输入消息根据接收时间的先后进入处理通道,即,先到的输入消息先进入处理通道,后到的依次排队。In step S1081, the received input messages are entered into the processing channel according to the order of reception time, that is, the input messages that arrive first enter the processing channel first, and those that arrive later are queued in sequence.
步骤S1082,查看发送队列是否已满。若发送队列已满,则执行步骤S1083。若发送队列未满,则执行步骤S1084。Step S1082, check whether the sending queue is full. If the sending queue is full, step S1083 is executed. If the sending queue is not full, step S1084 is executed.
步骤S1083,将输入消息存储于存储队列中,待发送队列中有空位用于添加数据后,将输入消息从存储队列移到发送队列。接着执行步骤S1085。Step S1083: Store the input message in the storage queue, and move the input message from the storage queue to the sending queue after there is a space in the queue to be sent for adding data. Next, step S1085 is executed.
步骤S1084,将输入消息加入发送队列中。接着执行步骤S1085。Step S1084, adding the input message to the sending queue. Next, step S1085 is executed.
步骤S1085,根据发送队列中的包括该输入消息在内的各消息的数据属性对发送队列中的各消息进行重排序。Step S1085: Reorder each message in the sending queue according to the data attribute of each message in the sending queue including the input message.
本领域技术人员应可理解,发送队列中已存在的除该刚加入的输入消息之外的其他消息是在此之前进入发送队列的从消息输入方接收的输入消息,下文中将发送队列中的所有输入消息统称为消息。It should be understood by those skilled in the art that other messages existing in the sending queue except the input message just added are the input messages received from the message input party that entered the sending queue before, and hereinafter the messages in the sending queue will be All incoming messages are collectively referred to as messages.
在本实施例中,处理通道和发送队列可以共同组成前文所提到的统一管理通道。In this embodiment, the processing channel and the sending queue may jointly form the unified management channel mentioned above.
上文提到的存储队列是独立于发送队列的另外一条不受限队列,可以是数据库、车机本地缓存等。The storage queue mentioned above is another unrestricted queue independent of the sending queue, which can be a database, a local cache of the vehicle, and so on.
进一步地,步骤S1085可以具体实施为:首先,根据发送队列中的各消息的竞合策略和消息种类对发送队列中的消息进行合并处理。然后,根据发送队列中各消息的优先级和接收时间,对合并后的消息进行排序。具体地,竞合策略可以是来源相同又可以合并处理(如相同消息种类)的消息做合并处理,合并后重置合并消息的优先级与时间。排序规则可以是优先级高的消息排在前,优先级相同则根据时间排序。经过处理的消息被融入到发送队列中,此时发送队列的长度可以增加,也可以是与原队列长度相同。当然,也可以先排序再合并,这并不会影响本发明的方案。Further, step S1085 may be specifically implemented as follows: firstly, according to the competing strategy and message type of each message in the sending queue, the messages in the sending queue are merged. Then, the combined messages are sorted according to the priority and reception time of each message in the sending queue. Specifically, the co-opetition strategy may be that messages from the same source and that can be combined (eg, of the same message type) are combined, and the priority and time of the combined messages are reset after the combination. The sorting rule can be that messages with higher priority are sorted first, and messages with the same priority are sorted according to time. The processed messages are integrated into the sending queue, and the length of the sending queue can be increased or the same as the original queue. Of course, it is also possible to sort first and then merge, which does not affect the solution of the present invention.
另外,需要说明的是,在本实施例中步骤S1082采用了根据接收时间的先后处理接收的输入消息的方式,但在其他实施例中,也可以同时处理。本实施例在步骤S1083中在发送队列已满的情况下通过将输入消息存储于存储队列进行等待,但在其他实施例中,在发送队列已满的情况下也可以采用其他方法对输入消息进行处理,比如弃用,或根据消息输入方的属性来综合判断如何处理。In addition, it should be noted that, in this embodiment, step S1082 adopts a method of processing the received input messages according to the order of reception time, but in other embodiments, the processing may also be performed at the same time. In this embodiment, when the sending queue is full in step S1083, the input message is stored in the storage queue for waiting, but in other embodiments, when the sending queue is full, other methods may also be used to process the input message. Processing, such as deprecation, or comprehensive judgment on how to handle according to the properties of the message input party.
本实施例在将输入消息融入发送队列的过程中,根据各消息的数据属性(具体为优先级、竞合策略、消息种类和接收时间等)对发送队列中包括该输入消息在内的各消息进行合并处理和重排序,从而保证消息下发顺序的合理性。In the process of integrating the input message into the sending queue in this embodiment, each message including the input message in the sending queue is sorted according to the data attributes of each message (specifically, priority, competition strategy, message type, and receiving time, etc.). Merge processing and reordering to ensure the rationality of message delivery order.
在本发明的一个可选实施例中,输入消息可以携带消息输入方的消息下发途径指示,消息下发途径指示包括消息直接下发触达层或通过发送队列下发消息的指示。在这种情况下,如图4所示,在步骤S106检测出输入消息有效之后,且执行步骤S108之前,还可以包括步骤S107:根据消 息下发途径指示确定消息输入方选择的消息下发途径。若消息输入方选择的消息下发途径为通过发送队列下发消息,则执行步骤S108。具体地,若消息下发途径指示为通过发送队列下发消息的指示,则表明消息输入方选择的消息下发途径为通过发送队列下发消息。In an optional embodiment of the present invention, the input message may carry a message delivery route indication of the message input party, and the message delivery route indication includes an indication that the message is directly delivered to the trigger layer or the message is delivered through a sending queue. In this case, as shown in FIG. 4 , after step S106 detects that the input message is valid, and before step S108 is performed, step S107 may be further included: determining the message delivery route selected by the message input party according to the message delivery route indication . If the message delivery path selected by the message input party is to deliver the message through the sending queue, step S108 is executed. Specifically, if the indication of the message delivery route is the indication of delivering the message through the sending queue, it indicates that the message delivery route selected by the message input party is delivering the message through the sending queue.
进一步地,继续参见图4所示,若消息输入方选择的消息下发途径为消息直接下发触达层,则执行步骤S112:根据车机桌面系统当前所处的场景确定输入消息的目标触达层,并通过相应的消息传输通道向目标触达层下发输入消息。Further, as shown in FIG. 4 , if the message delivery method selected by the message input party is the message direct delivery touch layer, then step S112 is executed: according to the current scene of the vehicle-machine desktop system, the target trigger of the input message is determined. reach layer, and send input messages to the target reach layer through the corresponding message transmission channel.
本实施例中,通过根据消息输入方的消息下发途径指示选择通道,在消息输入方选择消息直接下发触达层时,策略中心控制器对输入消息不做过多的维护处理与存储,而是直接转达目标触达层;在消息输入方选择通过发送队列下发消息时,策略中心控制器才将输入消息处理并融入发送队列。如此,可实现消息的个性化限制与控制。In this embodiment, by instructing the selection of channels according to the message delivery path of the message input side, when the message input side selects the trigger layer to directly deliver the message, the policy center controller does not perform excessive maintenance processing and storage on the input message, Instead, it directly conveys the target reach layer; when the message input party chooses to send the message through the sending queue, the policy center controller processes the input message and integrates it into the sending queue. In this way, personalized restriction and control of messages can be achieved.
上文步骤S110中,根据车机桌面系统当前所处的场景确定目标触达层并向其下发输入消息。输入消息最终要到达触达层进行显示处理或保留,触达层可以根据要求定制,策略中心控制器不对触达层方案做限制。策略中心控制器维护着在步骤S104中已连接和注册的触达层的信息,可根据当前场景(包括但不限于应用内场景或应用外场景)从中选择目标触达层作为消息接收端。例如,若当前场景为应用内场景,则选择车机桌面系统的已注册的形象系统作为目标触达层,否则选择桌面(具体为桌面的Launcher启动器)作为目标触达层。本领域技术人员应认识到,每一输入消息都具有对应的目标触达层,因此目标触达层也可以组成一个触达层接收队列,以相应地接收由发送队列中取出下发的输入消息。In the above step S110, the target reach layer is determined according to the scene in which the vehicle-machine desktop system is currently located, and an input message is delivered to it. The input message will eventually reach the reach layer for display processing or retention. The reach layer can be customized according to requirements. The strategy center controller does not limit the reach layer scheme. The policy center controller maintains the information of the reach layer connected and registered in step S104, and can select the target reach layer as the message receiver according to the current scenario (including but not limited to the in-app scenario or the out-of-app scenario). For example, if the current scene is an in-app scene, the registered image system of the car desktop system is selected as the target reach layer, otherwise the desktop (specifically, the Launcher launcher of the desktop) is selected as the target reach layer. Those skilled in the art should realize that each input message has a corresponding target reach layer, so the target reach layer can also form a reach layer receiving queue, so as to receive the input message fetched and issued from the sending queue accordingly .
在本发明的一个可选实施例中,在确定输入消息的目标触达层之后且向目标触达层下发输入消息之前,还可以对目标触达层进行差错管控操作。具体地,检测目标触达层是否处于正常状态。只有在目标触达层处于正常情况下才向目标触达层下发输入消息。例如,若场景符合但目标触达层客户端异常死亡,则发送队列中输入消息继续保持,把异常死亡的目标触达层移出触达层接收队列,等到该目标触达层重新连接注册后,再分发消息到该目标触达层。若目标触达层处于正常状态,则策略中心控制器按照排序将发送队列中最靠前的消息先发到相应的目标触达层,同时将已发送的 消息从发送队列中移出,队列长度减1。送到目标触达层的消息由该目标触达层按照自身定义的方式根据消息进行显示与选择触发控制时机。本实施例通过对目标触达层的差错管控,保证消息下发操作有效。In an optional embodiment of the present invention, after the target touch layer of the input message is determined and before the input message is delivered to the target touch layer, an error control operation may also be performed on the target touch layer. Specifically, it is detected whether the target reaching layer is in a normal state. The input message is sent to the target reach layer only when the target reach layer is in normal condition. For example, if the scenario is met but the target reach layer client dies abnormally, the input message in the sending queue will continue to be maintained, and the abnormally dead target reach layer will be removed from the reach layer receive queue. After the target reach layer is reconnected and registered, Redistribute messages to the target reach layer. If the target reach layer is in a normal state, the policy center controller will send the most advanced message in the sending queue to the corresponding target reach layer first, and at the same time remove the sent message from the sending queue, and the queue length will decrease. 1. The message sent to the target reach layer is displayed by the target reach layer according to the message and selects the trigger control timing according to the method defined by the target reach layer. This embodiment ensures that the message delivery operation is effective by controlling the error of the target reach layer.
在本发明的一个可选实施例中,继续参见图4所示,在步骤S110或步骤S112之后,还可以包括步骤S114:接收目标触达层执行输入消息后反馈的信息,并将反馈的信息发送至消息输入方。In an optional embodiment of the present invention, referring to FIG. 4, after step S110 or step S112, step S114 may be further included: receiving information fed back after the target touch layer executes the input message, and converting the feedback information Sent to the sender of the message.
触达层是最终的消息处理方。目标触达层接收到下发的消息后,可以通过语音交互、手势点击等来触发消息事件,处理完成的消息事件反馈到策略中心控制器,根据反馈情况,策略中心控制器对消息处理情况做相应标记(标记行为可以是改变数据库的存储值、改变内存存储值等)。策略中心控制器还可以把目标触达层的反馈信息反馈给消息输入方。另外,由于消息可能不仅仅送到一方目标触达层,可以送到多方目标触达层,因此策略中心控制器还可以把当前的反馈信息同时也反馈到其它目标触达层,其它目标触达层根据反馈信息做相应处理。如此,通过策略中心控制器还可以达到触达层与触达层之间的消息控制互联。The reach layer is the final message handler. After the target reach layer receives the delivered message, it can trigger message events through voice interaction, gesture clicks, etc., and the processed message events are fed back to the policy center controller. Corresponding marking (marking behavior can be changing the stored value of the database, changing the stored value of the memory, etc.). The strategy center controller can also feed back the feedback information of the target reaching layer to the message input party. In addition, since the message may not only be sent to one target reach layer, but can be sent to multiple target reach layers, the strategy center controller can also feed back the current feedback information to other target reach layers at the same time. The layer performs corresponding processing according to the feedback information. In this way, the message control interconnection between the reach layer and the reach layer can also be achieved through the strategy center controller.
在本发明的一些可选实施例中,策略中心控制器还可以进行消息的控制。消息的控制可以分为消息输入方对自己已发送的消息的控制、触达层与触达层之间的互相控制以及触达层控制消息行为动作并反馈到消息输入方。下面对以上几种消息的控制分别进行介绍,其中触达层与触达层之间的互相控制已在前文中进行了介绍,此处不再重复。In some optional embodiments of the present invention, the policy center controller may also control messages. The control of the message can be divided into the control of the message input by the message input party, the mutual control between the touch layer and the touch layer, and the control of the message behavior by the touch layer and feedback to the message input party. The control of the above several kinds of messages will be introduced separately below, wherein the mutual control between the touch layer and the touch layer has been introduced in the previous section, and will not be repeated here.
在一个实施例中,在接收消息输入方发送的输入消息后,策略中心控制器还可以接收消息输入方发送的针对前述输入消息的控制指令。若该输入消息仍在发送队列中,则策略中心控制器根据控制指令改变发送队列中输入消息的数据属性。若该输入消息已下发至目标触达层,则策略中心控制器根据控制指令生成通知消息并发送至目标触达层,以使目标触达层根据通知消息改变当前对输入消息的执行操作。具体地,消息输入方可以通过消息唯一输入管道向策略中心控制器发起控制指令(如“取消”等),策略中心控制器在接收到控制指令后也需要校验控制指令的有效性、合法性。通过校验后,若该条输入消息仍在发送队列中,策略中心控制器把控制指令发到其数据区,改变发送队列中的数据属性,如从发送队列中删除该条输入消息、改变该条输入消息的数据存储属性值等。如果该条输入消 息已发到目标触达层,则通知所有的目标触达层改变当前对该条输入消息的执行操作(如显示操作),从而达到从消息输入方控制触达层的目的。In one embodiment, after receiving the input message sent by the message input party, the policy center controller may further receive a control instruction for the aforementioned input message sent by the message input party. If the input message is still in the sending queue, the policy center controller changes the data attribute of the input message in the sending queue according to the control instruction. If the input message has been sent to the target reach layer, the strategy center controller generates a notification message according to the control instruction and sends it to the target reach layer, so that the target reach layer changes the current execution operation on the input message according to the notification message. Specifically, the message input party can initiate a control instruction (such as "Cancel", etc.) to the policy center controller through the unique message input channel, and the policy center controller also needs to verify the validity and legality of the control instruction after receiving the control instruction. . After passing the verification, if the input message is still in the sending queue, the policy center controller sends control instructions to its data area to change the data attributes in the sending queue, such as deleting the input message from the sending queue, changing the Datastore property values for an input message, etc. If the input message has been sent to the target reach layer, all target reach layers are notified to change the current operation (such as display operation) of the input message, so as to achieve the purpose of controlling the reach layer from the message input party.
在另一个实施例中,在确定输入消息的目标触达层之后,策略中心控制器还可以接收消息输入方发送的反向控制数据,并将反向控制数据转发至目标触达层,以便目标触达层根据反向控制数据直接控制消息输入方。具体地,消息输入方可以向策略中心控制器传送反向控制数据,经过策略中心控制器处理送到目标触达层,目标触达层拿到反向控制数据后直接控制消息输入方的行为,比如按钮点击事件、VR(Virtual Reality,虚拟现实)可见即可说事件等。在这种情况下,策略中心控制器在接收到反向控制数据后可存储到数据区,转化为可存储的数据格式,再送到目标触达层。转化的方法根据消息输入方的数据格式而定,比如云端可能以json数据传输,那么就需要进行json解析,然后再把转化的数据保持入队转发。In another embodiment, after determining the target reach layer of the input message, the policy center controller may further receive reverse control data sent by the message input party, and forward the reverse control data to the target reach layer, so that the target The reach layer directly controls the message input party according to the reverse control data. Specifically, the message input party can transmit the reverse control data to the strategy center controller, and then send it to the target reach layer after being processed by the strategy center controller. After the target reach layer obtains the reverse control data, it directly controls the behavior of the message input party. For example, button click events, VR (Virtual Reality, virtual reality) visible events can be said. In this case, after receiving the reverse control data, the strategy center controller can store it in the data area, convert it into a storable data format, and then send it to the target reach layer. The conversion method depends on the data format of the message input party. For example, the cloud may transmit json data, then json parsing needs to be performed, and then the converted data is kept in the queue for forwarding.
本发明的实施例通过策略中心控制器,可以实现消息从消息输入方到触达层的分发,触达层根据规则显示、播放,或者触发反向控制,还可以实现触达层与触达层之间的互相控制,策略中心控制器使所有的交互互不影响,有序执行。The embodiment of the present invention can realize the distribution of messages from the message input party to the reach layer through the strategy center controller. Mutual control between each other, the strategy center controller makes all interactions independent of each other and executed in an orderly manner.
以上步骤处理完成后,策略中心控制器等待下一条消息入队,循环处理。After the above steps are processed, the policy center controller waits for the next message to be queued and processes it in a loop.
在本发明的一个可选实施例中,在执行步骤S104之后,策略中心控制器还可以响应触达层的取消注册请求取消该触达层的注册,移除对该触达层的监听和该触达层相应的消息传输通道。取消注册(即解注册)的触达层将不会收到针对其的输入消息,如此可实现消息的个性化限制。In an optional embodiment of the present invention, after step S104 is executed, the policy center controller may also cancel the registration of the reach layer in response to the cancellation request of the reach layer, and remove the monitoring of the reach layer and the Reach the corresponding message transmission channel of the layer. An unregistered (ie unregistered) touch layer will not receive input messages for it, thus enabling personalized restrictions on messages.
以上介绍了本发明实施例的车机桌面系统的信息调度方法的各步骤的多种实现方式,下面通过一个具体实施例以示例性的方式对本发明的车机桌面系统的信息调度方法的实现过程进行具体介绍。Various implementation manners of each step of the information scheduling method of the vehicle desktop system according to the embodiment of the present invention have been introduced above. The following describes the implementation process of the information scheduling method of the vehicle desktop system of the present invention in an exemplary manner through a specific embodiment. Make a specific introduction.
图5示出了根据本发明一具体实施例的策略中心控制器与消息输入方和触达层的关系时序图。在本具体实施例中,以场景为消息输入方,形象系统、通知中心和桌面为触达层。图5中的数字表示相应的操作或通道。FIG. 5 shows a sequence diagram of the relationship between the policy center controller, the message input party and the reach layer according to a specific embodiment of the present invention. In this specific embodiment, the scene is the message input party, and the image system, the notification center, and the desktop are the reach layers. The numbers in Figure 5 indicate the corresponding operations or channels.
参见图5所示,策略中心控制器与消息输入方和触达层的交互步骤如下:Referring to Figure 5, the interaction steps between the strategy center controller and the message input party and the reach layer are as follows:
第一步(即图5中标识的(1)操作):车机桌面系统启动之后,策略 中心控制器初始化,以及制定与各个消息输入方和触达层的交互数据属性、消息传输通道、消息管理规则。形象系统、通知中心、桌面等触达层向策略中心控制器发起连接,并通过(6)、(8)、(10)注册。The first step (ie (1) operation identified in Figure 5): After the vehicle-machine desktop system is started, the strategy center controller is initialized, and the interactive data attributes, message transmission channels, and messages with each message input party and touch layer are formulated. management rules. The image system, notification center, desktop and other touch layers initiate connections to the strategy center controller, and register through (6), (8), and (10).
第二步:建立控制区、数据区和策略管理区,将注册到策略中心控制器的对象存入控制区中。需要说明的是,也可以在第一步之前建立控制区、数据区和策略管理区。The second step: establish a control area, a data area and a policy management area, and store the objects registered in the policy center controller into the control area. It should be noted that the control area, the data area and the policy management area can also be established before the first step.
第三步:通过(3)接收来自于消息输入方的消息,比如来自于场景的消息。来自于场景的消息进入策略中心控制器,经过有效性校验后,进入(2)的策略管理区根据策略管理送入数据区的发送队列(也可以称作输出队列)。Step 3: Receive a message from the message input party through (3), such as a message from a scene. The message from the scene enters the policy center controller, and after the validity check, enters the policy management area of (2) and manages the sending queue (also called the output queue) sent to the data area according to the policy.
第四步:消息进入发送队列后,策略中心控制器根据规则寻找(5)、(7)、(9)对应的触达层,如果其中有符合的触达层且触达层可接收,则通过(5)、(7)、(9)送出消息。Step 4: After the message enters the sending queue, the strategy center controller searches for the corresponding reach layers (5), (7), and (9) according to the rules. If there is a matching reach layer and the reach layer can be received, then Send messages through (5), (7), (9).
第五步:消息被送达触达层后,触达层根据相应规则显示,同时触达层可以根据其支持的操作(比如VR、手势识别、点击等)反向通过(6)、(8)、(10)告知策略中心控制器控制其相应的操作,策略中心控制器复用通道(5)、(7)、(9)、以及(4)反馈到各方,同时策略中心控制器根据规则更改数据区数据值。Step 5: After the message is delivered to the touch layer, the touch layer will be displayed according to the corresponding rules, and the touch layer can reversely pass (6), (8) according to the operations it supports (such as VR, gesture recognition, click, etc.). ), (10) inform the strategy center controller to control its corresponding operation, the strategy center controller reuses channels (5), (7), (9), and (4) to feed back to all parties, and the strategy center controller according to The rule changes the data area data value.
第六步:消息输入方也可以通过(4)给策略中心控制器发起对已发消息的控制,策略中心控制器复用(5)、(7)、(9)把控制指令传到触达层。Step 6: The message input party can also initiate control of the sent message to the strategy center controller through (4), and the strategy center controller reuses (5), (7), (9) to transmit the control instructions to the touch Floor.
第七步:触达层也可以通过(6)、(8)、(10)取消注册,此时策略中心控制移除对其监听,后续其相应通道被移除,解注册的触达层不会收到其消息。Step 7: The reach layer can also be unregistered through (6), (8), (10). At this time, the policy center controls to remove its monitoring, and then its corresponding channel is removed, and the unregistered reach layer will not be registered. will receive its message.
本实施例中,对于策略中心控制器,所有双向控制为安全考虑均设置安全检查机制,符合安全规则的任务是合法的消息输入方和触达层。在有效下发多任务的指令时,通过策略中心控制器来处理后,可高效地处理各种消息,互不干扰。In this embodiment, for the policy center controller, a security check mechanism is set for all bidirectional controls for security consideration, and tasks that comply with security rules are legal message input parties and reach layers. When effectively issuing multi-task instructions, after being processed by the policy center controller, various messages can be efficiently processed without interfering with each other.
基于同一技术构思,本发明实施例还提供了一种电子设备。该电子设备包括:处理器;以及存储有计算机程序代码的存储器。当该计算机程序代码被处理器运行时,导致该电子设备执行上述任意一个实施例或其组合 所述的车机桌面系统的信息调度方法。Based on the same technical concept, an embodiment of the present invention also provides an electronic device. The electronic device includes: a processor; and a memory storing computer program code. When the computer program code is executed by the processor, it causes the electronic device to execute the information scheduling method of the vehicle-machine desktop system described in any one of the above embodiments or a combination thereof.
本发明实施例还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机指令,当该计算机指令在计算机上运行时,使得计算机执行如上述车机桌面系统的信息调度方法对应的实施例。An embodiment of the present invention further provides a computer-readable storage medium, where computer instructions are stored in the computer-readable storage medium, and when the computer instructions are executed on the computer, the computer is made to execute the above-mentioned information scheduling method of the vehicle-machine desktop system corresponding example.
本发明实施例还提供一种运行指令的芯片,所述芯片包括存储器、处理器,所述存储器中存储代码和数据,所述存储器与所述处理器耦合,所述处理器运行所述存储器中的代码使得所述芯片用于执行上述如上述车机桌面系统的信息调度方法对应的实施例。An embodiment of the present invention further provides a chip for running instructions, the chip includes a memory and a processor, where code and data are stored in the memory, the memory is coupled with the processor, and the processor runs the memory in the memory The code of the above enables the chip to be used to execute the above-mentioned embodiments corresponding to the information scheduling method of the above-mentioned vehicle-machine desktop system.
本发明实施例还提供一种包含指令的程序产品,所述程序产品包括计算机程序,所述计算机程序存储在计算机可读存储介质中,至少一个处理器可以从所述计算机可读存储介质读取所述计算机程序,所述至少一个处理器执行所述计算机程序时可实现如上述车机桌面系统的信息调度方法对应的实施例。An embodiment of the present invention further provides a program product containing instructions, the program product includes a computer program, and the computer program is stored in a computer-readable storage medium, and at least one processor can read from the computer-readable storage medium The computer program, when the at least one processor executes the computer program, can implement the embodiments corresponding to the above-mentioned information scheduling method of the vehicle-machine desktop system.
本发明实施例还提供一种计算机程序,当所述计算机程序被处理器执行时,用于执行如上述车机桌面系统的信息调度方法对应的实施例。An embodiment of the present invention further provides a computer program, which, when the computer program is executed by the processor, is used to execute the embodiments corresponding to the above-mentioned information scheduling method of the vehicle-machine desktop system.
根据上述任意一个可选实施例或多个可选实施例的组合,本发明实施例能够达到如下有益效果:According to any one of the foregoing optional embodiments or a combination of multiple optional embodiments, the embodiments of the present invention can achieve the following beneficial effects:
本发明实施例提出的车机桌面系统的信息调度方法,通过策略中心控制器制定与各消息输入方和各触达层之间交互的数据属性、消息管理规则和消息传输通道,进而由策略中心控制器基于消息管理规则和消息传输通道通过发送队列有序、规则地将来自消息输入方的输入消息下发至目标触达层进行执行。本发明的方案能够将作为消息输入方的各个分离的车载应用关联起来,通过接入策略中心控制器实现资源共享和消息控制,且保证任何向策略中心控制器发出的消息只有一条消息通道,互不干扰,从而在高效下发消息的同时避免下发消息的互相干扰,实现下发消息的准确、有序执行和/或显示,从而保障用户用车安全。In the information scheduling method of the vehicle-machine desktop system proposed by the embodiment of the present invention, the policy center controller formulates data attributes, message management rules and message transmission channels for interaction with each message input party and each touch layer, and then the policy center Based on the message management rules and the message transmission channel, the controller sends the input message from the message input party to the target reaching layer in an orderly and regular manner through the sending queue for execution. The scheme of the present invention can associate each separated vehicle-mounted application as the message input party, realize resource sharing and message control through the access policy center controller, and ensure that any message sent to the policy center controller has only one message channel, and mutual It does not interfere, so that the message can be delivered efficiently while avoiding the mutual interference of the delivered messages, and the accurate and orderly execution and/or display of the delivered messages can be realized, thereby ensuring the safety of the user's car.
进一步地,在接收到输入消息后,策略中心控制器可根据指定的消息管理规则对输入消息进行具体的有效性检测,有效保证下发消息的有效性,从而实现精准调度。Further, after receiving the input message, the policy center controller can perform specific validity detection on the input message according to the specified message management rule, so as to effectively ensure the validity of the delivered message, thereby realizing precise scheduling.
进一步地,在将输入消息融入发送队列的过程中,根据各消息的数据属性(具体为优先级、竞合策略、消息种类和接收时间等)对发送队列中 包括该输入消息在内的各消息进行合并处理和重排序,从而保证消息下发顺序的合理性。Further, in the process of integrating the input message into the sending queue, according to the data attributes of each message (specifically, priority, co-op strategy, message type, and receiving time, etc.) Merge processing and reordering to ensure the rationality of message delivery order.
所属领域的技术人员可以清楚地了解到,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,为简洁起见,在此不另赘述。Those skilled in the art can clearly understand that, for the specific working processes of the systems, devices and units described above, reference may be made to the corresponding processes in the foregoing method embodiments, and for the sake of brevity, details are not described herein.
另外,在本发明各个实施例中的各功能单元可以物理上相互独立,也可以两个或两个以上功能单元集成在一起,还可以全部功能单元都集成在一个处理单元中。上述集成的功能单元既可以采用硬件的形式实现,也可以采用软件或者固件的形式实现。In addition, each functional unit in each embodiment of the present invention may be physically independent of each other, or two or more functional units may be integrated together, or all functional units may be integrated into one processing unit. The above-mentioned integrated functional units may be implemented in the form of hardware, and may also be implemented in the form of software or firmware.
本领域普通技术人员可以理解:所述集成的功能单元如果以软件的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,其包括若干指令,用以使得一台计算设备(例如个人计算机,服务器,或者网络设备等)在运行所述指令时执行本发明各实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM)、随机存取存储器(RAM),磁碟或者光盘等各种可以存储程序代码的介质。Those skilled in the art can understand that: if the integrated functional unit is implemented in the form of software and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present invention or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, which includes several instructions to make a computer A computing device (such as a personal computer, a server, or a network device, etc.) executes all or part of the steps of the methods described in the embodiments of the present invention when running the instructions. The aforementioned storage medium includes: a U disk, a removable hard disk, a read only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk and other media that can store program codes.
或者,实现前述方法实施例的全部或部分步骤可以通过程序指令相关的硬件(诸如个人计算机,服务器,或者网络设备等的计算设备)来完成,所述程序指令可以存储于一计算机可读取存储介质中,当所述程序指令被计算设备的处理器执行时,所述计算设备执行本发明各实施例所述方法的全部或部分步骤。Alternatively, all or part of the steps of implementing the foregoing method embodiments may be accomplished by program instructions related to hardware (such as a personal computer, a server, or a computing device such as a network device), and the program instructions may be stored in a computer-readable storage In the medium, when the program instructions are executed by the processor of the computing device, the computing device executes all or part of the steps of the methods described in the embodiments of the present invention.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:在本发明的精神和原则之内,其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案脱离本发明的保护范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: Within the spirit and principle of the present invention, it is still possible to modify the technical solutions recorded in the foregoing embodiments, or to perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the corresponding technical solutions deviate protection scope of the present invention.

Claims (18)

  1. 一种车机桌面系统的信息调度方法,其特征在于,应用于所述车机桌面系统的策略中心控制器,所述信息调度方法包括:An information scheduling method for an on-board desktop system, characterized in that it is applied to a strategy center controller of the on-board desktop system, and the information scheduling method includes:
    在所述车机桌面系统启动后,初始化所述策略中心控制器;After the on-board desktop system is started, initialize the strategy center controller;
    响应各消息输入方的接入请求与各所述消息输入方建立连接,并响应各触达层的连接和注册请求对各所述触达层进行连接和注册,制定所述策略中心控制器与各所述消息输入方和各所述触达层之间交互的数据属性、消息管理规则和消息传输通道;In response to the access request of each message input party, establish a connection with each of the message input parties, and in response to the connection and registration request of each touch layer to connect and register each of the touch layers, and formulate the strategy center controller and Data attributes, message management rules and message transmission channels for interaction between each of the message input parties and each of the reach layers;
    接收所述消息输入方通过相应的所述消息传输通道发送的输入消息,根据所述消息管理规则检测所述输入消息是否有效;receiving an input message sent by the message input party through the corresponding message transmission channel, and detecting whether the input message is valid according to the message management rule;
    若所述输入消息有效,则对所述输入消息进行处理并融入发送队列;If the input message is valid, the input message is processed and integrated into the sending queue;
    根据所述车机桌面系统当前所处的场景从已注册的所述触达层中确定所述输入消息的目标触达层,并通过相应的所述消息传输通道向所述目标触达层下发所述发送队列中的所述输入消息。The target reach layer of the input message is determined from the registered reach layers according to the scene in which the vehicle-machine desktop system is currently located, and the target reach layer of the input message is sent to the lower layer through the corresponding message transmission channel. send the input message in the send queue.
  2. 根据权利要求1所述的信息调度方法,其特征在于,所述消息输入方包括下列至少之一:云端、场景、车载导航、多媒体应用;The information scheduling method according to claim 1, wherein the message input party includes at least one of the following: cloud, scene, vehicle navigation, and multimedia application;
    所述触达层包括下列至少之一:形象系统、桌面、通知中心。The reach layer includes at least one of the following: an image system, a desktop, and a notification center.
  3. 根据权利要求1所述的信息调度方法,其特征在于,所述数据属性包括下列至少之一:显示属性、控制属性、队列属性;其中The information scheduling method according to claim 1, wherein the data attributes include at least one of the following: display attributes, control attributes, and queue attributes; wherein
    所述显示属性包括消息种类、消息标题和消息内容;The display attributes include message type, message title and message content;
    所述控制属性包括是否显示提示语、是否语音合成播报、是否可见即可说;The control attributes include whether to display a prompt, whether to synthesize a speech, and whether to be able to speak if it is visible;
    所述队列属性包括优先级、竞合策略。The queue attributes include priority and co-opetition strategy.
  4. 根据权利要求1所述的信息调度方法,其特征在于,所述根据所述消息管理规则检测所述输入消息是否有效的步骤包括下列至少之一:The information scheduling method according to claim 1, wherein the step of detecting whether the input message is valid according to the message management rule comprises at least one of the following:
    发送所述输入消息的所述消息输入方是否有权限;Whether the message input party sending the input message has permission;
    发送所述输入消息的所述消息输入方是否在黑名单中;Whether the message input party sending the input message is in the blacklist;
    传输所述输入消息的所述消息传输通道是否合法;Whether the message transmission channel for transmitting the input message is legal;
    所述输入消息的内容是否有效;Whether the content of the input message is valid;
    所述输入消息的数据属性是否存在异常。Whether the data attribute of the input message is abnormal.
  5. 根据权利要求3所述的信息调度方法,其特征在于,所述对所述输入消息进行处理并融入发送队列的步骤包括:The information scheduling method according to claim 3, wherein the step of processing the input message and integrating it into the sending queue comprises:
    使接收的所述输入消息根据接收时间的先后进入处理通道;causing the received input messages to enter the processing channel according to the order of reception time;
    查看所述发送队列是否已满;Check whether the sending queue is full;
    若所述发送队列已满,则将所述输入消息存储于存储队列中,待所述发送队列中有空位用于添加数据后,将所述输入消息从所述存储队列移到所述发送队列;If the sending queue is full, store the input message in the storage queue, and move the input message from the storage queue to the sending queue after there is space in the sending queue for adding data ;
    若所述发送队列未满,则将所述输入消息加入所述发送队列中;If the sending queue is not full, adding the input message to the sending queue;
    根据所述发送队列中的包括所述输入消息在内的各消息的数据属性对所述发送队列中的各消息进行重排序。The messages in the sending queue are reordered according to the data attributes of the messages in the sending queue, including the input message.
  6. 根据权利要求5所述的信息调度方法,其特征在于,所述根据所述发送队列中的包括所述输入消息在内的各消息的数据属性对所述发送队列中的消息进行重排序的步骤包括:The information scheduling method according to claim 5, wherein the step of reordering the messages in the sending queue according to data attributes of each message in the sending queue including the input message include:
    根据所述发送队列中的各消息的竞合策略和消息种类对所述发送队列中的消息进行合并处理;merging and processing the messages in the sending queue according to the competition strategy and message type of each message in the sending queue;
    根据发送队列中各消息的优先级和接收时间,对合并后的消息进行排序。The merged messages are sorted according to the priority and reception time of each message in the send queue.
  7. 根据权利要求1所述的信息调度方法,其特征在于,所述输入消息携带所述消息输入方的消息下发途径指示,所述消息下发途径指示包括消息直接下发触达层或通过发送队列下发消息的指示;The information scheduling method according to claim 1, wherein the input message carries a message delivery path indication of the message input party, and the message delivery path indication comprises that the message is directly delivered to a touch layer or sent by sending a message. The instruction of the queue to send the message;
    在检测出所述输入消息有效之后,且对所述输入消息进行处理并融入发送队列之前,还包括:After it is detected that the input message is valid, but before the input message is processed and added to the sending queue, the method further includes:
    根据所述消息下发途径指示确定所述消息输入方选择的消息下发途径;Determine the message delivery path selected by the message input party according to the message delivery path indication;
    若所述消息输入方选择的消息下发途径为通过发送队列下发消息,则执行所述对所述输入消息进行处理并融入发送队列的步骤。If the message delivery method selected by the message input party is to deliver the message through the sending queue, the step of processing the input message and integrating it into the sending queue is performed.
  8. 根据权利要求7所述的信息调度方法,其特征在于,若所述消息输入方选择的消息下发途径为消息直接下发触达层,则根据所述车机桌面系统当前所处的场景确定所述输入消息的目标触达层,并通过相应的所述消息传输通道向所述目标触达层下发所述输入消息。The information scheduling method according to claim 7, wherein if the message delivery method selected by the message input party is the message direct delivery trigger layer, it is determined according to the current scene of the vehicle-machine desktop system. The target of the input message reaches the layer, and delivers the input message to the target reaching layer through the corresponding message transmission channel.
  9. 根据权利要求1或8所述的信息调度方法,其特征在于,在确定所述输入消息的目标触达层之后且向所述目标触达层下发所述输入消息之前,还包括:The information scheduling method according to claim 1 or 8, characterized in that, after determining the target reach layer of the input message and before delivering the input message to the target reach layer, the method further comprises:
    检测所述目标触达层是否处于正常状态;其中,只有在所述目标触达层处于正常情况下才向所述目标触达层下发所述输入消息。Detecting whether the target reaching layer is in a normal state; wherein, the input message is delivered to the target reaching layer only when the target reaching layer is in a normal state.
  10. 根据权利要求1或8所述的信息调度方法,其特征在于,在向所述目标触达层下发所述输入消息之后,还包括:The information scheduling method according to claim 1 or 8, wherein after delivering the input message to the target reach layer, the method further comprises:
    接收所述目标触达层执行所述输入消息后反馈的信息,并将所述反馈的信息发送至所述消息输入方。Receive information fed back after the target reaching layer executes the input message, and send the fed back information to the message input party.
  11. 根据权利要求1所述的信息调度方法,其特征在于,在接收所述消息输入方发送的所述输入消息后,还包括:The information scheduling method according to claim 1, wherein after receiving the input message sent by the message input party, the method further comprises:
    接收所述消息输入方发送的针对所述输入消息的控制指令;receiving a control instruction for the input message sent by the message input party;
    若所述输入消息仍在所述发送队列中,则根据所述控制指令改变所述发送队列中所述输入消息的数据属性;If the input message is still in the sending queue, changing the data attribute of the input message in the sending queue according to the control instruction;
    若所述输入消息已下发至所述目标触达层,则根据所述控制指令生成通知消息并发送至所述目标触达层,以使所述目标触达层根据所述通知消息改变当前对所述输入消息的执行操作。If the input message has been sent to the target reach layer, a notification message is generated according to the control instruction and sent to the target reach layer, so that the target reach layer changes the current state according to the notification message An operation to perform on the input message.
  12. 根据权利要求1所述的信息调度方法,其特征在于,在确定所述输入消息的目标触达层之后,还包括:The information scheduling method according to claim 1, characterized in that after determining the target reach layer of the input message, the method further comprises:
    接收所述消息输入方发送的反向控制数据,并将所述反向控制数据转发至所述目标触达层,以便所述目标触达层根据所述反向控制数据直接控制所述消息输入方。Receive the reverse control data sent by the message input party, and forward the reverse control data to the target reach layer, so that the target reach layer directly controls the message input according to the reverse control data square.
  13. 根据权利要求1所述的信息调度方法,其特征在于,在响应各消息输入方的接入请求与各所述消息输入方建立连接,并响应各触达层的注册请求对各所述触达层进行注册,制定所述策略中心控制器与各所述消息输入方和各所述触达层之间交互的数据属性、消息管理规则和消息传输通道之后,还包括:The information scheduling method according to claim 1, characterized in that, in response to an access request of each message input party, a connection is established with each of the message input parties, and in response to a registration request of each touch layer, each of the touch layer to register, and after formulating the data attributes, message management rules and message transmission channels for the interaction between the policy center controller and each of the message input parties and each of the contact layers, it also includes:
    响应所述触达层的取消注册请求取消所述触达层的注册,移除对所述触达层的监听和所述触达层相应的消息传输通道。In response to the cancellation registration request of the touch layer, the registration of the touch layer is cancelled, and the monitoring of the touch layer and the corresponding message transmission channel of the touch layer are removed.
  14. 一种电子设备,其特征在于,包括:An electronic device, comprising:
    处理器;以及processor; and
    存储有计算机程序代码的存储器;memory in which computer program code is stored;
    当所述计算机程序代码被所述处理器运行时,导致所述电子设备执行根据权利要求1-13中任一项所述的车机桌面系统的信息调度方法。When the computer program code is executed by the processor, the electronic device is caused to execute the information scheduling method of the desktop system of the vehicle machine according to any one of claims 1-13.
  15. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1-13中任一项所述的车机桌面系统的信息调度方法。A computer-readable storage medium on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the information scheduling method of the vehicle-machine desktop system according to any one of claims 1-13 is implemented.
  16. 一种运行指令的芯片,其特征在于,所述芯片包括存储器、处理器,所述存储器中存储代码和数据,所述存储器与所述处理器耦合,所述处理器运行所述存储器中的代码使得所述芯片用于执行上述权利要求1-13中任一项所述的车机桌面系统的信息调度方法。A chip for running instructions, characterized in that the chip includes a memory and a processor, the memory stores code and data, the memory is coupled to the processor, and the processor runs the code in the memory The chip is used to execute the information scheduling method of the vehicle-machine desktop system according to any one of the preceding claims 1-13.
  17. 一种包含指令的程序产品,其特征在于,当所述程序产品在计算机上运行时,使得所述计算机执行上述权利要求1-13中任一项所述的车机桌面系统的信息调度方法。A program product containing instructions, characterized in that, when the program product runs on a computer, the computer is made to execute the information scheduling method of the vehicle-machine desktop system according to any one of the preceding claims 1-13.
  18. 一种计算机程序,其特征在于,当所述计算机程序被处理器执行时,用于执行上述权利要求1-13中任一项所述的车机桌面系统的信息调度方法。A computer program, characterized in that, when the computer program is executed by a processor, it is used to execute the information scheduling method of the vehicle-machine desktop system according to any one of the preceding claims 1-13.
PCT/CN2021/105266 2021-02-02 2021-07-08 Information scheduling method for head unit desktop system, and electronic device WO2022166109A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110139883.4A CN112463420B (en) 2021-02-02 2021-02-02 Information scheduling method of car machine desktop system and electronic equipment
CN202110139883.4 2021-02-02

Publications (1)

Publication Number Publication Date
WO2022166109A1 true WO2022166109A1 (en) 2022-08-11

Family

ID=74802485

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/105266 WO2022166109A1 (en) 2021-02-02 2021-07-08 Information scheduling method for head unit desktop system, and electronic device

Country Status (2)

Country Link
CN (1) CN112463420B (en)
WO (1) WO2022166109A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112463420B (en) * 2021-02-02 2021-05-18 湖北亿咖通科技有限公司 Information scheduling method of car machine desktop system and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130345898A1 (en) * 2012-06-22 2013-12-26 Lg Electronics Inc. In-vehicle infotainment device and data processing method using the same
CN103532823A (en) * 2012-07-04 2014-01-22 中兴通讯股份有限公司 Message processing method, device and system for Internet of Things
CN111796951A (en) * 2020-07-17 2020-10-20 湖北亿咖通科技有限公司 Scheduling method of vehicle-mounted information entertainment system and electronic equipment
CN112214309A (en) * 2020-09-08 2021-01-12 深圳航天科技创新研究院 Method and medium for realizing kernel of embedded operating system of vehicle-mounted Internet of things
CN112463420A (en) * 2021-02-02 2021-03-09 湖北亿咖通科技有限公司 Information scheduling method of car machine desktop system and electronic equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571885B (en) * 2010-12-31 2016-04-20 上海博泰悦臻电子设备制造有限公司 Vehicle-mounted information push service system and method
EP2680147A3 (en) * 2012-06-26 2014-05-21 LG Electronics, Inc. In-vehicle infotainment processor and data processing method using the same
CN105959343B (en) * 2016-04-18 2019-05-03 宁波轩悦行电动汽车服务有限公司 A kind of vehicle-mounted APP communication system and load-balancing method and method of hiring a car
CN107302489A (en) * 2017-06-02 2017-10-27 北京潘达互娱科技有限公司 Message display method and device
JP7042138B2 (en) * 2018-03-30 2022-03-25 日立Astemo株式会社 Processing equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130345898A1 (en) * 2012-06-22 2013-12-26 Lg Electronics Inc. In-vehicle infotainment device and data processing method using the same
CN103532823A (en) * 2012-07-04 2014-01-22 中兴通讯股份有限公司 Message processing method, device and system for Internet of Things
CN111796951A (en) * 2020-07-17 2020-10-20 湖北亿咖通科技有限公司 Scheduling method of vehicle-mounted information entertainment system and electronic equipment
CN112214309A (en) * 2020-09-08 2021-01-12 深圳航天科技创新研究院 Method and medium for realizing kernel of embedded operating system of vehicle-mounted Internet of things
CN112463420A (en) * 2021-02-02 2021-03-09 湖北亿咖通科技有限公司 Information scheduling method of car machine desktop system and electronic equipment

Also Published As

Publication number Publication date
CN112463420A (en) 2021-03-09
CN112463420B (en) 2021-05-18

Similar Documents

Publication Publication Date Title
CN105530175B (en) Message processing method, device and system
CN104753943B (en) The log-in control method of third party's account and device
WO2022122055A1 (en) Locker opening control method, item storing control method, user end, server ends, and smart locker
US8544075B2 (en) Extending a customer relationship management eventing framework to a cloud computing environment in a secure manner
WO2016161913A1 (en) Resource transfer system and method
KR100872178B1 (en) Apparatus and method for managing forwarding service of WUSB based on priority
KR20150069917A (en) Image forming system, method for controlling image forming apparatus using messenger application of mobile device, and mobile device for performing thereof
WO2021051775A1 (en) Multi-person ordering-based order management method and system
CN109800557B (en) Block chain-based integrated processing method, device, server, equipment and medium
CN110489440B (en) Data query method and device
US20130091502A1 (en) System and method of providing virtual machine using device cloud
US11855940B2 (en) Methods, systems, and media for generating contextually relevant messages
WO2022166109A1 (en) Information scheduling method for head unit desktop system, and electronic device
KR20210048546A (en) Automatic link-based message verification
CN106484805A (en) A kind of data export method and data handling system
US20120166585A1 (en) Apparatus and method for accelerating virtual desktop
US9584625B2 (en) Web based system using events and pushed web content to interact with remote users for notifications and data collections
US20210377206A1 (en) End-to-end email tag prediction
CN109144639B (en) Bullet screen message distribution method, device, equipment and storage medium
CN102761527B (en) The access method of serving in cluster and system
US8392546B2 (en) Distributed managed system, system components, and methods of communicating commands
US11249822B2 (en) Method and device for alerting that an event has occurred
CN113032010B (en) Command transmission control method, terminal and computer readable storage medium
WO2021088964A1 (en) Inference system, inference method, electronic device and computer storage medium
CN109168079B (en) Bullet screen message distribution method, device, 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: 21924114

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: 21924114

Country of ref document: EP

Kind code of ref document: A1