CN111787576A - Vehicle-mounted communication device, communication system and communication method - Google Patents

Vehicle-mounted communication device, communication system and communication method Download PDF

Info

Publication number
CN111787576A
CN111787576A CN202010441212.9A CN202010441212A CN111787576A CN 111787576 A CN111787576 A CN 111787576A CN 202010441212 A CN202010441212 A CN 202010441212A CN 111787576 A CN111787576 A CN 111787576A
Authority
CN
China
Prior art keywords
communication
sim card
server
network
sim
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010441212.9A
Other languages
Chinese (zh)
Inventor
赵鑫
高林强
张国衡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou HYC Technology Co Ltd
Original Assignee
Suzhou HYC Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou HYC Technology Co Ltd filed Critical Suzhou HYC Technology Co Ltd
Priority to CN202010441212.9A priority Critical patent/CN111787576A/en
Publication of CN111787576A publication Critical patent/CN111787576A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • H04W36/0027Control or signalling for completing the hand-off for data sessions of end-to-end connection for a plurality of data sessions of end-to-end connections, e.g. multi-call or multi-bearer end-to-end data connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • H04W36/00837Determination of triggering parameters for hand-off
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/16Performing reselection for specific purposes
    • H04W36/22Performing reselection for specific purposes for handling the traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a vehicle-mounted communication device, a communication system and a communication method. One embodiment of the apparatus comprises: the system comprises an SIM card monitoring module, a routing module and at least two SIM cards; the SIM card monitoring module is used for sending a monitoring signal to a server corresponding to the SIM card so as to enable the server to return a communication network state signal; and the routing module is used for acquiring the communication state value of each SIM card according to each communication network state signal and selecting the SIM card which establishes communication with the corresponding server according to the communication state value of each SIM card. The implementation mode realizes the network redundancy of the multimode network, thereby ensuring the network stability under the all-road environment and improving the network universality and the network stability.

Description

