Network connection method, device, equipment, medium and product
By acquiring heartbeat wake-up information and paging reception information while the vehicle is in sleep mode, the system can determine and switch to a neighboring cell with better network quality, thus solving the problem of unstable connection of the vehicle network system in sleep mode and achieving higher stability and reliability.
Patent Information
- Application Number
- CN202410592281.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-13
- Publication Date
- 2025-11-14
AI Technical Summary
When a vehicle is in sleep mode, the connection stability and reliability of the in-vehicle network system are affected by the unstable network environment, and the existing reconnection mechanism is prone to causing long-term connections to be disconnected.
By acquiring heartbeat wake-up information and paging reception information, the system can determine any abnormalities in the vehicle's connection to the cloud and the cell paging process. If preset conditions are met, the system will switch the cell the vehicle is connected to from the second cell with poor network quality to a better neighboring cell.
This effectively reduces the risk of connection interruption and improves the stability and reliability of vehicle network connections.
Smart Images

Figure CN120957256A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle-mounted vehicle technology, and in particular to a network connection method, device, equipment, medium, and product. Background Technology
[0002] With the rapid development of automotive intelligence, in-vehicle network systems have become an indispensable part of modern automobiles. These systems support various intelligent vehicle functions, such as navigation, remote control, and fault diagnosis. However, ensuring the stability and reliability of in-vehicle network systems when the vehicle is in sleep mode remains a significant technical challenge for the industry.
[0003] In the standard approach, the vehicle enters a sleep mode after the user locks and leaves the vehicle to conserve energy and extend battery life. While in sleep mode, the vehicle maintains a fixed heartbeat cycle to keep connected to the cloud. Each heartbeat wakes the vehicle, which then interacts with the cloud to confirm the status of the persistent connection. If the interaction is successful, the connection is considered normal; if it fails, the vehicle attempts to re-establish the connection with the cloud.
[0004] However, in practical applications, due to the instability of the network environment, this simple reconnection mechanism may encounter the situation of long connection being broken again during the reconnection process, which is not conducive to the stability of long connection. Summary of the Invention
[0005] This application provides a network connection method, apparatus, device, medium, and product that can solve the problem of low flashing efficiency for vehicle infotainment systems.
[0006] In a first aspect, embodiments of this application provide a network connection method, the method comprising:
[0007] When the vehicle is in a heartbeat cycle, the heartbeat wake-up information and paging reception information corresponding to the heartbeat cycle are obtained. The heartbeat wake-up information is used to indicate the connection status between the vehicle and the cloud, and the paging reception information is used to indicate the paging status of the cell accessed by the vehicle.
[0008] If the heartbeat wake-up information indicates a connection anomaly between the vehicle and the cloud, and the paging reception information indicates an anomaly in the paging process of the cell the vehicle is accessing, then if the network quality of the first cell meets preset conditions, the cell the vehicle is accessing will be switched from the second cell to the first cell, and the first cell will be a neighboring cell of the second cell.
[0009] Secondly, embodiments of this application provide a network connection device, the device comprising:
[0010] The first acquisition module is used to acquire heartbeat wake-up information and paging reception information corresponding to the heartbeat cycle when the vehicle is in a heartbeat cycle. The heartbeat wake-up information is used to indicate the connection status between the vehicle and the cloud, and the paging reception information is used to indicate the paging status of the cell accessed by the vehicle.
[0011] The switching module is used to switch the cell accessed by the vehicle from the second cell to the first cell when the heartbeat wake-up information indicates that there is a connection abnormality between the vehicle and the cloud, and the paging reception information indicates that there is an abnormality in the paging process of the cell accessed by the vehicle. If the network quality of the first cell meets the preset conditions, the first cell is a neighboring cell of the second cell.
[0012] Thirdly, embodiments of this application provide an electronic device, which includes: a processor and a memory storing computer program instructions;
[0013] When the processor executes computer program instructions, it implements the network connection method as described in any of the embodiments of the first aspect.
[0014] Fourthly, embodiments of this application provide a computer storage medium storing computer program instructions, which, when executed by a processor, implement the network connection method as described in any of the embodiments of the first aspect.
[0015] Fifthly, embodiments of this application provide a computer program product in which instructions, when executed by a processor of an electronic device, cause the electronic device to perform a network connection method as described in any of the embodiments of the first aspect above.
[0016] The network connection method, apparatus, device, medium, and product provided in the embodiments of this application, wherein by acquiring the heartbeat wake-up information and paging reception information of the vehicle during the heartbeat cycle, it is possible to determine whether the network of the second cell accessed by the vehicle is abnormal. In this way, if there is a network quality abnormality in the second cell, the vehicle network can be switched to a neighboring cell with better network quality, namely the first cell, which can effectively reduce the risk of connection interruption and realize the stability and reliability of the vehicle network connection. Attached Figure Description
[0017] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 This is a schematic flowchart of a network connection method provided in one embodiment of this application;
[0019] Figure 2 This is a schematic diagram of the structure of a network connection device provided in one embodiment of this application;
[0020] Figure 3 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0021] To better understand the above-mentioned objectives, features, and advantages of this disclosure, the solutions disclosed herein will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.
[0022] Numerous specific details are set forth in the following description in order to provide a full understanding of this disclosure, but this disclosure may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only some, and not all, of the embodiments of this disclosure.
[0023] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the term "comprising" or any other variations thereof is intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes the element.
[0024] To address the problems of the prior art, embodiments of this application provide a network connection method, apparatus, device, medium, and product.
[0025] The network connection method provided in the embodiments of this application is described below.
[0026] Figure 1 A flowchart illustrating a network connection method according to an embodiment of this application is shown. Figure 1 As shown, the method may specifically include the following steps:
[0027] Step 101: When the vehicle is in a heartbeat cycle, obtain the heartbeat wake-up information and paging reception information corresponding to the heartbeat cycle;
[0028] Step 102: If the heartbeat wake-up information indicates a connection anomaly between the vehicle and the cloud, and the paging reception information indicates an anomaly in the paging process of the cell the vehicle is accessing, and if the network quality of the first cell meets preset conditions, then the cell the vehicle is accessing is switched from the second cell to the first cell, and the first cell is a neighboring cell of the second cell.
[0029] In step 101, when the vehicle is in a heartbeat cycle, the heartbeat wake-up information and paging reception information corresponding to the heartbeat cycle are obtained;
[0030] In this embodiment, the heartbeat wake-up information is used to indicate the connection status between the vehicle and the cloud, and the paging reception information is used to indicate the paging status of the cell the vehicle is connected to. When a long-term connection exists between the vehicle and the cloud, the vehicle sends a fixed amount of information to the cloud at regular intervals to ensure the stability of the long-term connection. The heartbeat interval refers to the interval between two messages sent by the vehicle to the cloud. During this heartbeat interval, the vehicle is in a sleep state, and the heartbeat wake-up information refers to the connection information between the vehicle and the cloud during this sleep state. The paging reception information refers to the relevant information of the paging messages received by the vehicle during this sleep state.
[0031] In step 102, if the heartbeat wake-up information indicates a connection anomaly between the vehicle and the cloud, and the paging reception information indicates an anomaly in the paging process of the cell accessed by the vehicle, and if the network quality of the first cell meets preset conditions, then the cell accessed by the vehicle is switched from the second cell to the first cell, and the first cell is a neighboring cell of the second cell.
[0032] In this embodiment, the paging process refers to the process by which the base station locates the vehicle. Only when the connection between the vehicle and the base station is normal can the connection between the vehicle and the cloud be guaranteed to be normal. Therefore, if there is a connection anomaly between the vehicle and the cloud, and an anomaly in the paging process, it is considered that the second cell accessed by the vehicle is abnormal, i.e., the network quality is poor.
[0033] The second cell is the same cell as the first cell's Public Land Mobile Network (PLMN network). Different operators will operate different PLMN networks, and each network has its own unique identifier, called the PLMN ID, which is used to uniquely identify a PLMN in the network.
[0034] The second cell is deemed to meet the preset conditions when its network quality meets the following conditions:
[0035] Within a preset time period, the reference signal received power of the second cell is greater than a first threshold, and the fluctuation of the reference signal received power is less than the second threshold; within the preset time period, the signal-to-noise ratio (SNR) of the second cell is greater than a third threshold, and the fluctuation of the SNR is less than a fourth threshold, wherein the first threshold is greater than the second threshold, and the third threshold is greater than the fourth threshold. As an example, the preset time period can be 10 seconds, the first threshold can be 75 dB, the second threshold can be 3 dB, the third threshold can be 20 dB, and the fourth threshold can be 3 dB.
[0036] Alternatively, multiple second cells can be sorted according to their network quality from high to low to obtain a first cell sequence. When switching from a second cell to a first cell, the second cell is switched to the first cell in descending order according to this first cell sequence.
[0037] In the network connection method provided in this application embodiment, by obtaining the heartbeat wake-up information and paging reception information of the vehicle during the heartbeat cycle, it is possible to determine whether the network of the second cell accessed by the vehicle is abnormal. In this way, if there is a network quality abnormality in the second cell, the vehicle network can be switched to a neighboring cell with better network quality, namely the first cell, which can effectively reduce the risk of connection interruption and realize the stability and reliability of the vehicle network connection.
[0038] In one embodiment of this application, after obtaining the heartbeat wake-up information and paging reception information corresponding to the heartbeat cycle when the vehicle is in a heartbeat cycle, the method further includes:
[0039] If the connection status is disconnected and the reconnection situation is that a reconnection has already occurred, it is determined that there is a connection anomaly between the vehicle and the cloud.
[0040] If the paging message reception rate is less than the preset reception rate, it is determined that there is an anomaly in the paging process of the cell to which the vehicle is connected.
[0041] In this embodiment, the heartbeat wake-up information includes the connection status between the vehicle and the cloud after the heartbeat cycle ends, and the reconnection status between the vehicle and the cloud during the heartbeat cycle. Specifically, the end of the heartbeat cycle means that after the vehicle sends a heartbeat message, if the cloud does not receive the heartbeat message, the connection between the vehicle and the cloud can be determined to be disconnected. If the connection between the vehicle and the cloud is disconnected during the heartbeat cycle, and a reconnection occurs after the disconnection, the cloud will send a notification to the vehicle after the heartbeat cycle ends, informing it that the cloud failed to access the vehicle during the heartbeat cycle, i.e., a reconnection occurred. If the above two conditions are met, it can be determined that there is a connection anomaly between the vehicle and the cloud.
[0042] The paging reception information includes the vehicle's paging message reception rate within a heartbeat cycle. Specifically, this message reception rate can be obtained through the following steps: obtaining the paging cycle of the second cell and the vehicle's first message reception volume within the heartbeat cycle; determining the ratio between the heartbeat cycle and the paging cycle as the second message reception volume; and determining the paging message reception rate by comparing the second message reception volume with the first message reception volume. The preset reception rate can be 90%.
[0043] As an example, if the paging cycle of the second cell is 320ms and the heartbeat cycle is 3200ms, then the second message reception volume is 10 paging packets. If the first message reception volume is 8 paging packets, the paging message reception rate is 80%. If the paging message reception rate is less than 90%, then the paging process of that cell is considered abnormal.
[0044] In this embodiment, the network anomaly of the cell accessed by the vehicle can be determined by the heartbeat wake-up information and the paging message reception rate, thereby improving the accuracy of network judgment for accessing the cell.
[0045] In one embodiment of this application, before obtaining the heartbeat wake-up information and paging reception information corresponding to the heartbeat cycle when the vehicle is in a heartbeat cycle, the method further includes:
[0046] Obtain the vehicle's sleep period, during which the vehicle is in a sleep state;
[0047] A first vehicle control time period is determined within the sleep period. The start time of the first vehicle control time period is the moment when the vehicle first receives a vehicle control message within the sleep period, and the end time is the moment when the vehicle last receives a vehicle control message within the sleep period.
[0048] The step of acquiring heartbeat wake-up information and paging reception information corresponding to the heartbeat cycle when the vehicle is in a heartbeat cycle includes:
[0049] When the vehicle is in the first vehicle control time period and is in a heartbeat cycle, obtain the heartbeat wake-up information and paging reception information corresponding to the heartbeat cycle.
[0050] In this embodiment, in order to ensure network communication between the vehicle and mobile terminals such as mobile phones and tablets while the vehicle is in a dormant state, the present invention can only be triggered when the vehicle is in a dormant state.
[0051] The vehicle's dormancy period refers to the time between when the vehicle is parked and dormant and when mileage is recorded. During the vehicle's dormancy period, there may be information exchange between the vehicle and the mobile terminal, such as the mobile phone controlling the mobile terminal to turn on the air conditioning, lock the doors, or turn on the lights. The time period during which there is message exchange between the vehicle and the mobile terminal is the first vehicle control period. The start time of the first vehicle control period is the moment when the vehicle first receives a vehicle control message during the dormancy period, and the end time is the moment when the vehicle last receives a vehicle control message during the dormancy period.
[0052] To ensure the stability of the network connection between the vehicle and the mobile terminal during the sleep period, heartbeat wake-up information and paging reception information are obtained when the vehicle is in the first vehicle control period, so as to further execute subsequent steps and ensure the stability of the connection.
[0053] In one embodiment of this application, determining the first vehicle control time period within the sleep time period includes:
[0054] The dispersion of the vehicle within multiple second vehicle control time periods in a historical period is obtained, wherein the dispersion is the degree of difference between the multiple second vehicle control time periods;
[0055] Among the plurality of second vehicle control time periods, delete the second vehicle control time periods whose dispersion is greater than a preset threshold to obtain a plurality of third vehicle control time periods;
[0056] The average start time of each third time period in the plurality of third vehicle control time periods is determined as the average start time;
[0057] The average time of the termination time of each of the multiple third vehicle control time periods is determined as the average termination time.
[0058] The time period between the average start time and the average end time is defined as the first vehicle control time period.
[0059] In this embodiment, to ensure that the vehicle can trigger the network connection method of the present invention within a precise time period while maintaining the vehicle's range, it is necessary to obtain the relatively concentrated time periods during the vehicle's daily use to automatically trigger the present invention. As an example, if the period during the sleep period when the vehicle receives vehicle control messages most frequently is between 10:00 and 11:00, then the time period between 10:00 and 11:00 can be determined as the first vehicle control time period.
[0060] Specifically, firstly, all vehicle control time periods within a past period can be acquired. This data may exist in a discrete form, meaning each time period is independent and may be scattered across different time points. The degree of dispersion of each time period can be represented by a dispersion index. Secondly, the collected data is cleaned. Second vehicle control time periods with dispersion exceeding a preset threshold are those that deviate too much from the average time period. Dispersion can be represented by range, average, or standard value. Correspondingly, the preset threshold includes a preset range threshold, a preset average threshold, or a preset standard value threshold. These second vehicle control time periods with dispersion exceeding the preset threshold may be worthless for subsequent analysis and may even mislead the results. Therefore, these abnormal data need to be deleted, leaving a more accurate and reliable dataset, namely the third vehicle control time period.
[0061] Next, the average start time of all third vehicle control time periods is calculated. By taking the average, a representative start time can be obtained, which helps to determine a more stable and representative vehicle control time period later. Similarly, the average end time is obtained.
[0062] Finally, the time period between the average start time and the average end time is determined as the first vehicle control time period. This reveals the time period during which the vehicle frequently receives vehicle control messages. The invention is then executed within this time period, thereby reducing vehicle power consumption.
[0063] In one embodiment of this application, before obtaining the heartbeat wake-up information and paging reception information corresponding to the heartbeat cycle when the vehicle is within the vehicle control time period and in a heartbeat cycle, the method further includes:
[0064] Obtain the parking duration of the vehicle;
[0065] When the vehicle is within the first vehicle control time period and is in a heartbeat cycle, acquiring the heartbeat wake-up information and paging reception information corresponding to the heartbeat cycle includes:
[0066] When the parking duration exceeds a preset duration, the vehicle is within the first vehicle control time period, and is in a heartbeat cycle, the heartbeat wake-up information and paging reception information corresponding to the heartbeat cycle are obtained.
[0067] In this embodiment, the preset duration is preferably 5 minutes. To avoid the vehicle executing the invention during a short period of sleep, this scheme is only activated when the vehicle's parking time exceeds the preset duration, which effectively avoids unnecessary power consumption and improves the vehicle's range.
[0068] In addition, if the vehicle loses connection with the cloud within the heartbeat cycle when the parking time is less than the preset time, it will directly reconnect to the cloud.
[0069] Figure 2 A schematic diagram of a network connection device provided in one embodiment of this application is shown. For ease of explanation, only the parts related to the embodiment of this application are shown.
[0070] Reference Figure 2 The network connection device 200 may include:
[0071] The first acquisition module 201 is used to acquire heartbeat wake-up information and paging reception information corresponding to the heartbeat cycle when the vehicle is in a heartbeat cycle. The heartbeat wake-up information is used to indicate the connection status between the vehicle and the cloud, and the paging reception information is used to indicate the paging status of the cell accessed by the vehicle.
[0072] The switching module 202 is used to switch the cell accessed by the vehicle from the second cell to the first cell when the heartbeat wake-up information indicates that there is a connection abnormality between the vehicle and the cloud, and the paging reception information indicates that there is an abnormality in the paging process of the cell accessed by the vehicle, if the network quality of the first cell meets the preset conditions. The first cell is a neighboring cell of the second cell.
[0073] Optionally, the network connection device 200 is specifically used for:
[0074] If the connection status is disconnected and the reconnection situation is that a reconnection has already occurred, it is determined that there is a connection anomaly between the vehicle and the cloud.
[0075] Optionally, the network connection device 200 is specifically used for:
[0076] If the paging message reception rate is less than the preset reception rate, it is determined that there is an anomaly in the paging process of the cell to which the vehicle is connected.
[0077] Optionally, the network connection device 200 further includes:
[0078] The second acquisition module is used to acquire the vehicle's hibernation period, during which the vehicle is in a hibernation state;
[0079] The determination module is used to determine the first vehicle control time period in the sleep period. The start time of the first vehicle control time period is the moment when the vehicle first receives a vehicle control message in the sleep period, and the end time is the moment when the vehicle last receives a vehicle control message in the sleep period.
[0080] Optionally, the first acquisition module 201 is specifically used for:
[0081] When the vehicle is in the first vehicle control time period and is in a heartbeat cycle, obtain the heartbeat wake-up information and paging reception information corresponding to the heartbeat cycle.
[0082] Optionally, the determining module includes:
[0083] The acquisition submodule is used to acquire the discreteness of multiple second vehicle control time periods of the vehicle within a historical time period;
[0084] The deletion submodule is used to delete the second vehicle control time period with a dispersion greater than a preset threshold from the plurality of second vehicle control time periods, so as to obtain a plurality of third vehicle control time periods;
[0085] The first determining submodule is used to determine the average start time of the start time of each of the plurality of third vehicle control time periods as the average start time.
[0086] The second determining submodule is used to determine the average time of the termination time of each third time period in the plurality of third vehicle control time periods as the average termination time.
[0087] The third determining submodule is used to determine the time period between the average start time and the average end time as the first vehicle control time period.
[0088] Optionally, the network connection device 200 is further specifically used for:
[0089] Obtain the parking duration of the vehicle;
[0090] Optionally, the first acquisition module 201 is specifically used for:
[0091] When the parking duration exceeds a preset duration, the vehicle is within the first vehicle control time period, and is in a heartbeat cycle, the heartbeat wake-up information and paging reception information corresponding to the heartbeat cycle are obtained.
[0092] The network connection device 200 provided in this application embodiment can implement the various processes implemented in the aforementioned method embodiments, and will not be described again here to avoid repetition.
[0093] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0094] Figure 3 A schematic diagram of the hardware structure of the electronic device provided in an embodiment of this application is shown.
[0095] The device may include a processor 301 and a memory 302 storing program instructions.
[0096] When processor 301 executes the program, it implements the steps in any of the above method embodiments.
[0097] For example, the program can be divided into one or more modules / units, one or more of which are stored in memory 302 and executed by processor 301 to complete this application. The one or more modules / units can be a series of program instruction segments capable of performing a specific function, which describe the execution process of the program in the device.
[0098] Specifically, the processor 301 may include a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of this application.
[0099] Memory 302 may include mass storage for data or instructions. For example, and not limitingly, memory 302 may include a hard disk drive (HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, memory 302 may include removable or non-removable (or fixed) media. Where appropriate, memory 302 may be internal or external to the integrated gateway disaster recovery device. In a particular embodiment, memory 302 is non-volatile solid-state memory.
[0100] Memory may include read-only memory (ROM), random access memory (RAM), disk storage media devices, optical storage media devices, flash memory devices, and electrical, optical, or other physical / tangible memory storage devices. Therefore, typically, memory includes one or more tangible (non-transitory) readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the methods according to one aspect of this disclosure.
[0101] The processor 301 implements any of the methods described above by reading and executing program instructions stored in the memory 302.
[0102] In one example, the electronic device may also include a communication interface 303 and a bus 310. The processor 301, memory 302, and communication interface 303 are connected via the bus 310 and communicate with each other.
[0103] The communication interface 303 is mainly used to realize communication between various modules, devices, units and / or equipment in the embodiments of this application.
[0104] Bus 310 includes hardware, software, or both, that couples components of an online data traffic metering device together. For example, and not limitingly, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Microchannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses, or combinations of two or more of these. Where appropriate, bus 310 may include one or more buses. Although specific buses are described and illustrated in embodiments of this application, any suitable bus or interconnect is contemplated herein.
[0105] Furthermore, in conjunction with the methods in the above embodiments, this application embodiment can provide a storage medium for implementation. This storage medium stores program instructions; when these program instructions are executed by a processor, they implement any of the methods in the above embodiments.
[0106] This application also provides a chip, which includes a processor and a communication interface. The communication interface and the processor are coupled. The processor is used to run programs or instructions to implement the various processes of the above method embodiments and achieve the same technical effect. To avoid repetition, it will not be described again here.
[0107] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
[0108] This application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the above method embodiments and achieve the same technical effects. To avoid repetition, it will not be described again here.
[0109] It should be clarified that this application is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of this application is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of this application.
[0110] The functional modules shown in the above block diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this application are programs or code segments used to perform the required tasks. Programs or code segments can be stored on machine-readable media or transmitted over a transmission medium or communication link via data signals carried on a carrier wave. "Machine-readable media" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer grids such as the Internet, intranets, etc.
[0111] It should also be noted that the exemplary embodiments mentioned in this application describe methods or systems based on a series of steps or apparatus. However, this application is not limited to the order of the above steps; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.
[0112] The aspects of this disclosure have been described above with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and program products according to embodiments of this disclosure. It should be understood that each block in the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to create a machine such that these instructions, executable via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions / actions specified in one or more blocks of the flowchart illustrations and / or block diagrams. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field-programmable logic circuit. It is also understood that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can also be implemented by special-purpose hardware performing the specified functions or actions, or can be implemented by a combination of special-purpose hardware and computer instructions.
[0113] The above are merely specific embodiments of this application. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the protection scope of this application.
Claims
1. A network connection method, characterized in that, The method includes: When the vehicle is in a heartbeat cycle, the heartbeat wake-up information and paging reception information corresponding to the heartbeat cycle are obtained. The heartbeat wake-up information is used to indicate the connection status between the vehicle and the cloud, and the paging reception information is used to indicate the paging status of the cell accessed by the vehicle. If the heartbeat wake-up information indicates a connection anomaly between the vehicle and the cloud, and the paging reception information indicates an anomaly in the paging process of the cell the vehicle is accessing, then if the network quality of the first cell meets preset conditions, the cell the vehicle is accessing will be switched from the second cell to the first cell, and the first cell will be a neighboring cell of the second cell.
2. The network connection method as described in claim 1, characterized in that, The heartbeat wake-up information includes the connection status between the vehicle and the cloud after the heartbeat cycle ends, and the reconnection status between the vehicle and the cloud during the heartbeat cycle. When the vehicle is in a heartbeat cycle, after obtaining the heartbeat wake-up information and paging reception information corresponding to the heartbeat cycle, the method further includes: If the connection status is disconnected and the reconnection situation is that a reconnection has already occurred, it is determined that there is a connection anomaly between the vehicle and the cloud.
3. The network connection method as described in claim 1, characterized in that, The paging reception information includes the paging message reception rate of the vehicle during the heartbeat cycle; When the vehicle is in a heartbeat cycle, after obtaining the heartbeat wake-up information and paging reception information corresponding to the heartbeat cycle, the method further includes: If the paging message reception rate is less than the preset reception rate, it is determined that there is an anomaly in the paging process of the cell to which the vehicle is connected.
4. The network connection method as described in claim 1, characterized in that, Before acquiring the heartbeat wake-up information and paging reception information corresponding to the heartbeat cycle when the vehicle is in a heartbeat cycle, the method further includes: Obtain the vehicle's sleep period, during which the vehicle is in a sleep state; A first vehicle control time period is determined within the sleep period. The start time of the first vehicle control time period is the moment when the vehicle first receives a vehicle control message within the sleep period, and the end time is the moment when the vehicle last receives a vehicle control message within the sleep period. When the vehicle is in a heartbeat cycle, acquiring the heartbeat wake-up information and paging reception information corresponding to the heartbeat cycle includes: When the vehicle is in the first vehicle control time period and is in a heartbeat cycle, obtain the heartbeat wake-up information and paging reception information corresponding to the heartbeat cycle.
5. The network connection method as described in claim 4, characterized in that, Determining the first vehicle control time period within the sleep period includes: The dispersion of the vehicle within multiple second vehicle control time periods in a historical period is obtained, wherein the dispersion is the degree of difference between the multiple second vehicle control time periods; Among the plurality of second vehicle control time periods, delete the second vehicle control time periods whose dispersion is greater than a preset threshold to obtain a plurality of third vehicle control time periods; The average start time of each third time period in the plurality of third vehicle control time periods is determined as the average start time; The average time of the termination time of each of the multiple third vehicle control time periods is determined as the average termination time. The time period between the average start time and the average end time is defined as the first vehicle control time period.
6. The network connection method as described in claim 4, characterized in that, Before acquiring the heartbeat wake-up information and paging reception information corresponding to the heartbeat cycle when the vehicle is within the vehicle control time period and in a heartbeat cycle, the method further includes: Obtain the parking duration of the vehicle; When the vehicle is within the first vehicle control time period and is in a heartbeat cycle, acquiring the heartbeat wake-up information and paging reception information corresponding to the heartbeat cycle includes: When the parking duration exceeds a preset duration, the vehicle is within the first vehicle control time period, and is in a heartbeat cycle, the heartbeat wake-up information and paging reception information corresponding to the heartbeat cycle are obtained.
7. A network connection device, characterized in that, The device includes: The first acquisition module is used to acquire heartbeat wake-up information and paging reception information corresponding to the heartbeat cycle when the vehicle is in a heartbeat cycle. The heartbeat wake-up information is used to indicate the connection status between the vehicle and the cloud, and the paging reception information is used to indicate the paging status of the cell accessed by the vehicle. The switching module is used to switch the cell accessed by the vehicle from the second cell to the first cell when the heartbeat wake-up information indicates that there is a connection abnormality between the vehicle and the cloud, and the paging reception information indicates that there is an abnormality in the paging process of the cell accessed by the vehicle. If the network quality of the first cell meets the preset conditions, the first cell is a neighboring cell of the second cell.
8. An electronic device, characterized in that, The device includes: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, it implements the network connection method as described in any one of claims 1-6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer program instructions that, when executed by a processor, implement the network connection method as described in any one of claims 1-6.
10. A computer program product, characterized in that, When the instructions in the computer program product are executed by the processor of the electronic device, the electronic device performs the network connection method as described in any one of claims 1-6.
Citation Information
Patent Citations
Network switching system and method
CN108882188A
Network connection method and system, vehicle-mounted terminal and storage medium
CN112565359A
Method for keeping long connection with low power consumption and computer readable storage medium
CN113038425A
Cell selection or reselection method and device, electronic equipment and readable storage medium
CN114980233A
Cell reselection method and device, user equipment and storage medium
CN117135703A