Communication method and device, vehicle and storage medium
By determining the target service and vehicle security status of the APN link in the on-board terminal and allocating data resources, the allocation of multi-service requirements is solved, and the safety performance and user experience of the vehicle are improved.
Patent Information
- Application Number
- CN202311304227.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-09
- Publication Date
- 2025-04-11
AI Technical Summary
How to effectively allocate data resources to meet the multi-service needs of multi-access point networks (APNs) in on-board terminals, especially when the vehicle's safety state changes.
By determining the target service of each APN link, the security status of the vehicle is obtained, and the data resources of each APN link are allocated according to the security status and service priority information.
The rational allocation of data resources is achieved based on the vehicle's safety status and service priority, which improves the safety performance of the vehicle and thus improves the user experience.
Smart Images

Figure CN119815310A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of vehicle technology, and in particular to a communication method, device, vehicle and storage medium. Background Art
[0002] With the development of in-vehicle communication technology, current in-vehicle terminals are able to support multiple access point networks (APNs). For example, an in-vehicle terminal may include an APN for multimedia messaging services, an APN for connecting to the Internet for browsing, and an APN for virtual private network connections. The multi-access point network setting will inevitably be able to meet more business needs; however, for in-vehicle terminals that can support multiple APNs, how to allocate data resources has become a problem that needs to be solved urgently. Summary of the invention
[0003] In order to overcome the problems existing in the related art, the present disclosure provides a communication method, device, vehicle and storage medium.
[0004] According to a first aspect of an embodiment of the present disclosure, there is provided a communication method, which is applied to a vehicle-mounted terminal, wherein the vehicle-mounted terminal includes a plurality of APNs for Internet access, and the method includes:
[0005] Determine the target service corresponding to the link where each APN is currently located;
[0006] Obtaining the current safety status of the vehicle, where the safety status is used to indicate whether the vehicle needs rescue;
[0007] Determine first priority information of a plurality of target services corresponding to the plurality of APNs for Internet access;
[0008] Data resources of the link where each APN is located are allocated according to the security status and the first priority information.
[0009] Optionally, the determining the first priority information of the plurality of target services corresponding to the plurality of APNs for Internet access includes:
[0010] Acquire preset priority data, wherein the preset priority data includes specified priorities of a plurality of preset services;
[0011] The priority of each target service is determined according to the preset priority data to obtain the first priority information.
[0012] Optionally, the safety state includes a state waiting for rescue, and the allocating data resources of the link where each APN is located according to the safety state and the first priority information includes:
[0013] In the case where it is determined that the vehicle is currently in the state to be rescued, determining the service type of each target service;
[0014] Determine second priority information of a plurality of target services corresponding to the plurality of APNs for Internet access according to the first priority information and a service type of each of the target services;
[0015] Data resources of the link where each APN is located are allocated according to the second priority information.
[0016] Optionally, the service type includes a rescue data transmission service, and determining, according to the first priority information and the service type of each of the target services, second priority information of the multiple target services corresponding to the multiple APNs for Internet access includes:
[0017] Determine, according to the first priority information, a first standby priority of the rescue data transmission service among the multiple target services corresponding to the multiple APNs for Internet access;
[0018] Determine, according to the first priority information, a second standby priority of other services among the multiple target services corresponding to the multiple APNs for Internet access except the rescue data transmission service;
[0019] The second priority information is determined according to the first standby priority and the second standby priority.
[0020] Optionally, allocating data resources of the link where each APN is located according to the second priority information includes:
[0021] When it is determined that the vehicle-mounted terminal is in a dual-card dual-pass state, obtaining a first signal quality of the first communication card and a second signal quality of the second communication card;
[0022] In the case that at least one of the first signal quality and the second signal quality does not meet the preset quality requirement, determining a target communication card with better quality between the first signal quality and the second signal quality;
[0023] Data resources are allocated by the target communication card according to the second priority information.
[0024] Optionally, the vehicle-mounted terminal is in a dual-card dual-pass state, the links where the multiple APNs for Internet access are located are provided with data resources by a first communication card, the first signal quality includes a first transmission delay duration, and the second signal quality includes a second transmission delay duration; and allocating data resources of the link where each APN is located according to the second priority information includes:
[0025] When both the first signal quality and the second signal quality meet the preset quality requirements, if it is determined that the transmission delay duration of the first communication card is greater than or equal to the specified duration, the first APN link to be deployed is determined, and the first APN link to be deployed is switched to the second communication card, and the second communication card provides data resources to the first APN link to be deployed; wherein, the first APN link to be deployed is the APN link corresponding to a specified number of target services with the lowest priority in the second priority information.
[0026] Optionally, after the second communication card provides data resources to the first APN link to be deployed, the method further includes:
[0027] When the delay duration of the second communication card is less than the specified duration and the delay duration of the first communication card is greater than the specified duration, a second APN link to be deployed is determined, and the second APN link to be deployed is switched to the second communication card, and the second communication card provides data resources to the second APN link to be deployed; wherein the second APN link to be deployed is the APN link corresponding to a specified number of target services with the highest priority in the second priority information.
[0028] Optionally, after the second communication card provides data resources to the second APN link to be deployed, the method further includes:
[0029] If the delay duration of the second communication card is greater than or equal to the specified duration, the first APN link to be deployed is switched to the first communication card, and the first communication card provides data resources to the first APN link to be deployed.
[0030] According to a second aspect of an embodiment of the present disclosure, there is provided a communication device, which is applied to a vehicle-mounted terminal, wherein the vehicle-mounted terminal includes a plurality of APNs for Internet access, and the device includes:
[0031] A first determination module is configured to determine a target service corresponding to a link where each APN is currently located;
[0032] An acquisition module is configured to acquire a current safety status of the vehicle, wherein the safety status is used to indicate whether the vehicle needs rescue;
[0033] A second determination module is configured to determine first priority information of a plurality of target services corresponding to the plurality of APNs for Internet access;
[0034] The allocation module is configured to allocate data resources of the link where each APN is located according to the security status and the first priority information.
[0035] Optionally, the second determining module is configured to:
[0036] Acquire preset priority data, wherein the preset priority data includes specified priorities of a plurality of preset services;
[0037] The priority of each target service is determined according to the preset priority data to obtain the first priority information.
[0038] Optionally, the safety state includes a state waiting for rescue, and the deployment module is configured to:
[0039] In the case where it is determined that the vehicle is currently in the state to be rescued, determining the service type of each target service;
[0040] Determine second priority information of a plurality of target services corresponding to the plurality of APNs for Internet access according to the first priority information and a service type of each of the target services;
[0041] Data resources of the link where each APN is located are allocated according to the second priority information.
[0042] Optionally, the service type includes a rescue data transmission service, and the deployment module is configured to:
[0043] Determine, according to the first priority information, a first standby priority of the rescue data transmission service among the multiple target services corresponding to the multiple APNs for Internet access;
[0044] Determine, according to the first priority information, a second standby priority of other services among the multiple target services corresponding to the multiple APNs for Internet access except the rescue data transmission service;
[0045] The second priority information is determined according to the first standby priority and the second standby priority.
[0046] Optionally, the deployment module is configured to:
[0047] When it is determined that the vehicle-mounted terminal is in a dual-card dual-pass state, obtaining a first signal quality of the first communication card and a second signal quality of the second communication card;
[0048] In the case that at least one of the first signal quality and the second signal quality does not meet the preset quality requirement, determining a target communication card with better quality between the first signal quality and the second signal quality;
[0049] Data resources are allocated by the target communication card according to the second priority information.
[0050] Optionally, the vehicle terminal is in a dual-card dual-pass state, the links where the multiple APNs for Internet access are located are provided with data resources by the first communication card, the first signal quality includes a first transmission delay duration, and the second signal quality includes a second transmission delay duration; the deployment module is configured as follows:
[0051] When both the first signal quality and the second signal quality meet the preset quality requirements, if it is determined that the transmission delay duration of the first communication card is greater than or equal to the specified duration, the first APN link to be deployed is determined, and the first APN link to be deployed is switched to the second communication card, and the second communication card provides data resources to the first APN link to be deployed; wherein, the first APN link to be deployed is the APN link corresponding to a specified number of target services with the lowest priority in the second priority information.
[0052] Optionally, the device further comprises:
[0053] The third determination module is configured to determine the second APN link to be deployed when the delay duration of the second communication card is less than the specified duration and the delay duration of the first communication card is greater than the specified duration, and switch the second APN link to be deployed to the second communication card, and the second communication card provides data resources to the second APN link to be deployed; wherein the second APN link to be deployed is the APN link corresponding to the specified number of target services with the highest priority in the second priority information.
[0054] Optionally, the device further comprises:
[0055] The fourth determination module is configured to switch the first APN link to be deployed to the first communication card if the delay duration of the second communication card is greater than or equal to the specified duration, and the first communication card provides data resources to the first APN link to be deployed.
[0056] According to a third aspect of an embodiment of the present disclosure, a vehicle is provided, comprising:
[0057] a first processor;
[0058] a memory for storing instructions executable by the first processor;
[0059] Among them, the first processor is used to execute the executable instructions in the memory to implement the steps of the method described in the first aspect of the present disclosure.
[0060] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored, and when the program instructions are executed by a second processor, the steps of the method described in the first aspect of the present disclosure are implemented.
[0061] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0062] By determining the target service corresponding to the link where each APN is currently located; obtaining the current safety status of the vehicle, the safety status is used to characterize whether the vehicle needs rescue; determining the first priority information of multiple target services corresponding to the multiple APNs for Internet access; and allocating data resources of the link where each APN is located according to the safety status and the first priority information; in this way, the data resources of the link where each APN is located can be allocated according to the current safety status of the vehicle and the first priority information of multiple target services corresponding to the multiple APNs for Internet access, and data resources can be reasonably and effectively allocated based on the current safety status of the vehicle, thereby improving the safety performance of the vehicle, and thus helping to improve the user experience of the vehicle.
[0063] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0065] Figure 1 is a flow chart of a communication method shown in an exemplary embodiment of the present disclosure;
[0066] Figure 2 is based on Figure 1 A flow chart of a communication method shown in the illustrated embodiment;
[0067] Figure 3 is based on Figure 2 A flow chart of a communication method shown in the illustrated embodiment;
[0068] Figure 4 is a block diagram of a communication device shown in an exemplary embodiment of the present disclosure;
[0069] Figure 5 is based on Figure 4 A block diagram of a communication device shown in the illustrated embodiment;
[0070] Figure 6 is a block diagram of a vehicle according to an exemplary embodiment;
[0071] Figure 7 It is a block diagram of a communication device according to an exemplary embodiment. DETAILED DESCRIPTION
[0072] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0073] It should be noted that all actions of acquiring signals, information or data in this application are carried out in compliance with the relevant data protection laws and policies of the country where they are located, and with the authorization given by the owner of the corresponding device.
[0074] Figure 1 is a flow chart of a communication method shown in an exemplary embodiment of the present disclosure; Figure 1 As shown, the communication method is applied to a vehicle-mounted terminal, the vehicle-mounted terminal includes multiple APNs for Internet access, and the method may include:
[0075] Step 101, determine the target service corresponding to the link where each APN is currently located.
[0076] In this step, you can first determine the currently running services, and then determine the APN identifier corresponding to each service, so as to obtain the corresponding relationship between each APN identifier and the target service; you can also determine the target service corresponding to the link where each APN is currently located by checking the APN configuration information. The configuration information may include APN type, server address, port number, protocol type, user name, password, etc.
[0077] Step 102, obtaining the current safety status of the vehicle.
[0078] The safety status is used to indicate whether the vehicle needs rescue.
[0079] In this step, it can be determined whether the distress signal of the vehicle is received. If it is determined that the distress signal is received, it is determined that the vehicle needs rescue. The distress signal can be triggered by the SOS button on the current vehicle, and can also be reported by other vehicles. For example, when the current vehicle is in a state of waiting for rescue, the rescue signal is transmitted through lights. After other vehicle users obtain the rescue signal, they report the distress signal through their own vehicles.
[0080] Step 103: Determine first priority information of the plurality of target services corresponding to the plurality of APNs for Internet access.
[0081] In this step, in a possible implementation, preset priority data may be obtained, the preset priority data including specified priorities of a plurality of preset services; the priority of each target service is determined according to the preset priority data to obtain the first priority information.
[0082] The first priority information is the priority order of each preset service when the vehicle does not need rescue.
[0083] For example, the preset priority data includes multiple designated services that may be involved in the vehicle terminal, and the priority order of each designated service. For example, it may include service A, service B, service C, service D, service E, service F, service G, service H and service I, where the priority order of service AI is ADEHIFGBC, that is, A has the highest designated priority, D has a designated priority lower than A and higher than E, E has a designated priority lower than D and higher than H, I has a designated priority lower than H and higher than F, B has a designated priority lower than G and higher than C, and C has the lowest designated priority.
[0084] In another possible implementation, the priority order of each target service can be determined according to the order of service request times of different services to obtain the first priority information. For example, the earlier the service request time, the lower the priority, and the later the service request time, the higher the priority; or the later the service request time, the lower the priority.
[0085] Step 104: Allocate data resources of the link where each APN is located according to the security status and the first priority information.
[0086] The safety status may include a state waiting for rescue and a state not waiting for rescue.
[0087] In this step, when the safety state is a waiting for rescue state, the resource requirements of rescue-related data transmission services can be prioritized. When the data resource requirements of rescue-related data transmission services are met, data resources are provided for each APN link according to the priority order in the first priority information.
[0088] The above technical scheme can allocate data resources of the link where each APN is located according to the current safety status of the vehicle and the first priority information of multiple target services corresponding to the multiple APNs currently used for Internet access. It can reasonably and effectively allocate data resources based on the current safety status of the vehicle, which can improve the safety performance of the vehicle, and thus help improve the vehicle user experience.
[0089] Figure 2 is based on Figure 1 The embodiment shown is a flow chart of a communication method; Figure 2 As shown, Figure 1 The implementation method of allocating data resources of the link where each APN is located according to the security status and the first priority information in step 104 may include:
[0090] Step 1041: When it is determined that the vehicle is currently in the state to be rescued, determine the service type of each target service.
[0091] The service type may include rescue data transmission services and non-rescue data transmission services. The service type may be pre-set in the form of service attributes. This step may obtain the service type by acquiring attribute data of each target service.
[0092] Step 1042: Determine second priority information of a plurality of target services corresponding to the plurality of APNs for Internet access according to the first priority information and the service type of each of the target services.
[0093] Wherein, the service type includes rescue data transmission service, and this step can be performed by Figure 3 The steps S11 to S13 are implemented, Figure 3 is based on Figure 2 The embodiment shown is a flow chart of a communication method; Figure 3 As shown, this step may include:
[0094] S11, determining, according to the first priority information, a first standby priority level of the rescue data transmission service among the multiple target services corresponding to the multiple APNs for Internet access.
[0095] For example, if the multiple APNs used for Internet access are APN1, APN2, APN3 and APN4, the link where APN1 is located is responsible for the vehicle status information data transmission service (for example, service A), which belongs to the rescue data transmission type service, the link where APN2 is located is responsible for the entertainment service service of the vehicle audio and video system (service F), which belongs to the non-rescue data transmission type service, the link where APN3 is located is responsible for the OTA package download service (service B), which also belongs to the non-rescue data transmission type service, and the link where APN4 is located is responsible for the occupant's physical status data transmission service after a vehicle collision (service C), which belongs to the rescue data transmission service; that is, the target service corresponding to the links where APN1 and APN4 are located is the rescue data transmission type service, and according to the priority order ADEHIFGBC in the first priority information, it can be determined that the first standby priority of the target service corresponding to the links where APN1 and APN4 are located is that the service of the link where APN1 is located is higher than the service of the link where APN4 is located.
[0096] S12: Determine, according to the first priority information, a second standby priority of other services among the multiple target services corresponding to the multiple APNs for Internet access except the rescue data transmission service.
[0097] For example, still taking the example in S11 as an example, among the multiple target services corresponding to the multiple APNs for Internet access, other services except the rescue data transmission service are the entertainment service service (service F) of the vehicle audio and video system responsible for the link where APN2 is located and the OTA package download service (service B) responsible for the link where APN3 is located. According to the first priority information (ADEHIFGBC), it can be determined that the priority of service F is higher than that of service B, that is, the priority of the target service responsible for the link where APN2 is located is higher than the priority of the target service responsible for the link where APN3 is located.
[0098] S13: Determine the second priority information according to the first standby priority and the second standby priority.
[0099] In this step, the first standby priority level may be set higher than the second standby priority level, thereby obtaining the second priority level information.
[0100] For example, still taking the examples in S11 and S12 as an example, the first standby priority is that service A is higher than service C, that is, the priority of the target service that the link where APN1 is located is higher than the priority of the target service that the link where APN4 is located is responsible for, and the second standby priority is that the priority of service F is higher than service B, that is, the priority of the target service that the link where APN2 is located is higher than the priority of the target service that the link where APN3 is located is responsible for. Since the first standby priority is higher than the second standby priority, the priority order in the second priority information is ACFB, that is, the priority of service A is higher than that of service C, the priority of service C is higher than that of service F, and the priority of service F is higher than that of service B.
[0101] Step 1043: allocate data resources of the link where each APN is located according to the second priority information.
[0102] A possible implementation of this step is: when it is determined that the vehicle-mounted terminal is in a dual-card dual-pass state, obtain the first signal quality of the first communication card and the second signal quality of the second communication card; when at least one of the first signal quality and the second signal quality does not meet the preset quality requirements, determine a target communication card with better quality between the first signal quality and the second signal quality; and allocate data resources according to the second priority information through the target communication card.
[0103] Wherein, when it is determined that the vehicle terminal supports DSDA (Dual SIM Dual Active) and is registered on DSDA, it is determined that the vehicle terminal is in a dual SIM dual active state. The first communication card and the second communication card may be SIMs (Subscriber Identity Modules) of the same operator or different operators, the first signal quality and the second signal quality may both include parameters such as signal strength, signal-to-noise ratio, and reference signal received power, and the preset quality requirements may include a required range of signal strength, a required range of signal-to-noise ratio, and a required range of reference signal received power.
[0104] It should be noted that the implementation method of determining the target communication card with better quality between the first signal quality and the second signal quality described above may be that, when the difference between the signal strength of the first communication card and the signal strength of the second communication card is greater than a first preset positive value, the first signal quality is better, and the first communication card is used as the target communication card; when the difference between the signal strength of the first communication card and the signal strength of the second communication card is less than a first preset negative value, the second signal quality is better, and the second communication card is used as the target communication card; when the difference between the signal strength of the first communication card and the signal quality of the second communication card is greater than a first preset negative value and less than the first preset positive value, the target communication card is determined based on the signal-to-noise ratio of the first communication card and the signal-to-noise ratio of the second communication card. When the absolute value of the difference between the signal-to-noise ratio of the first communication card and the signal-to-noise ratio of the second communication card is less than a preset absolute value threshold, the target communication card is determined according to the magnitude of the reference signal received power; when the difference between the signal-to-noise ratio of the first communication card and the signal-to-noise ratio of the second communication card is greater than a second preset positive value, the first signal quality is better, and the first communication card is used as the target communication card; when the difference between the signal-to-noise ratio of the first communication card and the signal-to-noise ratio of the second communication card is less than a second preset negative value, the second signal quality is better, and the second communication card is used as the target communication card.
[0105] Another possible implementation is: the vehicle terminal is in a dual-card dual-pass state, the links where the multiple APNs for Internet access are located are provided with data resources by the first communication card, the first signal quality includes a first transmission delay duration, and the second signal quality includes a second transmission delay duration;
[0106] When both the first signal quality and the second signal quality meet the preset quality requirements, if it is determined that the transmission delay duration of the first communication card is greater than or equal to the specified duration, the first APN link to be deployed is determined, and the first APN link to be deployed is switched to the second communication card, and the second communication card provides data resources to the first APN link to be deployed; wherein, the first APN link to be deployed is the APN link corresponding to a specified number of target services with the lowest priority in the second priority information.
[0107] Optionally, after the second communication card provides data resources to the first APN link to be deployed, the method may further include:
[0108] When the delay duration of the second communication card is less than the specified duration and the delay duration of the first communication card is greater than the specified duration, a second APN link to be deployed is determined, and the second APN link to be deployed is switched to the second communication card, and the second communication card provides data resources to the second APN link to be deployed; wherein the second APN link to be deployed is the APN link corresponding to a specified number of target services with the highest priority in the second priority information.
[0109] Optionally, after the second communication card provides data resources to the second APN link to be deployed, the method further includes:
[0110] If the delay duration of the second communication card is greater than or equal to the specified duration, the first APN link to be deployed is switched to the first communication card, and the first communication card provides data resources to the first APN link to be deployed.
[0111] In another implementation, if the vehicle terminal is in a DSDS (Dual SIM Dual Standby) state or a single-SIM state, the data resource demand of each APN link can be met in turn according to the second priority information.
[0112] The above technical solution can allocate data resources according to the principle of giving priority to rescue data transmission services when the vehicle is in a rescue state, ensuring that the APN link where the rescue data transmission services are located has the highest priority, thereby effectively improving the vehicle's safety performance and facilitating the improvement of the vehicle's user experience.
[0113] Figure 4 is a block diagram of a communication device shown in an exemplary embodiment of the present disclosure; Figure 4 As shown, the communication device is applied to a vehicle-mounted terminal, and the vehicle-mounted terminal includes multiple APNs for Internet access, which may include:
[0114] The first determination module 401 is configured to determine the target service corresponding to the link where each APN is currently located;
[0115] An acquisition module 402 is configured to acquire a current safety status of the vehicle, where the safety status is used to indicate whether the vehicle needs rescue;
[0116] The second determination module 403 is configured to determine first priority information of the plurality of target services corresponding to the plurality of APNs for Internet access;
[0117] The allocation module 404 is configured to allocate data resources of the link where each APN is located according to the security status and the first priority information.
[0118] The above technical scheme can allocate data resources of the link where each APN is located according to the current safety status of the vehicle and the first priority information of multiple target services corresponding to the multiple APNs currently used for Internet access. It can reasonably and effectively allocate data resources based on the current safety status of the vehicle, which can improve the safety performance of the vehicle, and thus help improve the vehicle user experience.
[0119] Optionally, the second determining module 403 is configured to:
[0120] Acquire preset priority data, wherein the preset priority data includes specified priorities of a plurality of preset services;
[0121] The priority of each target service is determined according to the preset priority data to obtain the first priority information.
[0122] Optionally, the safety state includes a state waiting for rescue, and the deployment module 404 is configured to:
[0123] In the case where it is determined that the vehicle is currently in the state to be rescued, determining the service type of each target service;
[0124] Determine second priority information of a plurality of target services corresponding to the plurality of APNs for Internet access according to the first priority information and a service type of each of the target services;
[0125] Data resources of the link where each APN is located are allocated according to the second priority information.
[0126] Optionally, the service type includes a rescue data transmission service, and the allocation module 404 is configured to:
[0127] Determine, according to the first priority information, a first standby priority of the rescue data transmission service among the multiple target services corresponding to the multiple APNs for Internet access;
[0128] Determine, according to the first priority information, a second standby priority of other services among the multiple target services corresponding to the multiple APNs for Internet access except the rescue data transmission service;
[0129] The second priority information is determined according to the first standby priority and the second standby priority.
[0130] Optionally, the allocation module 404 is configured to:
[0131] When it is determined that the vehicle-mounted terminal is in a dual-card dual-pass state, obtaining a first signal quality of the first communication card and a second signal quality of the second communication card;
[0132] In the case that at least one of the first signal quality and the second signal quality does not meet the preset quality requirement, determining a target communication card with better quality between the first signal quality and the second signal quality;
[0133] Data resources are allocated by the target communication card according to the second priority information.
[0134] Optionally, the vehicle terminal is in a dual-card dual-pass state, the links where the multiple APNs for Internet access are located are provided with data resources by the first communication card, the first signal quality includes a first transmission delay duration, and the second signal quality includes a second transmission delay duration; the deployment module 404 is configured to:
[0135] When both the first signal quality and the second signal quality meet the preset quality requirements, if it is determined that the transmission delay duration of the first communication card is greater than or equal to the specified duration, the first APN link to be deployed is determined, and the first APN link to be deployed is switched to the second communication card, and the second communication card provides data resources to the first APN link to be deployed; wherein, the first APN link to be deployed is the APN link corresponding to a specified number of target services with the lowest priority in the second priority information.
[0136] The above technical scheme can allocate data resources of the link where each APN is located according to the current safety status of the vehicle and the first priority information of multiple target services corresponding to the multiple APNs currently used for Internet access. It can reasonably and effectively allocate data resources based on the current safety status of the vehicle, which can improve the safety performance of the vehicle, and thus help improve the vehicle user experience.
[0137] Figure 5 is based on Figure 4 The embodiment shown is a block diagram of a communication device; Figure 5As shown, the device may also include:
[0138] The third determination module 405 is configured to determine the second APN link to be allocated when the delay duration of the second communication card is less than the specified duration and the delay duration of the first communication card is greater than the specified duration, and switch the second APN link to be allocated to the second communication card, and the second communication card provides data resources to the second APN link to be allocated; wherein the second APN link to be allocated is the APN link corresponding to the specified number of target services with the highest priority in the second priority information.
[0139] Optionally, the device further comprises:
[0140] The fourth determination module 406 is configured to switch the first APN link to be deployed to the first communication card if the delay duration of the second communication card is greater than or equal to the specified duration, and the first communication card provides data resources to the first APN link to be deployed.
[0141] The above technical solution can allocate data resources according to the principle of giving priority to rescue data transmission services when the vehicle is in a rescue state, ensuring that the APN link where the rescue data transmission services are located has the highest priority, thereby effectively improving the vehicle's safety performance and facilitating the improvement of the vehicle's user experience.
[0142] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0143] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon, and the program instructions, when executed by a processor, implement the steps of the communication method provided by the present disclosure.
[0144] Figure 6 600 is a block diagram of a vehicle according to an exemplary embodiment. For example, vehicle 600 may be a hybrid vehicle, a non-hybrid vehicle, an electric vehicle, a fuel cell vehicle, or other types of vehicles. Vehicle 600 may be an autonomous vehicle, a semi-autonomous vehicle, or a non-autonomous vehicle.
[0145] Reference Figure 6 , the vehicle 600 may include various subsystems, for example, an infotainment system 610, a perception system 620, a decision control system 630, a drive system 640, and a computing platform 650. The vehicle 600 may also include more or fewer subsystems, and each subsystem may include multiple components. In addition, each subsystem and each component of the vehicle 600 may be interconnected by wire or wireless means.
[0146] In some embodiments, the infotainment system 610 may include a communication system, an entertainment system, and a navigation system, among others.
[0147] The perception system 620 may include several sensors for sensing information about the environment around the vehicle 600. For example, the perception system 620 may include a global positioning system (the global positioning system may be a GPS system, or a Beidou system or other positioning systems), an inertial measurement unit (IMU), a laser radar, a millimeter wave radar, an ultrasonic radar, and a camera.
[0148] The decision control system 630 may include a computing system, a vehicle controller, a steering system, a throttle, and a braking system.
[0149] The drive system 640 may include components that provide powered motion for the vehicle 600. In one embodiment, the drive system 640 may include an engine, an energy source, a transmission system, and wheels. The engine may be one or a combination of an internal combustion engine, an electric motor, and an air compression engine. The engine is capable of converting energy provided by the energy source into mechanical energy.
[0150] Some or all functions of the vehicle 600 are controlled by a computing platform 650. The computing platform 650 may include at least one first processor 651 and a first memory 652, and the first processor 651 may execute instructions 653 stored in the first memory 652.
[0151] The first processor 651 may be any conventional processor, such as a commercially available CPU. The processor may also include a graphics processor (Graphic Process Unit, GPU), a field programmable gate array (Field Programmable Gate Array, FPGA), a system on chip (System on Chip, SOC), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC) or a combination thereof.
[0152] The first memory 652 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0153] In addition to the instructions 653 , the first memory 652 may also store data, such as road maps, route information, and data such as the location, direction, and speed of the vehicle. The data stored in the first memory 652 may be used by the computing platform 650 .
[0154] In the embodiment of the present disclosure, the first processor 651 may execute the instruction 653 to complete all or part of the steps of the above communication method.
[0155] Figure 7 700 is a block diagram of a communication device according to an exemplary embodiment. For example, the device 700 can be set in a vehicle and can be a mobile phone, a computer, a digital broadcast terminal, a message transceiver, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0156] Reference Figure 7 , the device 700 may include one or more of the following components: a processing component 702 , a second memory 704 , a power component 706 , a multimedia component 708 , an audio component 710 , an input / output interface 712 , a sensor component 714 , and a communication component 716 .
[0157] The processing component 702 generally controls the overall operation of the device 700, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or more second processors 720 to execute instructions to complete all or part of the steps of the above-mentioned communication method. In addition, the processing component 702 may include one or more modules to facilitate the interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate the interaction between the multimedia component 708 and the processing component 702.
[0158] The second memory 704 is configured to store various types of data to support operations on the device 700. Examples of such data include instructions for any application or method operating on the device 700, contact data, phone book data, messages, pictures, videos, etc. The second memory 704 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0159] The power supply component 706 provides power to the various components of the device 700. The power supply component 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 700.
[0160] The multimedia component 708 includes a screen that provides an output interface between the device 700 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front camera and / or a rear camera. When the device 700 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0161] The audio component 710 is configured to output and / or input audio signals. For example, the audio component 710 includes a microphone (MIC), and when the device 700 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the second memory 704 or sent via the communication component 716. In some embodiments, the audio component 710 also includes a speaker for outputting audio signals.
[0162] The input / output interface 712 provides an interface between the processing component 702 and the peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0163] The sensor assembly 714 includes one or more sensors for providing various aspects of status assessment for the device 700. For example, the sensor assembly 714 can detect the open / closed state of the device 700, the relative positioning of components, such as the display and keypad of the device 700, the sensor assembly 714 can also detect the position change of the device 700 or a component of the device 700, the presence or absence of user contact with the device 700, the orientation or acceleration / deceleration of the device 700, and the temperature change of the device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 714 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0164] The communication component 716 is configured to facilitate wired or wireless communication between the device 700 and other devices. The device 700 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0165] In an exemplary embodiment, the apparatus 700 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above-mentioned communication method.
[0166] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a second memory 704 including instructions, and the instructions can be executed by the second processor 720 of the device 700 to complete the above communication method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0167] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the present disclosure. This application is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0168] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A communication method, applied to a vehicle-mounted terminal, characterized in that: The vehicle-mounted terminal includes a plurality of APNs for Internet access, and the method includes: Determine the target service corresponding to the link where each APN is currently located; Obtaining the current safety status of the vehicle, where the safety status is used to indicate whether the vehicle needs rescue; Determine first priority information of a plurality of target services corresponding to the plurality of APNs for Internet access; Data resources of the link where each APN is located are allocated according to the security status and the first priority information.
2. The method according to claim 1, characterized in that The determining the first priority information of the plurality of target services corresponding to the plurality of APNs for Internet access includes: Acquire preset priority data, wherein the preset priority data includes specified priorities of a plurality of preset services; The priority of each target service is determined according to the preset priority data to obtain the first priority information.
3. The method according to claim 2, characterized in that The safety state includes a state waiting for rescue, and the allocating data resources of the link where each APN is located according to the safety state and the first priority information includes: In the case where it is determined that the vehicle is currently in the state to be rescued, determining the service type of each target service; Determine second priority information of a plurality of target services corresponding to the plurality of APNs for Internet access according to the first priority information and a service type of each of the target services; Data resources of the link where each APN is located are allocated according to the second priority information.
4. The method according to claim 3, characterized in that The service type includes a rescue data transmission service, and determining the second priority information of the plurality of target services corresponding to the plurality of APNs for Internet access according to the first priority information and the service type of each of the target services includes: Determine, according to the first priority information, a first standby priority of the rescue data transmission service among the multiple target services corresponding to the multiple APNs for Internet access; Determine, according to the first priority information, a second standby priority of other services among the multiple target services corresponding to the multiple APNs for Internet access except the rescue data transmission service; The second priority information is determined according to the first standby priority and the second standby priority.
5. The method according to claim 3, characterized in that: The allocating data resources of the link where each APN is located according to the second priority information includes: When it is determined that the vehicle-mounted terminal is in a dual-card dual-pass state, obtaining a first signal quality of the first communication card and a second signal quality of the second communication card; In the case that at least one of the first signal quality and the second signal quality does not meet the preset quality requirement, determining a target communication card with better quality between the first signal quality and the second signal quality; Data resources are allocated by the target communication card according to the second priority information.
6. The method according to claim 5, characterized in that The vehicle terminal is in a dual-card dual-pass state, the links where the multiple APNs for Internet access are located are provided with data resources by the first communication card, the first signal quality includes a first transmission delay duration, and the second signal quality includes a second transmission delay duration; The allocating data resources of the link where each APN is located according to the second priority information includes: When both the first signal quality and the second signal quality meet the preset quality requirements, if it is determined that the transmission delay duration of the first communication card is greater than or equal to the specified duration, the first APN link to be deployed is determined, and the first APN link to be deployed is switched to the second communication card, and the second communication card provides data resources to the first APN link to be deployed; wherein, the first APN link to be deployed is the APN link corresponding to a specified number of target services with the lowest priority in the second priority information.
7. The method according to claim 6, characterized in that After the second communication card provides data resources to the first APN link to be deployed, the method further includes: When the delay duration of the second communication card is less than the specified duration and the delay duration of the first communication card is greater than the specified duration, a second APN link to be deployed is determined, and the second APN link to be deployed is switched to the second communication card, and the second communication card provides data resources to the second APN link to be deployed; wherein the second APN link to be deployed is the APN link corresponding to a specified number of target services with the highest priority in the second priority information.
8. The method according to claim 7, characterized in that After the second communication card provides data resources to the second APN link to be deployed, the method further includes: If the delay duration of the second communication card is greater than or equal to the specified duration, the first APN link to be deployed is switched to the first communication card, and the first communication card provides data resources to the first APN link to be deployed.
9. A communication device, applied to a vehicle-mounted terminal, characterized in that: The vehicle-mounted terminal includes a plurality of APNs for Internet access, and the device includes: A first determination module is configured to determine a target service corresponding to a link where each APN is currently located; An acquisition module is configured to acquire a current safety status of the vehicle, wherein the safety status is used to indicate whether the vehicle needs rescue; A second determination module is configured to determine first priority information of a plurality of target services corresponding to the plurality of APNs for Internet access; The allocation module is configured to allocate data resources of the link where each APN is located according to the security status and the first priority information.
10. A vehicle, characterized in that: include: a first processor; a memory for storing instructions executable by the first processor; The first processor is used to execute the executable instructions in the memory to implement the steps of the method in any one of claims 1-8.
11. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the program instructions are executed by the second processor, the steps of the method described in any one of claims 1 to 8 are implemented.