Vehicle-mounted communication device, communication system and communication method
Technical Field
The present invention relates to the field of communications. And more particularly, to an in-vehicle communication apparatus, a communication system, and a communication method.
Background
At present, vehicle-mounted equipment of most buses establishes communication connection with a server by using a special APN (access point name) network, and the vehicle-mounted equipment only supports a single-mode communication module for network data transmission. When a vehicle enters a signal blind area or a weak signal area in the running process, no network or high network delay occurs, so that a remote data platform cannot timely monitor the running state of the vehicle, and an uncontrollable result is generated, and therefore, the redundancy is necessary to use a multi-mode (namely a plurality of operators) network.
However, if the dedicated APN network of multiple operators is used, the APN network of each operator can only access the server IP of the operator, and the terminal device cannot distinguish network routes, so that the terminal device does not know which APN network of the operator needs to be connected for communication, which results in that the network load cannot be used, and thus the network stability in the all-road environment cannot be realized. Fig. 1 shows a flow of communication performed by a plurality of operators in an existing vehicle-mounted device, a server of an SIM card 2 cannot be accessed when a terminal device uses the SIM card 1, and an address of the SIM card 1 cannot be accessed when the terminal device uses the SIM card 2, so that the purpose of network redundancy cannot be achieved.
Therefore, a new in-vehicle communication apparatus, communication system, and communication method are required.
Disclosure of Invention
The invention aims to provide a vehicle-mounted communication device, a communication system and a communication method, which aim to solve at least one of the problems in the prior art;
in order to achieve the purpose, the invention adopts the following technical scheme:
a first aspect of the present invention provides an in-vehicle communication device including:
the system comprises an SIM card monitoring module, a routing module and at least two SIM cards;
the SIM card monitoring module is used for sending a monitoring signal to a server corresponding to the SIM card so as to enable the server to return a communication network state signal;
and the routing module is used for acquiring the communication state value of each SIM card according to each communication network state signal and selecting the SIM card which establishes communication with the corresponding server according to the communication state value of each SIM card.
Optionally, the apparatus further comprises a mode selection module for obtaining a communication mode in response to a user input;
the routing module, configured to select, according to the communication state value of each SIM card, an SIM card that establishes communication with a corresponding server, includes: and selecting the SIM card establishing communication with the corresponding server according to the communication state value of each SIM card and the selection rule of the communication mode.
Optionally, the communication mode includes a main/standby mode, and the selection rule of the main/standby mode includes: and selecting the SIM card with the optimal current communication state value in each SIM card to establish communication with the corresponding server.
Optionally, the communication mode includes a load balancing mode, and a selection rule of the load balancing mode includes: and randomly sequencing the SIM cards, and selecting the SIM cards to alternately establish communication with a corresponding server based on the randomly sequenced sequence.
Optionally, the rule for selecting the load balancing mode further includes: and judging whether the communication state value of the SIM card currently establishing communication is smaller than a preset threshold value, and if so, switching to the next SIM card in the sequence to establish communication with the corresponding server.
Optionally, the routing module, configured to acquire the communication state value of each SIM card according to each communication network state signal, includes: and weighting the signal strength value and the network system contained in the communication network state signal to obtain a communication state value by calculation.
Optionally, the SIM card is configured to establish communication with the server according to an APN private network address, a port address, and a port of the server corresponding to the SIM card.
Optionally, the sending, by the SIM card monitoring module, the monitoring signal to the server corresponding to the SIM card includes: and the SIM card monitoring module sends monitoring signals to a server corresponding to the SIM card at fixed intervals.
A second aspect of the present invention provides an in-vehicle device communication system, including a server, a terminal device, and the in-vehicle communication apparatus as provided in the first aspect above;
and the terminal equipment is used for carrying out data interaction with the server based on the SIM card and the communication established by the server corresponding to the SIM card.
A third aspect of the present invention provides a method for vehicle-mounted communication using the vehicle-mounted device communication system provided in the second aspect, including:
the SIM card monitoring module sends a monitoring signal to a server corresponding to the SIM card;
the server receives the monitoring signal and returns a communication network state signal;
the routing module acquires the communication state value of each SIM card according to each communication network state signal, and selects the SIM card which establishes communication with the corresponding server according to the communication state value of each SIM card;
and the terminal equipment performs data interaction with the server based on the SIM card and the communication established by the server corresponding to the SIM card.
The invention has the following beneficial effects:
according to the invention, the server corresponding to the used SIM card is monitored in real time, the SIM card in the optimal communication state is selected according to the communication network state signal obtained by monitoring, and the communication connection with the server corresponding to the SIM card is established, so that the network redundancy of the multimode network is realized, the network stability in the all-road environment is ensured, and the network universality and the network stability are improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flow chart illustrating a conventional in-vehicle device communicating using multiple operators;
fig. 2 shows a schematic diagram of an in-vehicle communication apparatus provided by an embodiment of the present invention;
FIG. 3 is a schematic diagram of an in-vehicle communication system provided by an embodiment of the present invention;
fig. 4 shows a flow chart of a communication method provided by an embodiment of the invention;
fig. 5 shows a flow chart of an exemplary communication method of an embodiment of the invention.
Detailed Description
In order to more clearly illustrate the invention, the invention is further described below with reference to preferred embodiments and the accompanying drawings. Similar parts in the figures are denoted by the same reference numerals. It is to be understood by persons skilled in the art that the following detailed description is illustrative and not restrictive, and is not to be taken as limiting the scope of the invention.
To solve the problem of poor communication stability of the vehicle-mounted device using the single-mode network and the multi-mode network in the prior art, as shown in fig. 2, an embodiment of the present invention discloses a vehicle-mounted communication apparatus, including:
the system comprises an SIM card monitoring module, a routing module and at least two SIM cards;
the SIM card monitoring module is used for sending a monitoring signal to a server corresponding to the SIM card so as to enable the server to return a communication network state signal;
and the routing module is used for acquiring the communication state value of each SIM card according to each communication network state signal and selecting the SIM card which establishes communication with the corresponding server according to the communication state value of each SIM card.
The embodiment of the invention realizes the network redundancy of the multimode network by monitoring the server corresponding to the used SIM card in real time, selecting the SIM card in the optimal communication state according to the communication network state signal obtained by monitoring and establishing the communication connection with the server corresponding to the SIM card, thereby ensuring the network stability in the all-road environment and improving the network universality and the network stability.
In some optional implementation manners of this embodiment, the obtaining, by the routing module, the communication state value of each SIM card according to each communication network state signal includes: and weighting the signal strength value and the network system contained in the communication network state signal to obtain a communication state value by calculation.
In one example, the communication state value calculated by using the signal strength value and the network system is specifically as follows:
firstly, system scores corresponding to different network systems are set, for example, the system scores under 5G, 4G, 3G and 2G are respectively 10, 8, 4 and 0. Then, setting the weight ratio of the network system to the signal strength value, such as: the network system accounts for 30%, and the signal strength accounts for 70%. And finally, the routing module weights according to the signal strength value and the network standard in the communication network state signal to obtain the network states of the servers corresponding to all the SIM cards in the vehicle-mounted communication device.
In a specific example, if 3 SIM cards are installed in the vehicle-mounted communication device, the network system and the signal strength value corresponding to the 3 SIM cards are respectively:
SIM1:5G,+50;
SIM2:4G,+80;
SIM 3: 3G, -45; when the communication state values obtained by calculation according to the preset weight are respectively:
SIM1:10*30%+(+60)*70%=45;
SIM2:8*30%+(+80)*70%=58.4;
SIM3:4*30%+(-45)*70%=-30.3;
namely, the communication state values of the 3 SIM cards are from good to bad, namely SIM2 > SIM1 > SIM 3.
After the communication state value of the SIM card is determined in the above manner, the SIM card with the optimal communication state value is subsequently selected, and communication connection with a server corresponding to the SIM card with the optimal communication state value is established.
Under special circumstances, the SIM card with the optimal communication state value cannot successfully establish the communication connection with the server corresponding to the SIM card, and therefore, when the server corresponding to the SIM card with the optimal communication state value cannot successfully establish communication, the communication connection of the server corresponding to the next SIM card is sequentially performed according to the sequence of the communication state values.
Such as: if the first SIM2 fails to establish, a connection is established with the server corresponding to the SIM1, and if the SIM1 still fails to establish, a connection is established with the server corresponding to the SIM 3. And when all the SIM cards and the corresponding servers cannot establish communication successfully, the connection cannot be established successfully by all the servers under the current road environment, and under the condition, the communication between the vehicle-mounted communication device and the terminal equipment is closed.
It should be noted that the weights and system scores in this example may be user-defined; it should be noted that the formula for calculating the network type and the signal strength value in this example is not necessarily the formula in the example.
In some optional implementations of this embodiment, as shown in fig. 2, the apparatus further includes a mode selection module for obtaining the communication mode in response to a user input;
the routing module, configured to select, according to the communication state value of each SIM card, an SIM card that establishes communication with a corresponding server, includes: and selecting the SIM card establishing communication with the corresponding server according to the communication state value of each SIM card and the selection rule of the communication mode.
In some optional implementation manners of this embodiment, the communication mode includes a main-standby mode, and a selection rule of the main-standby mode includes: and selecting the SIM card with the optimal current communication state value in each SIM card to establish communication with the corresponding server.
In a specific example, according to the determined communication states of the 3 SIM cards, that is, SIM2 > SIM1 > SIM3, in the active/standby mode, the SIM2 with the optimal communication state in the SIM cards is selected, and a communication connection is established with a server corresponding to the SIM 2.
In the above example, since the SIM card monitoring module is always sending the monitoring signal to the server corresponding to each SIM card, and the routing module acquires the communication state value of each SIM card according to the communication network state signal returned by each server, the order of the routing module to the communication state values of each SIM card in the above example is not always the same, and when the priority order of the communication state values of each SIM card after the next order is SIM1 > SIM2 > SIM3, the connection of the server currently corresponding to the SIM2 is switched to the connection of the server corresponding to the SIM 1.
In the active/standby mode, only the SIM card with the optimal communication state value is selected, and the server corresponding to the optimal SIM card is selected to establish communication, so that although the routing module always sorts the communication states of the SIM cards according to the communication state values, as long as the SIM card in the optimal communication state is still in the priority, the SIM card will not be switched. That is to say, no matter the communication state value of the 3 SIM cards is changed from SIM2 > SIM1 > SIM3 to SIM2 > SIM3 > SIM1 in the next time period, but the priority of the SIM2 is not changed, the server corresponding to the SIM2 is still selected to establish communication.
In some optional implementations of this embodiment, the communication mode includes a load balancing mode, and the selection rule of the load balancing mode includes: and randomly sequencing the SIM cards, and selecting the SIM cards to alternately establish communication with a corresponding server based on the randomly sequenced sequence.
In a specific example, the routing module randomly orders the 3 SIM cards into SIM3, SIM1, and SIM2 according to the rules of the load balancing model, and selects the SIM cards and establishes communication according to this order, i.e., the first establishes communication with SIM3, the second establishes communication with SIM1, and the third establishes communication with SIM 2.
In the above example, since the network status of communications established with the servers according to the random order may fluctuate under all road environments, in another specific example, the routing module acquires the communication status value of each SIM card according to the communication network status signal returned by each server at regular intervals. That is, according to the above example, the first time interval is set to 30s, and at 0s-30s, the routing module first establishes communication with the SIM 3; at 30s-60s, the routing module second establishes communication with the SIM 1; the routing module third establishes communication with the SIM2 in 60s-90 s. After 90s, the randomly ordered sequence of 3 SIM cards is completed, and the next communication connection is still performed according to the randomly ordered sequence. At 90s-120s, the routing module again establishes communication with the SIM 3; at 120s-150s, the routing module again establishes communication with the SIM 1; at 150s-180s, the routing module again establishes communication with the SIM2, and the routing module alternates selection of SIM cards according to a random sequential ordering at all times at the first time interval described above.
It should be noted that the random sequence under the rules of the load balancing mode is switched in response to the switching input by the user, that is, in the all-road environment, the random sequence is generated when the load balancing mode is activated and is also regenerated when the user decides to switch the random sequence.
In some optional implementations of this embodiment, the selection rule of the load balancing mode further includes: and judging whether the communication state value of the SIM card currently establishing communication is smaller than a preset threshold value, and if so, switching to the next SIM card in the sequence to establish communication with the corresponding server.
In a specific example, in an all-road environment, a situation that a server corresponding to the SIM card always has a communication network state fluctuation in a certain distance exists, therefore, the load balancing mode also sets a threshold of a communication state value of the SIM card, the routing module judges whether the communication state value of the SIM card currently establishing communication is smaller than a preset threshold at a certain second time interval, if the communication state value of the SIM card is smaller than the preset threshold, the SIM card smaller than the threshold in the random sequence is directly skipped over, and a communication connection with the server corresponding to the SIM card is established with the SIM card satisfying the threshold in the random sequence.
Specific examples are as follows: according to the rule of the load balancing mode, the routing module randomly sorts the SIM cards at a certain first time interval, and selects the SIM cards to alternately establish communication with the corresponding server based on the randomly sorted order. That is, the first time interval is set to 30s, and the routing module establishes communication with the SIM3 for the first time interval from 0s to 30 s; at 30s-60s, the routing module second establishes communication with the SIM 1; the routing module third establishes communication with the SIM2 in 60s-90 s.
Meanwhile, the routing module further judges whether the communication state value of the currently established communication SIM card is smaller than a preset threshold value at another second time interval, wherein the second time interval can be the same as or smaller than the first time interval so as to monitor whether the network state of the currently established communication connection is stable in real time. Such as: setting the second time interval to 10s, when the second time interval is 10s, 20s and 30s, the routing module judges whether the communication state value of the server establishing communication with the SIM3 is smaller than a threshold value, if the communication state values at the above moments are all higher than the threshold value, the currently established communication connection is relatively stable, after the 30 th time, the routing module switches to establish communication with the SIM1 corresponding to the server of the SIM3, and judges whether the communication state value of the server establishing communication with the SIM1 is smaller than the threshold value at 40s, 50s and 60s within the 30s-60s time period of establishing communication with the SIM 1. The determination process continues until the user enters a switch mode command. In another case, at 10s, 20s, and 30s, the routing module determines whether the communication state value of the server that establishes communication with the SIM3 is smaller than the threshold, and if the communication state value at the time is smaller than the threshold, immediately cuts off the communication connection currently established with the SIM3 server, and if the communication state value at the 20s is smaller than the threshold, the communication connection established between the SIM3 server and the routing module at 20s-30s in the original random sequence is switched to the server corresponding to the SIM1 that satisfies the threshold requirement after the determination to establish communication. If the SIM1 is also judged not to meet the threshold requirement, the server corresponding to the SIM2 meeting the threshold requirement is switched to establish communication, so as to realize load balanced use of the three SIM cards and ensure network stability of communication.
In the above specific example, the rule for selecting the load balancing mode further includes: if the SIM card which does not meet the preset threshold value of the communication state value of the SIM card in the random sequence is switched in advance within the communication time period set by the first time interval, and the communication with the corresponding server is established with the next SIM card which meets the preset threshold value judgment, the time of establishing the communication between the next SIM card and the corresponding server is advanced to the current switching time and a new communication time period is generated. Specific examples are as follows:
the first time interval is still set to be 30s, and the routing module establishes communication with the SIM3 firstly in 0s-30 s; at 30s-60s, the routing module second establishes communication with the SIM 1; the routing module third establishes communication with the SIM2 in 60s-90 s. If the communication state value of the SIM3 is smaller than the preset threshold value at the 20 th s, the communication connection established by the SIM3 server between the 20 th s to the 30 th s and the routing module in the original random sequence is switched to the server corresponding to the SIM1 meeting the preset threshold value requirement after judgment, and the communication establishing time period of the original SIM1 according to the random sequence is 30s to 60s, therefore, after the 20 th s, the communication establishing time period of the SIM1 and the corresponding server is changed from 30s to 60s to 20s to 50s, because of the change of the communication establishing time period of the SIM1, the communication time period of the SIM2 after the SIM1 in the random sequence is simultaneously changed to 50s to 80s, and under the cyclic communication in the random sequence, the communication time period of the SIM3 is simultaneously changed to 80s to 110s, thereby realizing the real-time monitoring of the SIM card and the corresponding server, and ensuring the stability of the SIM card, and establishing communication at the same time interval to realize load balancing use of each SIM card.
In some optional implementations of this embodiment, the SIM card is configured to establish communication with the server according to an APN private network address, a port address, and a port of the server corresponding to the SIM card.
In some optional implementation manners of this embodiment, the sending, by the SIM card monitoring module, the monitoring signal to the server corresponding to the SIM card includes: and the SIM card monitoring module sends monitoring signals to a server corresponding to the SIM card at fixed intervals.
For example, in the above example, the routing module randomly sorts the SIM cards at a certain first time interval according to the rule of the load balancing mode, and since the routing module randomly sorts the SIM cards according to the communication network status signals generated by the server according to the monitoring signal feedback sent by the SIM card monitoring module, the fixed interval at which the SIM card monitoring module sends the monitoring signal to the server corresponding to the SIM card is the first time interval.
And in another specific example, the routing module further determines whether the communication state value of the SIM card currently establishing communication is smaller than a preset threshold value at another second time interval. And the routing module judges the communication state value and the preset threshold value of the SIM card in current communication at the moment corresponding to the second time interval and the second time interval in the first time period of the first time interval. In this example, since the second time interval (10s) is smaller than the first time interval (30s), the second time interval in this case is a fixed interval at which the SIM card monitoring module sends the monitoring signal to the server corresponding to the SIM card.
Similarly, in the active-standby mode, the SIM card monitoring module sends monitoring signals to the server corresponding to the SIM card at fixed intervals and receives communication state signals fed back by the server, and the routing module performs priority ordering of communication state values of the individual SIM cards according to the communication network state signals at fixed intervals according to the rules of the active-standby mode.
By the method, the real-time network detection of the all-road environment in the main/standby mode and the load balancing mode is realized, and the network universality and the network stability are improved.
Therefore, the embodiment of the invention monitors the server corresponding to each used SIM card, selects the SIM card according to each communication network state signal and different modes obtained by monitoring, and establishes the communication connection with the server corresponding to the SIM card. The SIM card selection rule in the main and standby mode can ensure the optimal communication state of the vehicle-mounted communication device in the all-road environment, and the SIM card selection rule in the load balancing mode ensures the optimal communication state of the vehicle-mounted communication device in the all-road environment and simultaneously ensures the network load balancing use of each SIM card and the corresponding server. The technical scheme of the embodiment of the invention realizes the network redundancy of the multimode network, thereby ensuring the network stability under the all-road environment and improving the network universality and the network stability.
Another embodiment of the present invention discloses a vehicle-mounted device communication system, as shown in fig. 3, including a server, a terminal device, and the vehicle-mounted communication apparatus as described in the first embodiment above;
and the terminal equipment is used for carrying out data interaction with the server based on the SIM card and the communication established by the server corresponding to the SIM card.
After the vehicle-mounted communication device selects the SIM card and the server corresponding to the SIM card successfully establishes communication connection, the terminal equipment establishes communication with the vehicle-mounted communication device, and data interaction between the terminal equipment and the server is carried out through the vehicle-mounted communication device.
In this embodiment, when the server transmits data to the in-vehicle communication apparatus, the in-vehicle communication apparatus forwards the data to the terminal device, and when the terminal device transmits data to the server, the in-vehicle communication apparatus forwards the data of the terminal device to the server.
When the server is disconnected with the vehicle-mounted communication device, the vehicle-mounted communication device is disconnected with the terminal equipment, and new connection of the terminal equipment is waited to be established. When the terminal equipment is disconnected with the vehicle-mounted communication device, the vehicle-mounted communication device is disconnected with the server, and new connection of the terminal equipment is waited to be established.
In one specific example, the terminal equipment can be a card swiping machine and a code scanning machine, and the vehicle-mounted communication device can be a vehicle-mounted gateway.
The embodiment of the invention monitors the servers corresponding to the used SIM cards, selects the SIM cards according to the communication network state signals and different modes obtained by monitoring and establishes the communication connection with the servers corresponding to the SIM cards. The SIM card selection rule in the main and standby mode can ensure the optimal communication state of the vehicle-mounted communication device in the all-road environment, and the SIM card selection rule in the load balancing mode ensures the optimal communication state of the vehicle-mounted communication device in the all-road environment and simultaneously ensures the network load balancing use of each SIM card and the corresponding server. The technical scheme of the embodiment of the invention realizes the network redundancy of the multimode network, thereby ensuring the network stability under the all-road environment and improving the network universality and the network stability.
It should be noted that the principle and the working flow of the vehicle-mounted communication system provided in this embodiment are similar to those of the vehicle-mounted communication device, and reference may be made to the above description for relevant points, which are not described herein again.
As shown in fig. 4, another embodiment of the present invention discloses a method for vehicle-mounted communication using the vehicle-mounted communication system, including:
the SIM card monitoring module sends a monitoring signal to a server corresponding to the SIM card;
the server receives the monitoring signal and returns a communication network state signal;
the routing module acquires the communication state value of each SIM card according to each communication network state signal, and selects the SIM card which establishes communication with the corresponding server according to the communication state value of each SIM card;
and the terminal equipment performs data transmission with the server based on the SIM card and the communication established by the server corresponding to the SIM card.
In this embodiment, the vehicle-mounted communication device may be a vehicle-mounted gateway.
In a specific example, as shown in fig. 5, a listening port is first configured on an in-vehicle gateway (also referred to as ADR) and a server APN private network address and a port of each operator are configured. The SIM card monitoring module sends a monitoring signal to a server corresponding to the SIM card at fixed intervals (for example, once every 0.5 second) so as to detect the SIM card signal and the dialing state; the server receives the monitoring signal and returns a communication network state signal; the routing module acquires the communication state value of each SIM card according to each communication network state signal and writes the communication state value into a cache, the routing module selects the SIM card establishing communication with the corresponding server according to the communication state value of each SIM card and a mode instruction input by a user, and the routing module modifies and adds addresses for accessing different APN private network servers according to rules of a main-standby mode and a load balancing mode and according to the states of the SIM cards.
If the user selects the main/standby mode, the routing module performs priority ordering on the communication state values of the SIM cards according to the selection rule of the main/standby mode, and selects the SIM card with the highest communication state value and establishes connection with the corresponding server. If the user selects the load balancing mode, the routing module alternately connects each SIM card and the corresponding server according to the selection rule of the load balancing mode, and in the mode, the routing module compares the communication state value of each SIM card with a preset threshold value, if the communication state value is smaller than the preset threshold value, the SIM card is ignored, and communication is established with the next SIM card meeting the preset threshold value and the corresponding server in the random sequence; and if the communication state value is greater than or equal to the preset threshold value, directly establishing the communication between the current SIM card and the corresponding server.
And the terminal equipment performs data interaction with the server based on the SIM card and the communication established by the server corresponding to the SIM card.
The embodiment of the invention monitors the servers corresponding to the used SIM cards, selects the SIM cards according to the communication network state signals and different modes obtained by monitoring and establishes the communication connection with the servers corresponding to the SIM cards. The SIM card selection rule in the main and standby mode can ensure the optimal communication state of the vehicle-mounted communication device in the all-road environment, and the SIM card selection rule in the load balancing mode ensures the optimal communication state of the vehicle-mounted communication device in the all-road environment and simultaneously ensures the network load balancing use of each SIM card and the corresponding server. The technical scheme of the embodiment of the invention realizes the network redundancy of the multimode network, thereby ensuring the network stability under the all-road environment and improving the network universality and the network stability.
It should be noted that the specific process of the communication method provided by the embodiment of the present invention is similar to the operating principle of the vehicle-mounted communication system, and reference may be made to the above description for relevant parts, which is not described herein again. It is further noted that, in the description of the present invention, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
It should be understood that the above-mentioned embodiments of the present invention are only examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention, and it will be obvious to those skilled in the art that other variations or modifications may be made on the basis of the above description, and all embodiments may not be exhaustive, and all obvious variations or modifications may be included within the scope of the present invention.

