CN111417089A - Method, terminal and computer-readable storage medium for providing data service for application - Google Patents

Method, terminal and computer-readable storage medium for providing data service for application Download PDF

Info

Publication number
CN111417089A
CN111417089A CN202010292354.3A CN202010292354A CN111417089A CN 111417089 A CN111417089 A CN 111417089A CN 202010292354 A CN202010292354 A CN 202010292354A CN 111417089 A CN111417089 A CN 111417089A
Authority
CN
China
Prior art keywords
link
data
protocol
reachable
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010292354.3A
Other languages
Chinese (zh)
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.)
Gaoxing Wulian Technology Co ltd
Original Assignee
Gaoxing Wulian 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 Gaoxing Wulian Technology Co ltd filed Critical Gaoxing Wulian Technology Co ltd
Priority to CN202010292354.3A priority Critical patent/CN111417089A/en
Publication of CN111417089A publication Critical patent/CN111417089A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • 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]

Abstract

The invention discloses a method, a terminal and a computer readable storage medium for providing data service for an application, wherein the method comprises the following steps: detecting whether a data link established through a preset network interface is reachable according to target network parameters, and summarizing the reachable data links to form a backup link set; and according to the link service quality requirement of the upper-layer application, when the current service data link does not meet the standard, selecting a data link from the backup link set for the upper-layer application to provide data service. The established data link is detected to realize the statistics of the reachable link and form a backup link set, and when the service quality of the currently used data link of the upper application is not good, the link can be selected from the backup link set in time to be switched, so that the data link with better service quality is provided for the upper application.

Description

