CN112135247B - Data transmission method and device, storage medium and electronic device - Google Patents

Data transmission method and device, storage medium and electronic device Download PDF

Info

Publication number
CN112135247B
CN112135247B CN202011034389.3A CN202011034389A CN112135247B CN 112135247 B CN112135247 B CN 112135247B CN 202011034389 A CN202011034389 A CN 202011034389A CN 112135247 B CN112135247 B CN 112135247B
Authority
CN
China
Prior art keywords
target
vehicle
storage device
data
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011034389.3A
Other languages
Chinese (zh)
Other versions
CN112135247A (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.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua 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 Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN202011034389.3A priority Critical patent/CN112135247B/en
Publication of CN112135247A publication Critical patent/CN112135247A/en
Application granted granted Critical
Publication of CN112135247B publication Critical patent/CN112135247B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • H04W4/42Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for mass transport vehicles, e.g. buses, trains or aircraft
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Abstract

The embodiment of the invention provides a data transmission method, a data transmission device, a storage medium and an electronic device, and relates to the technical field of data transmission. The method comprises the steps of determining mobile hotspot information of a first target platform based on a mobile hotspot information list received from a management platform in advance, wherein the mobile hotspot information list comprises the mobile hotspot information of each platform where a target vehicle is parked; after determining that the distance between the target vehicle and the first target platform is smaller than a preset threshold value, establishing a connection of a mobile hotspot with a storage device of the first target platform based on the mobile hotspot information of the first target platform; by the method and the device, data transmission is carried out between the mobile hot spot and the storage device of the first target platform, so that the problem of high traffic cost caused by large data volume in the running process of the bus is solved, and the effect of saving data transmission cost is achieved.

Description

Data transmission method and device, storage medium and electronic device
Technical Field
The embodiment of the invention relates to the technical field of bus data transmission, in particular to a data transmission method, a data transmission device, a storage medium and an electronic device.
Background
Buses are important public transport means for citizens, vehicle-mounted monitoring equipment is basically equipped in the current buses, and even some buses are provided with multimedia equipment such as video playing and advertisements, so that safety monitoring and consultation entertainment are provided for citizens on the way; at present, audio and video multimedia data are basically uploaded and downloaded through a 3G/4G network. However, due to the fact that the data volume of the audio and video multimedia data is large, the audio and video network bandwidth is fixed, the data transmission speed is low, the traffic cost is high, and the like, the situations that the data transmission is not timely due to the low media data uploading speed, the media playing card is unsmooth and the screen is displayed due to the low media data downloading speed, the traffic cost is high due to the large data volume, and the like often occur.
There is no similar solution to solve the above problems.
Disclosure of Invention
The embodiment of the invention provides a data transmission method, a data transmission device, a storage medium and an electronic device, which are used for at least solving the problem of high traffic cost caused by large data volume in the operation process of a bus in the related technology.
According to an embodiment of the present invention, there is provided a data transmission method including:
determining mobile hotspot information of a first target station based on a mobile hotspot information list received in advance from a management platform, wherein the mobile hotspot information list comprises mobile hotspot information of each station where a target vehicle stops;
after determining that the distance of the target vehicle from the first target station is less than a predetermined threshold, establishing a mobile hotspot connection with a storage device of the first target station based on mobile hotspot information of the first target station;
data transfer is performed with a storage device of the first target station through the mobile hotspot.
In one exemplary embodiment, prior to said determining mobile hotspot information for the first target station based on a pre-received list of mobile hotspot information from the management platform, the method further comprises:
acquiring position information of each platform where the target vehicle stops;
calculating the distance between the target vehicle and each platform where the target vehicle stops according to the position information of the target vehicle and the position information of each platform where the target vehicle stops;
determining a station closest to the target vehicle as the first target station.
In one exemplary embodiment, prior to said determining mobile hotspot information for the first target station based on a pre-received list of mobile hotspot information from a management platform, the method further comprises:
sending the information of the target vehicle and the vehicle-mounted storage equipment of the target vehicle to the management platform;
and receiving the mobile hotspot information list returned by the management platform based on the information of the target vehicle and the vehicle-mounted storage equipment of the target vehicle.
In one exemplary embodiment, prior to said determining mobile hotspot information for the first target station based on a pre-received list of mobile hotspot information from the management platform, the method further comprises:
and sending the position information of the vehicle-mounted storage equipment to a management platform according to a preset mode.
Receiving identification information of the first target station fed back by the management platform based on the position information of the vehicle-mounted storage equipment;
determining the first target station based on identification information of the first target station.
In one exemplary embodiment, prior to said data transfer with the storage device of the first target station via the moving hotspot, the method further comprises:
determining the type of multimedia data stored in the vehicle-mounted storage equipment, and determining the multimedia data with the type of a first type as first target multimedia data;
transmitting data with the mobile hotspot to a storage device of the first target station comprises:
sending, by the mobile hotspot, the first target multimedia data to a storage device of the first target station.
In one exemplary embodiment, after said data transfer with the storage device of the first target station by the moving hotspot, the method further comprises:
determining a second multimedia data type if the second multimedia data is received from a storage device of the first target station by the mobile hotspot;
controlling a device corresponding to the type of the second target multimedia data to perform a target operation based on the second target multimedia data.
According to still another embodiment of the present invention, there is provided a data information management method including:
receiving a target vehicle and information of the vehicle-mounted storage device sent by the vehicle-mounted storage device, wherein the vehicle-mounted storage device is located in the target vehicle;
determining mobile hotspot information of each station where the target vehicle stops in the running process based on the information of the target vehicle and the vehicle-mounted storage equipment;
and sending a mobile hotspot information list to the vehicle-mounted storage equipment, wherein the mobile hotspot information list comprises mobile hotspot information of all the parked platforms.
In an exemplary embodiment, after determining the mobile hotspot information of each station at which the target vehicle stops during operation based on the information of the target vehicle and the on-board storage device, the method further comprises:
receiving the position information of the vehicle-mounted storage equipment reported by the vehicle-mounted storage equipment;
determining a second target station at which the target vehicle is to stop based on the location information of the onboard storage device;
sending identification information of the second target station to the onboard storage device.
In one exemplary embodiment, after sending the mobile hotspot information list to the vehicle-mounted storage device, the method further comprises:
determining a real-time type of third target data to be sent to the vehicle-mounted storage device;
in an instance in which it is determined that the type of real-time is a first type of real-time, determining a third target station for transmitting the third target data based on a data volume of the third target data and a mobile hotspot transmission speed;
sending the third target data to the third target stations to instruct the third target stations to forward the third target data to the onboard storage device, wherein the number of the third target stations is one or more.
In one exemplary embodiment, after determining a third target station for transmitting the third target data based on the data amount of the third target data and the mobile hotspot transmission speed, the method further comprises:
and sending the identification information of the third target station to the vehicle-mounted storage device.
In one exemplary embodiment, in the case that the number of the third target stations is plural, the transmitting the third target data to the third target stations comprises:
splitting the third target data according to the remaining data carrying capacity of each target station included in the plurality of third target stations to obtain a plurality of third target data packets;
and correspondingly sending a plurality of third target data packets to a plurality of third target stations.
According to another embodiment of the present invention, there is provided a data transmission apparatus including:
the system comprises an information list receiving module, a first target station and a second target station, wherein the information list receiving module is used for determining mobile hotspot information of the first target station based on a mobile hotspot information list which is received in advance from a management platform, and the mobile hotspot information list comprises mobile hotspot information of each station where a target vehicle stops;
a network connection module, configured to establish a mobile hotspot connection with a storage device of the first target station based on mobile hotspot information of the first target station after determining that the distance between the target vehicle and the first target station is smaller than a predetermined threshold;
and the data transmission module is used for transmitting data with the storage device of the first target station through the mobile hotspot.
According to another embodiment of the present invention, there is provided a data management apparatus including:
the information receiving module is used for receiving a target vehicle and information of the vehicle-mounted storage equipment, wherein the information is sent by the vehicle-mounted storage equipment, and the vehicle-mounted storage equipment is positioned in the target vehicle;
the platform determining module is used for determining mobile hotspot information of each platform where the target vehicle stops in the running process based on the information of the target vehicle and the vehicle-mounted storage equipment;
and the list sending module is used for sending a mobile hotspot information list to the vehicle-mounted storage device, wherein the mobile hotspot information list comprises mobile hotspot information of each station where the vehicle is parked.
According to a further embodiment of the present invention, there is also provided a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the invention, when the bus approaches the platform, the platform storage device and the vehicle-mounted storage device perform data interaction, so that the problem of high flow cost caused by large data volume in the bus running process can be solved, and the effect of saving flow cost is achieved.
Drawings
Fig. 1 is a block diagram of a hardware configuration of a mobile terminal of a data transmission method according to an embodiment of the present invention;
FIG. 2 is a flow chart of a data transmission method of an embodiment of the present invention;
FIG. 3 is a flow chart of a data management method of an embodiment of the present invention;
fig. 4 is a block diagram of a data transmission apparatus according to an embodiment of the present invention;
FIG. 5 is a block diagram of a data management apparatus according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram illustrating a connection manner among the vehicle-mounted storage device, the management platform, and the storage device at the bus stop in the embodiment of the present invention;
FIG. 7 is a flow chart illustrating the operation of an onboard storage device in an embodiment of the present invention;
FIG. 8 is a flow chart illustrating the operation of the management platform in an embodiment of the present invention;
fig. 9 is a flowchart illustrating the operation of the storage device at the bus stop according to the embodiment of the present invention.
Detailed Description
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings in conjunction with the embodiments.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The method embodiments provided in the embodiments of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking an example of the operation on a mobile terminal, fig. 1 is a hardware structure block diagram of the mobile terminal of a data transmission method according to an embodiment of the present invention. As shown in fig. 1, the mobile terminal may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), and a memory 104 for storing data, wherein the mobile terminal may further include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those of ordinary skill in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program and a module of application software, such as a computer program corresponding to a data transmission method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, so as to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In this embodiment, a data transmission method is provided, and fig. 2 is a flowchart of an embodiment of the present invention, and as shown in fig. 2, the flowchart includes the following steps:
step S202, determining mobile hotspot information of a first target platform based on a mobile hotspot information list received in advance from a management platform, wherein the mobile hotspot information list comprises the mobile hotspot information of each platform where a target vehicle stops;
in an optional embodiment, the operation may be performed by a vehicle-mounted storage device located in the target vehicle, certainly, the operation may also be performed by another processing device associated with the target vehicle and having the processing capability, and the processing device may also be a processing device independently disposed from the target vehicle, where the vehicle-mounted storage device is described below as an example, optionally, the vehicle-mounted storage device may include (but is not limited to) a vehicle-mounted network video monitoring system (i.e., a vehicle-mounted NVR) and/or a monitoring camera connected with a storage unit, an audio-video playing device, and an advertisement media playing device, where the vehicle-mounted NVR and/or the monitoring camera connected with the storage unit, the audio-video playing device, and the advertisement media playing device are all in communication connection with the management platform through a constant-speed communication device or apparatus such as a 3G/4G/5G communication module or a high-speed communication module such as a wifi communication module; when the vehicle-mounted storage device is connected with the management platform in a mode of higher data transmission speed such as 3G/4G/5G, the vehicle-mounted storage device is used for receiving information of an operation command contained in the management platform and multimedia data with higher real-time requirement; when the vehicle-mounted storage device is connected with the management platform through a wifi communication module and other constant-speed communication modules, the vehicle-mounted storage device is used for receiving multimedia data and advertisement data which are not high in real-time requirement and uploading audio and video recording files of the vehicle-mounted storage device.
The monitoring camera connected with the storage unit is used for acquiring and storing audio and video data of the monitoring camera; the connection method may be (but is not limited to) wired connection or wireless connection.
Similarly, the audio/video playing device and the advertisement media playing device connected with the storage unit are used for transmitting and playing the related audio/video playing data and the advertisement media data, and the control of the audio/video playing device and the advertisement media playing device can be realized (but not limited) by a vehicle-mounted NVR (network video recorder), and can also be realized by a vehicle-mounted PC (personal computer) terminal, which is not described herein again.
The management platform may be a device or a virtual cloud capable of performing communication connection with the vehicle-mounted storage device through a communication network such as 3G/4G/5G/wifi, for example, a device with a data management function such as a matrix computer or a data cloud.
The mobile hotspot information comprises position information of a target site, a name and a password of a mobile hotspot of the target site, a configuration IP address of a storage device and the like.
Taking a bus as an example, when the bus on a certain route is started, the vehicle-mounted storage device of the bus receives the route information and the mobile hotspot information list of the bus, which are pre-stored in the management platform, through the communication module, so as to determine the mobile hotspot information of the first target platform.
Step S204, after the distance between the target vehicle and the first target platform is determined to be smaller than a preset threshold value, establishing connection of a mobile hotspot with a storage device of the first target platform based on the mobile hotspot information of the first target platform;
in an optional embodiment, the network connection may be established through any or a combination of 3G/4G/5G wireless communication, or through wifi wireless communication; in one example, in order to improve the signal transmission capacity, the vehicle-mounted storage device is connected with the storage device of the target station through any or a combination of 3G/4G/5G wireless communication; and for saving the flow cost, the platform storage equipment and the vehicle-mounted storage equipment are connected through wifi.
Taking a bus as an example, when the distance between the bus and a certain platform is less than or equal to 10m, the vehicle-mounted storage device establishes network connection with the storage device of the first target platform through the wifi communication module according to the pre-received mobile hotspot information list, so that data transmission is facilitated.
In step S206, data is transferred to the storage device of the first target station via the mobile hotspot.
In an optional embodiment, after the vehicle-mounted storage device establishes network connection with the storage device of the first target platform, the storage device of the first target platform may send multimedia data such as audio and video data stored in the storage device of the first target platform to the vehicle-mounted storage device, and the vehicle-mounted storage device may also send audio and video data stored by the monitoring camera to the storage device of the first target platform, so as to implement data interaction.
Taking a bus as an example, when the storage device of a first target station needs to send audio and video data to the vehicle-mounted storage device, the audio and video data can be cut into a plurality of smaller data packets and sent in relay through the storage devices of a plurality of different first target stations, so that the stability and the effectiveness of data transmission are ensured; the data carrying capacity of the storage device of the first target station may be (but is not limited to) obtained by detecting in advance by the management platform and sending a detection result to the vehicle-mounted storage device, may also be obtained by detecting the storage device of the first target station in real time or at specified time intervals, or may be obtained by other methods, which is not described herein again.
Through the steps, the vehicle-mounted storage equipment of the target vehicle and the storage equipment of the first target platform establish mobile hotspot connection, so that the flow expenditure can be saved; meanwhile, the transmission speed of the short-distance mobile hotspot network is relatively stable, so that in the actual use process, the stable transmission of data can be ensured only by adjusting the data transmission speed according to actual requirements, and no additional network data service is needed, so that the traffic cost is avoided, and the problems of unstable data transmission and high traffic cost are solved.
Wherein, in an optional embodiment, after data transfer with the storage device of the first target station by the moving hotspot, the method further comprises:
step S210, feeding back a data transmission result to the management platform.
In an optional embodiment, after completing one or more data transmissions, a data transmission result of one time or a plurality of data transmissions is sent to the management platform, and then the management platform determines the quality of the data transmission according to the fed back data transmission result.
In an optional embodiment, before determining the mobile hotspot information of the first target station based on a pre-received mobile hotspot information list from the management platform, the method further comprises:
step S212, obtaining position information of each platform where the target vehicle stops;
in an alternative embodiment, the position information of each station at which the target vehicle is parked is fixed, so that (but not limited to) the position information of each station at which the target vehicle is parked can be obtained by storing the position information of each station in the vehicle-mounted storage device in advance, or can be obtained by storing the position information of each station in the management platform in advance and then sending the position information to the vehicle-mounted storage device through the wireless or wired network by the management platform.
Taking a bus as an example, a stop at which a certain bus stops is fixed within a fixed time, so that the stop position information at which the bus stops can be stored in the vehicle-mounted storage device or the management platform in advance, and then when the bus approaches a certain stop and network connection between the bus stop and the vehicle-mounted storage device needs to be established, the stop position information at which the bus stops stored in the vehicle-mounted storage device is called or the stop position information at which the bus stops stored in the management platform is transmitted to the vehicle-mounted storage device, so that the vehicle-mounted storage device obtains the stop position information at which the bus stops.
Step S214, calculating the distance between the target vehicle and each platform where the target vehicle stops according to the position information of the target vehicle and the position information of each platform where the target vehicle stops;
in an alternative embodiment, the target vehicle may (but is not limited to) locate the position of the target vehicle according to a GPS positioning system and/or a beidou positioning system and/or other satellite positioning systems or devices with positioning functions to obtain the position information of the target vehicle; the method for obtaining the position of the target vehicle may be that the vehicle-mounted storage device sends a positioning request to the device with the positioning function in real time and receives positioning information fed back by the device with the positioning function, or that the vehicle-mounted storage device sends a positioning request to the device with the positioning function at a specified time interval and receives positioning information fed back by the device with the positioning function, or that the vehicle-mounted storage device sends positioning information to the device with the positioning function and receives positioning information fed back by the device with the positioning function after the target vehicle travels a certain distance, as long as accurate obtaining of the positioning information of the target vehicle can be achieved, and details are not repeated here.
The calculation of the distance between the target vehicle and each platform at which the target vehicle is parked may be (but is not limited to) implemented by an existing navigation distance calculation technology, that is, after the vehicle-mounted storage device determines that the target vehicle is routed through the path of each platform at which the target vehicle is parked, since the position of each platform is fixed, after the position information of each platform at which the target vehicle is parked is determined, the distance between the target vehicle and each platform at which the target vehicle is parked may be obtained only by the vehicle-mounted storage device according to the position information of the vehicle-mounted storage device itself, and the calculation manner is the prior art, and is not described herein again. It should be noted that, in order to save the calculation time, the distance between the target vehicle and each platform where the target vehicle is parked may be determined while the position information of the target vehicle is obtained by using the satellite remote sensing distance measurement technology.
Further, in the process of calculating the distance between the target vehicle and each of the platforms at which the target vehicle is parked, the distance between the target vehicle and each of the platforms at which the target vehicle is parked may be calculated at one time according to a preset route, the distance between the target vehicle and each of the platforms at which the target vehicle is parked may be calculated sequentially according to a parking order, the distance between the target vehicle and the platform at which the target vehicle is parked may be calculated randomly, and the calculated distance data is assigned to the corresponding platform according to the information identifier of the platform, as long as the determination of the distance between the target vehicle and each of the platforms at which the target vehicle is parked can be achieved, which is not described herein again.
In step S216, the station closest to the target vehicle is determined as the first target station.
In an alternative embodiment, when the distance between the target vehicle and the platform is less than the predetermined threshold, the platform is determined to be the closest platform to the target vehicle, and then the platform is determined to be the first target platform. In the process of determining the platform closest to the target vehicle, the distance between the target vehicle and the platform may be (but is not limited to) determined by comparing the distance between the target vehicle and the platform with a predetermined threshold after obtaining the distance between the target vehicle and the platform, or may be determined by comparing the distance between the target vehicle and the platform obtained within a predetermined time before obtaining the distance between the target vehicle and the platform obtained within a predetermined time and then comparing the minimum value of the distance between the target vehicle and the platform obtained within a predetermined time with a predetermined threshold, as long as the determination of the platform closest to the target vehicle can be achieved.
In an optional embodiment, before determining the mobile hotspot information of the first target station based on a pre-received mobile hotspot information list from the management platform, the method further comprises:
step S220, the information of the target vehicle and the vehicle-mounted storage device of the target vehicle is sent to the management platform.
In an alternative embodiment, the information of the target vehicle and the information of the on-board storage device on the target vehicle are sent to the storage device of the first target platform, so that the target vehicle can establish network connection with the storage device of the first target platform; the information of the target vehicle includes (but is not limited to) the number, the operation date, the operation route, the station name of the operation route, etc. of the target vehicle, and the information of the vehicle-mounted storage device includes (but is not limited to) the IP address, the size of the storage space, the data transceiving port, etc. of the vehicle-mounted storage device. The sending of the information of the target vehicle and the vehicle-mounted storage device of the target vehicle to the management platform may be performed after the vehicle-mounted storage device is successfully registered with the management platform, or the sending of the registration information to the management platform may include the information of the target vehicle and the vehicle-mounted storage device of the target vehicle.
Step S222, receiving a mobile hotspot information list returned by the management platform based on the information of the target vehicle and the vehicle-mounted storage device of the target vehicle.
In an optional embodiment, the vehicle-mounted storage device may receive the mobile hotspot information list (but is not limited to) through a 3G/4G/5G network; the receiving process of the mobile hotspot information list may be (but is not limited to) obtained by receiving at one time, or obtained gradually at different time periods, or received simultaneously in segments according to a receiving mode of a storage space of the vehicle-mounted storage device, and the receiving mode of the information may be implemented by the prior art, which is not described herein again.
In an optional embodiment, before sending the information of the target vehicle and the onboard storage device of the target vehicle to the management platform, the method further includes:
step S218, a registration request is sent to the management platform;
in this embodiment, after the registration of the in-vehicle storage device is completed, the in-vehicle storage device sends the target vehicle and the information of the in-vehicle storage device of the target vehicle to the management platform.
It should be noted that the registration success response fed back by the management platform may be an instruction for opening the data transceiver port sent by the management platform to the vehicle-mounted storage device of the target vehicle, or may be registry data sent to the vehicle-mounted storage device to complete registration of the vehicle-mounted storage device information, as long as the feedback of the management platform to the vehicle-mounted device can be achieved.
Before data interaction between a management platform and vehicle-mounted storage equipment of a target vehicle is realized, a data interaction network between the vehicle-mounted storage equipment and the management platform needs to be established, so that the vehicle-mounted storage equipment needs to be registered on the management platform to determine the data transmission direction and the object of the management platform, generally, the vehicle-mounted storage equipment needs to send a registration request to the management platform in the registration process, and then the management platform judges whether to agree with the registration according to the registration request; wherein, the registration request includes (but is not limited to) an IP address, location information, etc. of the vehicle-mounted storage device; in an optional embodiment, to implement the fast response and management of the management platform to the vehicle-mounted storage device, the management platform and the vehicle-mounted storage device may (but are not limited to) perform real-time data transmission through a network such as 3G/4G/5G with fast data transmission efficiency, and the registration request further includes port information corresponding to the network type.
In an optional embodiment, before determining the mobile hotspot information of the first target station based on a pre-received mobile hotspot information list from the management platform, the method further comprises:
and step S232, sending the position information of the vehicle-mounted storage equipment to the management platform according to a preset mode.
The information is sent to the management platform according to the preset mode, so that the management platform can analyze the sent information according to the preset mode conveniently, the information processing efficiency of the management platform is improved, and the real-time performance of data is improved; meanwhile, the information is sent according to the preset mode, so that the management platform can receive the information through a receiving mode corresponding to the preset mode, interference of information in other non-preset modes on the management platform is reduced, and the accuracy of the information is guaranteed.
In an alternative embodiment, the preset manner may (but is not limited to) send information to the management platform at time intervals, send information to the management platform in real time without interruption, send information to the management platform when the target vehicle runs to a specified position, or send information to the management platform after the target vehicle runs for a specified time or a preset distance, and in short, send information to the management platform according to a preset rule.
Step S234, receiving the identification information of the first target station fed back by the management platform based on the position information of the vehicle-mounted storage equipment;
in an alternative embodiment, the identification information of the first target station may include (but is not limited to) a code or number of the first target station, an identification sequence for identifying the first target station, or other information with identification function, which is not described herein again.
In step S236, the first target station is determined based on the identification information of the first target station.
In an optional embodiment, after the vehicle-mounted storage device receives the identification information of the first target station, the identification information is identified, and the first target station is determined according to the identification result; the identification process may compare the identification information with the station information pre-stored in the vehicle-mounted storage device, and determine that the station is the first target station if the identification information is consistent with the pre-stored information of the first target station.
For example, when the identification information is a code of a station, the identification information is read and recognized, and then the recognition result is compared with the pre-stored codes of the stations, and when the identification information is consistent with the code of one of the stations, the station is determined as the first target station.
It should be noted that, the identification information is identified in different ways according to the difference of the identification information, for example, when the identification information is a code, a number or an identification sequence of the first target sta, the identification information is read directly; if the identification information is a pattern (e.g., a two-dimensional code), the pattern needs to be recognized first and then information included in the pattern needs to be read. Moreover, the generation and reading of the identification information can be realized by the prior art, and are not described herein again.
In an optional embodiment, prior to data transfer with the storage device of the first target station via the mobile hotspot network, the method further comprises:
determining a real-time type of multimedia data stored in an on-board storage device of a target vehicle; determining the multimedia data with the real-time type being the first real-time type as first target multimedia data;
in an alternative embodiment, when the multimedia data stored in the onboard storage device is non-real-time multimedia data, the non-real-time multimedia data is determined as the first target multimedia data, wherein the non-real-time multimedia data refers to data with low urgency and/or does not require real-time transmission, such as video data, audio data, advertisement data, and the like.
The determination of the real-time type of the multimedia data may be determined, but not limited to, by the storage location of the data, the suffix of the data name, etc., for example, the video data may be stored in the video storage area, the audio data may be stored in the audio storage area, etc., and the real-time type of the data may be determined by reading the data of the corresponding area, or the suffix of the video data may be generally @ avi or @ MP4, and the suffix of the audio data may be generally @ MP3 or @ MP4, and the real-time type of the data may be determined by reading the suffix of the data.
It should be noted that the emergency degree may (but is not limited to) be determined according to a data source, for example, when the target vehicle collides and brakes suddenly, the collision detection information sent by the sensor that detects the collision of the target vehicle or the brake detection information sent by the brake sensor that monitors the sudden braking all belong to data with a higher emergency degree, and the detection information sent by the sensor that monitors the vehicle-mounted multimedia device when detecting that the vehicle-mounted multimedia device operates belongs to data with a lower emergency degree, and so on, which is not described herein again.
The data transmission with the storage device of the first target station through the mobile hotspot network comprises the following steps:
the first target multimedia data is sent to a storage device of the first target station through the mobile hotspot.
In an alternative embodiment, the vehicle-mounted storage device may send the first target multimedia data to the storage device of the first target station in various ways, for example, when the first target multimedia data is small, the first target multimedia data may be compressed into a single data packet, and then the single data packet may be sent to the storage device of the first target station at one time; when the first target multimedia data is large, the first target multimedia data may be split and compressed into a plurality of data packets with the same size or different sizes, and then the plurality of data packets may be sequentially transmitted to the first target station according to the data transmission rate between the vehicle-mounted storage device and the first target storage device, where the transmission of the plurality of data packets may be from large to small according to the size of the data packets, or may be sequentially transmitted according to the compression generation sequence of the data packets.
In an optional embodiment, after the data transmission with the storage device of the first target station via the mobile hotspot network, the method further comprises:
step S242, determining a playing type of the second target multimedia data when the second target multimedia data sent by the storage device of the first target station is received through the mobile hotspot network;
in an optional embodiment, when the vehicle-mounted storage device receives second target multimedia data, it is determined that the second target multimedia data is non-real-time data, and then the play type of the second multimedia data is determined, where the play type of the second target multimedia data is determined (but not limited to) according to a storage path of the second target multimedia data, for example, a storage space of the storage device at a first target station is divided into multiple storage areas, second target multimedia data of different play types are stored in different storage areas according to the play types, and when the vehicle-mounted storage device receives the second target multimedia data, the play type of the second target multimedia data can be determined by tracking the storage path of the second target multimedia data; the playing type of the second target multimedia data can also be determined according to the name suffix of the second multimedia data, for example, the suffix of the video data is generally @ avi or.mp 4, the suffix of the audio data is generally @ MP3 or.mp 4, and the playing type of the data can be judged by reading the suffix of the data; the second target multimedia data can also be sent to different multimedia playing devices after the second target multimedia data is received, and if the second target multimedia data can be played, the same playing type of the multimedia playing device is determined as the playing type of the second target multimedia data.
In step S244, the device corresponding to the play type of the second target multimedia data is controlled to perform the target operation based on the second target multimedia data.
In an optional embodiment, after the play type of the second target multimedia data is determined, a device corresponding to the play type of the second target multimedia data is called to receive and play the second target multimedia data, and then the corresponding device plays the second target multimedia data; for example, when it is determined that the second target multimedia data is audio data, playing is performed through an audio playing device in the target vehicle, where the audio playing device may include (but is not limited to) one or more audio playing devices such as a speaker, a sound box, a power amplifier, an audio sampling card, and a digital sound console; similarly, when the second target multimedia data is determined to be video data, the second target multimedia data is played through a video playing device in the target vehicle, where the video playing device may include (but is not limited to) one or more video playing devices of a vehicle-mounted television, a vehicle-mounted PC terminal, a display, a camera connected to a video capture card, a video recorder, and a compact disc television (VCD or DVD).
In order to facilitate management of data in the vehicle-mounted storage device and the storage device of the first target station, this embodiment further provides a data information management method, as shown in fig. 3, where the method includes:
step S302, receiving information of a target vehicle and the vehicle-mounted storage device sent by the vehicle-mounted storage device, wherein the vehicle-mounted storage device is located in the target vehicle;
in an alternative embodiment, the above operations may be performed by a management platform, or a background management server, or other devices with similar processing capabilities, which is described below by taking the management platform as an example. In this embodiment, the information of the target vehicle and the information of the on-board storage device are the same as the aforementioned information, and are not described herein again; the receiving of the information of the target vehicle and the information of the vehicle-mounted storage device may be (but is not limited to) realized through an internet such as 3G/4G/5G, and may also be realized through a wifi network, as long as the receiving of the information data can be realized; after receiving the information of the target vehicle and the information of the vehicle-mounted storage device, the information may be sequentially stored according to the receiving order of the information, or the information may be stored in respective areas according to the size of the information.
Further, the information of the target vehicle and the information of the on-board storage device may be received in a segmented manner (but not limited to) according to the identification code of the information, or may be received all the information at once and then classified and identified.
It should be noted that, the management platform may connect the vehicle-mounted storage device and the platform storage device through any one or a combination of 3G/4G/5G wireless communication modes, respectively, and connect the platform storage device and the vehicle-mounted storage device through wifi in order to save traffic cost.
Furthermore, the management platform can also be in communication connection with the platform equipment system, and the communication mode of the management platform and the platform storage equipment can be through wired network communication.
Step S304, determining the mobile hotspot information of each platform where the target vehicle stops in the running process based on the information of the target vehicle and the vehicle-mounted storage equipment;
in an optional embodiment, after receiving the information of the target vehicle and the vehicle-mounted storage device, searching platform information which is pre-stored in the management platform and corresponds to each platform where the target vehicle stops in the operation process, and determining mobile hotspot information corresponding to the platform according to the platform information; the determination process of the station information may be various.
For example, route information of all the target vehicles and information on a station where all the target vehicles in each route are parked may be (but is not limited to) stored in the management platform in advance. And then when the target vehicle approaches a certain station, the management platform calls the pre-stored route information and the relevant information of the station included in the route information.
The route information and the platform related information may be (but are not limited to) retrieved by identifying the target vehicle and the information of the vehicle-mounted storage device to determine the route information of the target vehicle and the identification information of the platform at which the target vehicle will stop included in the route information, then comparing the identification information with the identification information of the platform information stored in the management platform, when the identification information included in the information identifying the target vehicle is consistent with the identification information of the platform information stored in the management platform, determining that the platform is the platform at which the target vehicle stops in the operation process, and then searching the platform information corresponding to the platform to determine the platform information; it should be noted that the determination of the station information may also be performed in other manners, as long as the determination of the station information can be achieved, so that the corresponding mobile hotspot information can be determined, and details are not repeated herein.
Step S306, a mobile hotspot information list is sent to the vehicle-mounted storage device, wherein the mobile hotspot information list comprises mobile hotspot information of each station where the vehicle is parked.
In an optional embodiment, the management platform sends the mobile hotspot information list to the vehicle-mounted storage device, which may be (but is not limited to) sending mobile hotspot information including a specified number of stations where the target vehicle is parked, or sending mobile hotspot information including all stations where the target vehicle is parked, where the mobile hotspot information of the specified number of stations where the target vehicle is parked includes mobile hotspot information of a station closest to the target vehicle and mobile hotspot information of several stations where the target vehicle is to be parked.
In an alternative embodiment of the method according to the invention,
before receiving the information of the target vehicle and the vehicle-mounted storage device sent by the vehicle-mounted storage device, the method further comprises the following steps:
step S300, acquiring a registration request sent by the vehicle-mounted storage equipment; under the condition that the vehicle-mounted storage equipment is determined to be legal based on the registration request, the vehicle-mounted storage equipment is registered, and a registration success response is sent to the vehicle-mounted storage equipment after the registration is successful;
in an optional embodiment, after the management platform receives the registration request sent by the vehicle-mounted storage device, the legitimacy of the vehicle-mounted storage device is determined, so that the data is prevented from being transmitted and received by illegal devices, and the interference of other illegal devices is reduced; the legitimacy determination of the vehicle-mounted storage device can (but is not limited to) search an identification code or information corresponding to the information of the vehicle-mounted storage device after receiving a registration request sent by the vehicle-mounted storage device, and judge that the vehicle-mounted storage device is legal when the identification code corresponding to the vehicle-mounted storage device is searched and is consistent with the identification code of the vehicle-mounted storage device; or searching for receiving port information corresponding to the port information according to transmitting port information of a registration request sent by the vehicle-mounted storage device, and judging that the vehicle-mounted storage device is legal when the receiving port information corresponds to the transmitting port information. It should be noted that the validity check of the vehicle-mounted storage device may also be implemented in other manners as long as the validity of the vehicle-mounted storage device can be determined.
The registration process includes (but is not limited to) storing the information of the vehicle-mounted storage device, so that the vehicle-mounted storage device and a port which is responsible for data transceiving of the management platform can be called later when data is transceived. The registration success response sent after the registration is successful may include (but is not limited to) the identification information of the data transceiving port of the vehicle-mounted storage device and/or the management platform, so that the data transceived by the vehicle-mounted storage device according to the identification information of the data transceiving port after receiving the registration success response can be accurately identified, and the data transmission efficiency is improved.
The receiving of the information of the target vehicle and the vehicle-mounted storage device sent by the vehicle-mounted storage device comprises the following steps:
and step S3022, receiving the information of the target vehicle and the vehicle-mounted storage device, which is sent by the vehicle-mounted storage device based on the registration success response.
In an optional embodiment, after the vehicle-mounted storage device successfully completes information registration in the management platform, the management platform identifies a message sent by the vehicle-mounted storage device, and stores the message identified as the target vehicle information and the vehicle-mounted storage device information, where the storage manner may be (but is not limited to) partitioned storage, or non-partitioned storage, for example, the target vehicle information may be stored in the vehicle information storage area, and the vehicle-mounted storage device information may be stored in the vehicle-mounted storage device information storage area.
In an optional embodiment, after determining the mobile hotspot information of each station where the target vehicle stops in the operation process based on the information of the target vehicle and the vehicle-mounted storage device, the method further comprises the following steps:
step S3042, receiving the location information of the vehicle-mounted storage device reported by the vehicle-mounted storage device;
in an optional embodiment, the manner of receiving the location information of the vehicle-mounted storage device reported by the vehicle-mounted storage device may be to receive the information reported by the vehicle-mounted storage device first, and then identify and filter the information reported by the vehicle-mounted storage device to obtain the location information of the vehicle-mounted storage device, or to receive the location information of the vehicle-mounted storage device through a specific port; it should be noted that the receiving of the location information of the vehicle-mounted storage device reported by the vehicle-mounted storage device may be real-time receiving, so as to avoid missing of the information, or non-real-time receiving, and only needs to enable the vehicle-mounted storage device information received by the management platform to accurately represent the real-time location of the vehicle-mounted storage device.
Step S3044 of determining a second target platform at which the target vehicle is to stop based on the position information of the in-vehicle storage device;
in an alternative embodiment, after receiving the position information of the onboard storage device, the distance between the onboard storage device and the station at which the target vehicle is to stop is calculated according to the station position information pre-stored in the management platform, and one or more stations closest to the onboard storage device are determined as second target stations, wherein the number of the second target stations can be determined according to the size of the data packet sent by the onboard storage device, for example, in the case of a small data packet, the number of the second target stations can be determined as one, and in the case of a large data packet, the number of the second target stations can be determined as multiple.
Step S3046, the identification information of the second target station is sent to the vehicle-mounted storage device.
In an optional embodiment, in order to enable the vehicle-mounted storage device to accurately send the data stored in the vehicle-mounted storage device to the storage device of the corresponding second target platform, the management platform needs to send the identification information of the second target platform to the vehicle-mounted storage device in advance, so that the vehicle-mounted storage device can accurately identify the storage device of the second target platform, and the target vehicle can accurately send the data to the storage device of the second target platform after reaching the second target platform.
The identification information of the second target station includes (but is not limited to) ID, IP address, identification code, identification word, etc. of the storage device of the second target station.
In an optional embodiment, after sending the mobile hotspot information list to the vehicle-mounted storage device, the method further comprises:
step S308, determining the real-time type of third target data to be sent to the vehicle-mounted storage equipment;
in an optional embodiment, when the third target data needs to be sent to the vehicle-mounted storage device, the real-time type of the third target data is judged first, and then the sending mode of the data is determined according to the real-time type of the third target data, so that the blockage of a communication channel caused by sending the third target data of different real-time types in the same mode or the damage of the device caused by overlarge information sending power is avoided.
For example, when the real-time type of the third target data is determined to be the second type with higher real-time requirement, the third target data is directly transmitted to the vehicle-mounted storage device through the 3G/4G/5G and other internet networks, wherein the third target data with higher real-time requirement may be (but is not limited to) voice information and the like for evacuating passengers in the target vehicle when the target vehicle has an emergency.
Step S310, under the condition that the real-time type is determined to be the first real-time type, determining a third target station for transmitting third target data based on the data volume of the third target data and the transmission speed of the mobile hotspot;
in an optional embodiment, when the real-time type of the third target data is determined to be the first real-time type with low real-time requirement, the third target station determined for transmitting the third target data may also be determined according to the parking time of the target vehicle, the size of the real-time storage space of the vehicle-mounted storage device, and other information.
Step S312, sending the third target data to the third target stations to instruct the third target stations to forward the third target data to the vehicle-mounted storage device, where the number of the third target stations is one or more.
In an alternative embodiment, when the transmission speed of the mobile hotspot is fast, or the data amount of the third target data is small, or the stay time of the target vehicle is short, the number of the third target stations may be determined as one, otherwise the number of the third target stations may be determined as a plurality.
In an optional embodiment, after determining a third target station for transmitting the third target data based on the data amount of the third target data and the mobile hotspot transmission speed, the method further comprises:
step S3102, transmitting the identification information of the third target station to the vehicle-mounted storage device;
in an alternative embodiment, after the third target station is determined, in order to enable the on-board storage device to quickly identify the data information sent by the storage device of the third target station, the management platform is required to send the identification information of the third target station to the on-board storage device, and after the on-board storage device receives the identification information of the third target station, the data information can be quickly identified according to the identification information when the data information is sent to or received from the third target station, so that the data transmission efficiency is improved.
In an alternative embodiment, where the number of the third target stations is plural, transmitting the third target data to the third target stations comprises:
step S3122, splitting the third target data according to the remaining data carrying capacity of each target station included in the plurality of third target stations to obtain a plurality of third target data packets;
in an alternative embodiment, the remaining data carrying capacity of each target station may be the remaining data storage space of the storage device of each target station, and the third target data may be split in a manner corresponding to the remaining data storage space of the storage device of each target station, or split equally as long as the split data packets can be received by the corresponding third target station.
In step S3124, the plurality of third target data packets are correspondingly transmitted to the plurality of third target stas.
In an alternative embodiment, the third destination data packets may be correspondingly transmitted to the third destination stations by transmitting a part of the data packets to one of the third destination stations and then transmitting the rest of the data packets equally, or by transmitting the data packets in other manners as long as the data packets and the third destination stations can be transmitted in the same number of the third destination data packets received by all the third destination stations.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method according to the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, a data transmission device is further provided, and the data transmission device is used to implement the foregoing embodiments and preferred embodiments, which have already been described and are not described again. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 4 is a block diagram of a data transmission apparatus according to an embodiment of the present invention, as shown in fig. 2, the apparatus including:
an information list receiving module 42, configured to determine mobile hotspot information of a first target station based on a mobile hotspot information list received in advance from a management platform, where the mobile hotspot information list includes mobile hotspot information of each station where a target vehicle stops; (ii) a
A network connection module 44, configured to establish a mobile hotspot connection with a storage device of the first target station based on mobile hotspot information of the first target station after determining that the distance between the target vehicle and the first target station is smaller than a predetermined threshold;
a data transmission module 46, configured to perform data transmission with the storage device of the first target station through the mobile hotspot.
In an optional embodiment, the apparatus further comprises:
and a result feedback module 410, configured to feed back a data transmission result to the management platform.
In an optional embodiment, the apparatus further comprises:
a first position acquisition module 402, configured to acquire position information of each station where the target vehicle is parked;
a first distance calculating module 404, configured to calculate, according to the position information of the target vehicle and the position information of each platform where the target vehicle is parked, a distance between the target vehicle and each platform where the target vehicle is parked;
a first station determining module 406, configured to determine a station closest to the target vehicle as a first target station.
In an alternative embodiment, the first position acquisition module 402 includes:
a first information sending unit 4014 configured to send information of the target vehicle and the vehicle-mounted storage device of the target vehicle to the management platform;
the first receiving unit 4016 is configured to receive a mobile hotspot information list returned by the management platform based on the information of the target vehicle and the vehicle-mounted storage device of the target vehicle.
In an alternative embodiment, the first position acquisition module 402 further comprises:
the registration unit 4012 is configured to send a registration request to the management platform.
In an alternative embodiment, the first information transmitting unit 4014 includes:
a second information transmitting unit 40142, configured to transmit location information of the vehicle-mounted storage device to the management platform in a preset manner;
a second information receiving unit 40144, configured to receive identification information of the first target station fed back by the management platform based on the location information of the vehicle-mounted storage device;
a first station determination unit 40146 configured to determine a first target station based on the identification information of the first target station.
In an optional embodiment, the apparatus further comprises:
a first data detection unit 452 for determining a real-time type of multimedia data stored in an in-vehicle storage device of the target vehicle; determining the multimedia data with the real-time type being the first real-time type as first target multimedia data;
a third information sending unit 462, configured to send the first target multimedia data to the storage device of the first target station through the mobile hotspot.
In an optional embodiment, the apparatus further comprises:
the second data detection module 482, in a case where the second target multimedia data sent by the storage device of the first target station is received through the mobile hotspot network, determines a play type of the second target multimedia data;
a second processing module 484 that controls a device corresponding to the play type of the second target multimedia data to perform a target operation based on the second target multimedia data;
fig. 5 is a block diagram of a data management apparatus according to an embodiment of the present invention, as shown in fig. 5, the apparatus including:
the second information receiving module 52 is configured to receive information of a target vehicle and the vehicle-mounted storage device, which are sent by the vehicle-mounted storage device, where the vehicle-mounted storage device is located in the target vehicle;
the second station determining module 54 is configured to determine, based on the information of the target vehicle and the vehicle-mounted storage device, mobile hotspot information of each station where the target vehicle stops in the operation process;
the second list sending module 56 is configured to send a mobile hotspot information list to the vehicle-mounted storage device, where the mobile hotspot information list includes mobile hotspot information of each station where the vehicle is parked.
In an optional embodiment, the apparatus further comprises:
the registration management module 50 is used for acquiring a registration request sent by the vehicle-mounted storage equipment; and under the condition that the vehicle-mounted storage equipment is determined to be legal based on the registration request, performing registration processing on the vehicle-mounted storage equipment, and sending a registration success response to the vehicle-mounted storage equipment after the registration is successful.
In an alternative embodiment, the second information receiving module 52 includes:
a third information receiving unit 522, configured to receive information of the target vehicle and the vehicle-mounted storage device, which is sent by the vehicle-mounted storage device based on the registration success response;
the fourth information receiving unit 542 is configured to receive the location information of the vehicle-mounted storage device reported by the vehicle-mounted storage device.
A second station determination unit 544 for determining a second target station at which the target vehicle is to stop, based on the location information of the in-vehicle storage device;
a fourth information sending unit 546, configured to send the identification information of the second target station to the in-vehicle storage device.
In an optional embodiment, the apparatus further comprises:
the third data detection module 58 is configured to determine a real-time type of third target data to be sent to the vehicle-mounted storage device;
a third station determining module 510, configured to determine a third target station for transmitting third target data based on the data amount of the third target data and the mobile hotspot transmission speed, if the real-time type is determined to be the first real-time type;
a fifth information sending module 512, configured to send the third target data to the third target stations to instruct the third target stations to forward the third target data to the vehicle-mounted storage device, where the number of the third target stations is one or more.
In an alternative embodiment, the determining module 510 for the third station includes:
a fifth information transmitting unit 5102 for transmitting identification information of the third target station to the in-vehicle storage device;
a data splitting unit 5122, configured to split the third target data according to a remaining data carrying capacity of each target station included in the plurality of third target stations, so as to obtain a plurality of third target data packets;
a sixth information sending unit 5124 is configured to correspondingly send the third destination packets to the third destination stations.
It should be noted that the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
The working principle of the invention is explained below in connection with specific embodiments in general:
the connection mode among the vehicle-mounted storage device, the storage device of the bus station and the management platform is shown in fig. 6, the management platform is in communication connection with the vehicle-mounted storage device through a 3G/4G/5G network and is connected with the station storage device through a wired network, wherein the vehicle-mounted storage device comprises an advertising machine, a media player and the like; and the storage equipment of the bus station is connected with the vehicle-mounted storage equipment through wifi.
The operating principle of the onboard storage device is shown in figure 7,
s702, the vehicle-mounted storage equipment firstly sends a registration request to a management platform through a 3G/4G network to complete registration;
s704, receiving a mobile hotspot information list of the bus stop along the way, which is issued by a management platform;
s706, uploading the position information of the target vehicle by the vehicle-mounted storage equipment at fixed time point intervals;
s708, determining whether to approach a certain station according to the mobile hotspot information list, and after determining to approach the certain station, turning to step S710, otherwise, not performing network connection and data transmission;
s710, establishing network connection with the determined storage equipment;
s712, receiving the data information sent by the storage device of the station, and uploading the multimedia data to be uploaded to the storage device of the station.
The working principle of the management platform is shown in figure 8,
s802, receiving registration information of the vehicle-mounted storage equipment, and executing registration processing to enable the vehicle-mounted storage equipment to be successfully registered;
s804, acquiring the position information of the vehicle-mounted storage equipment at fixed time intervals;
s806, when data needs to be sent to the vehicle-mounted storage device, judging the real-time type of the data to be sent;
s808, when data with low real-time performance needs to be sent, determining a station where a target vehicle is to stop according to the position information of the vehicle-mounted storage device, otherwise, not transmitting the data;
s810, determining a bus stop to send data according to the size of the data volume and the data transmission speed between the bus stop and the vehicle-mounted storage device;
and S812, sending the data to the corresponding bus stop, and then receiving feedback data generated by sending the data to the vehicle-mounted storage device by the bus stop and receiving data information uploaded at the bus stop under the condition that the storage space allows.
The working principle of the storage device of the station is shown in figure 9,
s902, establishing communication connection with a management platform in a wired or wireless communication mode;
s904, receiving the command and the related data issued by the management platform;
s906, when the target vehicle approaches the bus station, the storage equipment of the station and the vehicle-mounted storage equipment establish network connection;
s908, sending the control command and the related data of the management platform to the vehicle-mounted storage device according to the command issued by the management platform, and receiving the data sent by the vehicle-mounted storage device;
s910, feeding back the data sent to the vehicle-mounted storage device and the data requested to be uploaded by the vehicle-mounted storage device to the management platform.
Embodiments of the present invention also provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps of any of the above-mentioned method embodiments when executed.
In an exemplary embodiment, the computer readable storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
In an exemplary embodiment, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
For specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiments and exemplary implementations, and details of this embodiment are not repeated herein.
It will be apparent to those skilled in the art that the various modules or steps of the invention described above may be implemented using a general purpose computing device, they may be centralized on a single computing device or distributed across a network of computing devices, and they may be implemented using program code executable by the computing devices, such that they may be stored in a memory device and executed by the computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into various integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (13)

