CN115225703A - Message communication method, device, vehicle and storage medium - Google Patents

Message communication method, device, vehicle and storage medium Download PDF

Info

Publication number
CN115225703A
CN115225703A CN202210351122.XA CN202210351122A CN115225703A CN 115225703 A CN115225703 A CN 115225703A CN 202210351122 A CN202210351122 A CN 202210351122A CN 115225703 A CN115225703 A CN 115225703A
Authority
CN
China
Prior art keywords
tool
message
message pushing
vehicle machine
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210351122.XA
Other languages
Chinese (zh)
Other versions
CN115225703B (en
Inventor
谌鹏翔
谢钰敏
陈作勰
陈聪传
李晓平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Automobile Group Co Ltd
Original Assignee
Guangzhou Automobile Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Automobile Group Co Ltd filed Critical Guangzhou Automobile Group Co Ltd
Priority to CN202210351122.XA priority Critical patent/CN115225703B/en
Publication of CN115225703A publication Critical patent/CN115225703A/en
Application granted granted Critical
Publication of CN115225703B publication Critical patent/CN115225703B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application discloses a message communication method, a message communication device, a vehicle and a storage medium. The method is applied to the server. The method comprises the following steps: acquiring vehicle machine account information; determining a target message pushing tool in a plurality of message pushing tools based on the vehicle machine account information; sending the tool information of the target message pushing tool to the vehicle machine to allow the vehicle machine to establish a message channel with the target message pushing tool based on the tool information; and sending the message to be pushed to the vehicle machine based on the message channel. The message communication method can adapt and integrate various message pushing tools, determine the message pushing tools adapted to the vehicle machine account information, realize the platform of the server and the vehicle machine in the message pushing service, and reduce the workload.

Description

Message communication method, device, vehicle and storage medium
Technical Field
The present application relates to the field of data transmission technologies, and in particular, to a message communication method, an apparatus, a vehicle, and a storage medium.
Background
With the development of computer technology, the application of large-scale system integration platforms is more and more extensive. Each system in the integrated platform corresponds to a certain service field respectively, and provides system service for each user terminal in each service field. In the integrated platform, when the system needs to send system messages to each corresponding user terminal, different message pushing tools can be called to forward the system messages to be sent so as to reach each user terminal.
In the related art, when a message center carried by a vehicle-mounted multimedia system realizes the issuing and processing of messages, the uniqueness of a tool chain exists, most of the messages can only depend on one message pushing tool, and the message center cannot be adapted to other message pushing tools.
Disclosure of Invention
The application provides a message communication method, a message communication device, a vehicle and a storage medium.
In a first aspect, the present application provides a message communication method, which is applied to a server. The method comprises the following steps: acquiring vehicle machine account information; determining a target message pushing tool in a plurality of message pushing tools based on the vehicle machine account information; sending the tool information of the target message pushing tool to the vehicle machine to allow the vehicle machine to establish a message channel with the target message pushing tool based on the tool information; and sending the message to be pushed to the vehicle machine based on the message channel.
In a second aspect, the present application provides a message communication method, which is applied to a vehicle machine of a vehicle. The method comprises the following steps: the method comprises the steps that vehicle machine account information is sent to a server, and the vehicle machine account information is used for enabling the server to determine a target message pushing tool corresponding to the vehicle machine account information; acquiring tool information of a target message pushing tool fed back by a server based on vehicle machine account information; establishing a message channel with a target message pushing tool based on the tool information; acquiring a message to be pushed sent by a target message pushing tool based on a message channel; the message to be pushed is used for the vehicle-mounted machine to send to the local application program.
In a third aspect, the present application provides a message communication method, which is applied to a message communication system, where the message communication system includes a server and a car machine. The method comprises the following steps: the server acquires vehicle machine account information sent by a vehicle machine; the server determines a target message pushing tool in the plurality of message pushing tools based on the vehicle machine account information; the server sends the tool information of the target message pushing tool to the vehicle machine; the vehicle machine establishes a message channel with a target message pushing tool based on the tool information; the server sends the message to be pushed to the vehicle machine based on the message channel; and the message to be pushed is used for the vehicle-mounted machine to send to the application program.
In a fourth aspect, the present application provides a message communication apparatus, comprising: the acquisition module is used for acquiring vehicle machine account information; the tool determination module is used for determining a target message pushing tool in a plurality of message pushing tools based on the vehicle machine account information; the information sending module is used for sending the tool information of the target message pushing tool to the vehicle machine so as to allow the vehicle machine to establish a message channel with the target message pushing tool based on the tool information; and the message pushing module is used for sending the message to be pushed to the vehicle machine based on the message channel.
In a fifth aspect, the present application provides a vehicle comprising one or more processors and memory; one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the methods described above.
In a sixth aspect, the present application provides a computer readable storage medium storing program code executable by a processor, the computer readable storage medium comprising stored program code, wherein the method described above is performed when the program code runs.
The embodiment of the application provides a message communication method, a message communication device, a vehicle and a storage medium. In the method, a server acquires vehicle machine account information, determines a target message pushing tool in a plurality of message pushing tools according to the vehicle machine account information, and sends tool information of the target message pushing tool to a vehicle machine, so that the vehicle machine establishes a message channel between the vehicle machine and the target message pushing tool according to working information, and the server can send a message to be pushed to the vehicle machine through the message channel. The message communication method can adapt and integrate various message pushing tools, determine the message pushing tools adapted to the vehicle machine account information, realize the platform of the server and the vehicle machine in the message pushing service, and reduce the workload.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the description below are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram illustrating an application environment of a message communication method proposed in the present application.
Fig. 2 is a flowchart illustrating a message communication method according to a first embodiment of the present application.
Fig. 3 is a flowchart illustrating a message communication method according to a third embodiment of the present application.
Fig. 4 shows a flow chart of a message communication method according to a third embodiment of the present application.
Fig. 5 is a flowchart illustrating a message communication method according to a fourth embodiment of the present application.
Fig. 6 shows a flowchart of a message communication method according to a fifth embodiment of the present application.
Fig. 7 is a flowchart illustrating a message communication method according to a sixth embodiment of the present application.
Fig. 8 is a flowchart illustrating a message communication method according to a seventh embodiment of the present application.
Fig. 9 shows a functional block diagram of a message communication device provided in the present application.
Fig. 10 shows a functional block diagram of another message communication device provided in the present application.
Fig. 11 is a functional block diagram of another message communication device provided in the present application.
Fig. 12 shows a functional block diagram of a vehicle according to an embodiment of the present application.
Fig. 13 shows a functional block diagram of a computer-readable storage medium proposed by an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
With the development of computer technology, the application of large-scale system integration platforms is more and more extensive. Each system in the integrated platform corresponds to a certain service field respectively, and provides system service for each user terminal in each service field. In the integrated platform, when the system needs to send system messages to each corresponding user terminal, different message pushing tools can be called to forward the system messages to be sent so as to reach each user terminal.
In the related art, when a message center carried by a vehicle-mounted multimedia system realizes the issuing and processing of messages, the uniqueness of a tool chain exists, most of the messages can only depend on one message pushing tool, and the message center cannot be adapted to other message pushing tools.
In view of the above problems, the present application provides a message communication method, apparatus, vehicle, and storage medium. The method is applied to the server. The method comprises the following steps: acquiring vehicle machine account information; determining a target message pushing tool in a plurality of message pushing tools based on the vehicle machine account information; sending the tool information of the target message pushing tool to the vehicle machine to allow the vehicle machine to establish a message channel with the target message pushing tool based on the tool information; and sending the message to be pushed to the vehicle machine based on the message channel. The message communication method can adapt and integrate various message pushing tools, determine the message pushing tools adapted to the vehicle machine account information, realize the platform of the server and the vehicle machine in the message pushing service, and reduce the workload.
For the convenience of describing the scheme of the present application in detail, an application environment of the message communication method provided by the embodiment of the present application is described below with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a schematic diagram of an application environment of a message communication method according to the present application. As shown in fig. 1, the message communication method provided in the present application may be applied to a vehicle 10 equipped with a message communication system 100, and further, the vehicle 10 may be a land vehicle, such as an automobile, an electric vehicle, a rail car, etc., an air vehicle, such as an airplane, etc., and may also be an unmanned platform, such as an unmanned vehicle, an unmanned aerial vehicle, an automatic mobile platform (e.g., a mobile cart, etc.), etc., which is not limited in this application. In the present embodiment, the vehicle 10 is illustrated as an automobile, and the vehicle 10 may include a message communication system 100.
The message communication system 100 includes a server 110 and a vehicle-side system 120, and in this embodiment, the server 110 may be a cloud server that provides basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a web service, cloud communication, a middleware service, a domain name service, a security service, a CDN (Content Delivery Network), and a big data and artificial intelligence platform. In the embodiment of the present application, the server 110 is configured with a plurality of message pushing tools 112, and the message pushing tools 112 are configured to establish a message channel with the vehicle-end system 120, so that the server 110 can send a message to be pushed to the vehicle-end system 120 through the message pushing tools 112.
The car-end system 120 includes a car machine 122, an application 126, and a tool installation package 124 of the message pushing tool 112.
The vehicle machine 112 may generally be a vehicle center console, and an explicit level of control thereof may be embodied by a center console and/or a console of the vehicle 10. In other embodiments, for example, for an automatic driving vehicle, the car machine 122 may also be formed based on a control center such as a server or a microcomputer control chip, but is not limited thereto. The server may be an independent physical server, or may be a server cluster or a distributed system formed by a plurality of physical servers. The microcomputer control chip can be a chip of an analog integrated circuit, a chip of a digital integrated circuit or a chip of a mixed signal integrated circuit. The in-vehicle machine 112 may be provided with a transceiver or a signal transmission interface, through which the vehicle controller 110 may receive the message to be pushed sent by the server 110 and send the message to be pushed to the application 126. The tool installation package 124 is used to establish a connection with the message pushing tool 112, so that data transmission between the car machine 112 and the server 110 is performed. The number of applications 126 is not limited, and the applications 126 may be vehicle-mounted applications such as a vehicle-mounted map that provides navigation to the vehicle and the user, and a vehicle-mounted music player that plays music. The message pushing tool 112 may send the message to be pushed to the application 126. The application 126 and the message pushing tool 112 may be in a one-to-many correspondence relationship, that is, one application 126 may correspond to a plurality of message pushing tools 112, that is, one application 126 may correspond to a plurality of adapted message pushing tools 112, through which messages can be pushed to the application 126. In still other embodiments, the applications 126 and the message pushing tools 112 are in a many-to-one correspondence, i.e., a plurality of applications 126 correspond to one message pushing tool 112.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Referring to fig. 2, fig. 2 schematically illustrates a message pushing method according to a first embodiment of the present application. The method is applied to a server, the server is communicated with a vehicle machine in a vehicle, the server is provided with a plurality of message pushing tools, and the message pushing tools are used for pushing messages to the vehicle machine. The method may include the following steps S210 to S240.
And step S210, acquiring the vehicle machine account information.
The vehicle machine account information refers to information capable of identifying a vehicle machine, and may include information such as an account, a password, a face, and a fingerprint. As one mode, the terminal device downloads a corresponding vehicle control application, where the vehicle control application may be downloaded through a two-dimensional code provided by a scanning car machine, or may be directly downloaded in an application store. In some embodiments, the car machine may be provided with an identification code, the identification code is an identification code capable of uniquely identifying the car machine, the identification code may be a two-dimensional code, a barcode, a serial number, or the like, and the vehicle control application program obtains the car machine account information by scanning the identification code.
In other embodiments, a face recognition device is arranged in the vehicle, the face recognition device automatically recognizes a face after detecting that a person is in the vehicle and sends a recognition result to a vehicle control application program, and the vehicle control application program acquires vehicle account information according to the recognition result. In still other embodiments, a bluetooth identification device is disposed in the vehicle, and the bluetooth identification device identifies the electronic key after detecting that the electronic key is unlocked and sends the identification result to a vehicle control application program, and the vehicle control application program obtains the vehicle account information according to the identification result. And after the vehicle control application program acquires the vehicle machine account information, the vehicle machine account information is sent to the server so that the server can identify the vehicle machine account information.
Step S220, determining a target message pushing tool in a plurality of message pushing tools based on the vehicle machine account information.
And according to the vehicle account information sent by the vehicle control application program, the server identifies the vehicle account information and determines a target message pushing tool in the plurality of message pushing tools. As a mode, the server may determine, according to the car machine account information, an application program corresponding to the car machine account information, and the server determines, according to the application programs, a target message push tool among the plurality of message push tools. In some embodiments, the vehicle machine performs message transmission after establishing a message channel with the target message pushing tool based on the tool information, and in the message transmission process, the server may detect the vehicle machine running load information and adjust the target message pushing tool according to the vehicle machine load information. In other embodiments, before determining the target message pushing tool among the plurality of message pushing tools according to the application program, the server further obtains the vehicle machine operation load information, then selects a message pushing tool with functionality matching the vehicle machine operation load information from the plurality of message pushing tools, and determines the message pushing tool as the target message pushing tool.
Step S230, sending the tool information of the target message pushing tool to the in-vehicle machine, so as to allow the in-vehicle machine to establish a message channel with the target message pushing tool based on the tool information.
The tool information refers to information capable of representing the identity of the target message pushing tool. In this embodiment, the server may be provided with a tool information base, in which tool information of a plurality of message pushing tools is stored. And after the server determines the target message pushing tool, searching tool information of the target message pushing tool in a tool information base, and sending the tool information to the vehicle machine.
The tool information may include an identification code of the targeted message pushing tool as well as authentication information. The identification code is a code capable of uniquely identifying the target message pushing tool, and may include at least one of a MAC address, an IP address, a specific tag, and the like of the target message pushing tool. The vehicle machine can quickly identify the identity information of the target message pushing tool through the identification code of the target message pushing tool. As a mode, the car machine comprises a tool installation package of a plurality of message pushing tools and is provided with a tool installation package library, and the tool installation package library stores a plurality of tool installation packages and corresponding identification codes thereof. After the vehicle machine obtains the identification code of the target message pushing tool, whether a tool installation package corresponding to the identification code is stored in the tool installation package is searched, if the vehicle machine determines that the tool installation package corresponding to the identification code is stored in the tool installation package library, the vehicle machine downloads and calls the tool installation package, so that the tool installation package and the target message pushing tool are in communication connection. And if the in-vehicle machine determines that the tool installation package corresponding to the identification code is not stored in the tool installation package library, the in-vehicle machine sends a feedback message to the server to remind the server to replace the target message pushing tool.
The authentication information is information that enables the target message push tool to confirm that the communication connection is legal, and the authentication information may include an account number and a password of the target message push tool. After determining the tool installation package of the target message pushing tool, the vehicle machine sends communication request information to the target message pushing tool, wherein the communication request information carries authentication information of the target message pushing tool, so that the tool installation package is in communication connection with the target message pushing tool. As a mode, after receiving communication request information sent by a vehicle machine, a target message pushing tool reads authentication information carried in the communication request information, and if an account and a password in the authentication information are correct, the target message pushing tool establishes communication connection with a tool installation package, so that the vehicle machine establishes a message channel with the target message pushing tool. If the account number and the password in the authentication information are wrong, the target message pushing tool does not establish communication connection with the tool installation package, and optionally, the target message pushing tool can refuse access of the vehicle machine and send feedback information aiming at the communication request information to the vehicle machine.
And step S240, sending the message to be pushed to the vehicle machine based on the message channel.
In this embodiment, the server sends the message to be pushed to the car machine through the message channel, where the message to be pushed may be a text, a picture, a video, and the like, and the message to be pushed is used for the car machine to send to the application program. And after receiving the message to be pushed, the vehicle machine sends the message to be pushed to the application program. In some embodiments, after the car machine obtains the message to be pushed sent by the server, the car machine directly sends the message to be pushed to the application program. In other embodiments, after the car machine acquires the message to be pushed sent by the server, the message to be pushed is unified into a predetermined format, and then the message to be pushed after the format conversion is sent to the application program.
The embodiment of the application provides a message communication method. According to the method, a server obtains vehicle machine account information, determines a target message pushing tool in a plurality of message pushing tools according to the vehicle machine account information, and sends tool information of the target message pushing tool to a vehicle machine, so that the vehicle machine establishes a message channel between the vehicle machine and the target message pushing tool according to working information, and the server can send a message to be pushed to the vehicle machine through the message channel. The message communication method can be used for carrying out adaptation integration on various message pushing tools and determining the message pushing tools adapted to the vehicle machine account information, so that the platform of the server and the vehicle machine in the message pushing service is realized, and the workload is reduced.
Referring to fig. 3, fig. 3 schematically illustrates a message communication method according to a second embodiment of the present application. The method is applied to a server, the server is communicated with a vehicle machine in a vehicle, the server is provided with a plurality of message pushing tools, and the message pushing tools are used for pushing messages to the vehicle machine. The method may include the following steps S310 to S380.
And step S310, acquiring vehicle machine account information.
In this embodiment, the specific implementation of step S310 may refer to the description of step S210 provided in the above embodiment, and details are not repeated here.
Step S320, according to the vehicle machine account information, determining a target tool group corresponding to the vehicle machine account information from the plurality of message pushing tools.
In this embodiment, the server is configured with a plurality of message pushing tools, the server determines a target tool group in the plurality of message pushing tools by identifying the vehicle machine account information according to the vehicle machine account information sent by the vehicle control application program, where the target tool group includes at least two message pushing tools. As a mode, the server may determine an application program corresponding to the car machine account information according to the car machine account information, and the server determines a target message pushing tool among the plurality of message pushing tools according to the application program. In this embodiment of the application, the server may be provided with a vehicle machine account information base and an application program base, where the vehicle machine account information base stores a plurality of vehicle machine account information and application programs corresponding to the vehicle machine account information, and the application program base stores a plurality of application programs and target tool groups corresponding to the application programs. And after reading the vehicle machine account information sent by the vehicle machine, the server searches an application program corresponding to the vehicle machine account information from the vehicle machine account information base, and if the vehicle machine account information sent by the vehicle machine is stored in the vehicle machine account information base, the server searches a target tool group corresponding to the application program from the application program base according to the application program corresponding to the vehicle machine account information. If the vehicle machine account information sent by the vehicle machine is not stored in the vehicle machine account information base, the server can send feedback information to the vehicle machine, and the feedback information is used for representing that the vehicle machine account information is wrong.
Step S330, determining a target message pushing tool in the target tool group according to the performance of the message pushing tool in the target tool group.
In this embodiment, the server determines the target message pushing tool according to the performance of a plurality of message pushing tools in the target tool group, wherein the functionality of the target message pushing tool is greater than the functionality of the rest of the message pushing tools in the target tool group, and the functionality characterizes the capability of the message pushing service provided by the target message pushing tool. As a manner, the server may be provided with a message tool library, a plurality of target message pushing tools and functional expressions thereof are stored in the message tool library, after the server determines a target tool group corresponding to the application program, the server determines the message pushing tools included in the target tool group, then searches the functionality of the message pushing tools in the message tool library, selects the message pushing tool with the strongest functionality from the message pushing tools, and determines the message pushing tool as the target message pushing tool, thereby facilitating smooth message transmission between the server and the vehicle.
After determining the target message pushing tool, the server sends the tool information of the target message pushing tool to the vehicle machine, so as to allow the vehicle machine to establish a message channel with the target message pushing tool based on the tool information.
And step S340, acquiring the running load information of the vehicle machine.
The vehicle machine establishes a message channel between the vehicle machine and the target message pushing tool based on the tool information and then transmits the message, and in the process of transmitting the message, the server can detect the running load information of the vehicle machine and adjust the target message pushing tool according to the load information of the vehicle machine. In this embodiment, the car machine operation load information may include system load information and network load information, where the system load information may include chip information of the car machine or/and storage information or/and number of running programs, and the network load information may include current signal strength of the network or/and current transmission speed, and the like.
In some embodiments, the system load information may include chip information of the car machine, where the chip information may be a chip type and a chip parameter, such as a parameter representing a processing capability of data, or a parameter indicating an occupancy rate of a chip processor, and the car machine is favorable for the server to select an information push tool capable of being burdened by a current system load according to the chip information by informing the server of the chip information, so that information transmission between the server and the car machine is smooth.
In other embodiments, the system load information may include storage information of the car machine, the storage information may be a size of a remaining storage space of the car machine, the server may have a storage space threshold, the storage space threshold may be set by a default of the server or may be set by a user in a self-defined manner, in general, the storage space threshold may be 16G, 32G, 64G, or the like, for example, the storage space threshold is 32G, the car machine sends the size of the remaining storage space to the server, and if the remaining storage space is 20G, the server determines that the remaining storage space is smaller than the storage space threshold, the server determines that the system load information is larger than the load threshold. If the remaining storage space is 50G, the server determines that the remaining storage space is larger than the storage space threshold value, and then the server determines that the system load information is smaller than the load threshold value, so that the server can select an information pushing tool capable of being borne by the current system load according to the storage information, and the information transmission between the server and the vehicle machine is smooth.
In still other embodiments, the system load information may include the number of programs run by the car machine, the server may be provided with a signal strength threshold, the program number threshold may be set by the server as a default, or may be set by a user as a self-defined setting, generally, the program number threshold may be 3, 4, 5, and the like, for example, the program number threshold is 5, the car machine sends the number of programs run to the server, and if the number of programs run is 6, the server determines that the number of programs run is greater than the program number threshold, the server determines that the system load information is greater than the load threshold. If the number of the running programs is 3, and the server determines that the number of the running programs is smaller than the program number threshold, the server determines that the system load information is smaller than the load threshold, so that the server can select a message pushing tool which can be borne by the current system load according to the number of the running programs, and the message transmission between the server and the vehicle machine is smooth.
In some embodiments, the network load information includes a signal strength of the network, specifically, the car machine may be provided with a network detector, the network detector may detect a network signal strength of a message channel between the car machine and the target message pushing tool, the server may be provided with a signal strength threshold, the signal strength threshold may be set by the server as a default or by a user, generally, the signal strength threshold may be-30 dbm, -50dbm, -70dbm, or the like, exemplarily, the signal strength threshold is-50 dms, if the network detector detects that the network signal strength is-70 dbm, the car machine sends the network signal strength to the server, and the server determines that the network signal strength is smaller than the signal strength threshold, the server determines that the network load information is greater than the load threshold. If the network detector detects that the network signal strength is-30 dbm, the car machine sends the network signal strength to the server, and the server determines that the network signal strength is greater than the signal strength threshold value, the server determines that the network load information is smaller than the load threshold value, so that the server can select a message pushing tool capable of being borne by the current network load according to the network signal strength, and message transmission between the server and the car machine is smooth.
In other embodiments, the network load information includes a transmission speed, specifically, the network detector may further detect a transmission speed of a message channel between the car machine and the target message pushing tool, the server may have a speed threshold, where the speed threshold may be set by the server as a default or may be set by a user, generally, the speed threshold may be 50mb/s, 100mb/s, 200mb/s, and the like, and exemplarily, the speed threshold is 100mb/s, if the network detector detects that the transmission speed is 50mb/s, the car machine sends the transmission speed to the server, and if the server determines that the transmission speed is less than the speed threshold, the server determines that the network load information is greater than the load threshold. If the network detector detects that the transmission speed is 150mb/s, the vehicle-mounted machine sends the transmission speed to the server, and the server determines that the transmission speed is greater than the speed threshold, and then determines that the network load information is smaller than the load threshold, so that the server can select a message pushing tool capable of being borne by the current network load according to the network transmission speed, and the message transmission between the server and the vehicle-mounted machine is smooth.
Step S350, if at least one of the system load information and the network load information is greater than or equal to the load threshold, determining to update the message pushing tool in the target tool group according to the performance of the message pushing tool in the target tool group.
The update message pushing tool is a message pushing tool which replaces a target message pushing tool used currently, the functionality of the update message pushing tool is lower than that of the target message pushing tool, and the message pushing tool with lower functionality is selected under the condition that at least one of the load information and the network load information is larger than or equal to a load threshold value, so that excessive system resources can be prevented from being occupied, and smooth message transmission between the server and the vehicle machine is ensured.
If the server determines that at least one of the system load information and the network load information is greater than or equal to the load threshold, in order to ensure smooth communication connection, the server determines to update the message pushing tools in the target tool group according to the performance of the message pushing tools in the target tool group. As one way, the server searches a message pushing tool library for a message pushing tool matching the system load information and the network load information, and determines the message pushing tool as an update target message pushing tool.
And step S360, updating the target message pushing tool into an updated target message pushing tool.
In this embodiment, the server determines to update the target message pushing tool to be the target message pushing tool.
Step S370, sending the tool information of the target message pushing tool to the car machine, so as to allow the car machine to establish a message channel with the target message pushing tool based on the tool information.
And step S380, sending the message to be pushed to the vehicle machine based on the message channel.
In this embodiment, the specific implementation of step S370 to step S380 may refer to the description of step S230 to step S240 provided in the above embodiment, and details are not repeated here.
The embodiment of the application provides a message communication method. In the method, a server acquires vehicle machine account information and determines a target working group in a plurality of message pushing tools according to the vehicle machine account information, then selects a message pushing tool with the strongest functionality as a target message pushing tool in the target working group, acquires a vehicle machine running load in a communication process, and determines whether the target message pushing tool needs to be replaced according to the vehicle machine running load. The message communication method can adapt and integrate various message pushing tools, determine the message pushing tools adapted to the vehicle machine account information, realize the platform of the server and the vehicle machine in the message pushing service, and reduce the workload.
Referring to fig. 4, fig. 4 schematically illustrates a message communication method according to a third embodiment of the present application. The method is applied to a server, the server is communicated with a vehicle machine in a vehicle, the server is provided with a plurality of message pushing tools, and the message pushing tools are used for pushing messages to the vehicle machine. The method may include the following steps S410 to S460.
And step S410, acquiring vehicle account information.
Step S420, according to the vehicle machine account information, determining a target tool group corresponding to the vehicle machine account information from the plurality of message pushing tools.
In this embodiment, the specific implementation of steps S410 to S420 may refer to the description of steps S310 to S320 provided in the above embodiments, and details are not repeated here.
And step S430, acquiring the running load information of the vehicle machine.
And after the server determines the target tool group, continuously acquiring the running load information of the vehicle machine. The car machine operation load information may include system load information and network load information, the system load information may include chip information of the car machine or/and storage information or/and number of running programs, and the network load information may include signal strength of a current network or/and a current transmission speed, and the like.
In this embodiment, the specific implementation of step S430 may refer to the description of step S340 provided in the above embodiments, and is not repeated here.
And step S440, determining a target message pushing tool in the target tool group according to the vehicle machine running load information.
As one way, the server may be provided with a message tool library in which a plurality of target message pushing tools and their functionalities are stored, and the functionalities characterize the capabilities of the message pushing services provided by the target message pushing tools. The server determines the message pushing tools contained in the target tool group, then searches the functionality of the message pushing tools in the message tool library, selects the message pushing tools with the functionality matched with the vehicle machine running load information from the message tool library, and determines the message pushing tools as the target message pushing tools.
In step S440, the specific steps of determining the target message pushing tool according to the operation load information may refer to the descriptions of step S340 to step S350 described above. For example, if at least one of the system load information and the network load information is greater than or equal to a load threshold, it is determined that the target message pushing tool is a first type of message pushing tool, and if both the system load information and the network load information are less than the load threshold, it is determined that the target message pushing tool is a second type of message pushing tool, where the functionality of the first type of message pushing tool is lower than that of the second type of message pushing tool.
Step S450, the tool information of the target message pushing tool is sent to the vehicle machine, so that the vehicle machine is allowed to establish a message channel with the target message pushing tool based on the tool information.
And step S460, sending the message to be pushed to the vehicle machine based on the message channel.
In this embodiment, the specific implementation of steps S450 to S460 may refer to the description of steps S230 to S240 provided in the above embodiments, and details are not repeated here.
The embodiment of the application provides a message communication method. According to the method, a server acquires vehicle machine account information, determines a target tool group in a plurality of message pushing tools according to the vehicle machine account information, acquires vehicle machine operation load information, determines a target message pushing tool in the target tool group according to the vehicle machine operation load information, and sends tool information of the target message pushing tool to a vehicle machine, so that the vehicle machine establishes a message channel between the vehicle machine and the target message pushing tool according to work information, and the server can send a message to be pushed to the vehicle machine through the message channel. The message communication method can adapt and integrate various message pushing tools, determine the message pushing tools adapted to the vehicle machine account information, realize the platform of the server and the vehicle machine in the message pushing service, and reduce the workload.
Referring to fig. 5, fig. 5 schematically illustrates a message communication method according to a fourth embodiment of the present application. The method is applied to a vehicle machine of a vehicle, the vehicle machine is communicated with a server, the server is provided with a plurality of message pushing tools, and the message pushing tools are used for pushing messages to the vehicle machine. The method may include the following steps S510 to S540.
And step S510, sending the vehicle account information to the server.
The vehicle machine account information refers to information capable of identifying a vehicle machine, and can comprise information such as an account, a password, a face and a fingerprint. As one mode, the car machine may communicate with the server through a private network channel, specifically, the car machine may establish TCP/IP communication with the server, and communicate based on a private protocol message of HTTP, for example, get, post, and the like.
In this embodiment, the specific implementation of step S510 may refer to the description of step S210 provided in the above embodiments, and is not repeated here.
And step S520, acquiring tool information of the target message pushing tool fed back by the server based on the vehicle machine account information.
The tool information refers to information capable of representing the identity of the target message pushing tool, and the tool information may include an identification code of the target message pushing tool and authentication information. In this embodiment, the server may be provided with a tool information base, in which tool information of a plurality of message pushing tools is stored. And after the server determines the target message pushing tool, searching tool information of the target message pushing tool in a tool information base, and sending the tool information to the vehicle machine.
Step S530, establishing a message channel with the target message pushing tool based on the tool information.
The identification code refers to a code capable of uniquely identifying the targeted message pushing tool, and may include at least one of a MAC address, an IP address, a specific tag, and the like of the targeted message pushing tool. The vehicle machine is used for rapidly identifying the identity information of the target message pushing tool through the identification code of the target message pushing tool and determining the tool installation package. After the vehicle machine determines the tool installation package, the tool installation package is embedded into the application program, so that the message push service can be provided. And the application program calls a general interface provided by the tool installation package through the code of the tool installation package to realize communication connection with the target message pushing tool, so that the message to be pushed is acquired.
The authentication information is information that enables the target message push tool to confirm that the communication connection is legal, and the authentication information may include an account number and a password of the target message push tool. And after determining the tool installation package of the target message pushing tool, the vehicle machine sends authentication information to the target message pushing tool. And the target message pushing tool reads the authentication information carried by the communication request information, and if the account and the password in the authentication information are correct, the target message pushing tool and the tool installation package establish communication connection, so that the vehicle machine establishes a message channel with the target message pushing tool. If the account number and the password in the authentication information are wrong, the target message pushing tool does not establish communication connection with the tool installation package, optionally, the target message pushing tool can refuse access of the vehicle machine and send feedback information aiming at the communication request information to the vehicle machine, and therefore communication safety between the target message pushing tool and the vehicle machine is guaranteed.
Step S540, based on the message channel, obtains the message to be pushed sent by the target message pushing tool.
In this embodiment, the server sends the message to be pushed to the target message pushing tool, and the target message pushing tool sends the message to be pushed to the car machine through the message channel, where the message to be pushed may be a text, a picture, a video, and the like. And after receiving the message to be pushed, the vehicle machine sends the message to be pushed to the application program. In some embodiments, after the in-vehicle machine obtains the message to be pushed sent by the target message pushing tool, the in-vehicle machine directly sends the message to be pushed to the application program. In other embodiments, after obtaining the message to be pushed sent by the target message pushing tool, the car machine unifies the message to be pushed into a predetermined format, and then sends the message to be pushed after the format conversion to the application program. After receiving the message to be pushed, the application program can execute a corresponding task according to the content in the message to be pushed. For example, a built-in map of an external terminal device may send map information to a vehicle-mounted map of a vehicle device through the message pushing method, specifically, the terminal device determines location information of a certain location in the built-in map, and the location information may include longitude and latitude, a location type, location details, and the like of the location. The terminal equipment sends the position information of the position to the server, the server sends the position information to the vehicle machine as a message to be pushed through the target message pushing tool, and the vehicle machine sends the position information to the vehicle-mounted map after receiving the position information, so that the vehicle-mounted map can obtain the position information of the position for subsequent navigation or route planning.
The embodiment of the application provides a message communication method. In the method, a vehicle machine sends vehicle machine account information to a server, the server determines a target message pushing tool in a plurality of message pushing tools according to the vehicle machine account information and sends the tool information of the target message pushing tool to the vehicle machine, the vehicle machine establishes a message channel between the vehicle machine and the target message pushing tool according to working information, and the vehicle machine acquires a message to be pushed sent by the server through the message channel and sends the message to be pushed to an application program. The message communication method can adapt and integrate various message pushing tools, determine the message pushing tools adapted to the vehicle machine account information, realize the platform of the server and the vehicle machine in the message pushing service, and reduce the workload.
Referring to fig. 6, fig. 6 schematically illustrates a message communication method according to a fifth embodiment of the present application. The method is applied to a vehicle machine of a vehicle, the vehicle machine is communicated with a server, the server is provided with a plurality of message pushing tools, and the message pushing tools are used for pushing messages to the vehicle machine. The method may include the following steps S610 to S660.
And step S610, sending the vehicle account information to the server.
And step S620, acquiring tool information of the target message pushing tool fed back by the server based on the vehicle machine account information.
Step S630, based on the tool information, establishing a message channel with the target message pushing tool.
Step S640, obtaining the message to be pushed sent by the target message pushing tool based on the message channel.
In this embodiment, the specific implementation of steps S610 to S640 may refer to the descriptions of steps S510 to S540 provided in the above embodiments, and details are not repeated here.
Step S650, converting the format of the message to be pushed into a predetermined format.
Since formats of messages to be pushed sent by different message pushing tools may not be consistent, the car machine needs to convert messages to be pushed in different formats into a predetermined format. The message to be pushed can be characters, pictures, videos and the like. In some embodiments, the message to be pushed is a text, the predetermined format of the text may be a json format, if the text format sent by the target message pushing tool is the json format, the car machine reserves the original format of the message to be pushed, and if the text format sent by the target message pushing tool is another format, such as xml, txt, link, or the like, the car machine converts the format of the message to be pushed into the predetermined json format. In other embodiments, the message to be pushed is a picture, the predetermined format of the picture may be a jpg format, if the picture format sent by the target message pushing tool is the jpg format, the car machine reserves the original format of the message to be pushed, and if the picture format sent by the target message pushing tool is another format, such as png, gif, link, and the like, the car machine converts the format of the message to be pushed into the predetermined jpg format. In still other embodiments, the message to be pushed is a video, the predetermined format of the video may be an avi format, if the video format sent by the target message pushing tool is an avi format, the car machine reserves the original format of the message to be pushed, and if the video format sent by the target message pushing tool is another format, such as mov, mp4, link, and the like, the car machine converts the format of the message to be pushed into the predetermined avi format.
Step S660, sending the format-converted message to be pushed to the application program.
In this embodiment, after acquiring messages to be pushed in different formats, the car machine sends the messages to be pushed converted into the predetermined format to the application program.
In some embodiments, the car machine is further provided with a subscription library, and all the application programs subscribed to the message push service are stored in the subscription library. Before sending the message to be pushed after the format conversion to the application program, the car machine further needs to check whether the application program is in a subscription library of the car machine. And if the vehicle machine determines that the application program is in the subscription library, the vehicle machine sends the message to be pushed after the format conversion to the application program. And if the vehicle machine determines that the application program is not in the subscription library, the message to be pushed after the format conversion is not sent.
The embodiment of the application provides a message communication method. According to the method, a vehicle machine sends vehicle machine account information to a server, the server determines a target message pushing tool in a plurality of message pushing tools according to the vehicle machine account information and sends the tool information of the target message pushing tool to the vehicle machine, the vehicle machine establishes a message channel between the vehicle machine and the target message pushing tool according to work information, and the vehicle machine acquires a message to be pushed sent by the server through the message channel, converts the message to be pushed into a preset format and sends the message to an application program. The message communication method can be used for carrying out adaptation integration on various message pushing tools and determining the message pushing tools adapted to the vehicle machine account information, so that the platform of the server and the vehicle machine in the message pushing service is realized, the workload is reduced, and further, the adaptability of the message to be pushed and the application program can be improved by converting the format of the message to be pushed.
Referring to fig. 7, fig. 7 schematically illustrates a message communication method according to a sixth embodiment of the present application. The method is applied to a vehicle machine of a vehicle, the vehicle machine is communicated with a server, the server is provided with a plurality of message pushing tools, and the message pushing tools are used for pushing messages to the vehicle machine. The method may include the following steps S710 to S750.
And step S710, sending the vehicle machine account information to the server.
And step S720, acquiring tool information of the target message pushing tool fed back by the server based on the vehicle machine account information.
The tool information refers to information capable of representing the identity of the target message pushing tool, and the tool information may include an identification code of the target message pushing tool and authentication information.
In this embodiment, the specific implementation of step S710 to step S720 may refer to the description of step S510 to step S520 provided in the above embodiment, and details are not repeated here.
Step S730, determining a tool installation package corresponding to the target message pushing tool based on the identification code.
In this embodiment, the identification code refers to a code capable of uniquely identifying the target message pushing tool, and the identification code may include at least one of a MAC address, an IP address, a specific tag, and the like of the target message pushing tool. The vehicle machine can quickly identify the identity information of the target message pushing tool through the identification code of the target message pushing tool. As a mode, the car machine comprises a tool installation package of a plurality of message pushing tools and is provided with a tool installation package library, and the tool installation package library stores a plurality of tool installation packages and corresponding identification codes thereof. After the vehicle machine obtains the identification code of the target message pushing tool, whether a tool installation package corresponding to the identification code is stored in the tool installation package is searched, if the vehicle machine determines that the tool installation package corresponding to the identification code is stored in the tool installation package library, the vehicle machine downloads and calls the tool installation package, so that the tool installation package and the target message pushing tool are in communication connection. And if the vehicle machine determines that the tool installation package corresponding to the identification code is not stored in the tool installation package library, the vehicle machine sends a feedback message to the server to remind the server to replace the target message pushing tool.
Step S740, establishing a communication connection between the tool kit and the target message pushing tool based on the authentication information, so as to establish a message channel with the target message pushing tool.
The authentication information is information that enables the target message push tool to confirm that the communication connection is legal, and the authentication information may include an account number and a password of the target message push tool. After determining the tool installation package of the target message pushing tool, the vehicle machine sends communication request information to the target message pushing tool, wherein the communication connection request information carries authentication information of the target message pushing tool, so that the tool installation package and the target message pushing tool are in communication connection. As a mode, after receiving communication request information sent by a vehicle machine, a target message pushing tool reads authentication information carried by the communication request information, and if an account and a password in the authentication information are correct, the target message pushing tool establishes communication connection with a tool installation package, so that the vehicle machine establishes a message channel with the target message pushing tool. If the account number and the password in the authentication information are wrong, the target message pushing tool does not establish communication connection with the tool installation package, optionally, the target message pushing tool can refuse the access of the vehicle machine and send feedback information aiming at the communication request information to the vehicle machine, so that the communication safety between the target message pushing tool and the vehicle machine is ensured.
And step S750, acquiring the message to be pushed sent by the target message pushing tool based on the message channel.
In this embodiment, reference may be made to the description of step S540 provided in the above embodiments for specific implementation of step S750, and details are not repeated here.
The embodiment of the application provides a message communication method. In the method, a vehicle machine sends vehicle machine account information to a server, the server determines a target message pushing tool in a plurality of message pushing tools according to the vehicle machine account information and sends the tool information of the target message pushing tool to the vehicle machine, the vehicle machine determines a tool installation package of the target message pushing tool according to codes in working information and authentication information and establishes a message channel with the target message pushing tool, and the vehicle machine acquires a message to be pushed sent by the server through the message channel and sends the message to be pushed to an application program. The message communication method can be used for carrying out adaptation integration on various message pushing tools and determining the message pushing tools adapted to the vehicle machine account information, so that the platform of the server and the vehicle machine in the message pushing service is realized, the workload is reduced, and further, the communication safety between the vehicle machine and the server can be ensured by establishing a message channel through codes and authentication information.
Referring to fig. 8, fig. 8 schematically illustrates a message communication method according to a sixth embodiment of the present application. The method is applied to a message communication system, the message communication system comprises a server and a vehicle machine, the vehicle machine is communicated with the server, the server is provided with a plurality of message pushing tools, and the message pushing tools are used for pushing messages to the vehicle machine. The method may include the following steps S810 to S850.
And step S810, the vehicle machine sends vehicle machine account information to the server.
The vehicle machine account information refers to information capable of identifying a vehicle machine, and may include information such as an account, a password, a face, and a fingerprint. In a specific application example, after a vehicle of a user is powered on, a vehicle machine is started, and communicates with a server through a private network channel, specifically, the vehicle machine may establish TCP/IP communication with the server, and communicate based on a private protocol message of HTTP, for example, get, post, and the like, and send vehicle machine account information to the server.
In this embodiment, the specific implementation of step S810 may refer to the description of step S210 provided in the above embodiments, and details are not repeated here. In step S820, the server determines a target message pushing tool among the plurality of message pushing tools based on the car machine account information.
The server determines a target message pushing tool from the plurality of message pushing tools by identifying the vehicle machine account information according to the vehicle machine account information sent by the vehicle control application program.
In a specific application example, a plurality of applications, such as a map application, a voice call application, an instant message, a video call application, a multimedia application, etc., may be installed on the car machine, and the messages to be pushed that can be received by the applications are sent via corresponding message pushing tools. Thus, an application may correspond to a different message pushing tool, which requires the server to determine the message pushing tool corresponding to the application as the targeted message pushing tool for subsequent message transmission.
In this embodiment, the specific implementation of step S820 may refer to the descriptions of step S220, or step S320 to step S360, or step S420 to step S440 provided in the above embodiments, and is not described herein again.
And step S830, the server sends the tool information of the target message pushing tool to the vehicle machine.
The tool information refers to information capable of representing the identity of the target message pushing tool, and the tool information may include an identification code of the target message pushing tool and authentication information. In a specific application example, for example, the server determines that the corresponding message pushing tool is a map tool based on a map, the server sends tool information of the map tool to the car machine, the car machine sends communication request information to the map tool to establish a message channel with the map tool after acquiring the identification code and the health information of the map tool, and the map tool sends a message to be pushed, such as location information, to the car machine through the message channel. In this embodiment, the specific implementation of step S830 may refer to the description of step S230 provided in the above embodiment, and details are not repeated here.
And step 840, the vehicle machine establishes a message channel with the target message pushing tool based on the tool information.
The identification code refers to a code capable of uniquely identifying the targeted message pushing tool, and may include at least one of a MAC address, an IP address, a specific tag, and the like of the targeted message pushing tool. The vehicle machine can quickly identify the identity information of the target message pushing tool through the identification code of the target message pushing tool and determine the tool installation package. The authentication information is information that enables the target message push tool to confirm that the communication connection is legal, and the authentication information may include an account number and a password of the target message push tool. And after determining the tool installation package of the target message pushing tool, the vehicle machine sends authentication information to the target message pushing tool.
In this embodiment, the specific implementation of step S840 may refer to the descriptions of step S530 or step S730 through step S740 provided in the above embodiments, and details are not repeated here.
And step S850, the server sends the message to be pushed to the car machine based on the message channel.
In this embodiment, the server sends the message to be pushed to the car machine through the message channel, where the message to be pushed may be a text, a picture, a video, and the like, and the message to be pushed is used for the car machine to send to the application program. In this embodiment, reference may be made to the description of step S240 provided in the above embodiments for specific implementation of step S850, which is not repeated herein.
The embodiment of the application provides a message communication method. According to the method, a server obtains vehicle account information and determines a target message pushing tool in a plurality of message pushing tools according to the vehicle account information, the tool information of the target message pushing tool is sent to a vehicle machine, the vehicle machine establishes a message channel between the vehicle machine and the target message pushing tool according to working information, the server can send a message to be pushed to the vehicle machine through the message channel, and the vehicle machine sends the message to be pushed to an application program after receiving the message to be pushed. The message communication method can adapt and integrate various message pushing tools, determine the message pushing tools adapted to the vehicle machine account information, realize the platform of the server and the vehicle machine in the message pushing service, and reduce the workload.
Referring to fig. 9, a functional block diagram of a message communication device 900 provided in the present application, the message communication device 900 includes: an acquisition module 910, a tool determination module 920, an information sending module 930, and a message pushing module 940.
The device 900 is applied to a server, the server communicates with a vehicle machine in a vehicle, and the server is configured with a plurality of message pushing tools, and the message pushing tools are used for pushing messages to the vehicle machine. The obtaining module 910 is configured to obtain vehicle machine account information; the tool determining module 920 is configured to determine a target message pushing tool among the plurality of message pushing tools based on the vehicle machine account information; the information sending module 930 is configured to send the tool information of the target message pushing tool to the in-vehicle machine, so as to allow the in-vehicle machine to establish a message channel with the target message pushing tool based on the tool information; the message pushing module 940 is configured to send the message to be pushed to the car machine based on the message channel.
In some embodiments, the tool determining module 920 is further configured to determine, according to the vehicle machine account information, a target tool group corresponding to the vehicle machine account information in the plurality of message pushing tools, where the target tool group includes at least two message pushing tools; determining a target message pushing tool in the target tool group according to the performance of the message pushing tool in the target tool group; wherein the functionality of the target message pushing tool is greater than the functionality of the remaining message pushing tools within the group of target tools.
In some embodiments, the tool determination module 920 is further configured to obtain the vehicle operating load information; the vehicle machine running load information comprises system load information and network load information; if at least one of the system load information and the network load information is greater than or equal to the load threshold, determining to update the message pushing tool in the target tool group according to the performance of the message pushing tool in the target tool group; the functionality of the updated target message pushing tool is adapted to the running load information of the vehicle machine; and updating the target message pushing tool into an updated target message pushing tool.
In some embodiments, the tool determining module 920 is further configured to obtain, according to the car machine account information, an application program corresponding to the car machine account information; based on the application program, determining a message pushing tool adapted to the application program in a plurality of message pushing tools, and taking the message pushing tool adapted to the application program as a target tool group.
In some embodiments, the information sending module 930 is further configured to send tool information of the target message pushing tool to the car machine, where the tool information includes an identification code of the target message pushing tool and authentication information, so as to allow the car machine to determine a tool installation package corresponding to the target message pushing tool based on the identification code, and establish a message channel with the target message pushing tool according to the authentication information and the tool installation package.
The embodiment of the application provides a message communication device. In the device, a server acquires vehicle machine account information, determines a target message pushing tool in a plurality of message pushing tools according to the vehicle machine account information, and sends tool information of the target message pushing tool to a vehicle machine, so that the vehicle machine establishes a message channel between the vehicle machine and the target message pushing tool according to working information, and the server can send a message to be pushed to the vehicle machine through the message channel. The message communication device can adapt and integrate various message pushing tools, determine the message pushing tools adapted to the vehicle machine account information, realize the platform of the server and the vehicle machine in the message pushing service, and reduce the workload.
It should be noted that, in the present application, an apparatus embodiment corresponds to the foregoing method embodiment, a specific implementation principle of each unit in the apparatus embodiment is similar to that in the foregoing method embodiment, and specific contents in the apparatus embodiment may refer to the method embodiment, which is not described again in the apparatus embodiment.
Referring to fig. 10, a block diagram of a message communication device 1000 according to the present application illustrates that the message communication device 1000 includes: an obtaining module 1010, an obtaining tool information module 1020, a channel establishing module 1030 and a message to be pushed module 1040.
The device 1000 is applied to a vehicle machine of a vehicle, the vehicle machine is communicated with a server, the server is provided with a plurality of message pushing tools, and the message pushing tools are used for pushing messages to the vehicle machine. The obtaining module 1010 is configured to send vehicle machine account information to a server, where the vehicle machine account information is used for the server to determine a target message pushing tool corresponding to the vehicle machine account information; the tool information acquiring module 1020 is configured to acquire tool information of a target message pushing tool fed back by the server based on the vehicle account information; the channel establishing module 1030 is configured to establish a message channel with a target message pushing tool based on the tool information; the message to be pushed obtaining module 1040 is configured to obtain, based on the message channel, a message to be pushed sent by the target message pushing tool; and the message to be pushed is used for the vehicle-mounted device to send to the local application program.
In some embodiments, the module to acquire a message to be pushed 1040 is further configured to convert the format of the message to be pushed into a predetermined format; and sending the message to be pushed after the format conversion to an application program.
In some embodiments, the tool information includes an identification code of the targeted message pushing tool and authentication information. The channel establishing module 1030 is further configured to determine, based on the identification code, a tool installation package corresponding to the target message pushing tool;
and establishing a communication connection between the tool kit and the target message pushing tool based on the authentication information so as to establish a message channel with the target message pushing tool.
The embodiment of the application provides a message communication device. In the device, a vehicle machine sends vehicle machine account information to a server, the server determines a target message pushing tool in a plurality of message pushing tools according to the vehicle machine account information and sends the tool information of the target message pushing tool to the vehicle machine, the vehicle machine establishes a message channel between the vehicle machine and the target message pushing tool according to work information, and the vehicle machine acquires a message to be pushed sent by the server through the message channel and sends the message to be pushed to an application program. The message communication device can adapt and integrate various message pushing tools, determine the message pushing tools adapted to the vehicle machine account information, realize the platform of the server and the vehicle machine in the message pushing service, and reduce the workload.
Referring to fig. 11, a block diagram of a message communication device 1100 according to the present application is provided, where the message communication device 1100 includes: an account information obtaining module 1110, a push tool determining module 1120, a push tool sending information module 1130, a message channel establishing module 1140, and a message sending module 1150.
The device 1100 is applied to a message communication system, and the message communication system includes a server and a car machine. The vehicle machine is communicated with the server, the server is provided with a plurality of message pushing tools, and the message pushing tools are used for pushing messages to the vehicle machine. The account information obtaining module 1110 is configured to send vehicle terminal account information to a server by a vehicle terminal; the determine pushing tool module 1120 is used for the server to determine a target message pushing tool in the plurality of message pushing tools based on the vehicle machine account information; the push tool information sending module 1130 is used for the server to send the tool information of the target message push tool to the car machine; the message channel establishing module 1140 is used for the car machine to establish a message channel with the target message pushing tool based on the tool information; the message sending module 1150 is used for the server to send the message to be pushed to the car machine based on the message channel; and the message to be pushed is used for the vehicle to send to the application program.
The embodiment of the application provides a message communication device. In the device, a server acquires vehicle machine account information, determines a target message pushing tool in a plurality of message pushing tools according to the vehicle machine account information, and sends the tool information of the target message pushing tool to a vehicle machine, the vehicle machine establishes a message channel between the vehicle machine and the target message pushing tool according to working information, the server can send a message to be pushed to the vehicle machine through the message channel, and the vehicle machine sends the message to be pushed to an application program after receiving the message to be pushed. The message communication device can adapt and integrate various message pushing tools, determine the message pushing tools adapted to the vehicle machine account information, realize the platform of the server and the vehicle machine in the message pushing service, and reduce the workload.
Referring to fig. 12, a block diagram of a vehicle according to the present application is shown.
Based on the message communication method and the message communication device, another vehicle 1200 capable of executing the message communication method is further provided in the embodiment of the present application. The vehicle 1200 includes one or more processors 1210 (only one shown) and a memory 1220 coupled to each other. The memory 1220 stores programs that can execute the contents of the foregoing embodiments, and the processor 1210 executes the programs stored in the memory 1220.
Processor 1210 may include one or more cores for processing data, among other things. The processor 1210, using various interfaces and circuitry, interfaces with various components throughout the vehicle 1200, performs various functions of the vehicle 1200 and processes data by executing or executing instructions, programs, sets of identification codes or instruction sets stored in the memory 1220, and invoking data stored in the memory 1220. Alternatively, the processor 1210 may be implemented in hardware using at least one of Digital Signal Processing (DSP), field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 1210 may integrate one or a combination of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 1210, but may be implemented by a communication chip.
The Memory 1220 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 1220 may be used to store instructions, programs, identification codes, sets of identification codes, or sets of instructions. The memory 1220 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like.
Referring to fig. 13, a computer-readable storage medium is provided. The computer-readable medium 1300 has stored therein program code that can be invoked by a processor to perform the methods described in the method embodiments above.
The computer-readable storage medium 1300 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer-readable storage medium 1300 includes a non-volatile computer-readable storage medium. The computer readable storage medium 1300 has storage space for program code 1310 for performing any of the method steps of the method described above. The program code can be read from and written to one or more computer program products. The program code 1310 may be compressed, for example, in a suitable form.
In summary, the embodiments of the present application provide a message communication method, device, vehicle, and storage medium. According to the method, a server obtains vehicle machine account information, determines a target message pushing tool in a plurality of message pushing tools according to the vehicle machine account information, and sends tool information of the target message pushing tool to a vehicle machine, so that the vehicle machine establishes a message channel between the vehicle machine and the target message pushing tool according to working information, and the server can send a message to be pushed to the vehicle machine through the message channel. The message communication method can be used for carrying out adaptation integration on various message pushing tools and determining the message pushing tools adapted to the vehicle machine account information, so that the platform of the server and the vehicle machine in the message pushing service is realized, and the workload is reduced.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Moreover, various embodiments or examples and features of various embodiments or examples described in this specification can be combined and combined by one skilled in the art without being mutually inconsistent.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or to implicitly indicate the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of identification code which include one or more executable instructions for implementing specific logical functions or steps in the process, and alternate implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical feature diagrams may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (12)

1. A message communication method is applied to a server, the server is communicated with a vehicle machine in a vehicle, the server is configured with a plurality of message pushing tools, and the message pushing tools are used for pushing messages to the vehicle machine; the method comprises the following steps:
acquiring vehicle machine account information;
determining a target message pushing tool in a plurality of message pushing tools based on the vehicle machine account information;
sending tool information of the target message pushing tool to the vehicle machine to allow the vehicle machine to establish a message channel with the target message pushing tool based on the tool information;
and sending the message to be pushed to the vehicle machine based on the message channel.
2. The method of claim 1, wherein determining a target message pushing tool among a plurality of message pushing tools based on the car machine account information comprises:
according to the vehicle machine account information, determining a target tool group corresponding to the vehicle machine account information in a plurality of message pushing tools, wherein the target tool group comprises at least two message pushing tools;
determining a target message pushing tool in the target tool group according to the performance of the message pushing tool in the target tool group; wherein the functionality of the target message pushing tool is greater than the functionalities of the rest of the message pushing tools in the group of target tools, the functionalities characterizing the capabilities of the message pushing services provided by the target message pushing tool.
3. The method of claim 2, wherein after determining a target message pushing tool in the group of target tools based on the capabilities of the message pushing tools in the group of target tools, the method further comprises:
acquiring vehicle machine running load information; the vehicle machine running load information comprises system load information and network load information;
if at least one of the system load information and the network load information is greater than or equal to a load threshold, determining to update a message pushing tool in the target tool group according to the performance of the message pushing tool in the target tool group; wherein the functionality of the update target message pushing tool is adapted to the in-vehicle machine running load information;
and updating the target message pushing tool to the updated target message pushing tool.
4. The method according to claim 2, wherein the determining, according to the in-vehicle machine account information, a target tool group corresponding to the in-vehicle machine account information among a plurality of the message pushing tools includes:
acquiring an application program corresponding to the vehicle machine account information according to the vehicle machine account information;
based on the application program, determining a message pushing tool adapted to the application program from a plurality of message pushing tools, and taking the message pushing tool adapted to the application program as a target tool group.
5. The method of claim 1, wherein said sending tool information of said target message pushing tool to said car machine to allow said car machine to establish a message channel with said target message pushing tool based on said tool information comprises:
and sending tool information of the target message pushing tool to the vehicle machine, wherein the tool information comprises an identification code and authentication information of the target message pushing tool, so as to allow the vehicle machine to determine a tool installation package corresponding to the target message pushing tool based on the identification code, and establish a message channel between the vehicle machine and the target message pushing tool according to the authentication information and the tool installation package.
6. A message communication method is characterized in that the message communication method is applied to a vehicle machine of a vehicle, the vehicle machine is communicated with a server, the server is configured with a plurality of message pushing tools, and the message pushing tools are used for pushing messages to the vehicle machine; the method comprises the following steps:
sending vehicle machine account information to a server, wherein the vehicle machine account information is used for the server to determine a target message pushing tool corresponding to the vehicle machine account information;
acquiring tool information of a target message pushing tool fed back by the server based on the vehicle machine account information;
establishing a message channel with the target message pushing tool based on the tool information;
acquiring a message to be pushed, which is sent by the target message pushing tool, based on the message channel; the message to be pushed is used for the vehicle-mounted device to send to a local application program.
7. The method of claim 6, wherein after the obtaining of the message to be pushed sent by the target message pushing tool based on the message channel, the method further comprises:
converting the format of the message to be pushed into a preset format;
and sending the message to be pushed after the format conversion to the application program.
8. The method of claim 6, wherein the tool information comprises an identification code of the targeted message pushing tool and authentication information; the establishing of the message channel with the target message pushing tool based on the tool information comprises:
determining a tool installation package corresponding to the target message pushing tool based on the code;
and establishing communication connection between the tool kit and the target message pushing tool based on the authentication information so as to establish a message channel with the target message pushing tool.
9. A message communication method is characterized in that the message pushing method is applied to a message communication system, and the message communication system comprises a server and a vehicle machine; the vehicle machine is communicated with a server, the server is configured with a plurality of message pushing tools, and the message pushing tools are used for pushing messages to the vehicle machine; the method comprises the following steps:
the vehicle machine sends vehicle machine account information to the server;
the server determines a target message pushing tool in the plurality of message pushing tools based on the vehicle machine account information;
the server sends the tool information of the target message pushing tool to the vehicle machine;
the vehicle machine establishes a message channel with the target message pushing tool based on the tool information;
the server sends the message to be pushed to the vehicle machine based on the message channel; and the message to be pushed is used for the vehicle-mounted computer to send to an application program.
10. A message pushing device is characterized by being applied to a server; the device comprises:
the acquisition module is used for acquiring vehicle machine account information;
a tool determination module, configured to determine a target message pushing tool among the plurality of message pushing tools based on the vehicle machine account information;
the information sending module is used for sending the tool information of the target message pushing tool to the vehicle machine so as to allow the vehicle machine to establish a message channel with the target message pushing tool based on the tool information;
and the message pushing module is used for sending the message to be pushed to the vehicle machine based on the message channel.
11. A vehicle comprising one or more processors and memory;
one or more programs stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of any of claims 1-9.
12. A computer-readable storage medium storing a program identification code executable by a processor, wherein the method of any one of claims 1-9 is performed when the program identification code is run.
CN202210351122.XA 2022-04-02 2022-04-02 Message communication method, device, vehicle and storage medium Active CN115225703B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210351122.XA CN115225703B (en) 2022-04-02 2022-04-02 Message communication method, device, vehicle and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210351122.XA CN115225703B (en) 2022-04-02 2022-04-02 Message communication method, device, vehicle and storage medium

Publications (2)

Publication Number Publication Date
CN115225703A true CN115225703A (en) 2022-10-21
CN115225703B CN115225703B (en) 2023-12-22

Family

ID=83606602

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210351122.XA Active CN115225703B (en) 2022-04-02 2022-04-02 Message communication method, device, vehicle and storage medium

Country Status (1)

Country Link
CN (1) CN115225703B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105704158A (en) * 2016-04-08 2016-06-22 成都景博信息技术有限公司 Vehicle operation data communication method for mobile terminal
CN107172187A (en) * 2017-06-12 2017-09-15 北京明朝万达科技股份有限公司 A kind of SiteServer LBS and method
CN109788071A (en) * 2019-03-05 2019-05-21 上海博泰悦臻网络技术服务有限公司 User individual information push method, server-side, engine end and client
CN109981445A (en) * 2019-03-05 2019-07-05 上海博泰悦臻网络技术服务有限公司 Vehicle device message uniformly configures method for pushing, server-side, engine end and client
CN110300050A (en) * 2019-05-23 2019-10-01 中国平安人寿保险股份有限公司 Information push method, device, computer equipment and storage medium
CN111464642A (en) * 2020-04-01 2020-07-28 北京四维智联科技有限公司 Method and device for pushing messages of vehicle machine
EP3726806A1 (en) * 2017-12-15 2020-10-21 Nio Nextev Limited Method for remotely controlling vehicle on the basis of smart apparatus
CN111970315A (en) * 2019-05-20 2020-11-20 北京车和家信息技术有限公司 Method, device and system for pushing message
CN113992713A (en) * 2021-10-21 2022-01-28 国汽智控(北京)科技有限公司 Vehicle cloud communication method and device, electronic equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105704158A (en) * 2016-04-08 2016-06-22 成都景博信息技术有限公司 Vehicle operation data communication method for mobile terminal
CN107172187A (en) * 2017-06-12 2017-09-15 北京明朝万达科技股份有限公司 A kind of SiteServer LBS and method
EP3726806A1 (en) * 2017-12-15 2020-10-21 Nio Nextev Limited Method for remotely controlling vehicle on the basis of smart apparatus
CN109788071A (en) * 2019-03-05 2019-05-21 上海博泰悦臻网络技术服务有限公司 User individual information push method, server-side, engine end and client
CN109981445A (en) * 2019-03-05 2019-07-05 上海博泰悦臻网络技术服务有限公司 Vehicle device message uniformly configures method for pushing, server-side, engine end and client
CN111970315A (en) * 2019-05-20 2020-11-20 北京车和家信息技术有限公司 Method, device and system for pushing message
CN110300050A (en) * 2019-05-23 2019-10-01 中国平安人寿保险股份有限公司 Information push method, device, computer equipment and storage medium
CN111464642A (en) * 2020-04-01 2020-07-28 北京四维智联科技有限公司 Method and device for pushing messages of vehicle machine
CN113992713A (en) * 2021-10-21 2022-01-28 国汽智控(北京)科技有限公司 Vehicle cloud communication method and device, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张宏涛: "" 车载信息娱乐***安全研究"", 《中国博士学位论文全文数据库(电子期刊)工程科技Ⅱ辑》 *

Also Published As

Publication number Publication date
CN115225703B (en) 2023-12-22

Similar Documents

Publication Publication Date Title
US11800438B2 (en) Electronic device and method for operating access point information by electronic device
US8866604B2 (en) System and method for a human machine interface
CN110086636A (en) A kind of message distributing method based on mqtt, server and storage medium
US9225679B2 (en) Customer-identifying email addresses to enable a medium of communication that supports many service providers
USRE44191E1 (en) Electric device, computer program, system and method of setting up user applications
CN102571886B (en) The presence detection method of car-mounted terminal and system
CA2877360C (en) Methods and systems for content consumption
KR101265158B1 (en) Bus information system and processing method thereof
CN108377478B (en) Service prompting method, device, vehicle-mounted terminal and storage medium
KR20110082881A (en) Convergence method and apparatus for the vehicle on the basis of cellular phone connectivity
CN111083155A (en) Vehicle machine and cloud interaction method and device
JP2024016285A (en) Software upgrade method, device, and system
CN115225703B (en) Message communication method, device, vehicle and storage medium
CN103458025B (en) File sharing method and system based on geographical location
CN110662191A (en) Communication mode selection method and device and electronic equipment
CN102377793A (en) Flash interaction method and device based on mobile communication equipment terminal
CN110942527B (en) Sign-in and information sending method, client, electronic device and storage medium
CN111159581A (en) Method, system and server for inquiring gas station information
CN111753217B (en) Method and device for generating bus stop guide words
CN101662492A (en) Interaction system and method for point-to-point wireless mobile communication
KR20120040496A (en) A system and a method for controlling telematics middleware
US9654936B2 (en) Method and apparatus for normalizing navigation data for vehicle computing system playback
CN113395383B (en) Electronic device and information transmission method
US20220286522A1 (en) Server, data collection system, recording medium, and data collection method
CN111708741B (en) Map data filling method and equipment of vehicle-mounted information entertainment system

Legal Events

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