CN107958035A - Method and apparatus for sending information - Google Patents

Method and apparatus for sending information Download PDF

Info

Publication number
CN107958035A
CN107958035A CN201711158138.4A CN201711158138A CN107958035A CN 107958035 A CN107958035 A CN 107958035A CN 201711158138 A CN201711158138 A CN 201711158138A CN 107958035 A CN107958035 A CN 107958035A
Authority
CN
China
Prior art keywords
data
time series
vehicle
information
attribute data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711158138.4A
Other languages
Chinese (zh)
Other versions
CN107958035B (en
Inventor
黄龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201711158138.4A priority Critical patent/CN107958035B/en
Publication of CN107958035A publication Critical patent/CN107958035A/en
Application granted granted Critical
Publication of CN107958035B publication Critical patent/CN107958035B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/09Arrangements for giving variable traffic instructions
    • G08G1/0962Arrangements for giving variable traffic instructions having an indicator mounted inside the vehicle, e.g. giving voice messages
    • G08G1/0967Systems involving transmission of highway information, e.g. weather, speed limits
    • G08G1/096766Systems involving transmission of highway information, e.g. weather, speed limits where the system is characterised by the origin of the information transmission
    • G08G1/096775Systems involving transmission of highway information, e.g. weather, speed limits where the system is characterised by the origin of the information transmission where the origin of the information is a central station
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Abstract

The embodiment of the present application is disclosed for sending information approach and device.One embodiment of this method includes:The time series data sent by target vehicle and vehicle attribute data are obtained from time series database, wherein, time series data and vehicle attribute data are the data that target vehicle is sent by the communication connection pre-established, and time series data is used for the transport condition for characterizing target vehicle;In response to determining that time series data and/or vehicle attribute data meet preset condition, result information is generated;Result information is sent to target vehicle.This embodiment improves the real-time of data processing.

Description

Method and apparatus for sending information
Technical field
The invention relates to field of computer technology, and in particular to Internet technical field, more particularly, to sends out Deliver letters the method and apparatus of breath.
Background technology
In publicly-owned cloud platform, often for multi-user, each user has different fleet's needs for car networking service There are numerous vehicles in management, each fleet again.Existing car networking access scheme is mostly to use HTTP (HyperText Transfer Protocol, hypertext transfer protocol) request or various based on TCP (Transmission Control Protocol, biography Transport control protocol is discussed) proprietary protocol or portion's mark agreement (such as J/T808) realize, data storage traditional Relational DataBases.
The content of the invention
The embodiment of the present application proposes the method and apparatus for sending information.
In a first aspect, the embodiment of the present application provides a kind of method for sending information, this method includes:From when ordinal number According to the time series data and vehicle attribute data that acquisition is sent by target vehicle in storehouse, wherein, time series data and vehicle attribute data It is the data that target vehicle is sent by the communication connection pre-established, time series data is used for the traveling shape for characterizing target vehicle State;In response to determining that time series data and/or vehicle attribute data meet preset condition, result information is generated;Result information is sent out Send to target vehicle.
In certain embodiments, time series data and vehicle attribute data are stored to time series database as follows:Connect Receive the vehicle data that target vehicle is sent based on the communication connection pre-established;Include preset data mark in response to vehicle data Know, time series data and vehicle attribute data are extracted from vehicle data;The time series data extracted and vehicle attribute data are closed Connection is stored into time series database.
In certain embodiments, time series database includes backup memory block;And by the time series data extracted and vehicle Feature data association is stored into time series database, including:The time series data extracted and vehicle attribute data correlation are stored Stored into time series database, and by the time series data extracted and the vehicle attribute data extracted to backup memory block In.
In certain embodiments, vehicle data includes time series data mark and attribute data mark;And from vehicle data Middle extraction time series data and vehicle attribute data, including:According to time series data mark and attribute data mark, from vehicle data Extract time series data and attribute data.
In certain embodiments, communication connection is established by following steps:The communication connection that target vehicle is sent is received to ask Ask, wherein, communication connection request includes checking information;Default tested in response to determine that checking information and targeted customer's information include Information matches are demonstrate,proved, establishes and communicates to connect with target vehicle, wherein, targeted customer's information is sent according to the terminal of targeted customer The information that the generation request of targeted customer's information previously generates.
In certain embodiments, targeted customer's information further includes storage address information;And the time series data that will be extracted Stored with vehicle attribute data correlation into time series database, including:The time series data extracted and vehicle attribute data are closed Connection stores the corresponding memory space of storage address information into time series database.
In certain embodiments, communicate to connect as based on MQTT (Message Queuing Telemetry Transport, message queue remote measurement transmission) agreement establish communication connection.
Second aspect, the embodiment of the present application provide a kind of device for being used to send information, which includes:Obtain single Member, is configured to obtain the time series data sent by target vehicle and vehicle attribute data from time series database, wherein, sequential Data and vehicle attribute data are the data that target vehicle is sent by the communication connection pre-established, and time series data is used to characterize The transport condition of target vehicle;Generation unit, is configured in response to determining that time series data and/or vehicle attribute data meet in advance If condition, result information is generated;Transmitting element, is configured to send result information to target vehicle.
In certain embodiments, which further includes:First receiving unit, is configured to receive target vehicle based on advance The vehicle data that the communication connection of foundation is sent;Extraction unit, is configured to identify including preset data in response to vehicle data, Time series data and vehicle attribute data are extracted from vehicle data;Storage unit, be configured to the time series data that will be extracted and Vehicle attribute data correlation is stored into time series database.
In certain embodiments, time series database includes backup memory block;And storage unit is further configured to:Will The time series data and vehicle attribute data correlation extracted is stored into time series database, and by the time series data extracted and The vehicle attribute data extracted are stored into backup memory block.
In certain embodiments, vehicle data includes time series data mark and attribute data mark;And extraction unit into One step is configured to:According to time series data mark and attribute data mark, time series data and attribute number are extracted from vehicle data According to.
In certain embodiments, which further includes:Second receiving unit, is configured to receive the logical of target vehicle transmission Believe connection request, wherein, communication connection request includes checking information;Unit is established, is configured in response to determining checking information Matched with the default checking information that targeted customer's information includes, establish and communicate to connect with target vehicle, wherein, targeted customer's information It is the information that the targeted customer's information generation request sent according to the terminal of targeted customer previously generates.
In certain embodiments, targeted customer's information further includes storage address information;And storage unit further configures For:The time series data extracted and vehicle attribute data correlation are stored the storage address information into time series database to correspond to Memory space.
In certain embodiments, the communication connection to be established based on MQTT agreements is communicated to connect.
The third aspect, the embodiment of the present application provide a kind of server, which includes:One or more processors; Storage device, for storing one or more programs;When one or more programs are executed by one or more processors so that one A or multiple processors realize the method as described in any implementation in first aspect.
Fourth aspect, the embodiment of the present application provide a kind of computer-readable recording medium, are stored thereon with computer journey Sequence, realizes the method as described in any implementation in first aspect when which is executed by processor.
Method and apparatus provided by the embodiments of the present application for sending information, by being obtained from time series database by mesh Time series data and the vehicle attribute data that vehicle is sent are marked, it is then determined that whether time series data and/or vehicle attribute data meet Preset condition, generates result information further according to the result determined, finally sends result information to target vehicle, improve The real-time of data processing.
Brief description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, the application's is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is that this application can be applied to exemplary system architecture figure therein;
Fig. 2 is the flow chart for being used to send one embodiment of the method for information according to the application;
Fig. 3 is the schematic diagram for being used to send an application scenarios of the method for information according to the application;
Fig. 4 is the structure diagram for being used to send one embodiment of the device of information according to the application;
Fig. 5 is adapted for the structure diagram of the computer system of the server for realizing the embodiment of the present application.
Embodiment
The application 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 related invention, rather than the restriction to the invention.It also should be noted that in order to It illustrate only easy to describe, in attached drawing and invent relevant part with related.
It should be noted that in the case where there is no conflict, the feature in embodiment and embodiment in the application can phase Mutually combination.Describe the application in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 shows the method for being used to send information that can apply the application or the implementation of the device for sending information The exemplary system architecture 100 of example.
As shown in Figure 1, system architecture 100 can include vehicle 101, network 102 and server 103.Network 102 to The medium of communication link is provided between vehicle 101 and server 103.Network 102 can be wireless communication link.
Vehicle 101 is interacted by network 102 with server 103, to receive or send message etc..It can pacify on vehicle 101 Equipped with various data handling utilities, such as position detection application, velocity measuring application, radar range finding application, temperature control application, Communication applications etc..
Vehicle 101 can be various types of vehicles, such as automatic driving vehicle, electric automobile, oil electricity hybrid vehicle, interior Combustion engine automobile etc..
Server 103 can be the server that the various data sent to vehicle 101 are received and processed, such as to car The server that the data that multiple sensors on 101 measure are received and processed.Server 103 can be by the data of reception Time series database is stored, is handled with the data sent to vehicle 101.
It should be noted that the method for being used to send information that the embodiment of the present application is provided generally is held by server 103 OK, correspondingly, it is generally positioned at for sending the device of information in server 103.
It should be understood that the number of the vehicle, network and server in Fig. 1 is only schematical., can according to needs are realized With with any number of vehicle, network and server.
With continued reference to Fig. 2, the flow for being used to send one embodiment of the method for information according to the application is shown 200.This is used for the method for sending information, comprises the following steps:
Step 201, the time series data sent by target vehicle and vehicle attribute data are obtained from time series database.
In the present embodiment, electronic equipment (such as the service shown in Fig. 1 thereon is run for sending the method for information Device) time series data sent by target vehicle and vehicle attribute data can be obtained from time series database.Wherein, time series data Can be the data that target vehicle is sent by the communication connection pre-established with vehicle attribute data.Above-mentioned time series data can be with For characterizing the transport condition of target vehicle.Time series data can be the data row recorded in chronological order, and time series data can be with It is including but not limited to following at least one:Vehicle position data, vehicle speed data, fuel consumption data etc..Above-mentioned vehicle attribute number According to that can be the data that do not change over time, vehicle attribute data can include but is not limited to following at least one:Vehicles identifications Data (such as license plate number, Motor Number etc.), related personnel's data (such as the image of driver, image etc. of car owner), vehicle Color data, other customized data of vehicle operators etc..Above-mentioned time series database can be used to store extensive sequential The time series database (such as Baidu's cloud time series database etc.) of data.Above-mentioned time series database can improve storage and processing magnanimity The speed of time series data.
Above-mentioned target vehicle can be the vehicle in some pre-set vehicle list or some vehicle set.For example, The vehicle that some fleet includes, the vehicle that some car owner possesses etc..Above-mentioned electronic equipment can be the various of processing time series data Server, it can refer to a server, can also refer to a server cluster.
In some optional implementations of the present embodiment, above-mentioned electronic equipment can be as follows by time series data Stored with vehicle attribute data to time series database:
First, above-mentioned electronic equipment can receive the vehicle data that target vehicle is sent based on above-mentioned communication connection.
Secondly, above-mentioned electronic equipment can determine whether vehicle data includes preset data and identify.Wherein, preset data mark Knowledge, which can be used for mark, includes time series data and the vehicle data of vehicle attribute data.Above-mentioned electronic equipment can be in response to vehicle Data are identified including preset data, and time series data and vehicle attribute data are extracted from vehicle data.As an example, preset data Mark can be for characterizing the mark of the application that is operated of vehicle data sent to target vehicle (such as Publish-subscribe Subject identification in message mode).
Finally, above-mentioned electronic equipment the time series data extracted and vehicle attribute data correlation can be stored to when ordinal number According in storehouse.
In some optional implementations of the present embodiment, above-mentioned time series database can include backup memory block.On State electronic equipment to store the time series data extracted and vehicle attribute data correlation into time series database, and will be extracted Time series data and the vehicle attribute data extracted are stored into backup memory block.When above-mentioned electronic equipment detects time series data And/or when vehicle attribute loss of data or mistake, time series data and/or vehicle attribute data can be carried from backup memory block Take out.
In some optional implementations of the present embodiment, above-mentioned vehicle data can include time series data and identify and belong to Property Data Identification.Above-mentioned electronic equipment can be identified according to time series data and attribute data identifies, when being extracted from vehicle data Ordinal number evidence and attribute data.
Alternatively, above-mentioned vehicle data can be JSON (JavaScript Object Notation, JS object tag) The data of form, time series data mark and vehicle attribute Data Identification can be included in the vehicle data of JSON forms, for will Time series data and vehicle attribute data are distinguished.
In some optional implementations of the present embodiment, above-mentioned communication connection can as follows with target vehicle Establish:
First, above-mentioned electronic equipment can receive the communication connection request of target vehicle transmission.Wherein, communication connection request It can include checking information.
Secondly, the default verification that above-mentioned electronic equipment can include in response to determining checking information and targeted customer's information is believed Breath matching, establishes with target vehicle and communicates to connect.Wherein, targeted customer's information is sent previously according to the terminal of targeted customer The information that the generation of targeted customer's information requests to generate.Above-mentioned targeted customer can establish correspondence with target vehicle in advance User (such as the management user being managed to target vehicle).The generation request of above-mentioned targeted customer's information can include but unlimited In following at least one:The default checking information (such as user name, password) of user setting, time series data to reception and/or Mark for the application that vehicle attribute data are handled etc..
It should be appreciated that checking information and default checking information phase that above-mentioned electronic equipment can be sent in response to target vehicle Together, determine that the checking information that target vehicle is sent is matched with default checking information.The checking information that above-mentioned target vehicle is sent can To be encrypted checking information, the encrypted checking information of reception can be decrypted first for above-mentioned electronic equipment, so Afterwards in response to determine decryption after checking information it is identical with default checking information, determine target vehicle send checking information with advance If checking information matches.
In some optional implementations of the present embodiment, above-mentioned targeted customer's information can also include storage address and believe Breath.The time series data extracted and vehicle attribute data correlation can be stored depositing into time series database by above-mentioned electronic equipment Store up the corresponding memory space of address information.In general, the storage address information that different user informations includes is different, in this way, each The corresponding time series data of user is different with the memory space in vehicle attribute data time sequence database, so as to avoid between user The conflict of data.
In some optional implementations of the present embodiment, above-mentioned electronic equipment can pass through distributed post-subscription The mode of message stores time series data into time series database.Alternatively, above-mentioned electronic equipment can include kafka systems, Kafka systems are a kind of distributed post-subscription message systems, it can for processing time series data provide unification, high-throughput, The low platform treated.In the case where receiving substantial amounts of time series data, by kafka systems can realize rapidly by when ordinal number According to being distributed in time series database.
In some optional implementations of the present embodiment, above-mentioned targeted customer's information generation request can be to pass through The request of RESTful (Representational State Transfer, declarative state transfer) interface.Wherein, RESTful interfaces are a kind of agreements using http protocol as data transfer, realize clothes using the existing semanteme of http protocol Business device and the interface interacted between client.
Step 202, in response to determining that time series data and/or vehicle attribute data meet preset condition, result information is generated.
In the present embodiment, based on the time series data and vehicle attribute data obtained in step 201, above-mentioned electronic equipment can In response to determining that time series data and/or vehicle attribute data meet preset condition, to generate result information.Above-mentioned preset condition can With including the preset condition for time series data and/or the preset condition for attribute data.Wherein, for the pre- of time series data Exceed default scope if condition can be time series data, the preset condition for attribute data can be attribute data with presetting Attribute data mismatch.The above-mentioned preset condition for time series data and the preset condition for attribute data can be at the same time In the case of satisfaction or meet one of them in the case of, generate result information.
As an example it is supposed that time series data is the position data of target vehicle, the above-mentioned preset condition for time series data It is that the position of target vehicle of the position data characterization of target vehicle exceeds default position data scope.When getting target carriage When leaving predeterminable area, above-mentioned electronic equipment can be generated for prompting beyond pre- for the position data sent characterization target vehicle If the result information in region.For another example default attribute data is the face-image of the car owner of target vehicle, on the target vehicle Camera can be installed, in each vehicle launch, target vehicle obtains the face-image of driver by camera and incites somebody to action The face-image of the driver is added in vehicle attribute data.It is right when above-mentioned electronic equipment gets vehicle attribute data The face-image that vehicle attribute data include is identified, when the car owner's that recognition result includes with default vehicle attribute data When face-image is inconsistent, result information of the above-mentioned electronic equipment generation for alarm.
Step 203, result information is sent to target vehicle.
In the present embodiment, the result information generated based on step 202, above-mentioned electronic equipment can be sent result information To target vehicle.For example, when target vehicle exceeds the speed limit, above-mentioned electronic equipment can send speeding message to target vehicle, After target vehicle receives speeding message, it can make a sound, the alarm signal such as light, word.It should be appreciated that above-mentioned electricity Sub- equipment can be sent result information to target vehicle by above-mentioned communication connection.
In some optional implementations of the present embodiment, above-mentioned communication connection can be to be established based on MQTT agreements Communication connection.MQTT agreements are a kind of instant communication protocols for Internet of Things.MQTT agreements are issued and subscribed to using lightweight Message transfer mechanism, makes equipment easy to use to the short message communication between equipment., can be with using the communication connection of MQTT agreements The flow of data communication is reduced, saves communications cost.
With continued reference to Fig. 3, Fig. 3 is the signal for being used to send the application scenarios of the method for information according to the present embodiment Figure.
In the application scenarios of Fig. 3, MQTT communication connections, server are established between the vehicle 301 and server 302 of user Time series database 304 is provided with 302.Vehicle 301 sends the position data 303 of vehicle 301, clothes to server 302 in real time Business device 302 stores received position data 303 in time series database.Server 302 obtains vehicle from time series database Whether 301 position data, position of the vehicle 301 that the position data for determining to get characterizes on map are located at predeterminable area In 305, when the position data characterization vehicle 301 for determining to get is in outside predeterminable area in the position on map, server 302 send warning message 306 to vehicle 301, and vehicle 301 can send various forms of alarms after receiving warning message 306 Signal, reminds driver to pay attention to.
The method that above-described embodiment of the application provides, by obtained from time series database by target vehicle send when Ordinal number evidence and vehicle attribute data, it is then determined that whether time series data and/or vehicle attribute data meet preset condition, further according to The result generation result information determined, result information is finally sent to target vehicle, improve the real-time of data processing Property.
With further reference to Fig. 4, as the realization to method shown in above-mentioned each figure, it is used to send letter this application provides one kind One embodiment of the device of breath, the device embodiment is corresponding with the embodiment of the method shown in Fig. 2, which can specifically answer For in various electronic equipments.
As shown in figure 4, the device 400 for being used to send information of the present embodiment includes:Acquiring unit 401, be configured to from The time series data sent by target vehicle and vehicle attribute data are obtained in time series database, wherein, time series data and vehicle category Property data be that target vehicle passes through the data that the communication connection pre-established is sent, time series data is used to characterize the row of target vehicle Sail state;Generation unit 402, is configured in response to determining that time series data and/or vehicle attribute data meet preset condition, raw Into result information;Transmitting element 403, is configured to send result information to target vehicle.
In the present embodiment, acquiring unit 401 can obtain the when ordinal number sent by target vehicle from time series database According to vehicle attribute data.Wherein, can be target vehicle pass through the communication that pre-establishes for time series data and vehicle attribute data The data of linkup transmit.Above-mentioned time series data can be used for the transport condition for characterizing target vehicle.Time series data can be on time Between journal data row.Above-mentioned vehicle attribute data can be the data not changed over time.Above-mentioned time series database can To be for storing the time series database of extensive time series data (such as Baidu's cloud time series database etc.).Above-mentioned time series database The speed of storage and processing magnanimity time series data can be improved.Above-mentioned target vehicle can be some pre-set vehicle list Or the vehicle in some vehicle set.
In some optional implementations of the present embodiment, the device 400 for sending information can further include:First Receiving unit, is configured to receive the vehicle data that target vehicle is sent based on the communication connection pre-established;Extraction unit, matches somebody with somebody Put for being identified in response to vehicle data including preset data, time series data and vehicle attribute data are extracted from vehicle data; Storage unit, is configured to the time series data that will be extracted and vehicle attribute data correlation is stored into time series database.
In some optional implementations of the present embodiment, time series database includes backup memory block;And storage is single Member can be further configured to:The time series data extracted and vehicle attribute data correlation are stored into time series database, And the time series data extracted and the vehicle attribute data extracted are stored into backup memory block.
In some optional implementations of the present embodiment, vehicle data can include time series data mark and attribute number According to mark;And extraction unit can be further configured to:According to time series data mark and attribute data mark, from vehicle number According to middle extraction time series data and attribute data.
In some optional implementations of the present embodiment, the device 400 for sending information can also include:Second Receiving unit, is configured to receive the communication connection request that target vehicle is sent, wherein, communication connection request, which includes verification, to be believed Breath;Unit is established, is configured in response to determining that checking information is matched with the default checking information that targeted customer's information includes, with Target vehicle establishes communication connection, wherein, targeted customer's information is the targeted customer's information sent according to the terminal of targeted customer The information that generation request previously generates.
In some optional implementations of the present embodiment, targeted customer's information can also include storage address information; And storage unit can be further configured to:The time series data extracted and vehicle attribute data correlation are stored to sequential The corresponding memory space of storage address information in database.
In the present embodiment, the time series data and vehicle attribute data obtained based on acquiring unit 401, generation unit 402 Result information can be generated in response to determining that time series data and/or vehicle attribute data meet preset condition.Above-mentioned preset condition It can include the preset condition for time series data and/or the preset condition for attribute data.Wherein, for time series data Preset condition can be that time series data exceeds default scope, the preset condition for attribute data can be attribute data with it is pre- If attribute data mismatch.The above-mentioned preset condition for time series data and the preset condition for attribute data can be same When meet in the case of or meet one of them in the case of, generate result information.
In the present embodiment, the result information generated based on generation unit 402, transmitting element 403 can be by result information Send to target vehicle.It should be appreciated that above-mentioned electronic equipment can be sent result information to target by above-mentioned communication connection Vehicle.
In some optional implementations of the present embodiment, above-mentioned communication connection can be to be established based on MQTT agreements Communication connection.
The device that above-described embodiment of the application provides, is obtained by target vehicle by acquiring unit from time series database The time series data and vehicle attribute data of transmission, then generation unit determine whether time series data and/or vehicle attribute data full Sufficient preset condition, generates result information, last transmitting element sends result information to target further according to the result determined Vehicle, improves the real-time of data processing.
Below with reference to Fig. 5, it illustrates suitable for for realizing the computer system 500 of the server of the embodiment of the present application Structure diagram.Server shown in Fig. 5 is only an example, should not be to the function and use scope band of the embodiment of the present application Carry out any restrictions.
As shown in figure 5, computer system 500 includes central processing unit (CPU) 501, it can be read-only according to being stored in Program in memory (ROM) 502 or be loaded into program in random access storage device (RAM) 503 from storage part 508 and Perform various appropriate actions and processing.In RAM 503, also it is stored with system 500 and operates required various programs and data. CPU 501, ROM 502 and RAM 503 are connected with each other by bus 504.Input/output (I/O) interface 505 is also connected to always Line 504.
I/O interfaces 505 are connected to lower component:Importation 506 including keyboard, mouse etc.;Penetrated including such as cathode The output par, c 507 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage part 508 including hard disk etc.; And the communications portion 509 of the network interface card including LAN card, modem etc..Communications portion 509 via such as because The network of spy's net performs communication process.Driver 510 is also according to needing to be connected to I/O interfaces 505.Detachable media 511, such as Disk, CD, magneto-optic disk, semiconductor memory etc., are installed on driver 510, in order to read from it as needed Computer program be mounted into as needed storage part 508.
Especially, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product, it includes being carried on computer-readable medium On computer program, the computer program include be used for execution flow chart shown in method program code.In such reality Apply in example, which can be downloaded and installed by communications portion 509 from network, and/or from detachable media 511 are mounted.When the computer program is performed by central processing unit (CPU) 501, perform what is limited in the present processes Above-mentioned function.
It should be noted that computer-readable medium described herein can be computer-readable signal media or meter Calculation machine readable storage medium storing program for executing either the two any combination.Computer-readable recording medium for example can be --- but not Be limited to --- electricity, magnetic, optical, electromagnetic, system, device or the device of infrared ray or semiconductor, or it is any more than combination.Meter The more specifically example of calculation machine readable storage medium storing program for executing can include but is not limited to:Electrical connection with one or more conducting wires, just Take formula computer disk, hard disk, random access storage device (RAM), read-only storage (ROM), erasable type and may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only storage (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In this application, computer-readable recording medium can any include or store journey The tangible medium of sequence, the program can be commanded the either device use or in connection of execution system, device.And at this In application, computer-readable signal media can include in a base band or as carrier wave a part propagation 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 beyond storage medium is read, which, which can send, propagates or transmit, is used for By instruction execution system, device either device use or program in connection.Included on computer-readable medium Program code can be transmitted with any appropriate medium, be included but not limited to:Wirelessly, electric wire, optical cable, RF etc., or it is above-mentioned Any appropriate combination.
Flow chart and block diagram in attached drawing, it is illustrated that according to the system of the various embodiments of the application, method and computer journey Architectural framework in the cards, function and the operation of sequence product.At this point, each square frame in flow chart or block diagram can generation The part of one module of table, program segment or code, the part of the module, program segment or code include one or more use In the executable instruction of logic function as defined in realization.It should also be noted that marked at some as in the realization replaced in square frame The function of note can also be with different from the order marked in attached drawing generation.For example, two square frames succeedingly represented are actually It can perform substantially in parallel, they can also be performed in the opposite order sometimes, this is depending on involved function.Also to note Meaning, the combination of each square frame and block diagram in block diagram and/or flow chart and/or the square frame in flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard The mode of part is realized.Described unit can also be set within a processor, for example, can be described as:A kind of processor, bag Include acquiring unit, generation unit and transmitting element.Wherein, the title of these units is not formed to the list under certain conditions First restriction of itself, for example, acquiring unit be also described as " obtained from time series database by target vehicle send when The unit of ordinal number evidence and vehicle attribute data ".
As on the other hand, present invention also provides a kind of computer-readable medium, which can be Included in server described in above-described embodiment;Can also be individualism, and without be incorporated the server in.It is above-mentioned Computer-readable medium carries one or more program, when said one or multiple programs are performed by the server, So that the server:The time series data sent by target vehicle and vehicle attribute data are obtained from time series database, wherein, when Ordinal number evidence and vehicle attribute data are the data that target vehicle is sent by the communication connection pre-established, and time series data is used for table Levy the transport condition of target vehicle;In response to determining that time series data and/or vehicle attribute data meet preset condition, result is generated Information;Result information is sent to target vehicle.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.People in the art Member should be appreciated that invention scope involved in the application, however it is not limited to the technology that the particular combination of above-mentioned technical characteristic forms Scheme, while should also cover in the case where not departing from foregoing invention design, carried out by above-mentioned technical characteristic or its equivalent feature The other technical solutions for being combined and being formed.Such as features described above has similar work(with (but not limited to) disclosed herein The technical solution that the technical characteristic of energy is replaced mutually and formed.

Claims (16)

1. a kind of method for sending information, including:
The time series data sent by target vehicle and vehicle attribute data are obtained from time series database, wherein, ordinal number when described It is that the target vehicle communicates to connect the data sent, ordinal number when described by what is pre-established according to the vehicle attribute data According to the transport condition for characterizing the target vehicle;
In response to determining that the time series data and/or the vehicle attribute data meet preset condition, result information is generated;
The result information is sent to the target vehicle.
2. according to the method described in claim 1, wherein, time series data and the vehicle attribute data store as follows To time series database:
Receive the vehicle data that target vehicle is sent based on the communication connection pre-established;
Identified in response to the vehicle data including preset data, time series data and vehicle attribute are extracted from the vehicle data Data;
The time series data extracted and vehicle attribute data correlation are stored into time series database.
3. according to the method described in claim 2, wherein, the time series database includes backup memory block;And
It is described to store the time series data extracted and vehicle attribute data correlation into time series database, including:
The time series data extracted and vehicle attribute data correlation are stored into time series database, and the sequential that will be extracted Data and the vehicle attribute data extracted are stored into the backup memory block.
4. according to the method described in claim 2, wherein, the vehicle data includes time series data mark and attribute data mark Know;And
Extraction time series data and the vehicle attribute data from the vehicle data, including:
According to time series data mark and attribute data mark, time series data and attribute are extracted from the vehicle data Data.
5. according to the method described in claim 1, wherein, the communication connection is established by following steps:
The communication connection request that the target vehicle is sent is received, wherein, the communication connection request includes checking information;
In response to determining that the checking information is matched with the default checking information that targeted customer's information includes, with the target vehicle Communication connection is established, wherein, targeted customer's information is that the targeted customer's information sent according to the terminal of targeted customer generates Ask the information previously generated.
6. according to the method described in claim 5, wherein, targeted customer's information further includes storage address information;And
It is described to store the time series data extracted and vehicle attribute data correlation into the time series database, including:
The time series data extracted and vehicle attribute data correlation are stored to the storage address into the time series database The corresponding memory space of information.
7. according to the method described in one of claim 1-6, wherein, the communication connection is to be transmitted based on message queue remote measurement The communication connection that MQTT agreements are established.
8. a kind of device for being used to send information, including:
Acquiring unit, is configured to obtain the time series data and vehicle attribute number sent by target vehicle from time series database According to, wherein, the time series data and the vehicle attribute data, which are the target vehicles, passes through the communication link sending and receiving pre-established The data sent, the time series data are used for the transport condition for characterizing the target vehicle;
Generation unit, is configured in response to determining that the time series data and/or the vehicle attribute data meet preset condition, Generate result information;
Transmitting element, is configured to send the result information to the target vehicle.
9. device according to claim 8, wherein, described device further includes:
First receiving unit, is configured to receive the vehicle data that target vehicle is sent based on the communication connection pre-established;
Extraction unit, is configured to identify including preset data in response to the vehicle data, is extracted from the vehicle data Time series data and vehicle attribute data;
Storage unit, is configured to the time series data that will be extracted and vehicle attribute data correlation is stored into time series database.
10. device according to claim 9, wherein, the time series database includes backup memory block;And
The storage unit is further configured to:
The time series data extracted and vehicle attribute data correlation are stored into time series database, and the sequential that will be extracted Data and the vehicle attribute data extracted are stored into the backup memory block.
11. device according to claim 9, wherein, the vehicle data includes time series data mark and attribute data mark Know;And
The extraction unit is further configured to:
According to time series data mark and attribute data mark, time series data and attribute are extracted from the vehicle data Data.
12. device according to claim 8, wherein, described device further includes:
Second receiving unit, is configured to receive the communication connection request that the target vehicle is sent, wherein, the communication connection Request includes checking information;
Unit is established, is configured to the default checking information included in response to determining the checking information and targeted customer's information Match somebody with somebody, establish and communicate to connect with the target vehicle, wherein, targeted customer's information is sent according to the terminal of targeted customer The information that the generation request of targeted customer's information previously generates.
13. device according to claim 12, wherein, targeted customer's information further includes storage address information;And
The storage unit is further configured to:
The time series data extracted and vehicle attribute data correlation are stored to the storage address into the time series database The corresponding memory space of information.
14. according to the device described in one of claim 8-13, wherein, the communication connection is to be transmitted based on message queue remote measurement The communication connection that MQTT agreements are established.
15. a kind of server, including:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are performed by one or more of processors so that one or more of processors are real The now method as described in any in claim 1-7.
16. a kind of computer-readable recording medium, is stored thereon with computer program, realized such as when which is executed by processor Any method in claim 1-7.
CN201711158138.4A 2017-11-20 2017-11-20 Method and apparatus for transmitting information Active CN107958035B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711158138.4A CN107958035B (en) 2017-11-20 2017-11-20 Method and apparatus for transmitting information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711158138.4A CN107958035B (en) 2017-11-20 2017-11-20 Method and apparatus for transmitting information

Publications (2)

Publication Number Publication Date
CN107958035A true CN107958035A (en) 2018-04-24
CN107958035B CN107958035B (en) 2022-09-02

Family

ID=61965057

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711158138.4A Active CN107958035B (en) 2017-11-20 2017-11-20 Method and apparatus for transmitting information

Country Status (1)

Country Link
CN (1) CN107958035B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109194593A (en) * 2018-08-29 2019-01-11 百度在线网络技术(北京)有限公司 Method for sending information, device, equipment and computer readable storage medium
CN109614389A (en) * 2018-11-28 2019-04-12 山东中创软件商用中间件股份有限公司 A kind of data storage method, system, equipment and medium
CN110493116A (en) * 2018-05-14 2019-11-22 广州小鹏汽车科技有限公司 A kind of car networking data transmission method and device
CN112399379A (en) * 2020-10-28 2021-02-23 星火科技技术(深圳)有限责任公司 Intelligent Internet of vehicles communication protocol method, device, equipment and storage medium
CN112788105A (en) * 2020-12-25 2021-05-11 北京百度网讯科技有限公司 Method, device and equipment for synchronizing time sequence messages and storage medium
CN113380037A (en) * 2021-07-05 2021-09-10 中国建设银行股份有限公司 Traffic information acquisition method and device
CN113597604A (en) * 2019-03-21 2021-11-02 格步计程车控股私人有限公司 Communication device, method and communication system for managing a plurality of data structures
CN114205744A (en) * 2021-12-31 2022-03-18 湖南行必达网联科技有限公司 Vehicle formation management communication method
CN114238728A (en) * 2021-12-13 2022-03-25 国汽智控(北京)科技有限公司 Vehicle data processing method, device and equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104718769A (en) * 2012-06-11 2015-06-17 智锐有限公司 Monitoring system, server, mobile device and method
CN105882662A (en) * 2016-04-25 2016-08-24 奇瑞汽车股份有限公司 Driving assistance system and method
CN106899622A (en) * 2015-12-17 2017-06-27 北京奇虎科技有限公司 A kind of processing method and system of vehicle drive prompt message

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104718769A (en) * 2012-06-11 2015-06-17 智锐有限公司 Monitoring system, server, mobile device and method
CN106899622A (en) * 2015-12-17 2017-06-27 北京奇虎科技有限公司 A kind of processing method and system of vehicle drive prompt message
CN105882662A (en) * 2016-04-25 2016-08-24 奇瑞汽车股份有限公司 Driving assistance system and method

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110493116A (en) * 2018-05-14 2019-11-22 广州小鹏汽车科技有限公司 A kind of car networking data transmission method and device
CN110493116B (en) * 2018-05-14 2022-05-13 广州小鹏汽车科技有限公司 Internet of vehicles data transmission method and device
CN109194593A (en) * 2018-08-29 2019-01-11 百度在线网络技术(北京)有限公司 Method for sending information, device, equipment and computer readable storage medium
CN109614389A (en) * 2018-11-28 2019-04-12 山东中创软件商用中间件股份有限公司 A kind of data storage method, system, equipment and medium
CN113597604A (en) * 2019-03-21 2021-11-02 格步计程车控股私人有限公司 Communication device, method and communication system for managing a plurality of data structures
CN112399379A (en) * 2020-10-28 2021-02-23 星火科技技术(深圳)有限责任公司 Intelligent Internet of vehicles communication protocol method, device, equipment and storage medium
CN112788105A (en) * 2020-12-25 2021-05-11 北京百度网讯科技有限公司 Method, device and equipment for synchronizing time sequence messages and storage medium
CN113380037A (en) * 2021-07-05 2021-09-10 中国建设银行股份有限公司 Traffic information acquisition method and device
CN114238728A (en) * 2021-12-13 2022-03-25 国汽智控(北京)科技有限公司 Vehicle data processing method, device and equipment
CN114205744A (en) * 2021-12-31 2022-03-18 湖南行必达网联科技有限公司 Vehicle formation management communication method

Also Published As

Publication number Publication date
CN107958035B (en) 2022-09-02

Similar Documents

Publication Publication Date Title
CN107958035A (en) Method and apparatus for sending information
CN107111948B (en) Geo-proximity vehicle reminder and access system for security and package exchange efficiency
US8996232B2 (en) Wireless vehicle servicing
US10102174B2 (en) Smart harness
US20160071054A1 (en) Vehicle inventory verification system, apparatus and method cross reference to related applications
CN107848522A (en) For diagnostic command to be transmitted to the system and method for the vehicles
US10332068B2 (en) Systems and methods for stocking an automobile
CN107113546A (en) Vehicle based on the user detected is used and performance is limited
US20140074346A1 (en) Vehicle diagnostic information via a wireless communication link
WO2019192343A1 (en) Vehicle diagnosis method, related device and system
CN104798110A (en) Method and device for remote querying of vehicle data
CN108650220A (en) Provide, obtain method, the equipment of mobile terminal certificate and automobile end chip certificate
US20160209224A1 (en) Vehicle swap and driver statistics
CN110166557A (en) Car networking data processing equipment, vehicle termination and storage medium
CN107862552A (en) Transmitting advertisement information method, apparatus and system
CN107370668A (en) The methods, devices and systems of smart machine remote control
CN109448373A (en) Method and apparatus for generating information
CN107909378A (en) Information of vehicles checking method and device, storage medium, electronic equipment
CN109389182A (en) Method and apparatus for generating information
CN110830491A (en) Internet of vehicles information acquisition method and device
CN115328092A (en) Vehicle remote diagnosis method, system, electronic equipment and storage medium
CN107341025A (en) Using update method and device
CN109885564A (en) Method and apparatus for sending information
CN109635923A (en) Method and apparatus for handling data
CN107563183A (en) Unmanned aerial vehicle (UAV) control method, apparatus, equipment and computer-readable recording 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
GR01 Patent grant
GR01 Patent grant