1. A method of data transmission, comprising:
determining mobile hotspot information of a first target station based on a mobile hotspot information list received in advance from a management platform, wherein the mobile hotspot information list comprises mobile hotspot information of each station where a target vehicle stops;
after determining that the distance between the target vehicle and the first target platform is less than a predetermined threshold, establishing a mobile hotspot connection with a storage device of the first target platform based on mobile hotspot information of the first target platform;
transmitting data with a storage device of the first target station via the mobile hotspot;
wherein the data transfer with the storage device of the first target station via the mobile hotspot comprises: when the storage device of the first target platform needs to send audio and video data to a vehicle-mounted storage device, receiving a plurality of data packets sent by the storage device of a plurality of different first target platforms to the vehicle-mounted storage device in a relay mode, wherein the vehicle-mounted storage device is located in the target vehicle, the plurality of data packets are obtained by cutting the audio and video data, the vehicle-mounted storage device is set to receive a detection result, and the detection result is obtained by detecting the data bearing capacity of the storage device of the first target platform in advance through a management platform.
2. The method of claim 1, wherein prior to determining the mobile hotspot information for the first target station based on a pre-received list of mobile hotspot information from the management platform, the method further comprises:
acquiring position information of each platform where the target vehicle stops;
calculating the distance between the target vehicle and each platform where the target vehicle stops according to the position information of the target vehicle and the position information of each platform where the target vehicle stops;
determining a station closest to the target vehicle as the first target station.
3. The method of claim 1, wherein prior to determining the mobile hotspot information for the first target station based on a pre-received list of mobile hotspot information from the management platform, the method further comprises:
sending the information of the target vehicle and the vehicle-mounted storage equipment of the target vehicle to the management platform;
and receiving the mobile hotspot information list returned by the management platform based on the information of the target vehicle and the vehicle-mounted storage equipment of the target vehicle.
4. The method of claim 1, wherein prior to determining the mobile hotspot information for the first target station based on a pre-received list of mobile hotspot information from the management platform, the method further comprises:
reporting the position information of the vehicle-mounted storage equipment to the management platform according to a preset reporting mode;
receiving the identification information of the first target station returned by the management platform according to the position information of the vehicle-mounted storage equipment;
determining the first target station based on identification information of the first target station.
5. The method of claim 1,
prior to data transfer with a storage device of the first target station by the mobile hotspot, the method further comprises: determining a type of multimedia data stored in an onboard storage device of the target vehicle; determining the multimedia data with the type of the first type as first target multimedia data;
transmitting data with the mobile hotspot to a storage device of the first target station comprises: sending, by the mobile hotspot, the first target multimedia data to a storage device of the first target station.
6. The method of claim 1, wherein after the data transfer with the storage device of the first target station via the moving hotspot, the method further comprises:
determining a type of second target multimedia data sent by a storage device of the first target station if the second target multimedia data is received by the mobile hotspot;
controlling a device corresponding to the type of the second target multimedia data to perform a target operation based on the second target multimedia data.
7. A data information management method, comprising:
receiving a target vehicle and information of the vehicle-mounted storage device sent by the vehicle-mounted storage device, wherein the vehicle-mounted storage device is located in the target vehicle;
determining mobile hotspot information of each station where the target vehicle stops in the running process based on the information of the target vehicle and the vehicle-mounted storage equipment;
sending a mobile hotspot information list to the vehicle-mounted storage device, wherein the mobile hotspot information list comprises mobile hotspot information of each station where the vehicle is parked;
after sending the mobile hotspot information list to the vehicle-mounted storage device, the method further comprises the following steps: determining a real-time type of third target data to be sent to the vehicle-mounted storage device; determining a third target station for transmitting the third target data based on the data volume of the third target data and the mobile hotspot transmission speed if it is determined that the real-time type is the first real-time type; sending the third target data to the third target stations to instruct the third target stations to forward the third target data to the onboard storage device, wherein the number of the third target stations is one or more;
in a case where the number of the third target stations is plural, transmitting the third target data to the third target stations includes: splitting the third target data according to a remaining data carrying capacity of each target station included in the plurality of third target stations to obtain a plurality of third target data packets; and correspondingly sending a plurality of third target data packets to a plurality of third target stations.
8. The method of claim 7, wherein after determining mobile hotspot information for each station at which the target vehicle is parked during operation based on the information of the target vehicle and the onboard storage device, the method further comprises:
receiving the position information of the vehicle-mounted storage equipment reported by the vehicle-mounted storage equipment;
determining a second target station at which the target vehicle is to stop based on the location information of the onboard storage device;
and sending the identification information of the second target station to the vehicle-mounted storage device.
9. The method of claim 7, wherein after determining a third target station for transmitting the third target data based on the amount of data of the third target data and the mobile hotspot transmission speed, the method further comprises:
and sending the identification information of the third target station to the vehicle-mounted storage device.
10. A data transmission apparatus, comprising:
the system comprises an information list receiving module, a first target station and a second target station, wherein the information list receiving module is used for determining mobile hotspot information of the first target station based on a mobile hotspot information list which is received in advance from a management platform, and the mobile hotspot information list comprises mobile hotspot information of each station where a target vehicle stops;
a network connection module, configured to establish a mobile hotspot connection with a storage device of the first target station based on mobile hotspot information of the first target station after determining that the distance between the target vehicle and the first target station is smaller than a predetermined threshold;
a data transmission module, configured to perform data transmission with a storage device of the first target station through the mobile hotspot;
the device is further used for receiving a plurality of data packets relayed to the vehicle-mounted storage device by the storage devices of a plurality of different first target stations when the storage device of the first target station needs to send audio and video data to the vehicle-mounted storage device, wherein the vehicle-mounted storage device is located in the target vehicle, the audio and video data are cut into the data packets, the vehicle-mounted storage device is set to receive a detection result, and the detection result is obtained by detecting the data carrying capacity of the storage device of the first target station in advance through a management platform.
11. A data management apparatus, comprising:
the information receiving module is used for receiving a target vehicle and information of the vehicle-mounted storage equipment, wherein the information is sent by the vehicle-mounted storage equipment, and the vehicle-mounted storage equipment is positioned in the target vehicle;
the platform determining module is used for determining mobile hotspot information of each platform where the target vehicle stops in the running process based on the information of the target vehicle and the vehicle-mounted storage equipment;
the list sending module is used for sending a mobile hotspot information list to the vehicle-mounted storage device, wherein the mobile hotspot information list comprises mobile hotspot information of each stopped platform;
the device is further used for determining the real-time type of third target data to be sent to the vehicle-mounted storage equipment after the mobile hotspot information list is sent to the vehicle-mounted storage equipment; in an instance in which it is determined that the type of real-time is a first type of real-time, determining a third target station for transmitting the third target data based on a data volume of the third target data and a mobile hotspot transmission speed; sending the third target data to the third target stations to instruct the third target stations to forward the third target data to the onboard storage device, wherein the number of the third target stations is one or more;
the apparatus is further configured to split the third target data according to a remaining data carrying capacity of each target station included in the plurality of third target stations, so as to obtain a plurality of third target data packets; and correspondingly sending a plurality of third target data packets to a plurality of third target stations.
12. A computer-readable storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of any of claims 1 to 6, or to perform the method of any of claims 7 to 9 when executed.
13. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 6, or to perform the method of any of claims 7 to 9.
CN202011034389.3A 2020-09-27 2020-09-27 Data transmission method and device, storage medium and electronic device Active CN112135247B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011034389.3A CN112135247B (en) 2020-09-27 2020-09-27 Data transmission method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011034389.3A CN112135247B (en) 2020-09-27 2020-09-27 Data transmission method and device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN112135247A CN112135247A (en) 2020-12-25
CN112135247B true CN112135247B (en) 2023-03-31