Claims (10)

1. An in-vehicle communication apparatus, characterized by comprising:
the system comprises an SIM card monitoring module, a routing module and at least two SIM cards;
the SIM card monitoring module is used for sending a monitoring signal to a server corresponding to the SIM card so as to enable the server to return a communication network state signal;
and the routing module is used for acquiring the communication state value of each SIM card according to each communication network state signal and selecting the SIM card which establishes communication with the corresponding server according to the communication state value of each SIM card.
2. The apparatus of claim 1, further comprising a mode selection module to obtain a communication mode in response to a user input;
the routing module, configured to select, according to the communication state value of each SIM card, an SIM card that establishes communication with a corresponding server, includes: and selecting the SIM card establishing communication with the corresponding server according to the communication state value of each SIM card and the selection rule of the communication mode.
3. The apparatus of claim 2, wherein the communication mode comprises a master/slave mode, and a selection rule of the master/slave mode comprises: and selecting the SIM card with the optimal current communication state value in each SIM card to establish communication with the corresponding server.
4. The apparatus of claim 2, wherein the communication mode comprises a load balancing mode, and wherein a selection rule of the load balancing mode comprises: and randomly sequencing the SIM cards, and selecting the SIM cards to alternately establish communication with a corresponding server based on the randomly sequenced sequence.
5. The apparatus of claim 4, wherein the selection rule of the load balancing mode further comprises: and judging whether the communication state value of the SIM card currently establishing communication is smaller than a preset threshold value, and if so, switching to the next SIM card in the sequence to establish communication with the corresponding server.
6. The apparatus of claim 1, wherein the routing module, configured to obtain the communication status value of each SIM card according to each communication network status signal, comprises: and weighting the signal strength value and the network system contained in the communication network state signal to obtain a communication state value by calculation.
7. The apparatus of claim 1, wherein the SIM card is configured to establish communication with the server according to an APN private network address, a port address, and a port of the server corresponding to the SIM card.
8. The apparatus of claim 1, wherein the SIM card monitoring module, configured to send the monitoring signal to the server corresponding to the SIM card, comprises: and the SIM card monitoring module sends monitoring signals to a server corresponding to the SIM card at fixed intervals.
9. An in-vehicle apparatus communication system characterized by comprising a server, a terminal apparatus, and the in-vehicle communication device according to any one of claims 1 to 8;
and the terminal equipment is used for carrying out data interaction with the server based on the SIM card and the communication established by the server corresponding to the SIM card.
10. A method for vehicle-mounted communication using the vehicle-mounted device communication system according to claim 9, comprising:
the SIM card monitoring module sends a monitoring signal to a server corresponding to the SIM card;
the server receives the monitoring signal and returns a communication network state signal;
the routing module acquires the communication state value of each SIM card according to each communication network state signal, and selects the SIM card which establishes communication with the corresponding server according to the communication state value of each SIM card;
and the terminal equipment performs data interaction with the server based on the SIM card and the communication established by the server corresponding to the SIM card.
CN202010441212.9A 2020-05-22 2020-05-22 Vehicle-mounted communication device, communication system and communication method Pending CN111787576A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010441212.9A CN111787576A (en) 2020-05-22 2020-05-22 Vehicle-mounted communication device, communication system and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010441212.9A CN111787576A (en) 2020-05-22 2020-05-22 Vehicle-mounted communication device, communication system and communication method

