CN109150763A - Unmanned vehicle method for message transmission, device, equipment, storage medium and vehicle - Google Patents
Unmanned vehicle method for message transmission, device, equipment, storage medium and vehicle Download PDFInfo
- Publication number
- CN109150763A CN109150763A CN201810997203.0A CN201810997203A CN109150763A CN 109150763 A CN109150763 A CN 109150763A CN 201810997203 A CN201810997203 A CN 201810997203A CN 109150763 A CN109150763 A CN 109150763A
- Authority
- CN
- China
- Prior art keywords
- message
- recipient
- sender
- cache
- buffered
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/70—Admission control; Resource allocation
- H04L47/72—Admission control; Resource allocation using reservation actions during connection setup
- H04L47/722—Admission control; Resource allocation using reservation actions during connection setup at the destination endpoint, e.g. reservation of terminal resources or buffer space
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
A kind of unmanned vehicle method for message transmission, device, equipment, storage medium and vehicle are provided in the embodiment of the present invention.Wherein, which comprises obtain the message of sending direction recipient transmission, and cache interface is called to cache the message;According to the preconfigured buffered message reception mechanism of recipient, the message of caching is pushed to the recipient.The technical solution of the embodiment of the present invention can carry out persistence processing to sender's message, it avoids when the starting of recipient is later than the starting of sender, the message that sender sends before causing recipient that can not receive itself starting, sender's message duration can not be kept in a device in the related technology by solving, and lack the problem of certain message datas are unable to satisfy use demand in some scenarios so as to cause recipient.
Description
Technical field
The present embodiments relate to unmanned vehicle technology field more particularly to a kind of unmanned vehicle method for message transmission, device, set
Standby, storage medium and vehicle.
Background technique
With the development of science and technology, the technical research for being also referred to as unmanned vehicle for pilotless automobile is also more and more, increasingly
It is mature.Unmanned vehicle can be applied to multiple fields, for example in logistics field, can reduce manual operation, reduces human cost, mentions
The automation of high logistics transportation.
But in relevant equipment, message does not have persistence processing after sending, once message receiver is sent in message
When do not start, then will result in message receiver can not receive start before sender send message data, for example, if
When sensing driving in equipment sends message, perception does not start, then before can not receiving sensing driving after perception starting
The message data of transmission is unable to satisfy use demand in some scenarios so as to cause certain message datas are lacked.
Summary of the invention
A kind of unmanned vehicle method for message transmission, device, equipment, storage medium and vehicle are provided in the embodiment of the present invention, with
It solves the problems, such as that sender's message duration can not be kept in a device in the related technology.
In a first aspect, a kind of unmanned vehicle method for message transmission is provided in the embodiment of the present invention, this method comprises:
The message of sending direction recipient transmission is obtained, and cache interface is called to cache the message;
According to the preconfigured buffered message reception mechanism of recipient, the message of caching is pushed to the recipient.
Second aspect additionally provides a kind of unmanned vehicle massage transmission device in the embodiment of the present invention, which includes:
Cache module is obtained, for obtaining the message of sending direction recipient transmission, and cache interface is called to disappear to described
Breath is cached;
Message pushing module, for being pushed away to the recipient according to the preconfigured buffered message reception mechanism of recipient
Send the message of caching.
The third aspect additionally provides a kind of equipment in the embodiment of the present invention, which includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processing
Device realizes the unmanned vehicle method for message transmission as described in any embodiment of the present invention.
Fourth aspect additionally provides a kind of computer readable storage medium in the embodiment of the present invention, is stored thereon with calculating
Machine program realizes the unmanned vehicle method for message transmission as described in any embodiment of the present invention when the program is executed by processor.
In terms of 5th, a kind of vehicle, including car body are additionally provided in the embodiment of the present invention, is provided with this hair on the car body
The equipment that bright any embodiment provides, and at least one functional module with equipment communication connection, the functional module
Sender or recipient as message transmission.
A kind of unmanned vehicle message transmission schemes are provided in the embodiment of the present invention.By obtaining sending direction recipient transmission
Message, and cache interface is called to cache the message;The foundation preconfigured buffered message reception mechanism of recipient,
The message of caching is pushed to the recipient.The technical solution of the embodiment of the present invention can carry out at persistence sender's message
Reason, avoids when the starting of recipient is later than the starting of sender, causes recipient that can not receive sender before itself starting
The message of transmission, sender's message duration can not be kept in a device in the related technology by solving, and be lacked so as to cause recipient
The problem of few certain message datas are unable to satisfy use demand in some scenarios.
Detailed description of the invention
Fig. 1 is a kind of flow chart of the unmanned vehicle method for message transmission provided in the embodiment of the present invention one;
Fig. 2 is a kind of flow chart of the unmanned vehicle method for message transmission provided in the embodiment of the present invention two;
Fig. 3 is a kind of structural schematic diagram of the unmanned vehicle massage transmission device provided in the embodiment of the present invention three;
Fig. 4 is a kind of structural schematic diagram of the equipment provided in the embodiment of the present invention four.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just
Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is a kind of flow chart of the unmanned vehicle method for message transmission provided in the embodiment of the present invention one, and the present embodiment can
The case where message suitable for equipment is transmitted, for example, sending direction recipient sends the scene of message in equipment.This method can
To be executed by unmanned vehicle massage transmission device, which can be realized by the way of software and/or hardware, and can be integrated in
In any equipment with network communicating function, which be can integrate on unmanned vehicle.
As shown in Figure 1, the unmanned vehicle method for message transmission in the embodiment of the present invention may include:
S101, the message for obtaining sending direction recipient transmission, and cache interface is called to cache message.
In embodiments of the present invention, sensing driving, perception, positioning and control etc. be can include but is not limited in equipment
Functional module, any of the above-described functional module can be used as the sender of message or the recipient of message.It is driven to disappear with sensing
The sender of breath is perceived as being illustrated for the recipient of message, and sensing driving can send to perception and disappear under normal circumstances
Breath, after perception receives the message that sensing driving is sent, message carries out relevant treatment based on the received.But when the starting of perception
When time is later than the time of the transmission message of sensing driving, i.e., when sensing driving sends message, perception starts not yet, to make
The message that sensing driving is sent before itself starting can not be received at perception.In the above process, sending direction recipient is being obtained
The message of transmission is sent, and when the message for calling cache interface to transmit sender caches, sender can still can be with
Message is sent to recipient always.Recipient can receive what the sending direction recipient after recipient itself starting sent
Message, without can receive the message that sending direction recipient sends before recipient itself starting.Based on the above situation,
Message caching mechanism can be introduced into equipment.When sending direction recipient sends message, available sending direction is received
Side sends the message of transmission, and the message for calling cache interface transmit sender caches, when starting so as to recipient to
Recipient pushes the message of caching.
Certainly, above-mentioned to illustrate sender only as sensing driving, recipient is the scene of perception, for the transmission in equipment
With for recipient, sender can be times sense driving, perception in equipment, position and control etc. in functional modules for side
One module, reciever may be any module in the functional modules such as sensing driving, perception, positioning and control, as long as
Meet and message is needed to transmit between sender and recipient.
In a kind of optional way of the embodiment of the present invention, the message of sending direction recipient transmission is obtained, and is called slow
It deposits interface to cache message, may include:
S101a, the message for obtaining sending direction recipient transmission, and determine sender's message count of currently practical caching
Amount;
If S101b, sender's message number are less than the preconfigured buffered message sum of sender, cache interface is called
Message is cached;
If S101c, sender's message number are equal to the preconfigured buffered message sum of sender, from current cache
The preceding message of cache-time is deleted in sender's message, and cache interface is called to cache message.
In the present embodiment, when getting the message of sending direction recipient transmission, sender can be sent
The message of transmission is cached, however since the buffer queue of buffered message allows the buffered message sum cached to be to match in advance
It sets, if the quantity of sender's message of the currently practical caching in buffer queue, which has reached buffer queue, to be allowed to cache
Buffered message sum when, then buffer queue just can not again to sending direction recipient transmission message cache.For this purpose,
When obtaining the message of sending direction recipient transmission, sender's message count of currently practical caching in buffer queue can be determined
Amount, and carried out according to sender's message number of determining currently practical caching and the preconfigured buffered message sum of sender
Judgement.If it is determined that sender's message number of currently practical caching is less than the preconfigured buffered message of sender in buffer queue
Sum, shows to can also continue to buffered message in buffer queue, then can call cache interface in buffer queue directly to transmission
The message of direction recipient transmission caches.If it is determined that sender's message number of currently practical caching is equal in buffer queue
The preconfigured buffered message sum of sender, shows that the quantity of sender's message of currently practical caching has reached caching team
The buffered message that column allow to cache is total, can not cache more message again in buffer queue, then from buffer queue
The preceding message of cache-time will be deleted in sender's message of the currently practical caching of caching, and cache interface is called to offset
Breath is cached.Thus can to the time, sender's message carries out deletion cleaning earlier in buffer queue, so as to slow
Depositing is the subsequent sender's message vacating space for needing to cache in queue.
S102, the foundation preconfigured buffered message reception mechanism of recipient, the message of caching is pushed to recipient.
In embodiments of the present invention, cache interface is being called to carry out caching it to message by unmanned vehicle massage transmission device
Afterwards, unmanned vehicle massage transmission device can be according to the preconfigured buffered message reception mechanism of recipient, will be in buffer queue
The message of caching is pushed to recipient.Optionally, transmission is sent since recipient may accurately receive sender
Message, recipient can not need the message that unmanned vehicle massage transmission device pushes caching again at this time, in order to avoid unmanned vehicle disappears
The message that the duplicate push recipient of breath transmitting device has been received, to mitigate unmanned vehicle massage transmission device data processing
Pressure.After calling cache interface to cache message by unmanned vehicle massage transmission device, unmanned vehicle message transmission dress
It sets and can detecte whether recipient receives the message that sending direction recipient sends transmission, sender's hair is received according to recipient
The reception state for the message sent judges whether the message for needing to push caching to recipient.Wherein, when recipient receives transmission
After the message just sent, unmanned vehicle massage transmission device, the available transmission of unmanned vehicle massage transmission device can be reported to
Direction recipient sends the transmission situation of message, and obtains the reception condition that recipient receives the message that sender sends.Than
Such as, whether recipient has been received the message of sender's transmission.
In embodiments of the present invention, if detecting that recipient does not receive the message that sender sends transmission, show
When sending direction recipient sends message, recipient is likely to be at inactive state, and unmanned vehicle massage transmission device can foundation
The preconfigured buffered message reception mechanism of recipient directly pushes the message of caching to recipient.If detecting recipient
The message that sender sends transmission has been received, then shows that recipient has opened when sending direction recipient sends message
Dynamic, unmanned vehicle massage transmission device no longer pushes the message of caching to recipient.This have the advantage that: to a certain extent
The message that can be had been received to avoid the duplicate push recipient of unmanned vehicle massage transmission device, to mitigate unmanned vehicle message
Transmitting device data processing pressure.In addition, since there may be some recipients only to receive history message, without directly receiving
The real-time messages that sender sends are calling caching to connect at this time in order to meet above-mentioned scene by unmanned vehicle massage transmission device
After mouth caches message, unmanned vehicle massage transmission device can be according to the preconfigured buffered message receiver of recipient
System directly pushes the message of caching to recipient.
In addition, since a sender may be associated with multiple recipients, in order to guarantee that it is specified that sender transmits the message to
Recipient, information reception can be carried in the message of sending direction recipient that unmanned vehicle massage transmission device is got transmission
The identification information of side.Correspondingly, unmanned vehicle massage transmission device can be according to the preconfigured buffered message receiver of recipient
The identification information of system and receiving party pushes the message of caching to specified recipient.
In a kind of optional way of the embodiment of the present invention, the foundation preconfigured buffered message reception mechanism of recipient,
The message that caching is pushed to recipient may include: according to the preconfigured receivable buffered message quantity of recipient, to connecing
Debit pushes new buffered message.
In the present embodiment, unmanned vehicle massage transmission device to recipient push caching message when, be not by
The entire message of caching is all pushed to recipient, needs according to the preconfigured receivable buffered message quantity of recipient, really
The fixed message that caching how is pushed to recipient.Optionally, the foundation preconfigured receivable buffered message quantity of recipient,
The newest new buffered message with the receivable buffered message quantity is pushed to recipient.For example, it is assumed that recipient is preparatory
The received buffered message quantity of configuration is 5, then can disappear 5 cache informations newest in the message of caching as new caching
Breath is pushed to recipient.Optionally, if sender's message number of currently practical caching be less than recipient is preconfigured can
Whole sender's message of currently practical caching are then pushed to recipient by received buffered message quantity.For example, it is assumed that receiving
Just preconfigured received buffered message quantity is 5, and sender's message number of currently practical caching is 4, then can incite somebody to action
Sender's message number of currently practical caching is all pushed to recipient as new buffered message.
The unmanned vehicle method for message transmission provided in the embodiment of the present invention, comprising: obtain sending direction recipient transmission
Message, and cache interface is called to cache the message;The foundation preconfigured buffered message reception mechanism of recipient, to
The recipient pushes the message of caching.The technical solution of the embodiment of the present invention can carry out at persistence sender's message
Reason, avoids when the starting of recipient is later than the starting of sender, causes recipient that can not receive sender before itself starting
The message of transmission, sender's message duration can not be kept in a device in the related technology by solving, and be lacked so as to cause recipient
The problem of few certain message datas are unable to satisfy use demand in some scenarios.
Embodiment two
Fig. 2 is a kind of flow chart of the unmanned vehicle method for message transmission provided in the embodiment of the present invention two, and the present embodiment is
On the basis of the above embodiments further progress optimize, the embodiment of the present invention can in said one or multiple embodiments
Each optinal plan combines.
As shown in Fig. 2, the unmanned vehicle method for message transmission in the embodiment of the present invention may include:
S201, the message for obtaining sending direction recipient transmission, and cache interface is called to cache message.
In a kind of optional way of the embodiment of the present invention, calls cache interface to cache message, may include: true
Sender's message number of settled preceding real cache;If it is total that sender's message number is less than the preconfigured buffered message of sender
Number, then call cache interface to cache message;If sender's message number is equal to the preconfigured buffered message of sender
Sum, then from sender's message of current cache delete the preceding message of cache-time, and call cache interface to message into
Row caching.
S202, the associated sender of recipient is determined.
S203, the preconfigured buffered message sum of the associated sender of recipient is pushed to recipient, so that recipient
According to received buffered message sum allocating cache message reception mechanism.
In embodiments of the present invention, recipient needs to guarantee to connect when being pre-configured with receivable buffered message quantity
The buffered message quantity of receipts cannot be greater than the permitted buffered message sum when caching to the message that sender sends, and
Buffered message sum needs are configured according to sender.For this purpose, unmanned vehicle massage transmission device can first determine that recipient is closed
The sender of connection, that is to say, that first determine that recipient needs to receive the message of the transmission of which sender.Further, nobody
Vehicle massage transmission device can push the associated sender of recipient to recipient according to the determining associated sender of recipient
Preconfigured buffered message sum, so that recipient is total according to the preconfigured buffered message of sender received
Number, allocating cache message reception mechanism.Optionally, buffered message reception mechanism can be receivable buffered message quantity.
S204, the foundation preconfigured buffered message reception mechanism of recipient, the message of caching is pushed to recipient.
In a kind of optional way of the embodiment of the present invention, the foundation preconfigured buffered message reception mechanism of recipient,
The message that caching is pushed to recipient may include: according to the preconfigured receivable buffered message quantity of recipient, to connecing
Debit pushes new buffered message.
In a kind of optional way of the embodiment of the present invention, the foundation preconfigured buffered message reception mechanism of recipient,
Before the message for pushing caching to recipient, if can also include: to detect that recipient starts, generates buffered message and send thing
Part, to trigger the message for pushing caching to recipient.
In the present embodiment, if recipient is inactive, even when unmanned vehicle massage transmission device is pushed away to recipient
The message of caching is sent, recipient still can not receive the message that the sender of unmanned vehicle massage transmission device push sends.In order to
Guarantee that the message of caching is successfully pushed to recipient by unmanned vehicle massage transmission device, can first detect the starting shape of recipient
State.If detecting, recipient is had been started up, and is generated buffered message and is sent event, preconfigured slow according to recipient with triggering
Message reception mechanism is deposited, the message of caching is pushed to recipient.If detecting, recipient is inactive, does not generate buffered message hair
Event is sent, does not push the message of caching to recipient temporarily.Optionally, unmanned vehicle massage transmission device can be according to preset time
The starting state of recipient is detected, recipient starts if detecting, generates buffered message and sends event, to trigger to recipient
Push the message of caching.Wherein, the predetermined period can according to sending direction recipient send message time or frequency into
Row setting.
The unmanned vehicle method for message transmission provided in the embodiment of the present invention, comprising: obtain sending direction recipient transmission
Message, and cache interface is called to cache the message;It determines the associated sender of the recipient, and is pushed away to recipient
The preconfigured buffered message sum of the associated sender of recipient is sent, so that recipient matches according to received buffered message sum
Set receivable buffered message quantity;According to the preconfigured buffered message reception mechanism of recipient, pushed to the recipient
The message of caching.The technical solution of the embodiment of the present invention can carry out persistence processing to sender's message, avoid working as recipient
Starting when being later than the starting of sender, the message that sender sends before causing recipient that can not receive itself starting solves
Can not keep sender's message duration in a device in the related technology, so as to cause recipient lack certain message datas without
Method meets the problem of use demand in some scenarios.
Embodiment three
Fig. 3 is a kind of structural schematic diagram of the unmanned vehicle massage transmission device provided in the embodiment of the present invention three, this implementation
Example is applicable to the case where transmission of the message in equipment, for example, sending direction recipient sends the scene of message in equipment.The dress
Setting can be realized by the way of software and/or hardware, and can be integrated in any equipment with network communicating function.
As shown in figure 3, the unmanned vehicle massage transmission device in the embodiment of the present invention may include: to obtain cache module 301
With message pushing module 302.Wherein:
Cache module 301 is obtained, for obtaining the message of sending direction recipient transmission, and calls cache interface to described
Message is cached;
Message pushing module 302, for the foundation preconfigured buffered message reception mechanism of recipient, to the recipient
Push the message of caching.
In a kind of optional way of the embodiment of the present invention, the acquisition cache module 301 may include:
Message number determination unit, for determining sender's message number of currently practical caching;
First cache unit, if it is total to be less than the preconfigured buffered message of sender for described sender message number
Number, then call cache interface to cache the message;
Second cache unit, if it is total to be equal to the preconfigured buffered message of sender for described sender message number
Number then deletes the preceding message of cache-time from sender's message of current cache, and calls cache interface to the message
It is cached.
In a kind of optional way of the embodiment of the present invention, the message pushing module specifically can be used for:
According to the preconfigured receivable buffered message quantity of recipient, new buffered message is pushed to the recipient.
In a kind of optional way of the embodiment of the present invention, described device can also include:
Sender's determining module 303, for determining the associated sender of recipient;
Quantity configuration module 304 is cached, it is preconfigured for pushing the associated sender of recipient to recipient
Buffered message sum configures receivable buffered message quantity according to received buffered message sum by the recipient.
In a kind of optional way of the embodiment of the present invention, described device can also include:
Trigger module 305, if generating buffered message for detecting that recipient starts and sending event, with triggering to connecing
Debit pushes the message of caching.
Unmanned vehicle massage transmission device provided in the embodiment of the present invention can be performed in aforementioned present invention any embodiment
Provided unmanned vehicle method for message transmission has and executes the corresponding functional module of unmanned vehicle massage transmission device and beneficial to effect
Fruit.
Example IV
Fig. 4 is a kind of structural schematic diagram of the equipment provided in the embodiment of the present invention four.Fig. 4, which is shown, to be suitable for being used to realizing
The block diagram of the example devices 412 of embodiment of the present invention.The equipment 412 that Fig. 4 is shown is only an example, should not be to this hair
The function and use scope of bright embodiment bring any restrictions.
As shown in figure 4, the component of equipment 412 can include but is not limited to: one or more processor 416, storage dress
428 are set, the bus 418 of different system components (including storage device 428 and processor 416) is connected.
Bus 418 indicates one of a few class bus structures or a variety of, including storage device bus or storage device control
Device processed, peripheral bus, graphics acceleration port, processor or total using the local of any bus structures in a variety of bus structures
Line.For example, these architectures include but is not limited to industry standard architecture (Industry Subversive
Alliance, ISA) bus, microchannel architecture (Micro Channel Architecture, MAC) bus is enhanced
Isa bus, Video Electronics Standards Association (Video Electronics Standards Association, VESA) local are total
Line and peripheral component interconnection (Peripheral Component Interconnect, PCI) bus.
Equipment 412 typically comprises a variety of computer system readable media.These media can be it is any can be by equipment
The usable medium of 412 access, including volatile and non-volatile media, moveable and immovable medium.
Storage device 428 may include the computer system readable media of form of volatile memory, such as arbitrary access
Memory (Random Access Memory, RAM) 430 and/or cache memory 432.Equipment 412 can be wrapped further
Include other removable/nonremovable, volatile/non-volatile computer system storage mediums.Only as an example, storage system
434 can be used for reading and writing immovable, non-volatile magnetic media (Fig. 4 do not show, commonly referred to as " hard disk drive ").Although
It is not shown in Fig. 4, the disc driver for reading and writing to removable non-volatile magnetic disk (such as " floppy disk ") can be provided, and
To removable anonvolatile optical disk, such as CD-ROM (Compact Disc Read-Only Memory, CD-ROM), number
Optic disk (Digital Video Disc-Read Only Memory, DVD-ROM) or other optical mediums) read-write CD drive
Dynamic device.In these cases, each driver can be connected by one or more data media interfaces with bus 418.It deposits
Storage device 428 may include at least one program product, which has one group of (for example, at least one) program module, this
A little program modules are configured to perform the function of various embodiments of the present invention.
Program/utility 440 with one group of (at least one) program module 442 can store in such as storage dress
It sets in 428, such program module 442 includes but is not limited to operating system, one or more application program, other program moulds
It may include the realization of network environment in block and program data, each of these examples or certain combination.Program module
442 usually execute function and/or method in embodiment described in the invention.
Equipment 412 can also be logical with one or more external equipments 414 (such as keyboard, direction terminal, display 424 etc.)
Letter, can also be enabled a user to one or more terminal interact with the equipment 412 communicate, and/or with make the equipment 412
Any terminal (such as network interface card, modem etc.) communication that can be communicated with one or more of the other computing terminal.This
Kind communication can be carried out by input/output (I/O) interface 422.Also, equipment 412 can also by network adapter 420 with
One or more network (such as local area network (Local Area Network, LAN), wide area network (Wide Area Network,
WAN) and/or public network, for example, internet) communication.As shown in figure 4, network adapter 420 passes through bus 418 and equipment 412
Other modules communication.It should be understood that although not shown in the drawings, other hardware and/or software mould can be used with bonding apparatus 412
Block, including but not limited to: microcode, terminal driver, redundant processor, external disk drive array, disk array
(Redundant Arrays of Independent Disks, RAID) system, tape drive and data backup storage system
System etc..
The program that processor 416 is stored in storage device 428 by operation, thereby executing various function application and number
According to processing, such as realize unmanned vehicle method for message transmission provided in any embodiment of that present invention, this method may include:
The message of sending direction recipient transmission is obtained, and cache interface is called to cache the message;
According to the preconfigured buffered message reception mechanism of recipient, the message of caching is pushed to the recipient.
Embodiment five
A kind of computer readable storage medium is additionally provided in the embodiment of the present invention five, is stored thereon with computer program,
Unmanned vehicle method for message transmission, this method as provided in any embodiment of that present invention are realized when the program is executed by processor
May include:
The message of sending direction recipient transmission is obtained, and cache interface is called to cache the message;
According to the preconfigured buffered message reception mechanism of recipient, the message of caching is pushed to the recipient.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media
Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable
Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or
Device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes: tool
There are electrical connection, the portable computer diskette, hard disk, random access memory (RAM), read-only memory of one or more conducting wires
(ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-
ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage
Medium can be any tangible medium for including or store program, which can be commanded execution system, device or device
Using or it is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for
By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited
In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof
Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++,
It further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with
It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion
Divide and partially executes or executed on remote computer or terminal completely on the remote computer on the user computer.It is relating to
And in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or extensively
Domain net (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as provided using Internet service
Quotient is connected by internet).
In addition, additionally providing a kind of vehicle, including car body in the embodiment of the present invention, it is provided with the present invention on the car body and appoints
The equipment that embodiment of anticipating provides, and at least one functional module with equipment communication connection, the functional module conduct
The sender or recipient of message transmission.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.
Claims (13)
1. a kind of unmanned vehicle method for message transmission characterized by comprising
The message of sending direction recipient transmission is obtained, and cache interface is called to cache the message;
According to the preconfigured buffered message reception mechanism of recipient, the message of caching is pushed to the recipient.
2. the method according to claim 1, wherein cache interface is called to cache the message, comprising:
Determine sender's message number of currently practical caching;
If described sender message number is less than the preconfigured buffered message sum of sender, call cache interface to described
Message is cached;
If described sender message number is equal to the preconfigured buffered message sum of sender, from the sender of current cache
The preceding message of cache-time is deleted in message, and cache interface is called to cache the message.
3. the method according to claim 1, wherein according to the preconfigured buffered message receiver of recipient
System pushes the message of caching to the recipient, comprising:
According to the preconfigured receivable buffered message quantity of recipient, new buffered message is pushed to the recipient.
4. the method according to claim 1, wherein according to the preconfigured buffered message receiver of recipient
System, before pushing the message cached to the recipient, further includes:
Determine the associated sender of recipient;
The preconfigured buffered message sum of the associated sender of recipient is pushed to recipient, by recipient's foundation
Received buffered message sum configures receivable buffered message quantity.
5. the method according to claim 1, wherein according to the preconfigured buffered message receiver of recipient
System, before pushing the message cached to the recipient, further includes:
If detecting, recipient starts, and generates buffered message and sends event, to trigger the message for pushing caching to recipient.
6. a kind of unmanned vehicle massage transmission device characterized by comprising
Obtain cache module, for obtain sending direction recipient transmission message, and call cache interface to the message into
Row caching;
Message pushing module, for delaying to recipient push according to the preconfigured buffered message reception mechanism of recipient
The message deposited.
7. the apparatus according to claim 1, which is characterized in that the acquisition cache module includes:
Message number determination unit, for determining sender's message number of currently practical caching;
First cache unit, if being less than the preconfigured buffered message sum of sender for described sender message number,
Cache interface is called to cache the message;
Second cache unit, if being equal to the preconfigured buffered message sum of sender for described sender message number,
The preceding message of cache-time is deleted from sender's message of current cache, and cache interface is called to delay the message
It deposits.
8. the apparatus according to claim 1, which is characterized in that the message pushing module is specifically used for:
According to the preconfigured receivable buffered message quantity of recipient, new buffered message is pushed to the recipient.
9. the apparatus according to claim 1, which is characterized in that described device further include:
Sender's determining module, for determining the associated sender of recipient;
Quantity configuration module is cached, for pushing the preconfigured buffered message of the associated sender of recipient to recipient
Sum configures receivable buffered message quantity according to received buffered message sum by the recipient.
10. the apparatus according to claim 1, which is characterized in that described device further include:
Trigger module, if generating buffered message for detecting that recipient starts and sending event, pushed with triggering to recipient
The message of caching.
11. a kind of equipment, which is characterized in that the equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
Now such as unmanned vehicle method for message transmission as claimed in any one of claims 1 to 5.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
Such as unmanned vehicle method for message transmission as claimed in any one of claims 1 to 5 is realized when execution.
13. a kind of vehicle, including car body, which is characterized in that equipment as claimed in claim 11 is provided on the car body, with
And at least one functional module with equipment communication connection, the sender or reception that the functional module is transmitted as message
Side.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810997203.0A CN109150763A (en) | 2018-08-29 | 2018-08-29 | Unmanned vehicle method for message transmission, device, equipment, storage medium and vehicle |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810997203.0A CN109150763A (en) | 2018-08-29 | 2018-08-29 | Unmanned vehicle method for message transmission, device, equipment, storage medium and vehicle |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109150763A true CN109150763A (en) | 2019-01-04 |
Family
ID=64829149
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810997203.0A Pending CN109150763A (en) | 2018-08-29 | 2018-08-29 | Unmanned vehicle method for message transmission, device, equipment, storage medium and vehicle |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109150763A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005316705A (en) * | 2004-04-28 | 2005-11-10 | Fujitsu Ltd | Transmission/reception data amount management/restriction device and program therefor |
US20070252901A1 (en) * | 1997-06-06 | 2007-11-01 | Nikon Corporation | Electronic camera having a communication function |
CN103327039A (en) * | 2012-03-20 | 2013-09-25 | 腾讯科技(深圳)有限公司 | Method and device and system for pushing messages |
CN107408247A (en) * | 2015-03-11 | 2017-11-28 | 脸谱公司 | Using message and queue is paid to promote the transmission, reception and the renewal that pay |
CN107819543A (en) * | 2016-09-12 | 2018-03-20 | 北京百度网讯科技有限公司 | Data transmission method and device |
-
2018
- 2018-08-29 CN CN201810997203.0A patent/CN109150763A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070252901A1 (en) * | 1997-06-06 | 2007-11-01 | Nikon Corporation | Electronic camera having a communication function |
JP2005316705A (en) * | 2004-04-28 | 2005-11-10 | Fujitsu Ltd | Transmission/reception data amount management/restriction device and program therefor |
CN103327039A (en) * | 2012-03-20 | 2013-09-25 | 腾讯科技(深圳)有限公司 | Method and device and system for pushing messages |
CN107408247A (en) * | 2015-03-11 | 2017-11-28 | 脸谱公司 | Using message and queue is paid to promote the transmission, reception and the renewal that pay |
CN107819543A (en) * | 2016-09-12 | 2018-03-20 | 北京百度网讯科技有限公司 | Data transmission method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107591151B (en) | Far-field voice awakening method and device and terminal equipment | |
CN109213611B (en) | Cross-process communication method, device, terminal and storage medium | |
EP3159803A1 (en) | Data storage method and network interface card | |
CN109491567A (en) | A kind of message back method, apparatus, terminal and storage medium | |
CN110955541B (en) | Data processing method, device, chip, electronic equipment and readable storage medium | |
CN110287146A (en) | Using the method, equipment and computer storage medium of downloading | |
KR102331793B1 (en) | Use structured audio output to detect playback and/or adapt to unaligned playback on wireless speakers | |
CN109951546A (en) | Transactions requests processing method, device, equipment and medium based on intelligent contract | |
CN110445844A (en) | Short message multi-center selection method and device, storage medium, electronic equipment | |
CN110072268A (en) | Method, equipment and the computer storage medium that wifi hotspot is shared | |
CN107786998A (en) | A kind of processing method of network connection, device, equipment and computer-readable storage medium | |
CN109543198A (en) | Interpretation method, device, system and storage medium | |
CN108062705B (en) | Information interaction method, device and system, electronic equipment and storage medium | |
CN113709151A (en) | Method, apparatus, device, medium and product for logging in cloud application | |
CN110024395A (en) | Image real time transfer, transmission method and controlling terminal | |
CN109471674A (en) | It spreads its tail information displaying method, computer equipment and storage medium using starting | |
CN109976922A (en) | Discovery method, equipment and computer storage medium between small routine platform | |
CN103685349A (en) | Method for information processing and electronic equipment | |
WO2019056901A1 (en) | Method of forwarding voice information during instant messaging process, and device and storage medium | |
CN108881766A (en) | Method for processing video frequency, device, terminal and storage medium | |
CN109150763A (en) | Unmanned vehicle method for message transmission, device, equipment, storage medium and vehicle | |
CN107241788A (en) | The power consumption control method and device of wearable device | |
CN109976800A (en) | Message informing method, device, equipment and storage medium based on Gitlab | |
CN109936717A (en) | Video communication method and equipment | |
CN114173319B (en) | Method and device for realizing conversation across platforms, cloud platform server and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190104 |