CN115225703B - Message communication method, device, vehicle and storage medium - Google Patents
Message communication method, device, vehicle and storage medium Download PDFInfo
- Publication number
- CN115225703B CN115225703B CN202210351122.XA CN202210351122A CN115225703B CN 115225703 B CN115225703 B CN 115225703B CN 202210351122 A CN202210351122 A CN 202210351122A CN 115225703 B CN115225703 B CN 115225703B
- Authority
- CN
- China
- Prior art keywords
- tool
- vehicle
- message
- message pushing
- 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.)
- Active
Links
- 230000006854 communication Effects 0.000 title claims abstract description 115
- 238000000034 method Methods 0.000 title claims abstract description 115
- 238000004891 communication Methods 0.000 title claims abstract description 114
- 238000009434 installation Methods 0.000 claims description 51
- 230000010354 integration Effects 0.000 abstract description 12
- 230000006978 adaptation Effects 0.000 abstract description 10
- 230000005540 biological transmission Effects 0.000 description 21
- 238000010586 diagram Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 10
- 238000012545 processing Methods 0.000 description 9
- 238000006243 chemical reaction Methods 0.000 description 7
- 230000009286 beneficial effect Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000003491 array Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000002349 favourable effect Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing 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 account information of a vehicle; determining a target message pushing tool from a plurality of message pushing tools based on the car machine account information; transmitting 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 sending the message to be pushed to the vehicle machine based on the message channel. The message communication method can carry out adaptation integration on various message pushing tools, and determines the message pushing tool adapted to the account information of the vehicle-mounted machine, so that the platform of the server and the vehicle-mounted machine in the message pushing service is realized, and the workload is reduced.
Description
Technical Field
The present disclosure relates to the field of data transmission technologies, and in particular, to a message communication method, a device, a vehicle, and a storage medium.
Background
With the development of computer technology, large-scale system integration platforms are increasingly used. Each system in the integrated platform corresponds to a certain service field respectively, and provides system service for each user terminal in the respective service field. In the integrated platform, when the system needs to send the system message to each corresponding user terminal, different message pushing tools can be called to forward the system message to be sent so as to send the system message to each user terminal.
In the related art, when a message center mounted on a vehicle-mounted multimedia system realizes the issuing and processing of a message, the single property of a tool chain exists, and most of the message centers only depend on one message pushing tool and 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 account information of a vehicle; determining a target message pushing tool from a plurality of message pushing tools based on the car machine account information; transmitting 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 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 applied to a vehicle machine of a vehicle. The method comprises the following steps: transmitting car machine account information to a server, wherein the car machine account information is used for the server to determine a target message pushing tool corresponding to the car machine account information; acquiring tool information of a target message pushing tool fed back by a server based on the vehicle-machine account information; based on the tool information, establishing a message channel with a target message pushing tool; based on the message channel, acquiring a message to be pushed, which is sent by a target message pushing tool; the message to be pushed is used for the vehicle-mounted machine to send to a local application program.
In a third aspect, the present application provides a message communication method applied to a message communication system, where the message communication system includes a server and a vehicle. The method comprises the following steps: the method comprises the steps that a server obtains vehicle account information sent by a vehicle; the server determines a target message pushing tool from a plurality of message pushing tools based on the car machine account information; the server sends tool information of the target message pushing tool to the vehicle machine; the vehicle 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; 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 messaging device comprising: the acquisition module is used for acquiring the account information of the vehicle; the tool determining module is used for determining a target message pushing tool from a plurality of message pushing tools based on the car machine account information; the information sending module is used for sending 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 is run.
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 the account information of the vehicle and determines a target message pushing tool from a plurality of message pushing tools according to the account information of the vehicle, and transmits tool information of the target message pushing tool to the vehicle, so that the vehicle establishes a message channel with the target message pushing tool according to working information, and the server can transmit a message to be pushed to the vehicle through the message channel. The message communication method can carry out adaptation integration on various message pushing tools, and determines the message pushing tool adapted to the account information of the vehicle-mounted machine, so that the platform of the server and the vehicle-mounted machine in the message pushing service is realized, and the workload is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 shows a schematic application environment of a message communication method proposed in the present application.
Fig. 2 shows a flowchart of a message communication method according to a first embodiment of the present application.
Fig. 3 shows a flowchart of a message communication method according to a third embodiment of the present application.
Fig. 4 shows a flowchart of a message communication method according to a third embodiment of the present application.
Fig. 5 shows a flowchart of 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 shows a flowchart of a message communication method according to a sixth embodiment of the present application.
Fig. 8 shows a flowchart of a message communication method provided in a seventh embodiment of the present application.
Fig. 9 shows a functional block diagram of a messaging device provided herein.
Fig. 10 shows a functional block diagram of another messaging device provided herein.
Fig. 11 shows a functional block diagram of yet another messaging device provided herein.
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 according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
With the development of computer technology, large-scale system integration platforms are increasingly used. Each system in the integrated platform corresponds to a certain service field respectively, and provides system service for each user terminal in the respective service field. In the integrated platform, when the system needs to send the system message to each corresponding user terminal, different message pushing tools can be called to forward the system message to be sent so as to send the system message to each user terminal.
In the related art, when a message center mounted on a vehicle-mounted multimedia system realizes the issuing and processing of a message, the single property of a tool chain exists, and most of the message centers only depend on one message pushing tool and cannot be adapted to other message pushing tools.
In view of the foregoing, 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 account information of a vehicle; determining a target message pushing tool from a plurality of message pushing tools based on the car machine account information; transmitting 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 sending the message to be pushed to the vehicle machine based on the message channel. The message communication method can carry out adaptation integration on various message pushing tools, and determines the message pushing tool adapted to the account information of the vehicle-mounted machine, so that the platform of the server and the vehicle-mounted machine in the message pushing service is realized, and the workload is reduced.
For convenience in describing the embodiments of the present application in detail, the application environment of the message communication method provided in the embodiments of the present application will be described with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a schematic view of an application environment of a message communication method according to the present application. As shown in fig. 1, the messaging method provided in the present application may be applied to a vehicle 10 configured with a messaging system 100, and further, the vehicle 10 may be a land vehicle, such as an automobile, an electric vehicle, a rail car, or the like, an air vehicle, such as an aircraft, or the like, or an unmanned platform, such as an unmanned vehicle, an unmanned aerial vehicle, an automatic mobile platform (such as a mobile cart, or the like), or the like, which is not limited in this application. In this embodiment, the vehicle 10 is illustrated as an automobile, and the vehicle 10 may include the messaging system 100.
The messaging system 100 includes a server 110 and a vehicle end system 120, and in this embodiment, the server 110 may be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network ), and basic cloud computing services such as big data and artificial intelligence platforms. 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 headend system 120 includes a vehicle 122, an application 126, and a tool installation package 124 for the message push tool 112.
The vehicle 112 may generally be a vehicle center console, and the explicit level of control may be embodied by a center console of the vehicle 10, or/and a console. In other embodiments, such as for an autonomous vehicle, the vehicle 122 may also be formed based on a server, a microcomputer control chip, or the like, 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 may 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 vehicle 112 may be provided with a transceiver or a signaling 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 is transferred between the vehicle 112 and the server 110. The number of applications 126 is not limited, and applications 126 may be vehicle-mounted applications such as vehicle-mounted maps, vehicle-mounted music players, etc., which may provide navigation to vehicles and users, and vehicle-mounted music players may play 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, i.e., one application 126 may correspond to a plurality of message pushing tools 112, i.e., one application 126 may correspond to a plurality of adapted message pushing tools 112 through which messages may be pushed to the application 126. In still other embodiments, the application 126 is in a many-to-one correspondence with the message pushing tool 112, i.e., multiple 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 provided in the first embodiment of the present application. The method is applied to a server, the server communicates with the vehicle machine in the vehicle, and the server is provided with a plurality of message pushing tools which are used for pushing messages to the vehicle machine. The method may include the following steps S210 to S240.
Step S210, obtaining the account information of the vehicle machine.
The car machine account information refers to information capable of identifying the car machine, and can comprise account number, password, face, fingerprint and other information. As one way, the corresponding vehicle control application program is downloaded in the terminal device, wherein the vehicle control application program may be downloaded through a two-dimensional code provided by the scanning vehicle machine or may be directly downloaded in an application store. In some embodiments, the vehicle may be provided with an identification code, which refers to an identification code that can uniquely identify the vehicle, where the identification code may be a two-dimensional code, a bar code, a serial number, etc., and the vehicle control application may obtain the vehicle 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 exists in the vehicle and sends a recognition result to a vehicle control application program, and the vehicle control application program obtains vehicle account information according to the recognition result. In still other embodiments, a bluetooth identification device is provided 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 the vehicle control application program, and the vehicle control application program obtains the vehicle account information according to the identification result. After the vehicle control application program obtains the vehicle account information, the vehicle account information is sent to the server so that the server can identify the vehicle account information.
Step S220, determining a target message pushing tool from the plurality of message pushing tools based on the car machine account information.
And according to the vehicle account information sent by the vehicle control application program, the server determines a target message pushing tool from the message pushing tools by identifying the vehicle account information. As one way, the server may determine, according to the car machine account information, an application corresponding to the car machine account information, and determine, according to the application, a target message pushing tool from among a plurality of message pushing tools. In some embodiments, the vehicle sets up a message channel with 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 vehicle running load information and adjust the target message pushing tool according to the vehicle running load information. In other embodiments, the server further obtains the vehicle operation load information before determining the target message pushing tool from the plurality of message pushing tools according to the application program, then selects a message pushing tool with the functionality matched with the vehicle operation load information from the plurality of message pushing tools, and determines the message pushing tool as the target message pushing tool.
In step S230, the tool information of the target message pushing tool is sent 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.
Tool information refers to information that characterizes 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. After the server determines the target message pushing tool, the tool information of the target message pushing tool is searched in the tool information base, and the tool information is sent to the vehicle machine.
The tool information may include an identification code of the targeted message pushing tool and authentication information. The identification code refers to 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, etc. of the target message pushing tool. The vehicle can quickly identify the identity information of the target message pushing tool through the identification code of the target message pushing tool. As one mode, the vehicle comprises a tool installation package of a plurality of message pushing tools, and is provided with a tool installation package library, wherein the tool installation package library stores a plurality of tool installation packages and corresponding identification codes thereof. After the vehicle machine acquires the identification code of the target message pushing tool, searching whether the tool installation package corresponding to the identification code is stored in the tool installation package, and if the vehicle machine determines that the tool installation package corresponding to the identification code is stored in the tool installation package library, downloading and calling the tool installation package by the vehicle machine so that the tool installation package and the target message pushing tool are in communication connection. If the vehicle machine determines that the tool installation package library does not store the tool installation package corresponding to the identification code, the vehicle machine sends a feedback message to the server so as to remind the server to replace the target message to push the tool.
The authentication information refers to information enabling the target message pushing tool to confirm that the communication connection is legal, and the authentication information can comprise an account number and a password of the target message pushing tool. After the vehicle determines the tool installation package of the target message pushing tool, the vehicle 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 as to be beneficial to establishing communication connection between the tool installation package and the target message pushing tool. As a way, after receiving the communication request information sent by the vehicle machine, the target message pushing tool reads the authentication information carried by the communication request information, and if the account number 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, and optionally, the target message pushing tool can reject the access of the vehicle machine and send feedback information aiming at the communication request information to the vehicle machine.
Step S240, based on the message channel, the message to be pushed is sent to the vehicle.
In this embodiment, the server sends a message to be pushed to the vehicle machine through the message channel, where the message to be pushed may be text, picture, video, etc., and the message to be pushed is used for the vehicle machine to send to the application program. And after the vehicle receives the message to be pushed, the message to be pushed is sent to the application program. In some embodiments, after the vehicle acquires the message to be pushed sent by the server, the vehicle directly sends the message to be pushed to the application program. In other embodiments, after the vehicle acquires the message to be pushed sent by the server, the vehicle first 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.
The embodiment of the application provides a message communication method. In the method, a server acquires the account information of the vehicle and determines a target message pushing tool from a plurality of message pushing tools according to the account information of the vehicle, and transmits tool information of the target message pushing tool to the vehicle, so that the vehicle establishes a message channel with the target message pushing tool according to working information, and the server can transmit a message to be pushed to the vehicle through the message channel. The message communication method can carry out adaptation integration on various message pushing tools, and determines the message pushing tool adapted to the account information of the vehicle-mounted machine, so that the platform of the server and the vehicle-mounted 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 communicates with the vehicle machine in the vehicle, and the server is provided with a plurality of message pushing tools which are used for pushing messages to the vehicle machine. The method may include the following steps S310 to S380.
Step S310, obtaining the car 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 will not be described in detail herein.
Step S320, determining a target tool group corresponding to the car machine account information in a plurality of message pushing tools according to the car machine account information.
In this embodiment, the server is configured with a plurality of message pushing tools, and the server determines a target tool group from the plurality of message pushing tools by identifying the vehicle account information according to the vehicle account information sent by the vehicle control application, where the target tool group includes at least two message pushing tools. As one way, the server may determine an application corresponding to the car machine account information according to the car machine account information, and the server determines a target message pushing tool from a plurality of message pushing tools according to the application. In this embodiment of the present application, the server may be provided with a vehicle-machine account information base and an application program base, where a plurality of vehicle-machine account information and corresponding application programs are stored in the vehicle-machine account information base, and a plurality of application programs and corresponding target tool groups are stored in the application program base. After the server reads the car machine account information sent by the car machine, searching an application program corresponding to the car machine account information from a car machine account information base, and if the car machine account information sent by the car machine is stored in the car machine account information base, searching a target tool group corresponding to the application program from the application program base according to the application program corresponding to the car machine account information by the server. If the car machine account information sent by the car machine is not stored in the car machine account information base, the server can send feedback information to the car machine, wherein the feedback information is used for representing that the car 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 tools in the target tool group.
In this embodiment, the server determines a target message pushing tool according to the capabilities of a plurality of message pushing tools in the target tool group, where the functionality of the target message pushing tool is greater than the functionality of the remaining message pushing tools in the target tool group, and the functionality characterizes the capabilities of the message pushing services provided by the target message pushing tool. As a way, the server may be provided with a message tool library, in which a plurality of target message pushing tools and their functional expressions are stored, and after determining a target tool group corresponding to an application program, the server determines the message pushing tools contained in the target tool group, searches the message tool library for the functionality of the message pushing tools, selects the message pushing tool with the strongest functionality from the message tool library, and determines the message pushing tool as the target message pushing tool, thereby being beneficial to smooth message transmission between the server and the vehicle.
After the server determines the target message pushing tool, 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.
Step S340, obtaining the running load information of the vehicle.
The vehicle machine establishes a message channel with 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 vehicle machine load information. In this embodiment of the present application, the running load information of the vehicle may include system load information and network load information, where the system load information may include chip information of the vehicle or/and stored information or/and running program number, and the network load information may include signal strength of a current network or/and a current transmission speed, and the like.
In some embodiments, the system load information may include chip information of the vehicle, 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 of an occupancy rate of a chip processor, etc., and the vehicle is beneficial to the server to select a message pushing tool that can be loaded by the current system load according to the chip information by informing the server of the chip information, so that message transmission between the server and the vehicle is smooth.
In other embodiments, the system load information may include storage information of the vehicle, where the storage information may be a remaining storage space of the vehicle, the server may be provided with a storage space threshold, the storage space threshold may be set by default by the server, or may be set by a user in a custom manner, and in general, the storage space threshold may be 16G, 32G, 64G, or the like, and the storage space threshold is typically 32G, and the vehicle sends 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, and the server determines that the system load information is greater 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, the server determines that the system load information is smaller than the load threshold, and the server is favorable for selecting a message pushing tool capable of bearing the current system load according to the storage information, so that message transmission between the server and the vehicle is smooth.
In still other embodiments, the system load information may include a number of programs running on the vehicle, the server may be provided with a signal strength threshold, the number of programs threshold may be set by default by the server, or may be set by a user in a user-defined manner, in general, the number of programs threshold may be 3, 4, 5, or the like, and the vehicle may send the number of running programs to the server, where if the number of running programs is 6, the server determines that the number of running programs is greater than the number of programs threshold, and the server determines that the system load information is greater than the load threshold. If the number of the running programs is 3, the server determines that the number of the running programs is smaller than the threshold value of the number of the programs, the server determines that the system load information is smaller than the load threshold value, and the server is beneficial to selecting a message pushing tool which can be loaded by the current system load according to the number of the running programs, so that message transmission between the server and the vehicle is smooth.
In some embodiments, the network load information includes a signal strength of the network, specifically, the vehicle may be provided with a network detector, the network detector may detect a network signal strength of a message channel between the vehicle and the target message pushing tool, the server may be provided with a signal strength threshold, the signal strength threshold may be set by default or may be set by a user in a user-defined manner, the signal strength threshold may be typically-30 dbm, -50dbm, -70dbm, and the like, and the signal strength threshold is typically-50 dms, and if the network detector detects that the network signal strength is-70 dbm, the vehicle sends the network signal strength to the server, and the server determines that the network signal strength is less than the signal strength threshold, and determines that the network load information is greater than the load threshold. If the network detector detects that the network signal intensity is-30 dbm, the vehicle sends the network signal intensity to the server, the server determines that the network signal intensity is greater than the signal intensity threshold, the server determines that the network load information is smaller than the load threshold, and the server is favorable for selecting a message pushing tool which can be loaded by the current network load according to the network signal intensity, so that message transmission between the server and the vehicle 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 vehicle and the target message pushing tool, the server may be provided with a speed threshold, the speed threshold may be set by default or may be set by a user in a user-defined manner, and generally, the speed threshold may be 50mb/s, 100mb/s, 200mb/s, or the like, and the speed threshold is exemplified by 100mb/s, and if the network detector detects that the transmission speed is 50mb/s, the vehicle sends the transmission speed to the server, and the server determines that the transmission speed is less than the speed threshold, and 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 sends the transmission speed to the server, the server determines that the transmission speed is greater than the speed threshold, and the server 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 loaded by the current network load according to the network transmission speed, and message transmission between the server and the vehicle is smooth.
In 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, the update message pushing tool is determined in the target tool group according to the performance of the message pushing tools in the target tool group.
The update message pushing tool is a message pushing tool which replaces the currently used target message pushing tool, 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 load information and 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 a server and a 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, the server determines 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 in order to ensure smooth communication connection. As one way, the server looks up the message pushing tool matching the system load information and the network load information in the message tool library, and determines the message pushing tool as the update target message pushing tool.
Step S360, the target message pushing tool is updated to an updated target message pushing tool.
In this embodiment, the server determines to update the target message pushing tool as the target message pushing tool.
In step S370, the tool information of the target message pushing tool is sent to the vehicle to allow the vehicle to establish a message channel with the target message pushing tool based on the tool information.
Step S380, based on the message channel, the message to be pushed is sent to the vehicle.
In this embodiment, the specific implementation of step S370 to step S380 may refer to the descriptions of step S230 to step S240 provided in the above embodiments, and will not be repeated here.
The embodiment of the application provides a message communication method. In the method, a server acquires vehicle account information, determines a target work group from a plurality of message pushing tools according to the vehicle account information, selects a message pushing tool with the strongest functionality from the target work group as a target message pushing tool, acquires a vehicle running load in a communication process, and determines whether the target message pushing tool needs to be replaced according to the vehicle running load. The message communication method can carry out adaptation integration on various message pushing tools, and determines the message pushing tool adapted to the account information of the vehicle-mounted machine, so that the platform of the server and the vehicle-mounted machine in the message pushing service is realized, and the workload is reduced.
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 communicates with the vehicle machine in the vehicle, and the server is provided with a plurality of message pushing tools which are used for pushing messages to the vehicle machine. The method may include the following steps S410 to S460.
Step S410, obtaining the account information of the vehicle machine.
Step S420, determining a target tool group corresponding to the car machine account information in a plurality of message pushing tools according to the car machine account information.
In this embodiment, the specific implementation of step S410 to step S420 may refer to the descriptions of step S310 to step S320 provided in the above embodiments, and will not be repeated here.
Step S430, obtaining the running load information of the vehicle.
And after the server determines the target tool group, continuously acquiring the running load information of the vehicle. The vehicle operation load information may include system load information and network load information, the system load information may include chip information of the vehicle or/and stored 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.
In this embodiment, the implementation of step S430 may refer to the description of step S340 provided in the above embodiment, and will not be described in detail herein.
Step S440, determining a target message pushing tool in the target tool group according to the vehicle operation load information.
As one approach, the server may be provided with a message tool library in which a plurality of target message pushing tools are stored, together with their functionality, which characterizes 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, searches the message pushing tools in the message tool library for the functionality of the message pushing tools, selects the message pushing tools with the functionality matched with the running load information of the vehicle and the machine, and determines the message pushing tools as target message pushing tools.
In step S440, specific steps of determining the target message pushing tool according to the operation load information may be referred to the above description of step S340 to step S350. 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, determining that the target message pushing tool is a first type message pushing tool, and if both the system load information and the network load information are less than the load threshold, determining that the target message pushing tool is a second type message pushing tool, wherein the first type message pushing tool has a lower functionality than the second type message pushing tool.
Step S450, the tool information of the target message pushing tool is sent to the vehicle to allow the vehicle to establish a message channel with the target message pushing tool based on the tool information.
Step S460, based on the message channel, the message to be pushed is sent to the vehicle.
In this embodiment, the specific implementation of step S450 to step S460 may refer to the descriptions of step S230 to step S240 provided in the above embodiments, and will not be repeated here.
The embodiment of the application provides a message communication method. In the method, a server acquires vehicle account information and determines a target tool group in a plurality of message pushing tools according to the vehicle account information, acquires vehicle operation load information, determines a target message pushing tool in the target tool group according to the vehicle operation load information, and sends tool information of the target message pushing tool to the vehicle, so that the vehicle establishes a message channel with the target message pushing tool according to working information, and the server can send a message to be pushed to the vehicle through the message channel. The message communication method can carry out adaptation integration on various message pushing tools, and determines the message pushing tool adapted to the account information of the vehicle-mounted machine, so that the platform of the server and the vehicle-mounted machine in the message pushing service is realized, and the workload is reduced.
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, and the server is provided with a plurality of message pushing tools which are used for pushing messages to the vehicle machine. The method may include the following steps S510 to S540.
Step S510, the car machine account information is sent to a server.
The car machine account information refers to information capable of identifying the car machine, and can comprise account number, password, face, fingerprint and other information. As one way, the vehicle machine may communicate with the server through a private network channel, specifically, the vehicle machine may establish TCP/IP communication with the server, and perform communication based on HTTP private protocol messages, such as 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 embodiment, and will not be described in detail herein.
Step S520, tool information of a target message pushing tool fed back by the server based on the car machine account information is obtained.
The tool information refers to information capable of characterizing the identity of the target message pushing tool, and the tool information can include an identification code and authentication information 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. After the server determines the target message pushing tool, the tool information of the target message pushing tool is searched in the tool information base, and the tool information is sent to the vehicle machine.
Step S530 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 target message pushing tool, and may include at least one of a MAC address, an IP address, a specific tag, etc. of the target message pushing tool. The vehicle is used for quickly 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 determines the tool installation package, the tool installation package is embedded into the application program, so that the message pushing service can be provided. And the application program calls a universal 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 obtained.
The authentication information refers to information enabling the target message pushing tool to confirm that the communication connection is legal, and the authentication information can comprise an account number and a password of the target message pushing tool. And after the vehicle determines the tool installation package of the target message pushing tool, the vehicle sends authentication information to the target message pushing tool. The target message pushing tool reads the authentication information carried by the communication request information, and if the account number and the password in the authentication information are correct, the target message pushing tool and the tool installation package are in 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, and optionally, the target message pushing tool can reject the access of the vehicle and send feedback information aiming at the communication request information to the vehicle, so that the communication safety between the target message pushing tool and the vehicle is ensured.
Step S540, based on the message channel, obtaining 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 vehicle machine through the message channel, where the message to be pushed may be text, picture, video, etc. And after the vehicle receives the message to be pushed, the message to be pushed is sent to the application program. In some embodiments, after the vehicle acquires the message to be pushed sent by the target message pushing tool, the vehicle directly sends the message to be pushed to the application program. In other embodiments, after the vehicle acquires the message to be pushed sent by the target message pushing tool, the vehicle first 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 corresponding tasks according to the content in the message to be pushed. For example, the built-in map of the external terminal device may transmit map information to the vehicle-mounted map of the vehicle machine by the above-mentioned message pushing method, specifically, the terminal device determines position information of a certain position in the built-in map, and the position information may include longitude and latitude of the position, a position type, position details, and the like. The terminal equipment sends the position information of the position to the server, the server sends the position information to the vehicle machine through the target message pushing tool as a message to be pushed, 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 acquire 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 sends vehicle account information to a server, the server determines a target message pushing tool from a plurality of message pushing tools according to the vehicle account information, tool information of the target message pushing tool is sent to the vehicle, the vehicle establishes a message channel with the target message pushing tool according to working information, and the vehicle acquires a message to be pushed, which is sent by the server through the message channel, and sends the message to be pushed to an application program. The message communication method can carry out adaptation integration on various message pushing tools, and determines the message pushing tool adapted to the account information of the vehicle-mounted machine, so that the platform of the server and the vehicle-mounted machine in the message pushing service is realized, and the workload is reduced.
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, and the server is provided with a plurality of message pushing tools which are used for pushing messages to the vehicle machine. The method may include the following steps S610 to S660.
Step S610, the car machine account information is sent to a server.
Step S620, tool information of a target message pushing tool fed back by the server based on the car machine account information is obtained.
Step S630, based on the tool information, establishes a message channel with the target message pushing tool.
Step S640, based on the message channel, obtains the message to be pushed sent by the target message pushing tool.
In this embodiment, the specific implementation of step S610 to step S640 may refer to the descriptions of step S510 to step S540 provided in the above embodiments, and will not be repeated here.
In step S650, the format of the message to be pushed is converted into a predetermined format.
Because the formats of the messages to be pushed sent by different message pushing tools may not be consistent, the vehicle needs to convert the messages to be pushed in different formats into a predetermined format. The message to be pushed can be text, picture, video, etc. In some embodiments, the message to be pushed is text, the predetermined format of the text may be json format, if the text format sent by the target message pushing tool is json format, the vehicle machine reserves the original format of the message to be pushed, and if the text format sent by the target message pushing tool is other format, such as xml, txt, link, etc., the vehicle machine converts the format of the message to be pushed into the predetermined json format. In other embodiments, the predetermined format of the picture may be jpg format, if the format of the picture sent by the target message pushing tool is jpg format, the vehicle machine reserves the original format of the message to be pushed, and if the format of the picture sent by the target message pushing tool is other format, for example png, gif, link, etc., the vehicle 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 vehicle machine reserves the original format of the message to be pushed, and if the video format sent by the target message pushing tool is other formats, such as mov, mp4, link, etc., the vehicle machine converts the format of the message to be pushed into the predetermined avi format.
Step S660, the message to be pushed after the format conversion is sent to the application program.
In this embodiment, after the vehicle acquires the messages to be pushed in different formats, the vehicle sends the messages to be pushed converted into the predetermined format to the application program.
In some embodiments, the vehicle is further provided with a subscription library, and all 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 vehicle machine also needs to check whether the application program is in a subscription library of the vehicle machine. If the vehicle-mounted machine determines that the application program is in the subscription library, the vehicle-mounted machine sends the message to be pushed after the format conversion to the application program. 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. In the method, a vehicle sends vehicle account information to a server, the server determines a target message pushing tool from a plurality of message pushing tools according to the vehicle account information, tool information of the target message pushing tool is sent to the vehicle, the vehicle establishes a message channel with the target message pushing tool according to working information, the vehicle acquires a message to be pushed, which is sent by the server through the message channel, and the message to be pushed is converted into a preset format and then is sent to an application program. The message communication method can adapt and integrate various message pushing tools, and determine the message pushing tool adapted to the account information of the vehicle, so that the platformization of the server and the vehicle in the message pushing service is realized, the workload is reduced, and furthermore, the suitability of the message to be pushed and an 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, and the server is provided with a plurality of message pushing tools which are used for pushing messages to the vehicle machine. The method may include the following steps S710 to S750.
Step S710, the car machine account information is sent to a server.
Step S720, tool information of a target message pushing tool fed back by the server based on the vehicle-mounted account information is obtained.
The tool information refers to information capable of characterizing the identity of the target message pushing tool, and the tool information can include an identification code and authentication information of the target message pushing tool.
In this embodiment, the specific implementation of step S710 to step S720 may refer to the descriptions of step S510 to step S520 provided in the above embodiments, and will not be 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 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 can quickly identify the identity information of the target message pushing tool through the identification code of the target message pushing tool. As one mode, the vehicle comprises a tool installation package of a plurality of message pushing tools, and is provided with a tool installation package library, wherein the tool installation package library stores a plurality of tool installation packages and corresponding identification codes thereof. After the vehicle machine acquires the identification code of the target message pushing tool, searching whether the tool installation package corresponding to the identification code is stored in the tool installation package, and if the vehicle machine determines that the tool installation package corresponding to the identification code is stored in the tool installation package library, downloading and calling the tool installation package by the vehicle machine so that the tool installation package and the target message pushing tool are in communication connection. If the vehicle machine determines that the tool installation package library does not store the tool installation package corresponding to the identification code, the vehicle machine sends a feedback message to the server so as to remind the server to replace the target message to push the tool.
Step S740, establishing a communication connection between the tool package 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 refers to information enabling the target message pushing tool to confirm that the communication connection is legal, and the authentication information can comprise an account number and a password of the target message pushing tool. After the vehicle determines the tool installation package of the target message pushing tool, the vehicle sends communication request information to the target message pushing tool, and the communication connection request information carries authentication information of the target message pushing tool so as to establish communication connection between the tool installation package and the target message pushing tool. As a way, after receiving the communication request information sent by the vehicle machine, the target message pushing tool reads the authentication information carried by the communication request information, and if the account number 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, and optionally, the target message pushing tool can reject the access of the vehicle and send feedback information aiming at the communication request information to the vehicle, so that the communication safety between the target message pushing tool and the vehicle is ensured.
Step S750, based on the message channel, obtaining the message to be pushed sent by the target message pushing tool.
In this embodiment, the implementation of step S750 may refer to the description of step S540 provided in the above embodiment, and will not be described in detail herein.
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 from a plurality of message pushing tools according to the vehicle machine account information, tool information of the target message pushing tool is sent 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, establishes a message channel with the target message pushing tool, and 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 carry out adaptation integration on various message pushing tools, and determines the message pushing tool adapted to the account information of the vehicle, so that the platform of the server and the vehicle in the message pushing service is realized, the workload is reduced, and further, the communication safety between the vehicle 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, and the server is provided with a plurality of message pushing tools which are used for pushing messages to the vehicle machine. The method may include the following steps S810 to S850.
Step S810, the vehicle machine sends the vehicle machine account information to the server.
The car machine account information refers to information capable of identifying the car machine, and can comprise account number, password, face, fingerprint and other information. In a specific application example, after a user's vehicle is powered on, the vehicle is started, and communicates with the server through a private network channel, specifically, the vehicle may establish TCP/IP communication with the server, and communicate based on an HTTP private protocol message, for example, get, post, and other methods, to send vehicle account information to the server.
In this embodiment, the implementation of step S810 may refer to the description of step S210 provided in the above embodiment, and will not be described in detail herein. In step S820, the server determines a target message pushing tool from the plurality of message pushing tools based on the car machine account information.
And the server determines a target message pushing tool from the message pushing tools by identifying the vehicle account information according to the vehicle account information sent by the vehicle control application program.
In a specific application example, a vehicle may have a plurality of application programs installed thereon, such as a map application, a voice call application, an instant message, a video call application, a multimedia application, etc., and the messages to be pushed that can be received by these application programs are sent via corresponding message pushing tools. Thus, an application may have a different message pushing tool corresponding thereto, which requires a server to determine the message pushing tool corresponding to the application as the target message pushing tool for subsequent message transmission.
In this embodiment, for the implementation of step S820, reference may be made to the descriptions of step S220 or step S320 to step S360 or step S420 to step S440 provided in the above embodiments, and the descriptions are omitted here.
In step S830, the server sends the tool information of the target message pushing tool to the vehicle.
The tool information refers to information capable of characterizing the identity of the target message pushing tool, and the tool information can include an identification code and authentication information of the target message pushing tool. In a specific application example, for example, if the server determines that the corresponding message pushing tool is a map tool based on the map, the server sends tool information of the map tool to the vehicle machine, after the vehicle machine obtains the identification code and the sound information of the map tool, the vehicle machine sends communication request information to the map tool to establish a message channel with the map tool, and the map tool sends a message to be pushed, such as position information, to the vehicle 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, which is not described herein.
In step S840, the vehicle 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 target message pushing tool, and may include at least one of a MAC address, an IP address, a specific tag, etc. of the target message pushing tool. The vehicle 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 refers to information enabling the target message pushing tool to confirm that the communication connection is legal, and the authentication information can comprise an account number and a password of the target message pushing tool. And after the vehicle determines the tool installation package of the target message pushing tool, the vehicle sends authentication information to the target message pushing tool.
In this embodiment, the implementation of step S840 may refer to the descriptions of step S530 or step S730 to step S740 provided in the above embodiments, and will not be repeated here.
In step S850, the server sends the message to be pushed to the vehicle machine based on the message channel.
In this embodiment, the server sends a message to be pushed to the vehicle machine through the message channel, where the message to be pushed may be text, picture, video, etc., and the message to be pushed is used for the vehicle machine to send to the application program. In this embodiment, the implementation of step S850 may refer to the description of step S240 provided in the above embodiment, and will not be described in detail herein.
The embodiment of the application provides a message communication method. In the method, a server acquires the account information of the vehicle and determines a target message pushing tool from a plurality of message pushing tools according to the account information of the vehicle, tool information of the target message pushing tool is sent to the vehicle, the vehicle establishes a message channel with the target message pushing tool according to working information, the server can send a message to be pushed to the vehicle through the message channel, and the vehicle sends the message to be pushed to an application program after receiving the message to be pushed. The message communication method can carry out adaptation integration on various message pushing tools, and determines the message pushing tool adapted to the account information of the vehicle-mounted machine, so that the platform of the server and the vehicle-mounted machine in the message pushing service is realized, and the workload is reduced.
Referring to fig. 9, a functional block diagram of a message communication apparatus 900 is provided, where the message communication apparatus 900 includes: an acquisition module 910, a tool determination module 920, an information transmission module 930, and a message pushing module 940.
The apparatus 900 is applied to a server in communication with a vehicle in a vehicle, the server being configured with a plurality of message pushing tools for pushing messages to the vehicle. The obtaining module 910 is configured to obtain vehicle account information; the tool determining module 920 is configured to determine a target message pushing tool from a plurality of message pushing tools based on the vehicle account information; the information sending module 930 is configured to send tool information of the target message pushing tool to the vehicle, so as to allow the vehicle 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 a message to be pushed to the vehicle machine based on the message channel.
In some embodiments, the tool determining module 920 is further configured to determine, according to the car machine account information, a target tool group corresponding to the car machine account information from a 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 tools 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 target tool group.
In some implementations, the tool determination module 920 is further configured to obtain the vehicle operator load information; the vehicle-mounted machine operation 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 an updated message pushing tool in the target tool group according to the performance of the message pushing tools in the target tool group; the functionality of the update target message pushing tool is adapted to the running load information of the vehicle and the machine; updating the target message pushing tool to an updated target message pushing tool.
In some embodiments, the tool determining module 920 is further configured to obtain an application program corresponding to the car machine account information according to the car machine account information; based on the application program, determining a message pushing tool which is adapted to the application program from a plurality of message pushing tools, and taking the message pushing tool which is 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 vehicle machine, where the tool information includes an identification code of the target message pushing tool and authentication information, 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 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 the account information of the vehicle and determines a target message pushing tool from a plurality of message pushing tools according to the account information of the vehicle, and the tool information of the target message pushing tool is sent to the vehicle, so that the vehicle establishes a message channel with the target message pushing tool according to working information, and the server can send a message to be pushed to the vehicle through the message channel. The message communication device can adapt and integrate various message pushing tools, and determines the message pushing tool adapted to the account information of the vehicle-mounted device, so that the platform of the server and the vehicle-mounted device in the message pushing service is realized, and the workload is reduced.
The block diagram of a message communication device provided in the present application needs to be explained, in which the device embodiment and the foregoing method embodiment correspond to each other, and the specific implementation principle of each unit in the device embodiment is similar to that in the foregoing method embodiment, and specific content in the device embodiment may refer to the method embodiment, which is not repeated in the device embodiment.
Referring to fig. 10, a block diagram of a message communication apparatus 1000 is provided, where the message communication apparatus 1000 includes: the acquisition module 1010, the acquisition tool information module 1020, the establishment channel module 1030, and the acquisition to-be-pushed message module 1040.
The apparatus 1000 is applied to a vehicle machine of a vehicle, the vehicle machine communicates with a server, 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 1010 is configured to send vehicle account information to a server, where the vehicle account information is used for the server to determine a target message pushing tool corresponding to the vehicle account information; the tool information acquisition module 1020 is used for acquiring tool information of a target message pushing tool fed back by the server based on the car machine account information; the setup channel module 1030 is configured to establish a message channel with the 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; the message to be pushed is used for the vehicle-mounted machine to send to a local application program.
In some embodiments, the obtaining message to push module 1040 is further configured to convert a 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 implementations, the tool information includes an identification code of the target message pushing tool and authentication information. The channel establishment module 1030 is further configured to determine a tool installation package corresponding to the target message pushing tool based on the identification code;
the tool package is connected with the target message pushing tool in a communication mode based on the authentication information so as to establish a message channel between the tool package and the target message pushing tool.
The embodiment of the application provides a message communication device. In the device, a vehicle sends vehicle account information to a server, the server determines a target message pushing tool from a plurality of message pushing tools according to the vehicle account information, tool information of the target message pushing tool is sent to the vehicle, the vehicle establishes a message channel with the target message pushing tool according to working information, and the vehicle acquires a message to be pushed, which is 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, and determines the message pushing tool adapted to the account information of the vehicle-mounted device, so that the platform of the server and the vehicle-mounted device in the message pushing service is realized, and the workload is reduced.
Referring to fig. 11, a block diagram of a message communication apparatus 1100 is provided, where the message communication apparatus 1100 includes: an account information acquisition module 1110, a determine push tool module 1120, a send push tool information module 1130, a establish message channel module 1140, and a send message module 1150.
The apparatus 1100 is applied to a messaging system including a server and a vehicle. The vehicle-mounted device is communicated with a server, and the server is provided with a plurality of message pushing tools which are used for pushing messages to the vehicle-mounted device. The account information acquisition module 1110 is used for the vehicle to send the vehicle account information to the server; the determining pushing tool module 1120 is used for determining a target message pushing tool from a plurality of message pushing tools by the server based on the car machine account information; the push tool information sending module 1130 is configured to send tool information of a target message push tool to a vehicle machine by using a server; the message channel establishment module 1140 is configured to establish a message channel with a target message pushing tool based on the tool information; the message sending module 1150 is configured to send a message to be pushed to the vehicle machine based on the message channel by the server; the message to be pushed is used for the vehicle-mounted machine to send to the application program.
The embodiment of the application provides a message communication device. In the device, a server acquires the account information of the vehicle and determines a target message pushing tool from a plurality of message pushing tools according to the account information of the vehicle, tool information of the target message pushing tool is sent to the vehicle, the vehicle establishes a message channel with the target message pushing tool according to working information, the server can send a message to be pushed to the vehicle through the message channel, and the vehicle 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, and determines the message pushing tool adapted to the account information of the vehicle-mounted device, so that the platform of the server and the vehicle-mounted device in the message pushing service is realized, and the workload is reduced.
Referring to fig. 12, a block diagram of a vehicle is provided.
Based on the above-mentioned message communication method and device, another vehicle 1200 capable of executing the foregoing message communication method is also provided in the embodiments of the present application. The vehicle 1200 includes one or more (only one is shown) processors 1210 and memory 1220 coupled to each other. The memory 1220 stores therein a program capable of executing the contents of the foregoing embodiments, and the processor 1210 can execute the program stored in the memory 1220.
Processor 1210 may include, among other things, one or more cores for processing data. The processor 1210 utilizes various interfaces and lines to connect various portions of the overall vehicle 1200, perform various functions of the vehicle 1200, and process 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 in at least one of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA). The processor 1210 may integrate one or a combination of several of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), and a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for being responsible for rendering and drawing of display content; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 1210 and may be implemented solely by a single communication chip.
Memory 1220 may include random access Memory (Random Access Memory, RAM) or Read-Only Memory (rom). Memory 1220 may be used to store instructions, programs, identification codes, sets of identification codes, or instruction sets. 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 the various method embodiments described below, etc.
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 described 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, computer readable storage medium 1300 includes non-volatile computer readable media (non-transitory computer-readable storage medium). The computer readable storage medium 1300 has storage space for program code 1310 that performs any of the method steps described above. The program code can be read from or written to one or more computer program products. Program code 1310 may be compressed, for example, in a suitable form.
In summary, embodiments of the present application provide a message communication method, a message communication device, a vehicle, and a storage medium. In the method, a server acquires the account information of the vehicle and determines a target message pushing tool from a plurality of message pushing tools according to the account information of the vehicle, and transmits tool information of the target message pushing tool to the vehicle, so that the vehicle establishes a message channel with the target message pushing tool according to working information, and the server can transmit a message to be pushed to the vehicle through the message channel. The message communication method can carry out adaptation integration on various message pushing tools, and determines the message pushing tool adapted to the account information of the vehicle-mounted machine, so that the platform of the server and the vehicle-mounted machine in the message pushing service is realized, and the workload is reduced.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," 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 present application. In this specification, schematic representations of the above terms are not necessarily directed 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. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present application, the meaning of "plurality" is at least two, such as two, three, etc., unless explicitly defined otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of identifying code which include one or more executable instructions for implementing specific logical functions or steps of the process, and further 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 embodiments of the present application.
Logic and/or steps represented in the flowcharts or otherwise described herein, e.g., a ordered listing of executable instructions for implementing 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 is to be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the 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, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limiting thereof; although the present application has been described in detail with reference to the foregoing embodiments, one of ordinary skill in the art will appreciate that: the technical schemes described in the foregoing embodiments can be modified or part of the technical feature diagrams can be replaced equivalently; such modifications and substitutions do not drive the essence of the corresponding technical solutions to depart from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims (9)
1. A message communication method, characterized in that the message communication method is applied to a server, the server communicates 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 account information of a vehicle;
determining a target message pushing tool from a plurality of message pushing tools based on the car machine account information;
transmitting 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;
based on the message channel, sending a message to be pushed to the vehicle machine; and in the process of sending the message to be pushed, detecting system load information and network load information of the vehicle and adjusting a target message pushing tool according to the system load information and the network load information, wherein if at least one of the system load information and the network load information is greater than or equal to a load threshold value, determining an update message pushing tool, wherein the functionality of the update message pushing tool is lower than that of the target message pushing tool, the update message pushing tool is used for pushing the message to be pushed, and the functionality characterizes the capability of a message pushing service provided by the target message pushing tool.
2. The method of claim 1, wherein the determining a target message pushing tool from a plurality of message pushing tools based on the car account information comprises:
determining a target tool group corresponding to the car machine account information in a plurality of message pushing tools according to the car machine account information, 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 tools 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 target tool group.
3. The method of claim 2, wherein detecting system load information and network load information of the vehicle and adjusting the target message pushing tool according to the system load information and the network load information comprises:
acquiring the running load information of the vehicle; wherein the vehicle-to-machine operation load information comprises the system load information and the 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 target message pushing tool in the target tool group according to the performance of the message pushing tools in the target tool group; the functionality of the update target message pushing tool is adapted to the vehicle-mounted operation load information;
And updating the target message pushing tool into the updated target message pushing tool.
4. The method of claim 2, wherein the determining, from the vehicle account information, a target tool group corresponding to the vehicle account information among a plurality of message pushing tools includes:
acquiring an application program corresponding to the car machine account information according to the car machine account information;
and determining a message pushing tool which is adapted to the application program from a plurality of message pushing tools based on the application program, and taking the message pushing tool which is adapted to the application program as a target tool group.
5. The method of claim 1, wherein the sending tool information of the target message pushing tool to the vehicle to allow the vehicle to establish a message channel with the target message pushing tool based on the tool information comprises:
and transmitting 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 establishing a message channel with the target message pushing tool according to the authentication information and the tool installation package.
6. The 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-mounted device is communicated with a server, and the server is provided with a plurality of message pushing tools which are used for pushing messages to the vehicle-mounted device; the method comprises the following steps:
the car machine sends car machine account information to the server;
the server determines a target message pushing tool from a plurality of message pushing tools based on the car machine account information;
the server sends the tool information of the target message pushing tool to the vehicle machine;
the vehicle establishes a message channel with the target message pushing tool based on the tool information;
the server sends a message to be pushed to the vehicle machine based on the message channel; the message to be pushed is used for the vehicle to send to an application program; in the process of sending the message to be pushed, the server detects system load information and network load information of the vehicle and adjusts a target message pushing tool according to the system load information and the network load information, wherein if at least one of the system load information and the network load information is greater than or equal to a load threshold value, the server determines an update message pushing tool, the functionality of the update message pushing tool is lower than that of the target message pushing tool, the update message pushing tool is used for pushing the message to be pushed, and the functionality characterizes the capability of a message pushing service provided by the target message pushing tool.
7. A message pushing device, which is characterized by being applied to a server; the device comprises:
the acquisition module is used for acquiring the account information of the vehicle;
the tool determining module is used for determining a target message pushing tool from a plurality of message pushing tools based on the car machine account information;
the information sending module is used for sending 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, wherein in the process of sending the message to be pushed, the tool determining module is also used for detecting system load information and network load information of the vehicle machine and adjusting a target message pushing tool according to the system load information and the network load information, and if at least one of the system load information and the network load information is greater than or equal to a load threshold value, an update message pushing tool is determined, the functionality of the update message pushing tool is lower than that of the target message pushing tool, the update message pushing tool is used for pushing the message to be pushed, and the functionality characterizes the capability of a message pushing service provided by the target message pushing tool.
8. 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-5.
9. A computer readable storage medium, characterized in that the computer readable storage medium stores a program identification code executable by a processor, wherein the method of any of claims 1-5 is performed when the program identification code is run.
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 CN115225703A (en) | 2022-10-21 |
CN115225703B true 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)
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 |
-
2022
- 2022-04-02 CN CN202210351122.XA patent/CN115225703B/en active Active
Patent Citations (9)
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)
Title |
---|
" 车载信息娱乐系统安全研究";张宏涛;《中国博士学位论文全文数据库(电子期刊)工程科技Ⅱ辑》;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN115225703A (en) | 2022-10-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10609528B2 (en) | Vehicle communication system and method | |
US20220046525A1 (en) | Electronic device and method for operating access point information by electronic device | |
US9357368B2 (en) | Method and system for launching an application | |
USRE44191E1 (en) | Electric device, computer program, system and method of setting up user applications | |
US9924017B2 (en) | Methods and systems for a vehicle computing system to launch an application | |
US11115482B1 (en) | System and method for correlating keep-alive connection communications with unary connection communications | |
CN110784846B (en) | Vehicle-mounted Bluetooth equipment identification method and device, electronic equipment and storage medium | |
CN108668321B (en) | Method and apparatus for efficient vehicle data reporting | |
US20150195669A1 (en) | Method and system for a head unit to receive an application | |
CN105357295A (en) | Voice interaction method, device and system | |
CN109064267A (en) | Order processing method, system, shared bicycle and the storage medium of shared bicycle | |
US20110035476A1 (en) | Provision of Telematics Services via a Mobile Network | |
CN111182461A (en) | Method and apparatus for cellular communication redirection and relaying | |
JP2024016285A (en) | Software upgrade method, device, and system | |
KR20120131666A (en) | Bus information system and processing method thereof | |
US9775112B2 (en) | Enabling and disabling low energy, short-range wireless communication modules | |
CN115225703B (en) | Message communication method, device, vehicle and storage medium | |
CN111510863A (en) | Vehicle fault processing method and device, shared vehicle and readable storage medium | |
CN107454659B (en) | Terminal identification method, system, terminal equipment and base station | |
CN103458025B (en) | File sharing method and system based on geographical location | |
US10165417B2 (en) | Method and apparatus for normalizing navigation data for vehicle computing system playback | |
CN116017352A (en) | Vehicle-mounted system, terminal, vehicle and resource sharing method | |
CN101662492B (en) | Interaction system and method for point-to-point wireless mobile communication | |
US20150029038A1 (en) | Method and Apparatus for Message Delivery Via HD Radio | |
CN111882902B (en) | Voice broadcasting system for intelligent traffic |
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 |