Publications (1)

Publication Number Publication Date
CN111787576A true CN111787576A (en) 2020-10-16

Family

ID=72753262

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010441212.9A Pending CN111787576A (en) 2020-05-22 2020-05-22 Vehicle-mounted communication device, communication system and communication method

Country Status (1)

Country Link
CN (1) CN111787576A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113015136A (en) * 2021-03-31 2021-06-22 广州文远知行科技有限公司 Parking network switching method and device, movable carrier and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272573A (en) * 2008-04-30 2008-09-24 电子科技大学 Double SIM card mobile phone
CN106330231A (en) * 2016-09-13 2017-01-11 深圳市几米软件有限公司 Method of realizing all-network-communication of on-board rearview mirror, on-board rearview mirror, server, and system
CN106604258A (en) * 2016-12-20 2017-04-26 深圳市优克联新技术有限公司 User identity identification card switching method and apparatus
CN108184247A (en) * 2017-12-29 2018-06-19 奇酷互联网络科技(深圳)有限公司 Communication means, device, communication equipment and readable storage medium storing program for executing
US20190297476A1 (en) * 2016-11-07 2019-09-26 Huawei Technologies Co., Ltd. Method and apparatus for switching in-vehicle service by using external sim card
CN111030776A (en) * 2020-01-10 2020-04-17 维沃移动通信有限公司 Data transmission method, electronic equipment and network side equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272573A (en) * 2008-04-30 2008-09-24 电子科技大学 Double SIM card mobile phone
CN106330231A (en) * 2016-09-13 2017-01-11 深圳市几米软件有限公司 Method of realizing all-network-communication of on-board rearview mirror, on-board rearview mirror, server, and system
US20190297476A1 (en) * 2016-11-07 2019-09-26 Huawei Technologies Co., Ltd. Method and apparatus for switching in-vehicle service by using external sim card
CN106604258A (en) * 2016-12-20 2017-04-26 深圳市优克联新技术有限公司 User identity identification card switching method and apparatus
CN108184247A (en) * 2017-12-29 2018-06-19 奇酷互联网络科技(深圳)有限公司 Communication means, device, communication equipment and readable storage medium storing program for executing
CN111030776A (en) * 2020-01-10 2020-04-17 维沃移动通信有限公司 Data transmission method, electronic equipment and network side equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113015136A (en) * 2021-03-31 2021-06-22 广州文远知行科技有限公司 Parking network switching method and device, movable carrier and storage medium