Method, terminal and computer-readable storage medium for providing data service for application
Technical Field
The present invention relates to the field of wireless communication and car networking system design, and in particular, to a method, a terminal, and a computer-readable storage medium for providing data services to an application.
Background
As shown in fig. 1, the C-V2X technology (Cellular Vehicle to event, i.e., V2X technology based on Cellular communication technology) includes direct communication through a PC5 interface and Cellular mobile communication through a Uu interface. Particularly, communication between vehicles is realized (V2V), such as early warning; the automobile and the pedestrian communicate (V2P) to ensure the safety of the pedestrian; the cars communicate with the road infrastructure (V2I), such as traffic lights, traffic signs, parking locations, etc.; and the vehicle communicates with the cloud via a mobile network (V2N). In practical application environments, the roadside units RSUs are usually wired or wirelessly connected to a communication network, and some vehicles can support both PC5 direct communication and Uu interface network communication.
At present, automatic driving is gradually realized at L2, the L2 automatic driving solution is subjected to mass production, traffic jam assistance, integrated cruise assistance and other functions, cross-over type lifting is required from L2 to L3, once problems occur in automatic driving automobiles of L3 and above, a responsibility main body is the whole system, but at the L2 stage, a human driver is the responsibility main body, when the responsibility main body is transferred from a person to the system, a step is obviously formed, the important point of lifting is redundancy, and automatic driving automobiles of L3 and above are required to be provided with redundancy systems of different degrees.
Take a car networking application, a car monitoring system, as an example. The vehicle monitoring platform is usually deployed at the cloud end and is communicated with the detected vehicle through the internet and a mobile communication network. As shown in fig. 2, this application scenario has the following difficulties: 1. to maintain continuous communication with the monitored vehicle; 2. during the continuous running of the vehicle, the wireless communication link is unstable. The current approach is to ensure the reliability of the communication link by means of mutual redundancy of at least two cellular communication links, but this solution has disadvantages in terms of cost and reliability, and in particular, when the vehicle travels to a location where the coverage of the contracted operator is not available, the vehicle will lose contact with the monitoring platform completely.
Therefore, a technical solution for providing data communication is needed, especially in the aspect of intelligent networking automobiles, to improve the reliability of a communication link.
Disclosure of Invention
The invention mainly aims to provide a method, a terminal and a computer readable storage medium for providing data service for an application, aiming at improving the reliability of a communication link.
In order to achieve the above object, the present invention provides a method for providing data service for an application, comprising: detecting whether a data link established through a preset network interface is reachable according to target network parameters, and summarizing the reachable data links to form a backup link set; and according to the link service quality requirement of the upper-layer application, when the current service data link does not meet the standard, selecting a data link from the backup link set for the upper-layer application to provide data service.
In order to achieve the above object, the present invention provides a terminal comprising a processor, a memory, a communication bus; the communication bus is used for realizing connection communication between the processor and the memory; the processor is configured to execute a program stored in the memory to implement the steps of the aforementioned method.
To achieve the above object, the present invention provides a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the steps of the aforementioned method.
According to the above technical solutions, it can be known that the method, the terminal and the computer-readable storage medium for providing data services for applications of the present invention have at least the following advantages:
in the technical scheme of the invention, the statistics of the reachable links is realized by detecting the established data links, a backup link set is formed, and when the service quality of the currently used data link of the upper application is not good, the link can be selected from the backup link set in time for switching, thereby providing the data link with better service quality for the upper application.
Drawings
FIG. 1 is a schematic diagram of C-V2X communication;
FIG. 2 is a block diagram of a vehicle monitoring system communication hot backup system;
FIG. 3 is a flow diagram of a method of providing data services for an application according to one embodiment of the invention;
FIG. 4 is a flow diagram of a method of providing data services for an application according to one embodiment of the invention;
fig. 5 is a block diagram of a terminal according to an embodiment of the present invention;
FIG. 6 is a block diagram of a vehicle terminal according to an embodiment of the present invention;
FIG. 7 is a flowchart of the operation of a vehicle terminal according to an embodiment of the present invention;
fig. 8 is a flowchart illustrating an operation of the in-vehicle terminal according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "part", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no peculiar meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
As shown in fig. 3, in an embodiment of the present invention, a method for providing data service for an application is provided, including:
step S310, detecting whether the data link established through the preset network interface is reachable according to the target network parameters, and summarizing the reachable data links to form a backup link set. The predetermined network interface may comprise a user device interface and/or a PC5 interface.
In this embodiment, whether the data link through the Uu interface and the PC5 interface is reachable is detected at regular time, and a backup link set is formed in a summary manner for the upper layer application to use at any time.
Step S320, according to the link quality of service requirement of the upper layer application, when the current service data link does not meet the standard, selecting a data link from the backup link set for the upper layer application to provide data service.
In this embodiment, according to the link QoS requirement of the upper layer application, when the service data link does not meet the standard, the backup link is selected from the backup link set to continue providing the data service for the upper layer application.
According to the technical scheme of the embodiment, the statistics of the reachable links is realized by detecting the established data links, a backup link set is formed, and when the service quality of the currently used data link of the upper application is not good, the link can be selected from the backup link set in time for switching, so that the data link with better service quality is provided for the upper application.
As shown in fig. 4, in an embodiment of the present invention, a method for providing data service for an application is provided, including:
and step S410, setting target network parameters according to a preset value of the terminal and a preset application data packet.
In this embodiment, the target network parameter may be a preset value of the terminal, or may be obtained by analyzing a data packet of a specific application.
Step S420, detecting whether the data link established through the preset network interface is reachable according to the target network parameter, summarizing the reachable data links to form a backup link set, and recording the network parameter of the reachable link. The network parameters of the reachable link include latency, routing, and/or bandwidth of the reachable link.
And step S430, selecting a data link from the backup link set to provide data service for the upper layer application according to the network parameters of the reachable link when the current service data link does not meet the standard according to the link service quality requirement of the upper layer application.
Step S440, when the upper layer application uses the first protocol and the selected data link uses the second protocol, the data packet of the upper layer application is converted from the format of the first protocol to the format of the second protocol and then sent out. The first protocol is an IPv4 protocol, the second protocol is an IPv6 protocol, or the first protocol is an IPv6 protocol, and the second protocol is an IPv4 protocol.
According to the technical scheme of the embodiment, since the interface of the PC5 only supports the IPv6 protocol, if the upper layer application uses the IPv4 protocol, the data packet in the IPv4 format needs to be converted into the IPv6 format, and then the data packet is sent out through the interface of the PC 5.
As shown in fig. 5, a terminal is provided in one embodiment of the invention and includes a processor 510, a memory 520, a communication bus 530; the communication bus 530 is used for realizing connection communication between the processor 510 and the memory 520; processor 510 is configured to execute programs stored in memory 520 to implement the following steps:
and detecting whether the data link established through the preset network interface is reachable according to the target network parameters, and summarizing the reachable data links to form a backup link set. The predetermined network interface may comprise a user device interface and/or a PC5 interface.
In this embodiment, whether the data link through the Uu interface and the PC5 interface is reachable is detected at regular time, and a backup link set is formed in a summary manner for the upper layer application to use at any time.
And according to the link service quality requirement of the upper-layer application, selecting a data link from the backup link set to provide data service for the upper-layer application when the current service data link does not meet the standard.
In this embodiment, according to the link QoS requirement of the upper layer application, when the service data link does not meet the standard, the backup link is selected from the backup link set to continue providing the data service for the upper layer application.
According to the technical scheme of the embodiment, the statistics of the reachable links is realized by detecting the established data links, a backup link set is formed, and when the service quality of the currently used data link of the upper application is not good, the link can be selected from the backup link set in time for switching, so that the data link with better service quality is provided for the upper application.
As shown in fig. 5, a terminal is provided in one embodiment of the invention and includes a processor 510, a memory 520, a communication bus 530; the communication bus 530 is used for realizing connection communication between the processor 510 and the memory 520; processor 510 is configured to execute programs stored in memory 520 to implement the following steps:
and setting target network parameters according to a preset value of the terminal and a preset applied data packet.
In this embodiment, the target network parameter may be a preset value of the terminal, or may be obtained by analyzing a data packet of a specific application.
And detecting whether the data link established through the preset network interface is reachable according to the target network parameter, summarizing the reachable data links to form a backup link set, and recording the network parameter of the reachable links. The network parameters of the reachable link include latency, routing, and/or bandwidth of the reachable link.
And according to the link service quality requirement of the upper-layer application, when the current service data link does not meet the standard, selecting the data link from the backup link set according to the network parameters of the reachable link to provide data service for the upper-layer application.
When the upper layer application uses the first protocol and the selected data link uses the second protocol, the data packet of the upper layer application is converted from the format of the first protocol to the format of the second protocol and then is sent out. The first protocol is an IPv4 protocol, the second protocol is an IPv6 protocol, or the first protocol is an IPv6 protocol, and the second protocol is an IPv4 protocol.
According to the technical scheme of the embodiment, since the interface of the PC5 only supports the IPv6 protocol, if the upper layer application uses the IPv4 protocol, the data packet in the IPv4 format needs to be converted into the IPv6 format, and then the data packet is sent out through the interface of the PC 5.
One embodiment of the present invention provides a computer-readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to perform the steps of:
and detecting whether the data link established through the preset network interface is reachable according to the target network parameters, and summarizing the reachable data links to form a backup link set. The predetermined network interface may comprise a user device interface and/or a PC5 interface.
In this embodiment, whether the data link through the Uu interface and the PC5 interface is reachable is detected at regular time, and a backup link set is formed in a summary manner for the upper layer application to use at any time.
And according to the link service quality requirement of the upper-layer application, selecting a data link from the backup link set to provide data service for the upper-layer application when the current service data link does not meet the standard.
In this embodiment, according to the link QoS requirement of the upper layer application, when the service data link does not meet the standard, the backup link is selected from the backup link set to continue providing the data service for the upper layer application.
According to the technical scheme of the embodiment, the statistics of the reachable links is realized by detecting the established data links, a backup link set is formed, and when the service quality of the currently used data link of the upper application is not good, the link can be selected from the backup link set in time for switching, so that the data link with better service quality is provided for the upper application.
One embodiment of the present invention provides a computer-readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to perform the steps of:
and setting target network parameters according to a preset value of the terminal and a preset applied data packet.
In this embodiment, the target network parameter may be a preset value of the terminal, or may be obtained by analyzing a data packet of a specific application.
And detecting whether the data link established through the preset network interface is reachable according to the target network parameter, summarizing the reachable data links to form a backup link set, and recording the network parameter of the reachable links. The network parameters of the reachable link include latency, routing, and/or bandwidth of the reachable link.
And according to the link service quality requirement of the upper-layer application, when the current service data link does not meet the standard, selecting the data link from the backup link set according to the network parameters of the reachable link to provide data service for the upper-layer application.
When the upper layer application uses the first protocol and the selected data link uses the second protocol, the data packet of the upper layer application is converted from the format of the first protocol to the format of the second protocol and then is sent out. The first protocol is an IPv4 protocol, the second protocol is an IPv6 protocol, or the first protocol is an IPv6 protocol, and the second protocol is an IPv4 protocol.
According to the technical scheme of the embodiment, since the interface of the PC5 only supports the IPv6 protocol, if the upper layer application uses the IPv4 protocol, the data packet in the IPv4 format needs to be converted into the IPv6 format, and then the data packet is sent out through the interface of the PC 5.
As shown in fig. 6, a specific technical solution according to the above embodiment is as follows:
on the vehicle terminal side, three modules are mainly introduced: as shown in fig. 7, the link detection module periodically detects whether the data link passing through the Uu interface and the PC5 interface is reachable, and parameters such as delay, route, and bandwidth of the reachable link according to the target network parameters. The target network parameter may be a preset value of the terminal, or may be obtained by analyzing a data packet of a specific application. The detection data of each reachable link are collected to form a backup link set, and the data set provides configuration basis for the link configuration module. As shown in fig. 8, according to the link QoS requirement of the upper layer application, when the service data link does not meet the standard, the link configuration module selects a backup link from the backup link set to continue providing data service for the upper layer application. The IPv4 and IPv6 conversion modules, because the PC5 interface only supports IPv6 protocol, if the upper layer application uses IPv4 protocol, it needs to convert the data packet in IPv4 format into IPv6 format, and then send out through the PC5 interface. Other modules include: the application of the Internet of vehicles, a specific application program of the Internet of vehicles needing data services. Uu interface link, data link established by Uu interface. PC5 interface link, data link established through PC5 interface. By establishing a plurality of communication links on the Uu port and the PC5 interface for hot backup, the cost can be reduced, the dependence on a mobile network is avoided, and the connection can be established by using the RSU network or the data link and the platform of a nearby vehicle in a place which is not covered by a contracted operator network, so that the reliability of the communication links is improved.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. 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 (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A method for providing data services to an application, comprising:
detecting whether a data link established through a preset network interface is reachable according to target network parameters, and summarizing the reachable data links to form a backup link set;
and according to the link service quality requirement of the upper-layer application, when the current service data link does not meet the standard, selecting a data link from the backup link set for the upper-layer application to provide data service.
2. The method of claim 1,
the predetermined network interface comprises a user equipment interface and/or a PC5 interface.
3. The method according to claim 1, wherein before the detecting whether the data link established through the predetermined network interface is reachable, the method further comprises:
and determining the target network parameters according to a preset value of the terminal.
4. The method according to claim 1, wherein before the detecting whether the data link established through the predetermined network interface is reachable, the method further comprises:
and setting the target network parameters according to a preset application data packet.
5. The method of claim 1, wherein aggregating reachable data links into a backup linkset further comprises:
recording network parameters of the reachable link;
the selecting a data link from the backup link set for the upper layer application to provide data service includes:
and selecting a data link from the backup link set for the upper layer application according to the network parameters of the reachable link.
6. The method of claim 5, wherein the network parameters of the reachable link comprise latency, routing and/or bandwidth of the reachable link.
7. The method of claim 1, further comprising:
and when the upper layer application uses a first protocol and the selected data link uses a second protocol, converting the format of the data packet of the upper layer application from the format of the first protocol to the format of the second protocol and then sending the data packet.
8. The method of claim 7,
the first protocol is an IPv4 protocol, the second protocol is an IPv6 protocol, or the first protocol is an IPv6 protocol, and the second protocol is an IPv4 protocol.
9. A terminal, characterized in that the terminal comprises a processor, a memory, a communication bus; the communication bus is used for realizing connection communication between the processor and the memory; the processor is configured to execute a program stored in the memory to implement the steps of the method of any one of claims 1 to 8.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores one or more programs which are executable by one or more processors to implement the steps of the method of any one of claims 1 to 8.
CN202010292354.3A 2020-04-14 2020-04-14 Method, terminal and computer-readable storage medium for providing data service for application Pending CN111417089A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010292354.3A CN111417089A (en) 2020-04-14 2020-04-14 Method, terminal and computer-readable storage medium for providing data service for application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010292354.3A CN111417089A (en) 2020-04-14 2020-04-14 Method, terminal and computer-readable storage medium for providing data service for application

Publications (1)

Publication Number Publication Date
CN111417089A true CN111417089A (en) 2020-07-14

Family

ID=71494913

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010292354.3A Pending CN111417089A (en) 2020-04-14 2020-04-14 Method, terminal and computer-readable storage medium for providing data service for application

Country Status (1)

Country Link
CN (1) CN111417089A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113904977A (en) * 2021-10-13 2022-01-07 中国电信股份有限公司 Multilink gateway data transmission method and device, electronic equipment and readable medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107332683A (en) * 2016-04-29 2017-11-07 中国移动通信集团内蒙古有限公司 A kind of link switch-over method and system
CN107708163A (en) * 2017-09-18 2018-02-16 深圳市信锐网科技术有限公司 A kind of roving link switching method, mobile terminal, network modules and storage medium
CN108040108A (en) * 2017-12-11 2018-05-15 杭州电魂网络科技股份有限公司 Communication handover method, device, coordination service device and readable storage medium storing program for executing
EP3593516A1 (en) * 2017-03-06 2020-01-15 Telefonaktiebolaget LM Ericsson (PUBL) Method and control node for managing cloud resources in a communications network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107332683A (en) * 2016-04-29 2017-11-07 中国移动通信集团内蒙古有限公司 A kind of link switch-over method and system
EP3593516A1 (en) * 2017-03-06 2020-01-15 Telefonaktiebolaget LM Ericsson (PUBL) Method and control node for managing cloud resources in a communications network
CN107708163A (en) * 2017-09-18 2018-02-16 深圳市信锐网科技术有限公司 A kind of roving link switching method, mobile terminal, network modules and storage medium
CN108040108A (en) * 2017-12-11 2018-05-15 杭州电魂网络科技股份有限公司 Communication handover method, device, coordination service device and readable storage medium storing program for executing

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113904977A (en) * 2021-10-13 2022-01-07 中国电信股份有限公司 Multilink gateway data transmission method and device, electronic equipment and readable medium

Similar Documents

Publication Publication Date Title
CN109416871B (en) Vehicle communication system and method
US11546957B2 (en) Interworking system and operation in V2X applications
KR101538331B1 (en) Apparatus and Method for update of software program of vehicle based on collaborative communication of V2V and V2I
US6871067B2 (en) Method and system for communicating telematics messages
EP3726866B1 (en) Method and apparatus for selecting communication mode, and vehicle
CN109863778B (en) Method for monitoring the quality of a data connection, and subscriber station and network management unit for use in the method
CN104917808A (en) Rescue scheduling method based on Internet of vehicles and rescue scheduling system
JP2000090395A (en) Transmission equipment and method for inter-vehicle communication
CN112333662B (en) V2X communication system and communication method
CN105407170A (en) Internet of vehicles system with link protection
CN108934000B (en) Wireless in-vehicle communication and information provision for vehicles
US11689622B2 (en) Efficient real time vehicular traffic reporting and sharing
CN111417089A (en) Method, terminal and computer-readable storage medium for providing data service for application
US20230300226A1 (en) Communication control device, communication control method, and relay server
TW202110215A (en) V2x device and communication method thereof
CN113242533B (en) Driving environment information acquisition method and vehicle-mounted equipment
EP4228326A1 (en) Wireless communication device for vehicle, and communication control method
Lu et al. A comparison of end-to-end architectures for connected vehicles
CN110049466B (en) Multi-IP communication method based on traffic flow heterogeneity
CN114339678A (en) Vehicle driving assisting communication method and communication system based on V2X
US10667234B2 (en) Method and device for transferring data
EP4207132A1 (en) Vehicular wireless communication device, communication control method
Daoud Wireless and wired Ethernet for intelligent transportation systems
WO2024057936A1 (en) Communication device, communication system, control method and program
Farooq et al. Cloud enabled and cluster based efficient data broadcasting in VANETs

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200714

RJ01 Rejection of invention patent application after publication