Instrument interconnection methods, devices, equipment and storage media
By enabling information exchange between the instrument cluster server and the SOA client, the increasing functional requirements of automotive instrument clusters can be met without increasing hardware resources. This provides a unified interface solution and improves the standardization and competitiveness of instrument cluster products.
Patent Information
- Application Number
- CN202310621829.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-29
- Publication Date
- 2026-01-30
- Estimated Expiration
- 2043-05-29
AI Technical Summary
In the existing technology, as the functions on car dashboards increase, the consumption of hardware resources gradually increases. How to meet the increasing functional requirements without increasing hardware resources has become an urgent problem to be solved.
Through information exchange between the instrument server and the SOA client, the corresponding content of the SOA client is displayed on the instrument server, enabling the instrument server to have two business functions: professional instrument display and extended service display. The extended display service of the instrument server solves the business coupling in the extended display and its corresponding secondary development, providing a unified interface solution for instrument interconnection.
It has improved the maturity of instrument interconnection functions, enhanced the standardization and competitiveness of instrument products, simplified business function relationships, and reduced secondary development costs.
Smart Images

Figure CN116647576B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle technology, and in particular to an instrument interconnection method, apparatus, device and storage medium. Background Technology
[0002] With the development of automotive electronics, car functions are constantly increasing. Car instrument panels are no longer just for displaying information; they are also constantly adding other functions. These other functions are basically provided by the car's entertainment system, so the extended functions of the information displayed on the instrument panel are also called instrument panel connectivity functions.
[0003] Traditional instrument cluster interconnection solutions involve providing services for existing functions in the entertainment domain, allowing the instrument cluster to adapt to the communication interfaces of these functions. However, as more and more functions are added to the instrument cluster, the number of interfaces that the instrument cluster needs to adapt to also increases, leading to greater consumption of the instrument cluster's hardware resources. For the instrument cluster, it is only providing a Human Machine Interface (HMI) interface.
[0004] It is evident that how to meet the increasing number of functions added to instruments without increasing the consumption of instrument hardware resources has become an urgent problem to be solved. Summary of the Invention
[0005] This application provides an instrument interconnection method, apparatus, device, and storage medium, which provides a unified solution for instrument interconnection interfaces to meet the increasing number of functions on instruments without increasing the consumption of instrument hardware resources.
[0006] Firstly, this application provides an instrument interconnection method applied to an instrument server, the method comprising:
[0007] Receive a display request sent by an SOA client, the display request carrying a display message from the SOA client;
[0008] In response to the display request, obtain the display level of the display message, and determine whether to update the current display content of the target display area based on the display level;
[0009] If so, display the content corresponding to the display message in the target display area, generate a first receipt, and send the first receipt to the SOA client.
[0010] In one possible design, displaying the content corresponding to the display message in the target display area includes:
[0011] Adjust the display layout of the target display area according to the display message, so as to display the content corresponding to the display message according to the display layout.
[0012] In one possible design, before obtaining the display level of the display message in response to the display request, the following is also included:
[0013] Determine whether the content corresponding to the displayed message is the pre-displayed content;
[0014] If so, generate a second receipt and send the second receipt to the SOA client. The second receipt is used to indicate that the pre-displayed content is maintained in the normal display area.
[0015] If not, determine the target display area from the extended display area in response to the display request;
[0016] The conventional display area and the extended display area correspond to different display areas of the instrument panel.
[0017] In one possible design, prior to receiving the display request sent by the SOA client, the following is also included:
[0018] Send extended service information to the SOA client, so that the SOA client responds to the extended service information to determine whether to subscribe to the extended display service of the extended display area;
[0019] The system receives subscription information sent by the SOA client, which indicates that the SOA client has subscribed to the extended display service of the extended display area.
[0020] In one possible design, after receiving the subscription information sent by the SOA client, the following is also included:
[0021] Receive the interaction request sent by the SOA client;
[0022] In response to the interaction request, the target control detects a touch operation, and in response to the touch operation, sends an interaction response to the SOA client;
[0023] The interactive response is used to instruct the SOA client to initiate the display request.
[0024] In one possible design, after generating the first receipt message, the following steps are also included:
[0025] A notification message is generated and sent to a historical SOA client. The notification message is used to instruct the historical SOA client to stop sending the current display content to the instrument server. The historical SOA client is the SOA client that requested the instrument server to display the current display content.
[0026] In one possible design, the step of responding to the display request and obtaining the display level of the display message includes:
[0027] In response to the display request, obtain the message attribute information of the display message;
[0028] The display level is obtained based on the message attribute information.
[0029] In one possible design, determining whether to update the current display content of the target display area based on the display level includes:
[0030] Obtain the content level of the currently displayed content;
[0031] Determine whether the display level takes precedence over the content level based on a preset priority sequence;
[0032] If so, confirm that the current display content of the target display area is updated;
[0033] If not, generate a third receipt and send the third receipt to the SOA client.
[0034] Secondly, this application provides a meter interconnection method applied to an SOA client, the method comprising:
[0035] A display request is sent to the instrument server, the display request carrying the display message from the SOA client;
[0036] The instrument server receives a first receipt message, which indicates that the content corresponding to the display message has been successfully displayed in the target display area of the instrument server.
[0037] In one possible design, prior to receiving the first receipt information sent by the instrument server, the following is also included:
[0038] If a second or third receipt message is received from the instrument server, determine whether the content corresponding to the display message is temporary information content;
[0039] If so, unsubscribe from the current extended display service corresponding to the display request.
[0040] In one possible design, before sending the display request to the instrument server, the following is also included:
[0041] Check whether the connection status between itself and the instrument server is intact;
[0042] If so, receive the extended service information sent by the instrument server;
[0043] In response to the extended service information, subscription information is generated and sent to the instrument server.
[0044] The subscription information is used to indicate that the SOA client subscribes to the extended display service of the extended display area.
[0045] In one possible design, after sending the subscription information to the meter server, the following is also included:
[0046] Generate an interaction request and send the interaction request to the instrument server;
[0047] The instrument server receives a touch operation response and sends an interactive response to the SOA client.
[0048] The touch operation is detected by the instrument server from the target control, and the interactive response is used to instruct the SOA client to initiate the display request.
[0049] In one possible design, if the SOA client is a historical SOA client, it also includes:
[0050] The system receives a notification message sent by the instrument server. The notification message is used to instruct the historical SOA client to stop sending the current display content of the target display area to the instrument server. The historical SOA client is the SOA client that requested the instrument server to display the current display content.
[0051] Thirdly, this application provides an instrument interconnection device applied to an instrument server, the device comprising:
[0052] A receiving module is used to receive a display request sent by an SOA client, wherein the display request carries a display message from the SOA client;
[0053] The first processing module is used to respond to the display request to obtain the display level of the display message, so as to determine whether to update the current display content of the target display area based on the display level;
[0054] The second processing module is used to, if so, display the content corresponding to the display message in the target display area, generate first receipt information, and send the first receipt information to the SOA client.
[0055] Fourthly, this application provides an instrument interconnection device for use in SOA clients, the device comprising:
[0056] The sending module is used to send a display request to the instrument server, wherein the display request carries the display message of the SOA client;
[0057] The receiving module is used to receive the first receipt information sent by the instrument server. The first receipt information is used to indicate that the content corresponding to the display message has been successfully displayed in the target display area of the instrument server.
[0058] Fifthly, this application provides an electronic device, including: a processor, and a memory communicatively connected to the processor;
[0059] The memory stores computer-executed instructions;
[0060] The processor executes computer execution instructions stored in the memory to implement the method involved in the first aspect or the method involved in the second aspect.
[0061] In a sixth aspect, this application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the method involved in the first aspect or the method involved in the second aspect.
[0062] This application provides a method, apparatus, device, and storage medium for instrument interconnection. An SOA client sends a display request carrying a display message to an instrument server. The instrument server responds to the display request, obtains the display level of the display message, and then determines whether to update the current display content of the target display area based on the display level. If so, the corresponding content of the display message is displayed in the target display area, and a first receipt is generated and sent to the SOA client, so that the SOA client knows that the content corresponding to the display message has been successfully displayed in the target display area of the instrument server. Through information interaction between the instrument server and the SOA client, the corresponding content of the SOA client is displayed on the instrument server. This enables the instrument server's business functions to include both professional instrument display and extended service display. It defines the functional definition of the instrument product, and resolves the business coupling and corresponding secondary development of extended display through the extended display service of the instrument server. This provides a unified interface solution for instrument interconnection, improves the maturity of instrument interconnection functions, and enhances the productization, standardization, and competitiveness of instrument products. Attached Figure Description
[0063] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0064] Figure 1 This is a schematic diagram of an application scenario provided by an embodiment of this application;
[0065] Figure 2 A schematic flowchart illustrating an instrument interconnection method provided in an embodiment of this application;
[0066] Figure 3 A flowchart illustrating another instrument interconnection method provided in an embodiment of this application;
[0067] Figure 4 This is a schematic diagram of the structure of an instrument interconnection device provided in an embodiment of this application;
[0068] Figure 5 This is a schematic diagram of another instrument interconnection device provided in an embodiment of this application;
[0069] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;
[0070] Figure 7 This is a schematic diagram of the structure of another electronic device provided in an embodiment of this application. Detailed Implementation
[0071] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of methods and apparatus consistent with some aspects of this application as detailed in the appended claims.
[0072] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a particular order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented, for example, in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0073] Traditional instrument cluster interconnection solutions involve providing services for existing functions in the entertainment domain, allowing the instrument cluster to adapt to the communication interfaces of these functions. However, as more and more functions are added to the instrument cluster, the number of interfaces it needs to adapt to also increases, leading to greater consumption of the instrument cluster's hardware resources. Yet, the instrument cluster only provides a Human-Machine Interface (HMI). Therefore, finding a way to accommodate the increasing number of functions added to the instrument cluster without increasing the consumption of its hardware resources has become a pressing issue.
[0074] To address the aforementioned problems in the existing technology, this application provides a method, apparatus, device, and storage medium for instrument interconnection. The inventive concept of the instrument interconnection method provided in this application is as follows: through information interaction between the instrument server and the SOA client, the corresponding content of the SOA client is displayed on the instrument server. This enables the instrument server to perform two business functions: professional instrument display and extended service display. The functional definition of the instrument product is determined, and the extended display service of the instrument server resolves the business coupling in the extended display and its corresponding secondary development. This provides a unified interface solution for instrument interconnection, improves the maturity of instrument interconnection functions, and enhances the productization, standardization, and competitiveness of instrument products.
[0075] Figure 1 This is a schematic diagram of an application scenario provided in an embodiment of this application, such as... Figure 1 As shown, the instrument cluster server 200 internally provides SOA services to the IVI (In-Vehicle Infotainment) and the pneumatic control domain on the electronic and electrical architecture of the vehicle 100 through an SOA architecture. Each SOA client on the IVI, such as SOA client 301, SOA client 302, SOA client 304, etc., has its own corresponding business functions. For example, SOA client 301 provides telephone function, SOA client 302 provides broadcast function, SOA client 303 provides music function, SOA client 304 provides information function, etc. When each SOA client needs to provide an HMI interaction interface on the instrument cluster server 200, it only needs to interact with the instrument cluster server 200 through its own provided interface to execute the instrument cluster interconnection method provided in this application embodiment. Then, the corresponding content of the corresponding business function of the SOA client can be displayed in the corresponding display area of the instrument panel 400 controlled by the instrument cluster server 200.
[0076] Optionally, the instrument server 200 and each SOA client can use AutoSar standard SOA middleware. The SOA middleware can be configured as corresponding electronic devices, such as microcontroller units (MCUs) and electronic control units (ECUs). This embodiment does not limit the type of electronic device. Currently, AutoSar's SOME / IP protocol has mature open-source projects and toolchains for automatically generating the corresponding code for the instrument server 200 and SOA clients, which can greatly reduce development costs. Furthermore, the standardization of SOME / IP can significantly improve the maturity and productization level of the instrument panel 400.
[0077] In some embodiments, the dashboard 400 may provide an extended display area 401, which may be divided into an image display area and a text display area for displaying corresponding content in different formats. The extended display area 401 may also be provided with corresponding target controls (such as button1 and button2), allowing users to interact with corresponding SOA clients through touch operations. Optionally, the dashboard 400 may also provide a regular display area 402, for example, where a NAVI layer is used to display navigation information. The content displayed in the regular display area 402 does not conflict with that in the extended display area 401 and can display their respective content simultaneously. The regular display area 402 and the extended display area 401 are different display areas on the dashboard 400. Additionally, the dashboard 400 may also display corresponding instrument readings (such as...). Figure 1 The instrument readings 4021 and 4022 are shown in the figure. It should be noted that... Figure 1 The settings of the display area on the instrument panel 400 shown are for illustrative purposes only and are not intended to limit the display functions of the instrument panel 400.
[0078] pass Figure 1 As described, the SOA clients are independent of each other and decoupled, ensuring the independence of each SOA client's business functions. This makes the instrument interconnection solution provided in this application superior to the solution of configuring instrument interconnection in the central control system. Configuring instrument interconnection in the central control system and having it called by the instrument server requires modifying the instrument panel display for each new business function, hindering instrument panel productization and increasing secondary development costs.
[0079] It should be noted that the instrument interconnection method, apparatus, device and storage medium provided in the embodiments of this application include, but are not limited to, the application scenarios described above.
[0080] Figure 2 This is a flowchart illustrating an instrument interconnection method provided in an embodiment of this application. Figure 1 As shown, the instrument interconnection method provided in this application includes:
[0081] S101: The instrument server sends extended service information to the SOA client.
[0082] Accordingly, the SOA client receives extended service information sent by the instrument server.
[0083] Extended service information is used to characterize the display service provided by the instrument server in the extended display area. After the instrument server starts, it can send extended service information to each SOA client. Each SOA client receives the extended service information and responds to it to determine whether it has subscribed to the extended display service of the instrument server in the extended display area of the dashboard.
[0084] S102: SOA client responds with extended service information to generate subscription information.
[0085] S103: The SOA client sends subscription information to the instrument server.
[0086] Accordingly, the instrument server receives subscription information sent by the SOA client.
[0087] After receiving the extended service information, the SOA client determines whether to subscribe to the extended display service based on its own display needs. If it does, it generates subscription information and sends the subscription information to the instrument server, so that the instrument server knows that the SOA client has subscribed to the extended display service of its extended display area.
[0088] Optionally, after starting up, the SOA client also checks whether its connection with the instrument server is intact. If it is intact, it can receive extended service information sent by the instrument server.
[0089] S104: The SOA client sends a display request to the instrument server.
[0090] Accordingly, the instrument server receives display requests sent by the SOA client.
[0091] After the SOA client subscribes to the extended display service, it creates a display message, such as a display message based on the content to be displayed, and then sends a display request to the instrument server, which carries the display message it created.
[0092] In actual operation, SOA clients create display messages based on their own business functions. This application does not limit the corresponding content represented by the display messages.
[0093] S105: The instrument server responds to the display request and obtains the display level of the display message, so as to determine whether to update the current display content of the target display area based on the display level.
[0094] After receiving a display request, the instrument server responds to the display request by obtaining the display level of the display message. The display level is used to characterize the priority of the display message. Then, it can determine whether to update the current display content of the target display area based on the display level, so that the instrument server can determine the corresponding content to be displayed in the target display area according to the priority.
[0095] If an update is determined to be required, steps S106 and S107 are executed; otherwise, step 1010 is executed.
[0096] S106: The instrument server displays the corresponding content of the message in the target display area and generates the first receipt information.
[0097] S107: The instrument server sends the first receipt information to the SOA client.
[0098] Accordingly, the SOA client receives the first acknowledgment information sent by the instrument server.
[0099] The instrument server determines, based on the display level, that the current display content in the target display area needs to be updated. It then updates the current display content in the target display area by replacing the current display content with the corresponding content from the display message. This allows the target display area to be displayed. Subsequently, a first receipt is generated and sent to the SOA client, enabling the SOA client to know that the content corresponding to the display message has been displayed in the target display area.
[0100] In one possible design, the instrument server may display the corresponding content of the message in the target display area in the following ways:
[0101] The display layout of the target display area is adjusted according to the corresponding content to be displayed in the display message, so that the display layout is adapted to the corresponding content to be displayed, that is, the content corresponding to the display message is displayed according to the display layout.
[0102] Furthermore, after step S106, the method further includes:
[0103] S108: The instrument server generates a notification message.
[0104] S109: The instrument server sends notification information to historical SOA clients.
[0105] Correspondingly, the historical SOA client receives notification information sent by the instrument server.
[0106] After generating the first receipt, the instrument server also generates a notification message and sends it to the historical SOA clients. This notification informs the historical SOA clients that the currently displayed content has been updated to the content corresponding to the display message, and they cease sending the current display content to the instrument server to free up network resources. It should be noted that the historical SOA clients are the SOA clients that requested the instrument server to display the current content; this includes the SOA clients that sent the display request to the instrument server or other SOA clients.
[0107] S1010: The instrument server generates a third receipt.
[0108] S1011: The instrument server sends the third receipt information to the SOA client.
[0109] Correspondingly, the SOA client receives the third receipt information sent by the instrument server.
[0110] If the instrument server determines, based on the display level of the display message, not to update the current display content of the target display area, the instrument server generates a third receipt and sends the third receipt to the SOA client, so that the SOA client knows that the target display area of the instrument server is still displaying the current display content and will not be updated to display the content corresponding to the display message.
[0111] Optionally, S1012: The SOA client determines whether the content corresponding to the displayed message is temporary information content.
[0112] After receiving the third acknowledgment, the SOA client learns that the target display area of the instrument server is not updating the current display content to match the content corresponding to the display message. The SOA client then assumes that the content corresponding to the display message has not been successfully displayed in the target display area. The SOA client then determines whether the content corresponding to the display message is temporary information. If so, it further unsubscribes from the current extended display service corresponding to its initiated display request, i.e., proceeds to step S1013. Conversely, if it is determined that the content corresponding to the display message is not temporary information, it re-initiates the display request, i.e., proceeds to step S104.
[0113] S1013: The current extended display service corresponding to the SOA client's unsubscribe display request.
[0114] If an SOA client determines that the content corresponding to the displayed message is temporary information, in order to save network resources, it can unsubscribe from the current extended display service corresponding to the display request it initiated, and choose another method for human-computer interaction with the temporary information.
[0115] The instrument interconnection method provided in this application embodiment allows the SOA client to subscribe to extended display services provided by the instrument server in the target display area through information interaction between the instrument server and the SOA client. Furthermore, through this information interaction, the SOA client can request the instrument server to display the content it wants to display by initiating a display request. Upon receiving the display request, the instrument server obtains the display level of the display message carried in the request and determines whether to update the current display content in the target display area to the content corresponding to the display message based on the priority of the display message. If the instrument server decides to update, it displays the content corresponding to the display message in the target display area and generates a first receipt message to send back to the SOA client, thus informing the SOA client that the content corresponding to the display message has been displayed in the target display area. It is evident that by enabling information exchange between the instrument server and the SOA client, the corresponding content of the SOA client can be displayed on the instrument server. This allows the instrument server to perform two business functions: professional instrument display and extended service display. By defining the functional definition of the instrument product and resolving the business coupling and corresponding secondary development in the extended display through the extended display service of the instrument server, a unified interface solution is provided for instrument interconnection. This improves the maturity of instrument interconnection functions and enhances the productization, standardization, and competitiveness of instruments.
[0116] Based on the above embodiments, Figure 3 This is a flowchart illustrating another instrument interconnection method provided in an embodiment of this application. Figure 3 As shown, the instrument interconnection method provided in this application includes:
[0117] S201: The SOA client generates an interaction request.
[0118] S202: The SOA client sends an interaction request to the instrument server.
[0119] Accordingly, the instrument server receives the interaction requests sent by the SOA client.
[0120] After the SOA client subscribes to the extended display service of the extended display area of the instrument server, when the SOA client interacts with the instrument server through the target control, the SOA client will generate an interaction request and send the interaction request to the instrument server.
[0121] S203: The instrument server responds to the interaction request by detecting touch operation on the target control.
[0122] S204: The instrument server responds to the touch operation by sending an interactive response to the SOA client.
[0123] Accordingly, the SOA client receives the interactive response sent by the instrument server.
[0124] The instrument server sends received interaction requests back to the user, such as voice notifications. The user can then respond to the interaction request through the target control. For example, touching the target control allows the user to respond to the interaction request with a corresponding action, such as an interactive response or an interactive rejection. An interactive rejection indicates that the user refuses to engage in human-computer interaction between the instrument server and the SOA client. If the user responds to the touch action with an interactive response, the instrument server can then respond to the interaction request by detecting the touch action on the target control and sending the interactive response to the touch action to the SOA client, thus enabling further human-computer interaction between the instrument server and the SOA client.
[0125] S205: SOA client responds to interactive responses and generates display messages.
[0126] S206: The SOA client sends a display request to the instrument server.
[0127] Accordingly, the instrument server receives display requests sent by the SOA client.
[0128] The SOA client creates a display message based on the interactive response to initiate a display request to the instrument server. The display request carries the display message it created.
[0129] S207: The instrument server determines whether the content corresponding to the displayed message is the pre-displayed content.
[0130] The pre-displayed content is displayed in the regular display area. The regular display area and the extended display area do not conflict and can display their respective content simultaneously. Therefore, after receiving a display request, the instrument server will determine whether the display message carried in the display request is the pre-displayed content. If so, a second receipt message is generated and sent to the instrument server. The second receipt message indicates that the pre-displayed content will continue to be displayed in the regular display area, and no further processing is required for the content corresponding to the display message requested in the current display request. That is, steps S208 and S209 are executed. Conversely, if the display message is not the pre-displayed content, step S2012 is executed.
[0131] S208: The instrument server generates a second receipt.
[0132] S209: The instrument server sends a second receipt to the SOA client.
[0133] Accordingly, the SOA client receives the second receipt information sent by the instrument server.
[0134] S2010: The instrument server determines whether the content corresponding to the displayed message is temporary information.
[0135] After receiving the second receipt information, the SOA client executes step S2010. The possible implementation methods, principles and technical effects of step S2010 are similar to those of step S1012. For details, please refer to the above description, which will not be repeated here.
[0136] If the information is temporary, step S2011 is executed; otherwise, step S206 is executed again.
[0137] S2011: The current extended display service corresponding to the SOA client's unsubscribe display request.
[0138] The possible implementation methods, principles and technical effects of step S2011 are similar to those of step S1013. For details, please refer to the foregoing description, and will not be repeated here.
[0139] S2012: The instrument server responds to the display request and determines the target display area from the extended display area.
[0140] If the instrument server determines that the content corresponding to the displayed message is not pre-displayed content, it needs to determine the corresponding target display area from the extended display area. For example, the extended display area can be divided into different sub-areas according to the format of the content corresponding to the displayed message, such as image display areas and text display areas. The instrument server can determine the sub-area that matches the format of the displayed message from the extended display area, and the determined sub-area is the target display area.
[0141] S2013: The instrument server responds to the display request, obtains the message attribute information of the display message, and obtains the display level based on the message attribute information.
[0142] The instrument server responds to display requests by obtaining the message attribute information of the display message. This message attribute information characterizes the features of the content corresponding to the display message. For example, it can indicate the business function characteristics of the SOA client that created the display message, such as broadcast, music, messaging, or telephone functions. Different services share corresponding display levels, each representing the corresponding display priority. Therefore, the display level of the display message can be obtained by acquiring the message attribute information.
[0143] S2014: The instrument server obtains the content level of the currently displayed content.
[0144] Correspondingly, the instrument server can also know the content level of the currently displayed content in the target display area.
[0145] S2015: The instrument server determines whether the display level takes precedence over the content level based on the preset priority sequence.
[0146] The instrument server compares the display level of the acquired display message with the content level of the current display content based on a predefined priority sequence to determine whether the display level takes precedence over the content level. If so, it determines that the current display content needs to be updated to the content corresponding to the display message, i.e., steps S2016 and S2017 are executed. Conversely, if not, i.e., the display level does not take precedence over the content level, it means that the current display content of the target display area does not need to be updated, and step S2020 is executed.
[0147] Optionally, a preset priority sequence is used to represent the degree of priority. For example, level one is traffic broadcast DAB emergency notifications; level two is call information; level three is navigation notification messages; and level four is ordinary multimedia messages. Level one takes precedence over level two, level two takes precedence over level three, and level three takes precedence over level four. Optionally, the preset priority sequence can be customized. The above examples are for illustrative purposes only.
[0148] S2016: The instrument server displays the corresponding content of the message in the target display area and generates the first receipt information.
[0149] S2017: The instrument server sends the first receipt information to the SOA client.
[0150] Accordingly, the SOA client receives the first acknowledgment information sent by the instrument server.
[0151] The instrument server determines, based on the display level, that the current display content in the target display area needs to be updated. It then updates the current display content in the target display area by replacing the current display content with the corresponding content from the display message. This results in the generation of a first receipt message, which is sent to the SOA client, informing the SOA client that the content corresponding to the display message has been displayed in the target display area.
[0152] In one possible design, the instrument server may display the corresponding content of the message in the target display area in the following ways:
[0153] The display layout of the target display area is adjusted according to the corresponding content to be displayed in the display message, so that the display layout is adapted to the corresponding content to be displayed. In other words, the content corresponding to the display message is displayed according to the display layout, which improves the display flexibility.
[0154] Furthermore, after step S2016, the following steps are also included:
[0155] S2018: The instrument server generates notification information.
[0156] S2019: The instrument server sends notification information to historical SOA clients.
[0157] Correspondingly, the historical SOA client receives notification information sent by the instrument server.
[0158] After generating the first receipt, the instrument server also generates a notification message and sends it to the historical SOA clients. This notification informs the historical SOA clients that the currently displayed content has been updated to the content corresponding to the display message, and they cease sending the current display content to the instrument server to free up network resources. It should be noted that the historical SOA clients are the SOA clients that requested the instrument server to display the current content; this includes the SOA clients that sent the display request to the instrument server or other SOA clients. Figure 1 The example shown is an SOA client that sends a display request. This section illustrates a historical SOA client.
[0159] S2020: The instrument server generates a third receipt.
[0160] S2021: The instrument server sends the third receipt information to the SOA client.
[0161] Correspondingly, the SOA client receives the third receipt information sent by the instrument server.
[0162] If the instrument server determines, based on the display level of the display message, not to update the current display content of the target display area, the instrument server generates a third receipt and sends the third receipt to the SOA client, so that the SOA client knows that the target display area of the instrument server is still displaying the current display content and will not be updated to display the content corresponding to the display message.
[0163] Optionally, after receiving the third receipt information, if the SOA client learns that the target display area of the instrument server does not update the current display content to the content corresponding to the display message, the SOA client will consider that the content corresponding to the display message has not been successfully displayed in the target display area. The SOA client will then determine whether the content corresponding to the display message is temporary information content, that is, execute step 2010.
[0164] The meter interconnection method provided in this application embodiment allows for human-computer interaction between the meter server and the SOA client via a target control. The SOA client then initiates a display request to the meter server. The meter server determines whether the content corresponding to the display message is pre-displayed content. If so, it refuses to display the content requested by the current display request. If not, it determines the target display area from the extended display area based on the display message, obtains the display level of the display message, and uses a unified preset priority sequence to determine whether to display the content corresponding to the display message in the target display area. This method abandons the traditional approach of determining content display based on specific business functions, simplifying the business function relationships on the meter server. Through information interaction between the meter server and the SOA client, the corresponding content from the SOA client is displayed on the meter server. This enables the meter server's business functions to include both professional meter display and extended service display. It defines the functional definition of the meter product and resolves the business coupling and corresponding secondary development in extended display through the extended display service of the meter server. This provides a unified interface solution for meter interconnection, improves the maturity of meter interconnection functions, and enhances the productization, standardization, and competitiveness of meter products.
[0165] Figure 4 This is a schematic diagram of the structure of an instrument interconnection device provided in an embodiment of this application. This instrument interconnection device is applied to an instrument server. Figure 4 As shown, the instrument interconnection device 400 provided in this application embodiment includes:
[0166] The receiving module 401 is used to receive the display request sent by the SOA client, the display request carrying the display message of the SOA client;
[0167] The first processing module 402 is used to respond to a display request to obtain the display level of the display message, so as to determine whether to update the current display content of the target display area based on the display level;
[0168] The second processing module 403 is used to display the corresponding content of the message in the target display area if the condition is met, generate the first receipt information, and send the first receipt information to the SOA client.
[0169] In one possible design, the second processing module 403 is specifically used for:
[0170] Adjust the display layout of the target display area according to the display message, so as to display the content corresponding to the display message according to the display layout.
[0171] In one possible design, the first processing module 401 is further used for:
[0172] Determine whether the content corresponding to the displayed message is the pre-displayed content;
[0173] If so, generate a second receipt and send the second receipt to the SOA client. The second receipt is used to indicate that the pre-displayed content is kept displayed in the regular display area.
[0174] If not, respond to the display request to determine the target display area from the extended display area;
[0175] The regular display area and the extended display area correspond to different display areas on the instrument panel.
[0176] In one possible design, the instrument interconnect device 400 also includes: a transmitting module;
[0177] The sending module is used to send extended service information to the SOA client, so that the SOA client responds to the extended service information to determine whether to subscribe to the extended display service of the extended display area;
[0178] The receiving module 401 is also used to receive subscription information sent by the SOA client, the subscription information being used to characterize the SOA client's subscription to the extended display service of the extended display area.
[0179] In one possible design, the receiving module 401 is also used to: receive interaction requests sent by the SOA client;
[0180] The sending module is also used to respond to interactive requests and detect touch operations in the target control, and to send interactive responses to the SOA client in response to touch operations;
[0181] The interactive response is used to instruct the SOA client to initiate a display request.
[0182] In one possible design, the second processing module 403 is also used for:
[0183] Generate a notification message and send it to the historical SOA client. The notification message is used to instruct the historical SOA client to stop sending the current display content to the instrument server. The historical SOA client is the SOA client that requested the instrument server to display the current display content.
[0184] In one possible design, the first processing module 402 is specifically used for:
[0185] Respond to the display request to obtain the message attribute information of the display message;
[0186] The display level is obtained based on the message attribute information.
[0187] In one possible design, the first processing module 402 is further used for:
[0188] Get the content level of the currently displayed content;
[0189] Determine whether the display level takes precedence over the content level based on a preset priority sequence;
[0190] If so, confirm and update the current display content of the target display area;
[0191] If not, generate a third receipt and send it to the SOA client.
[0192] The instrument interconnection device provided in this application embodiment can execute the corresponding steps of the instrument interconnection method on the instrument server side in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described again here.
[0193] Figure 5 This is a schematic diagram of another instrument interconnection device provided in an embodiment of this application, which is applied to an SOA client. For example... Figure 5 As shown, the instrument interconnection device 500 provided in this application embodiment includes:
[0194] The sending module 501 is used to send a display request to the instrument server. The display request carries the display message of the SOA client.
[0195] The receiving module 502 is used to receive the first receipt information sent by the instrument server. The first receipt information is used to indicate that the content corresponding to the display message has been successfully displayed in the target display area of the instrument server.
[0196] In one possible design, the instrument interconnect device 500 further includes a processing module for:
[0197] If a second or third receipt message is received from the instrument server, determine whether the content of the displayed message is temporary information.
[0198] If so, the current extended display service corresponding to the unsubscribe display request.
[0199] In one possible design, the processing module is also used for:
[0200] Check if the connection between yourself and the instrument server is intact;
[0201] If so, receive extended service information sent by the instrument server;
[0202] In response to extended service information, generate subscription information and send the subscription information to the instrument server;
[0203] The subscription information is used to characterize the extended display service that the SOA client subscribes to in the extended display area.
[0204] In one possible design, the processing module is also used for:
[0205] Generate an interaction request and send it to the instrument server;
[0206] The instrument server receives the touch operation response and sends an interactive response to the SOA client.
[0207] Among them, the touch operation is detected by the instrument server from the target control, and the interactive response is used to instruct the SOA client to initiate a display request.
[0208] In one possible design, the receiving module 502 is also used for:
[0209] Receive notification information sent by the instrument server. The notification information is used to instruct the historical SOA client to stop sending the current display content of the target display area to the instrument server. The historical SOA client is the SOA client that requested the instrument server to display the current display content.
[0210] The instrument interconnection device provided in this application embodiment can execute the corresponding steps of the instrument interconnection method on the SOA client side in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described again here.
[0211] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 6 As shown, the electronic device 600 may include a processor 601 and a memory 602 communicatively connected to the processor 601.
[0212] The memory 602 is used to store programs. Specifically, the program may include program code, which includes computer-executable instructions.
[0213] The memory 602 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.
[0214] The processor 601 is used to execute computer execution instructions stored in the memory 602 to implement the various steps in the instrument interconnection method on the instrument server side in the above embodiments.
[0215] The processor 601 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application.
[0216] Optionally, the memory 602 can be either standalone or integrated with the processor 601. When the memory 602 is a device independent of the processor 601, the electronic device 600 may further include:
[0217] Bus 603 is used to connect processor 601 and memory 602. The bus can be an industry standard architecture (ISA) bus, a peripheral component (PCI) bus, or an extended industry standard architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc., but this does not mean there is only one bus or one type of bus.
[0218] Optionally, in a specific implementation, if the memory 602 and the processor 601 are integrated on a single chip, the memory 602 and the processor 601 can communicate through an internal interface.
[0219] Figure 7 This is a schematic diagram of the structure of another electronic device provided in an embodiment of this application. For example... Figure 7 As shown, the electronic device 700 may include a processor 701 and a memory 702 communicatively connected to the processor 701.
[0220] The memory 702 is used to store programs. Specifically, the program may include program code, which includes computer-executable instructions.
[0221] The memory 702 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.
[0222] The processor 701 is used to execute computer execution instructions stored in the memory 702 to implement the various steps in the SOA client-side instrument interconnection method in the above embodiments.
[0223] The processor 701 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application.
[0224] Optionally, the memory 702 can be either standalone or integrated with the processor 701. When the memory 702 is a device independent of the processor 701, the electronic device 700 may further include:
[0225] Bus 703 is used to connect processor 701 and memory 702. The bus can be an industry standard architecture (ISA) bus, a peripheral component (PCI) bus, or an extended industry standard architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc., but this does not mean there is only one bus or one type of bus.
[0226] Optionally, in a specific implementation, if the memory 702 and the processor 701 are integrated on a single chip, the memory 702 and the processor 701 can communicate through an internal interface.
[0227] This application also provides a computer-readable storage medium, which may include various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk. Specifically, the computer-readable storage medium stores computer-executable instructions, which are used in various steps of the methods in the above embodiments.
[0228] This application also provides a computer program product, including computer execution instructions that, when executed by a processor, implement the various steps in the methods described above.
[0229] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the claims.
[0230] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.
Claims
1. A method of instrument interconnection, characterized by, The method is applied to an instrument server, and the instrument server internally provides an SOA service to an IVI through an SOA architecture, the IVI comprises an SOA client, and the method comprises the following steps: sending extended service information to the SOA client, so that the SOA client determines whether to subscribe to the extended display service of the extended display area according to the extended service information; receiving subscription information sent by the SOA client, wherein the subscription information is used to indicate that the SOA client subscribes to the extended display service of the extended display area; receiving a display request sent by the SOA client, wherein the display request carries a display message of the SOA client, and the display message is created by the SOA client according to to-be-displayed content; and obtaining a display level of the display message in response to the display request, so as to determine whether to update current display content of a target display area according to the display level; if yes, displaying content corresponding to the display message in the target display area, and generating first return information and sending the first return information to the SOA client.
2. The method of instrument interconnection of claim 1, wherein, The step of displaying the content corresponding to the display message in the target display area comprises the following steps: adjusting a display layout of the target display area according to the display message, so as to display the content corresponding to the display message according to the display layout.
3. The method of instrument interconnection of claim 2, wherein, Before the step of obtaining the display level of the display message in response to the display request, the method further comprises the following steps: determining whether the content corresponding to the display message is pre-displayed content; if yes, generating second return information and sending the second return information to the SOA client, wherein the second return information is used to indicate that the pre-displayed content is kept displayed in a regular display area; if no, determining the target display area from an extended display area in response to the display request; wherein the regular display area and the extended display area correspond to different display areas of an instrument panel respectively.
4. The method of instrument interconnection of claim 1, wherein, After the step of receiving the subscription information sent by the SOA client, the method further comprises the following steps: receiving an interaction request sent by the SOA client; detecting a touch operation on a target control in response to the interaction request, and sending an interaction response to the SOA client in response to the touch operation; wherein the interaction response is used to instruct the SOA client to initiate the display request.
5. The method of instrument interconnection of claim 1, wherein, After the step of generating the first return information, the method further comprises the following steps: generating notification information and sending the notification information to a historical SOA client, wherein the notification information is used to instruct the historical SOA client to stop sending current display content to the instrument server, and the historical SOA client is an SOA client that requests the instrument server to display the current display content.
6. The method of instrument interconnection according to any of claims 1-5, wherein, The step of obtaining the display level of the display message in response to the display request comprises the following steps: obtaining message attribute information of the display message in response to the display request; obtaining the display level according to the message attribute information.
7. The method of instrument interconnection of claim 6, wherein, The step of determining whether to update the current display content of the target display area according to the display level comprises the following steps: obtaining a content level of the current display content; determining whether the display level is prior to the content level according to a preset level priority sequence. If yes, it is determined to update the current display content of the target display area; If no, third receipt information is generated and sent to the SOA client.
8. A method of instrument interconnection, characterized by, The method is applied to an SOA client and includes: Receiving extended service information sent by an instrument server; the instrument server internally provides SOA service to IVI through SOA architecture, and the IVI includes the SOA client; Generating subscription information in response to the extended service information and sending the subscription information to the instrument server; the subscription information is used to indicate that the SOA client subscribes to extended display service of the extended display area; Sending a display request to the instrument server to enable the instrument server to obtain a display level of the display message, to determine whether to update the current display content of the target display area according to the display level, and to display content corresponding to the display message in the target display area when it is determined to update the current display content of the target display area; the display request carries the display message of the SOA client, and the display message is created by the SOA client according to to-be-displayed content; Receiving first receipt information sent by the instrument server; the first receipt information is used to indicate that the content corresponding to the display message has been successfully displayed in the target display area of the instrument server.
9. The method of instrument interconnection of claim 8, wherein, Before the receiving, the method further includes: If second receipt information or third receipt information sent by the instrument server is received, it is determined whether the content corresponding to the display message is temporary information content; If yes, the current time extended display service corresponding to the display request is unsubscribed.
10. The instrument interconnection method of claim 8 or 9, wherein, Before the receiving, the method further includes: Querying whether a connection state between the SOA client and the instrument server is intact; The receiving includes: If yes, receiving the extended service information sent by the instrument server.
11. The method of instrument interconnection of claim 10, wherein, After the sending, the method further includes: Generating an interaction request and sending the interaction request to the instrument server; Receiving an interaction response sent by the instrument server to the SOA client in response to a touch operation; the touch operation is detected by the instrument server on a target control, and the interaction response is used to instruct the SOA client to initiate the display request. If the SOA client is a historical SOA client, the method further includes:
12. The method of instrument interconnection of claim 10, wherein, Receiving notification information sent by the instrument server; the notification information is used to instruct the historical SOA client to stop sending the current display content of the target display area to the instrument server; the historical SOA client is an SOA client that requests the instrument server to display the current display content. The method is applied to an instrument server, and the instrument server internally provides SOA service to IVI through SOA architecture; the IVI includes an SOA client, and the device includes:
13. An instrument interconnection device, characterized by The sending module is configured to send extended service information to the SOA client, so that the SOA client determines whether to subscribe to the extended display service of the extended display area according to the extended service information; The receiving module is configured to receive subscription information sent by the SOA client, and the subscription information is used to indicate that the SOA client subscribes to the extended display service of the extended display area; and receive a display request sent by the SOA client, and the display request carries a display message of the SOA client, and the display message is created by the SOA client according to to-be-displayed content; The first processing module is configured to obtain a display level of the display message according to the display request, and determine whether to update current display content of a target display area according to the display level; The second processing module is configured to, if yes, display content corresponding to the display message in the target display area, and generate first return information and send the first return information to the SOA client.
14. An instrument interconnection device, characterized by The apparatus applied to the SOA client, and the apparatus comprises: The receiving module is configured to receive extended service information sent by the instrument service end; wherein the instrument service end provides SOA service to IVI through an SOA architecture, and the IVI comprises an SOA client; The sending module is configured to generate subscription information according to the extended service information, and send the subscription information to the instrument service end; the subscription information is used to indicate that the SOA client subscribes to the extended display service of the extended display area; and send a display request to the instrument service end, so that the instrument service end obtains a display level of the display message, determines whether to update current display content of a target display area according to the display level, and displays content corresponding to the display message in the target display area when it is determined to update the current display content of the target display area; the display request carries a display message of the SOA client, and the display message is created by the SOA client according to to-be-displayed content; The receiving module is configured to receive first return information sent by the instrument service end, and the first return information is used to indicate that content corresponding to the display message has been successfully displayed in the target display area of the instrument service end.
15. An electronic device, comprising: Comprise: A processor, and a memory connected with the processor in communication; The memory stores computer execution instructions; The processor executes the computer execution instructions stored in the memory, so as to realize the instrument interconnection method in any one of claims 1-7, or any one of claims 8-12.
16. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer execution instructions, and the computer execution instructions are executed by the processor to realize the instrument interconnection method in any one of claims 1-7, or any one of claims 8-12.
Citation Information
Patent Citations
Instrument screen display method and terminal equipment
CN115993925A