Similar Documents

Publication Publication Date Title
US7164887B2 (en) Radio communication device
CN111611573B (en) Data processing method, related equipment and medium for realizing terminal equipment switching
US6654350B1 (en) Method and apparatus for tracking a transaction across a multi-hop network
CN100352250C (en) Method for accessing internet for wireless mobile communication apparatus
CN106603261A (en) Hot backup method, first master device, backup device and communication system
CN111787576A (en) Vehicle-mounted communication device, communication system and communication method
CN105050123A (en) Load control method for wireless network and terminal
CN106487899B (en) Network control method, device, system and the vehicle of vehicle intelligent system
CN110011888B (en) Modularized CAN network load rate optimization method and device
CN108632355B (en) Routing method for household appliance network, control terminal, readable storage medium and equipment
CN113726608B (en) Data processing method and device
EP3065445B1 (en) Method, cse, and system for transmitting m2m application request
CN112770370B (en) Method and device for intelligent equipment to access network and intelligent equipment
CN113692030A (en) Unmanned vehicle communication method, device, storage medium and electronic equipment
CN110673799B (en) Cluster partnership establishment method, system, equipment and computer medium
CN113359727A (en) Unmanned vehicle remote control method and device and electronic equipment
CN112055390A (en) Signal switching method and related device
CN113286347A (en) Wireless network construction method
CN107094310B (en) A kind of method for connecting network and system of the interior application of mobile terminal
CN109151863A (en) Android system network management and system based on routing table
CN111865739B (en) Method and device for displaying state of household appliance
CN113596938B (en) Network switching method and device of mobile terminal, storage medium and electronic device
CN117978850A (en) Method, apparatus, electronic device and computer readable storage medium for service connection
JPH11146576A (en) Electric power system supervisory control device
CN115695500A (en) Data acquisition method and device, computer equipment and readable storage medium

Legal Events

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

Application publication date: 20201016