Family

ID=73839467

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011034389.3A Active CN112135247B (en) 2020-09-27 2020-09-27 Data transmission method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN112135247B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114374895B (en) * 2021-10-21 2024-03-15 广州文远知行科技有限公司 Vehicle data uploading method, device, equipment and storage medium

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079188B (en) * 2007-07-05 2011-06-15 青岛海信网络科技股份有限公司 Vehicle mounted terminal and public transportation system containing the vehicle-mounted terminal
CN102117542A (en) * 2009-12-31 2011-07-06 上海遥薇实业有限公司 Multifunctional electronic bus stop board control system
JP2012103138A (en) * 2010-11-11 2012-05-31 Sony Corp Position information detection device, communication device, and communication system
CN103077672A (en) * 2012-12-28 2013-05-01 合肥工业大学 Geographical position related public traffic advertisement issuing system
CN103366597B (en) * 2013-06-28 2016-02-24 上海新兴媒体信息传播有限公司 The method adopting ZIGBEE to carry out bus and electronic stop sign information to exchange
CN103996303A (en) * 2014-04-11 2014-08-20 云南省交通科学研究所 RFID-based bus-mounted terminal device
US10187824B2 (en) * 2014-05-30 2019-01-22 Apple Inc. Device and method for reliable WiFi data connectivity
CN107134162A (en) * 2017-06-29 2017-09-05 江苏亚楠电子科技有限公司 Vehicle-mounted automatic station reporting device system
CN107818411B (en) * 2017-10-24 2021-08-10 东南大学 Bus dynamic scheduling system and method based on WiFi detection and GPS positioning
CN111210650A (en) * 2020-03-13 2020-05-29 广州通达汽车电气股份有限公司 Bus stop announcement system, method, device and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Utku Günay Acer等.Timely Data Delivery in a Realistic Bus Network. IEEE Transactions on Vehicular Technology.2011,全文. *
俞宏博.基于DM365的车载多媒体终端软件设计和开发.中国优秀硕士学位论文全文数据库信息科技辑.2016,全文. *

Also Published As

Publication number Publication date
CN112135247A (en) 2020-12-25

Similar Documents

Publication Publication Date Title
US10609528B2 (en) Vehicle communication system and method
CN110197417B (en) Method and device for processing movement track, storage medium and electronic device
US7953528B2 (en) SMS and packet data performance monitoring
US10187821B2 (en) Method for wireless data offload
CN112135247B (en) Data transmission method and device, storage medium and electronic device
US20200327806A1 (en) Connected vehicle platform assisted v2x communications
CN113335297B (en) Vehicle control method and device
US20220201584A1 (en) Method for predicting a modification of the linkage conditions of a terminal to a cellular network
US7994942B2 (en) Method and apparatus for delivering data based on sensor network
US10849075B2 (en) Method and device for allocation of transmission power and terminal
JP7348725B2 (en) Distribution system, distribution method and on-vehicle device
CN114900822A (en) Vehicle information interaction method, cloud device, vehicle and system
CN111896022A (en) Notification method and device and computer storage medium
CN113242533B (en) Driving environment information acquisition method and vehicle-mounted equipment
JP2020140616A (en) Operation control device and vehicle
CN109286916A (en) Automobile wireless unit and its operating method
US11374667B2 (en) Localizing communications interference node
KR20200080395A (en) Vehicle system, control method of the vehicle system and the vehicle
US20220286522A1 (en) Server, data collection system, recording medium, and data collection method
WO2024024223A1 (en) Onboard device, control method, and computer program
CN116448138B (en) Running coordinate prediction method, server side and running coordinate prediction system
US20230195724A1 (en) Smart data ingestion
KR101265148B1 (en) Method for Exchanging a Position
CN117939428A (en) Position information sharing method, device, vehicle, storage medium and system
KR101320454B1 (en) Method for Exchanging a Position

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