CN112291749A - Method and device for awakening T-Box, T-Box and server - Google Patents

Method and device for awakening T-Box, T-Box and server Download PDF

Info

Publication number
CN112291749A
CN112291749A CN202011066113.3A CN202011066113A CN112291749A CN 112291749 A CN112291749 A CN 112291749A CN 202011066113 A CN202011066113 A CN 202011066113A CN 112291749 A CN112291749 A CN 112291749A
Authority
CN
China
Prior art keywords
box
tsp
server
address
wake
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.)
Withdrawn
Application number
CN202011066113.3A
Other languages
Chinese (zh)
Inventor
夏宝华
钱国平
李佳
胡孟永
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhibo Automotive Technology Shanghai Co ltd
Original Assignee
Zhibo Automotive Technology Shanghai 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 Zhibo Automotive Technology Shanghai Co ltd filed Critical Zhibo Automotive Technology Shanghai Co ltd
Priority to CN202011066113.3A priority Critical patent/CN112291749A/en
Publication of CN112291749A publication Critical patent/CN112291749A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • H04W4/48Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for in-vehicle communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/168Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP] specially adapted for link layer protocols, e.g. asynchronous transfer mode [ATM], synchronous optical network [SONET] or point-to-point protocol [PPP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/668Internet protocol [IP] address subnets

Abstract

The disclosure relates to a method and a device for waking up a T-Box, the T-Box and a server. The method applied to the T-Box comprises the following steps: sending UDP data to a TSP address server to enable the TSP address server to analyze the received UDP data to obtain an IP address and a port of the T-Box, and sending the IP address and the port of the T-Box to a TSP wake-up server; receiving an IP address and a port of a TSP awakening server sent by a TSP address server; sending a detection message to the IP address and the port of the TSP awakening server so as to establish UDP link connection between the T-Box and the TSP awakening server; and when receiving the awakening data sent by the TSP awakening server, awakening the T-Box. In this way, the feature that both the T-Box and the TSP wake-up server can make UDP link connection with the TSP address server is utilized, so that the TSP wake-up server can transmit wake-up data to the IP address and port of the T-Box through the NAT of the operator.

Description

Method and device for awakening T-Box, T-Box and server
Technical Field
The disclosure relates to the field of vehicle-mounted equipment control, in particular to a method and a device for waking up a T-Box, the T-Box and a server.
Background
The T-Box is a very important component of the vehicle system, and its main function is to interconnect the vehicle and a remote Service Provider (TSP). Typically, the TSP deploys the service policy to interact with the remote vehicle via the T-Box in coordination with the vehicle completing the customer service request. For example, the vehicle enters a safety protection state after the user is locked, if the user needs to remotely control the vehicle, the mobile phone APP can be opened to send a remote control instruction (for example, an air conditioner is opened) to the TSP server, the TSP server checks whether the T-Box of the vehicle of the user is in a dormant state after receiving the remote control instruction of the user, and if the T-Box is in the dormant state, the T-Box needs to be awakened immediately according to a strategy. And after the T-Box is awakened, immediately executing a remote operation instruction from the TSP server, returning an execution result to the TSP server, pushing the execution result to the user mobile phone APP by the TSP server, and presenting the execution result to the user.
After the T-Box of the current intelligent vehicle enters the sleep state, the T-Box needs to be awakened during the sleep state in order to enable the T-Box to execute the remote control instruction. The current way for the TSP server to wake up the T-Box is to use the 2G network to send an SMS or dial the sim card number of the T-Box to wake up the T-Box. When the short message is used for awakening, the operator needs to pay the cost for sending one short message every time, and the operation cost is higher; when the voice is used for awakening, the calling speed is low, the requirement of concurrent massive calling cannot be met, the expense of renting a calling line by an operator needs to be paid, and the operating expense is high.
Disclosure of Invention
The purpose of the present disclosure is to provide a method and apparatus for waking up a T-Box reliably and efficiently, a T-Box, and a server.
In order to achieve the above object, the present disclosure provides a method of waking up a T-Box, applied to the T-Box, the method including:
sending UDP data to a TSP address server to enable the TSP address server to analyze the received UDP data to obtain an IP address and a port of a T-Box, and sending the IP address and the port of the T-Box to a TSP wake-up server;
receiving the IP address and the port of the TSP awakening server sent by the TSP address server, wherein the TSP address server receives UDP data sent by the TSP awakening server and analyzes the received UDP data to obtain the IP address and the port of the TSP awakening server;
before the T-Box enters a sleep state, sending a detection message to an IP address and a port of the TSP wake-up server so as to establish UDP link connection between the T-Box and the TSP wake-up server;
and when the T-Box is in the dormant state and receives awakening data sent by the TSP awakening server, awakening the T-Box, wherein when the TSP awakening server receives an awakening instruction aiming at the T-Box, the T-Box is sent to an IP address and a port of the T-Box.
Optionally, the method further comprises:
sending the detection message to the TSP address server to enable the TSP address server to forward the detection message to the TSP wake-up server;
and when receiving a first confirmation message sent by the TSP awakening server in response to receiving the detection message, sending a second confirmation message to the TSP awakening server.
The present disclosure also provides a method for waking up a T-Box, which is applied to a TSP address server, and the method includes:
analyzing UDP data sent by a T-Box to obtain an IP address and a port of the T-Box;
analyzing UDP data sent by the TSP awakening server to obtain an IP address and a port of the TSP awakening server;
sending the IP address and the port of the TSP wake-up server to the T-Box, sending the IP address and the port of the T-Box to the TSP wake-up server, so that the T-Box sends a detection message to the IP address and the port of the TSP wake-up server before entering a sleep state, and a UDP link connection is established between the T-Box and the TSP wake-up server, and when the TSP wake-up server receives a wake-up instruction aiming at the T-Box and determines that the T-Box is in the sleep state, the TSP wake-up server sends wake-up data to the IP address and the port of the T-Box to wake up the T-Box.
Optionally, the method further comprises:
and forwarding the detection message sent by the T-Box to the TSP awakening server, so that the TSP awakening server sends a first confirmation message to the T-Box in response to receiving the detection message, and the T-Box sends a second confirmation message to the TSP awakening server in response to receiving the first confirmation message.
The present disclosure also provides a method for waking up a T-Box, which is applied to a TSP wake-up server, and the method includes:
sending UDP data to a TSP address server to enable the TSP address server to analyze the received UDP data to obtain an IP address and a port of the TSP awakening server, and sending the IP address and the port of the TSP awakening server to the T-Box;
receiving the IP address and the port of the T-Box sent by the TSP address server, wherein the TSP address server receives UDP data sent by the T-Box and analyzes the received UDP data to obtain the IP address and the port of the T-Box;
and when a wake-up instruction aiming at the T-Box is received and the T-Box is determined to be in a sleep state, sending wake-up data to an IP address and a port of the T-Box to wake up the T-Box, wherein before the T-Box enters the sleep state, the T-Box sends a detection message to the IP address and the port of the TSP wake-up server to enable the T-Box and the TSP wake-up server to establish a UDP link connection.
The present disclosure also provides a device for waking up a T-Box, which is applied to the T-Box, and the device includes:
the first sending module is used for sending UDP data to a TSP address server so that the TSP address server can analyze the received UDP data to obtain an IP address and a port of a T-Box, and the IP address and the port of the T-Box are sent to the TSP awakening server;
the first receiving module is used for receiving the IP address and the port of the TSP awakening server sent by the TSP address server, wherein the TSP address server receives UDP data sent by the TSP awakening server and analyzes the received UDP data to obtain the IP address and the port of the TSP awakening server;
a second sending module, configured to send a probe message to an IP address and a port of the TSP wake-up server before the T-Box enters a sleep state, so that a UDP link connection is established between the T-Box and the TSP wake-up server;
and the awakening module is used for awakening the T-Box when the T-Box is in the dormant state and receives awakening data sent by the TSP awakening server, wherein the awakening data is sent to an IP address and a port of the T-Box when the TSP awakening server receives an awakening instruction aiming at the T-Box.
The present disclosure also provides a device for waking up a T-Box, which is applied to a TSP address server, and the device includes:
the first analysis module is used for analyzing UDP data sent by the T-Box to obtain an IP address and a port of the T-Box;
the second analysis module is used for analyzing the UDP data sent by the TSP awakening server to obtain the IP address and the port of the TSP awakening server;
and a fifth sending module, configured to send the IP address and the port of the TSP wake-up server to the T-Box, and send the IP address and the port of the T-Box to the TSP wake-up server, so that the T-Box sends a probe message to the IP address and the port of the TSP wake-up server before entering a sleep state, so that a UDP link connection is established between the T-Box and the TSP wake-up server, and the TSP wake-up server sends wake-up data to the IP address and the port of the T-Box when receiving a wake-up instruction for the T-Box and determining that the T-Box is in the sleep state, so as to wake up the T-Box.
The present disclosure also provides a device for waking up a T-Box, which is applied to a TSP wake-up server, and the device includes:
a seventh sending module, configured to send UDP data to a TSP address server, so that the TSP address server parses the received UDP data to obtain an IP address and a port of the TSP wake-up server, and sends the IP address and the port of the TSP wake-up server to the T-Box;
the second receiving module is used for receiving the IP address and the port of the T-Box sent by the TSP address server, wherein the TSP address server receives the UDP data sent by the T-Box and analyzes the received UDP data to obtain the IP address and the port of the T-Box;
and an eighth sending module, configured to send wakeup data to an IP address and a port of the T-Box to wake up the T-Box when receiving a wakeup instruction for the T-Box and determining that the T-Box is in a sleep state, where before entering the sleep state, the T-Box sends a probe message to the IP address and the port of the TSP wakeup server to establish a UDP link connection between the T-Box and the TSP wakeup server.
The present disclosure also provides a T-Box including the above-described apparatus applied to the T-Box provided by the present disclosure.
The present disclosure also provides a server, including the above device applied to the TSP address server or the TSP wake-up server provided by the present disclosure.
Through the technical scheme, the T-Box and the TSP awakening server exchange IP addresses and ports through the TSP address server by utilizing the characteristic that the T-Box and the TSP awakening server can both carry out User Datagram Protocol (UDP) connection with the TSP address server. Thus, in the case that the T-Box sends a probe message to the IP Address and port of the TSP wake-up server, the T-Box creates a Network Address Translation (NAT) permission rule, allowing the TSP wake-up server to send wake-up data directly to the IP Address and port of the T-Box to wake up the T-Box. The method enables the TSP awakening server to transmit the awakening data to the IP address and the port of the T-Box through the NAT of the operator, and is simple and easy to implement.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
FIG. 1 is a scenario diagram of a method of waking up a T-Box provided by an exemplary embodiment;
FIG. 2 is a flowchart of a method that an exemplary embodiment provides for waking up a T-Box as applied to the T-Box;
fig. 3 is a flowchart of a method for waking up a T-Box applied to a TSP address server according to an exemplary embodiment;
fig. 4 is a flowchart of a method for waking up a T-Box applied to a TSP wake-up server according to an exemplary embodiment;
FIG. 5 is a signaling diagram of a method for waking up a T-Box provided by an example embodiment;
FIG. 6 is a block diagram of an apparatus for waking up a T-Box, as applied to the T-Box by an exemplary embodiment;
fig. 7 is a block diagram of an apparatus of a wake-up T-Box applied to the wake-up T-Box of the TSP address server provided by an exemplary embodiment;
fig. 8 is a block diagram of an apparatus of a wake-up T-Box applied to a wake-up T-Box of a TSP wake-up server according to an exemplary embodiment;
FIG. 9 is a block diagram of an electronic device shown in an exemplary embodiment;
FIG. 10 is a block diagram of an electronic device shown in an exemplary embodiment.
Detailed Description
The following detailed description of specific embodiments of the present disclosure is provided in connection with the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, not limitation.
The present disclosure addresses the above current situation of the disadvantages of sms wakeup/voice wakeup by attempting to implement wakeup T-Box over a 3G/4G/5G data network. The T-Box is awakened by using a data network, so that the method is safe and reliable, is awakened quickly, and does not need operation cost.
The T-Box of most current vehicles supports 3G/4G/5G data networks. According to the 3GPP DRX standard after dormancy, if data arrives at a cell where the T-Box is located, the T-Box in dormancy needs to wake up immediately to receive the data if the T-Box finds that the sent data exists in the next active DRX period, and the 3G/4G/5G wireless module of the T-Box wakes up the whole T-Box after waking up, so that the purpose of waking up the T-Box through the data is achieved.
But the conditions for the TSP to wake up the T-Box with data are: the TSP can implement P2P (point-to-point) to send the wake-up data onto the corresponding T-Box. The problem with the T-Box's mobile radio, which typically uses NAT technology to access the internet after it has logged into the operator's 3G/4G/5G data network, is that it is possible for the T-Box to directly access the IP address of the TSP (which has a public IP address to be directly accessed), but it is not possible for the TSP's wake-up server to send data directly to the T-Box's IP address through the NAT because the T-Box's IP address is blocked behind the operator's NAT.
In the disclosure, the TSP and the T-Box penetrate through the NAT to realize the connection of a UDP P2P data link, so that when the TSP needs to wake up the T-Box in the dormancy, the TSP only needs to send wake-up data to the IP address and the port of the corresponding T-Box.
Fig. 1 is a scenario diagram of a method for waking up a T-Box according to an exemplary embodiment. As shown in fig. 1, a UDP link connection may be established between the T-Box 10 and the TSP address server 20, and a UDP link connection may be established between the TSP address server 20 and the TSP wake server 30. The TSP address server 20 is a TSP public network address server, i.e., a TSP public network IP address entry. The TSP wakeup server 30 is an internal server of the TSP, and may be a server other than the TSP public network address server, for providing the T-Box wakeup service. A UDP link connection may also be established between the T-Box 10 and the TSP wake-up server 30 after the T-Box 10 sends the probe message (see below).
FIG. 2 is a flowchart of a method applied to a T-Box to wake up the T-Box provided by an exemplary embodiment. As shown in fig. 2, the method may include the steps of:
and step S21, sending UDP data to the TSP address server, so that the TSP address server analyzes the received UDP data to obtain the IP address and port of the T-Box, and sending the IP address and port of the T-Box to the TSP wake-up server.
And step S22, receiving the IP address and the port of the TSP wake-up server sent by the TSP address server, wherein the TSP address server receives the UDP data sent by the TSP wake-up server and analyzes the received UDP data to obtain the IP address and the port of the TSP wake-up server.
And step S23, before the T-Box enters the sleep state, sending a detection message to the IP address and the port of the TSP wake-up server so as to establish UDP link connection between the T-Box and the TSP wake-up server.
And step S24, when the T-Box is in a dormant state and receives the awakening data sent by the TSP awakening server, awakening the T-Box, wherein when the TSP awakening server receives the awakening instruction aiming at the T-Box, the T-Box sends the awakening data to the IP address and the port of the T-Box.
Among them, the probe message is also called probe (probe) message. In step S23, the T-Box sends a probe message to the IP address and port of the TSP wake-up server. Because of the NAT rule, the TSP wake-up server rejects the message from the T-Box, and in fact, the probe message cannot be sent to the TSP wake-up server, but a NAT allowed rule is created in the T-Box that allows the data from the TSP wake-up server to be sent directly to the IP address and port of the T-Box.
And the T-Box can send UDP data to the TSP address server before sleeping until sleeping after sending the probe message, thus ensuring that a UDP link connection is established between the T-Box and the TSP wake-up server during the T-Box sleeping period, so that the TSP wake-up server can send wake-up data to the IP address and the port of the T-Box through the NAT of the operator to directly wake up the T-Box when needed.
The TSP wake-up server can store a resource list of a plurality of T-boxes, and the resource list can establish one-to-one correspondence relationship between IMSIs/ICCIDs of the T-boxes and IP addresses and ports. And when the TSP awakening server needs to awaken the dormant T-Box, inquiring the IP address and the port of the corresponding T-Box from the resource list, and sending awakening data to the IP address and the port of the T-Box to finish data awakening.
By the technical scheme, the T-Box and the TSP awakening server exchange IP addresses and ports through the TSP address server by utilizing the characteristic that both the T-Box and the TSP awakening server can be connected with the TSP address server through UDP links. Thus, in the case where the T-Box sends a probe message to the IP address and port of the TSP wake-up server, the T-Box creates an allowance rule for NAT, allowing the TSP wake-up server to send wake-up data directly to the IP address and port of the T-Box to wake up the T-Box. The method enables the TSP awakening server to transmit the awakening data to the IP address and the port of the T-Box through the NAT of the operator, and is simple and easy to implement.
When the TSP awakening server is rushed or abnormally quits restarting, the TSP awakening server can be restarted immediately at the moment, and the TSP address server and all T-boxes are informed to update the IP address and the port of the TSP awakening server.
As described above, the probe message sent by the T-Box cannot directly reach the TSP wake-up server. After the T-Box sends the probe message, the T-Box establishes a UDP link connection with the TSP wake-up server, but does not inform the TSP wake-up server.
In a further embodiment, on the basis of fig. 2, the method may further comprise: and sending the detection message to the TSP address server so that the TSP address server forwards the detection message to the TSP wake-up server.
In this embodiment, the T-Box may send a probe message to the TSP address server at the same time as sending the probe message to the TSP wake server. The TSP address server can forward the detection message to the TSP awakening server, so that the TSP awakening server can determine that UDP link connection is established with the T-Box, and reliability of information transmission is facilitated.
In a further embodiment, on the basis of the previous embodiment, the method may further include: and when receiving a first confirmation message sent by the TSP awakening server in response to receiving the detection message forwarded by the TSP address server, sending a second confirmation message to the TSP awakening server.
That is, in response to receiving the probe message forwarded by the TSP address server, the TSP wake-up server sends a first acknowledgement message to the T-Box indicating that the TSP wake-up server acknowledges that a UDP link connection has been established with the T-Box. And when receiving the first confirmation message, the T-Box sends a second confirmation message to the TSP awakening server to respond to the TSP awakening server.
Since the TSP wake-up server has already established a UDP link connection with the T-Box after the T-Box sends the probe message, the T-Box can receive the first acknowledgement message from the TSP wake-up server. After the TSP awakening server sends the first confirmation message, the TSP awakening server creates an NAT permission rule to allow data from the T-Box to be directly sent to the IP address and the port of the TSP awakening server, and therefore the TSP awakening server can receive a second confirmation message returned by the T-Box. The T-Box and TSP wake-up servers establish a UDP P2P link connection that traverses the NAT.
The T-Box may enter the sleep state after sending the second acknowledgement message.
If the IP address and port of the T-Box are not changed, the UDP link connection with the TSP wakeup server may not be established again through the above steps of fig. 1 until the next T-Box dormancy. When the T-Box dials into the 3G/4G/5G network, the IP address changes, and at this time, the method can be executed again to establish UDP link connection with the TSP wake-up server.
In still another embodiment, on the basis of fig. 1, the step of transmitting UDP data to the TSP address server (step S21) may include: and when the IP address and the port of the T-Box are changed, sending UDP data to the TSP address server.
The UDP data may be automatically sent to the TSP address server each time the T-Box detects that the IP address and the port are changed, or, before the T-Box sleeps, whether the IP address and the port are changed or not may be detected, and if the IP address and the port are changed compared with the last sleep, the step S21 is started, and if the IP address and the port are not changed compared with the last sleep, it may be considered that a UDP link connection has been established with the TSP wake-up server, and the T-Box may directly sleep.
Fig. 3 is a flowchart of a method for waking up a T-Box applied to a TSP address server according to an exemplary embodiment. As shown in fig. 3, the method may include the steps of:
and step S31, analyzing the UDP data sent by the T-Box to obtain the IP address and the port of the T-Box.
And step S32, analyzing the UDP data sent by the TSP awakening server to obtain the IP address and the port of the TSP awakening server.
And step S33, sending the IP address and the port of the TSP wake-up server to the T-Box, and sending the IP address and the port of the T-Box to the TSP wake-up server, so that the T-Box sends a detection message to the IP address and the port of the TSP wake-up server before entering the sleep state, so that a UDP link connection is established between the T-Box and the TSP wake-up server, and the TSP wake-up server sends wake-up data to the IP address and the port of the T-Box when receiving a wake-up instruction for the T-Box and determining that the T-Box is in the sleep state, so as to wake up the T-Box.
The embodiment of fig. 3 corresponds to the embodiment of fig. 2, and the execution subject of fig. 3 is a TSP address server, and the details thereof are not described in detail.
In yet another embodiment, the method may further comprise: and forwarding the detection message sent by the T-Box to the TSP awakening server, so that the TSP awakening server sends a first confirmation message to the T-Box in response to receiving the detection message, and the T-Box sends a second confirmation message to the TSP awakening server in response to receiving the first confirmation message.
In the embodiment, after the T-Box sends the detection message, the T-Box and the TSP awakening server directly perform mutual confirmation, so that the reliability of the information is ensured.
Fig. 4 is a flowchart of a method for waking up a T-Box applied to a TSP wake-up server according to an exemplary embodiment. As shown in fig. 4, the method may include the steps of:
and step S41, sending UDP data to the TSP address server, so that the TSP address server analyzes the received UDP data to obtain the IP address and port of the TSP wake-up server, and sending the IP address and port of the TSP wake-up server to the T-Box.
And step S42, receiving the IP address and the port of the T-Box sent by the TSP address server, wherein the TSP address server receives the UDP data sent by the T-Box and analyzes the received UDP data to obtain the IP address and the port of the T-Box.
And step S43, when a wake-up instruction aiming at the T-Box is received and the T-Box is determined to be in the dormant state, sending wake-up data to the IP address and the port of the T-Box to wake up the T-Box, wherein before entering the dormant state, the T-Box sends a detection message to the IP address and the port of the TSP wake-up server to enable the T-Box and the TSP wake-up server to establish a UDP link connection.
The embodiment of fig. 4 corresponds to the embodiments of fig. 2 and fig. 3, and the main execution body of fig. 4 is a TSP wake-up server, and details thereof are not described in detail.
In yet another embodiment, the method may further comprise: in response to receiving the detection message forwarded by the TSP address server, sending a first confirmation message to the T-Box; receiving a second acknowledgement message sent by the T-Box in response to receiving the first acknowledgement message.
In the embodiment, after the T-Box sends the detection message, the T-Box and the TSP awakening server directly perform mutual confirmation, so that the reliability of the information is ensured.
Fig. 5 is a signaling diagram of a method for waking up a T-Box provided by an example embodiment. The embodiment of fig. 5 includes technical features of the above embodiments, and details thereof are not described herein.
FIG. 6 is a block diagram of an apparatus for waking up a T-Box, which is applied to the T-Box by an exemplary embodiment. As shown in fig. 6, an apparatus 600 for waking up a T-Box may include a first transmitting module 601, a first receiving module 602, a second transmitting module 603, and a waking module 604.
The first sending module 601 is configured to send UDP data to the TSP address server, so that the TSP address server parses the received UDP data to obtain an IP address and a port of the T-Box, and sends the IP address and the port of the T-Box to the TSP wake-up server.
The first receiving module 602 is configured to receive an IP address and a port of the TSP wake-up server sent by the TSP address server, where the TSP address server receives UDP data sent by the TSP wake-up server and analyzes the received UDP data to obtain the IP address and the port of the TSP wake-up server.
The second sending module 603 is configured to send a probe message to the IP address and the port of the TSP wake-up server before the T-Box enters the sleep state, so that a UDP link connection is established between the T-Box and the TSP wake-up server.
The wake-up module 604 is configured to wake up the T-Box when the T-Box is in a sleep state and receives wake-up data sent by the TSP wake-up server, where the T-Box sends the wake-up data to an IP address and a port of the T-Box when the TSP wake-up server receives a wake-up instruction for the T-Box.
Optionally, the apparatus 600 for waking up T-Box may further include a third sending module.
The third sending module is used for sending the detection message to the TSP address server so that the TSP address server forwards the detection message to the TSP wake-up server.
Optionally, the apparatus 600 for waking up T-Box may further include a fourth sending module.
The fourth sending module is used for sending a second confirmation message to the TSP awakening server when receiving the first confirmation message sent by the TSP awakening server in response to the received detection message.
Optionally, the first sending module 601 may include a sending submodule.
And the sending submodule is used for sending UDP data to the TSP address server when the IP address and the port of the T-Box are changed.
Fig. 7 is a block diagram of an apparatus for waking up a T-Box applied to a waking up T-Box of a TSP address server according to an exemplary embodiment. As shown in fig. 7, the apparatus 700 for waking up the T-Box may include a first parsing module 701, a second parsing module 702, and a fifth sending module 703.
The first parsing module 701 is configured to parse UDP data sent by the T-Box to obtain an IP address and a port of the T-Box.
The second parsing module 702 is configured to parse the UDP data sent by the TSP wake-up server to obtain an IP address and a port of the TSP wake-up server.
And the fifth sending module is used for sending the IP address and the port of the TSP wake-up server to the T-Box and sending the IP address and the port of the T-Box to the TSP wake-up server so that the T-Box sends a detection message to the IP address and the port of the TSP wake-up server before entering the sleep state and a UDP link connection is established between the T-Box and the TSP wake-up server, and the TSP wake-up server sends wake-up data to the IP address and the port of the T-Box when receiving a wake-up instruction aiming at the T-Box and determining that the T-Box is in the sleep state so as to wake up the T-Box.
Optionally, the apparatus 700 for waking up T-Box may further include a sixth sending module.
The sixth sending module is used for forwarding the probe message sent by the T-Box to the TSP wake-up server, so that the TSP wake-up server sends a first confirmation message to the T-Box in response to receiving the probe message, and the T-Box sends a second confirmation message to the TSP wake-up server in response to receiving the first confirmation message.
Fig. 8 is a block diagram of an apparatus for waking up a T-Box applied to a waking up T-Box of a TSP wake-up server according to an exemplary embodiment. As shown in fig. 8, the apparatus 800 for waking up the T-Box may include a seventh transmitting module 801, a second receiving module 802, and an eighth transmitting module 803.
The seventh sending module 801 is configured to send UDP data to the TSP address server, so that the TSP address server parses the received UDP data to obtain an IP address and a port of the TSP wake-up server, and sends the IP address and the port of the TSP wake-up server to the T-Box.
The second receiving module 802 is configured to receive the IP address and the port of the T-Box sent by the TSP address server, where the TSP address server receives UDP data sent by the T-Box and analyzes the received UDP data to obtain the IP address and the port of the T-Box.
And the eighth sending module is used for sending wake-up data to the IP address and the port of the T-Box to wake up the T-Box when receiving the wake-up instruction aiming at the T-Box and determining that the T-Box is in the dormant state, wherein before entering the dormant state, the T-Box sends a detection message to the IP address and the port of the TSP wake-up server to enable the T-Box and the TSP wake-up server to establish UDP link connection.
Optionally, the apparatus 800 for waking up the T-Box may further include a ninth sending module and a third receiving module.
And the ninth sending module is used for sending a first confirmation message to the T-Box in response to receiving the detection message forwarded by the TSP address server.
The third receiving module is configured to receive a second acknowledgement message sent by the T-Box in response to receiving the first acknowledgement message.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
By the technical scheme, the T-Box and the TSP awakening server exchange IP addresses and ports through the TSP address server by utilizing the characteristic that both the T-Box and the TSP awakening server can be connected with the TSP address server through UDP links. Thus, in the case where the T-Box sends a probe message to the IP address and port of the TSP wake-up server, the T-Box creates an allowance rule for NAT, allowing the TSP wake-up server to send wake-up data directly to the IP address and port of the T-Box to wake up the T-Box. The method enables the TSP awakening server to transmit the awakening data to the IP address and the port of the T-Box through the NAT of the operator, and is simple and easy to implement.
The present disclosure also provides an electronic device comprising a memory and a processor. The memory has a computer program stored thereon; the processor is used to execute the computer program in the memory to implement the steps of the above-described method provided by the present disclosure.
Fig. 9 is a block diagram illustrating an electronic device 900 in accordance with an example embodiment. As shown in fig. 9, the electronic device 900 may include: a processor 901 and a memory 902. The electronic device 900 may also include one or more of a multimedia component 903, an input/output (I/O) interface 904, and a communications component 905.
The processor 901 is configured to control the overall operation of the electronic device 900, so as to complete all or part of the steps in the method for waking up the T-Box. The memory 902 is used to store various types of data to support operation of the electronic device 900, such as instructions for any application or method operating on the electronic device 900 and application-related data, such as contact data, transmitted and received messages, pictures, audio, video, and the like. The Memory 902 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk. The multimedia component 903 may include a screen and an audio component. Wherein the screen may be, for example, a touch screen and the audio component is used for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may further be stored in the memory 902 or transmitted through the communication component 905. The audio assembly also includes at least one speaker for outputting audio signals. The I/O interface 904 provides an interface between the processor 901 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 905 is used for wired or wireless communication between the electronic device 900 and other devices. Wireless Communication, such as Wi-Fi, bluetooth, Near Field Communication (NFC), 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or a combination of one or more of them, which is not limited herein. The corresponding communication component 905 may thus include: Wi-Fi module, Bluetooth module, NFC module, etc.
In an exemplary embodiment, the electronic Device 900 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above-described method of waking up a T-Box.
In another exemplary embodiment, a computer readable storage medium comprising program instructions which, when executed by a processor, implement the steps of the method of waking up a T-Box as described above is also provided. For example, the computer readable storage medium may be the memory 902 described above comprising program instructions that are executable by the processor 901 of the electronic device 900 to perform the method of waking up the T-Box described above.
Fig. 10 is a block diagram illustrating an electronic device 1000 in accordance with an example embodiment. For example, the electronic device 1000 may be provided as a server. Referring to fig. 10, the electronic device 1000 includes a processor 1022, which may be one or more in number, and a memory 1032 for storing computer programs executable by the processor 1022. The computer programs stored in memory 1032 may include one or more modules that each correspond to a set of instructions. Further, the processor 1022 may be configured to execute the computer program to perform the method of waking up the T-Box as described above.
Additionally, the electronic device 1000 may also include a power component 1026 and a communication component 1050, the power component 1026 may be configured to perform power management for the electronic device 1000, and the communication component 1050 may be configured to enable communication for the electronic device 1000, e.g., wired or wireless communication. In addition, the electronic device 1000 may also include input/output (I/O) interfaces 1058. The electronic device 1000 may operate based on an operating system stored in the memory 1032, such as Windows ServerTM,Mac OS XTM,UnixTM,LinuxTMAnd so on.
In another exemplary embodiment, a computer readable storage medium comprising program instructions which, when executed by a processor, implement the steps of the method of waking up a T-Box as described above is also provided. For example, the computer readable storage medium may be the memory 1032 comprising program instructions executable by the processor 1022 of the electronic device 1000 to perform the method of waking up the T-Box as described above.
In another exemplary embodiment, a computer program product is also provided, which comprises a computer program executable by a programmable apparatus, the computer program having code portions for performing the method of waking up a T-Box as described above when executed by the programmable apparatus.
The present disclosure also provides a T-Box including the apparatus 600 for waking up the T-Box applied to the T-Box provided by the present disclosure.
The present disclosure also provides a server including the above-mentioned device 700 applied to the TSP address server or the device 800 of the TSP wake-up T-Box of the TSP wake-up server provided by the present disclosure.
The preferred embodiments of the present disclosure are described in detail with reference to the accompanying drawings, however, the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present disclosure within the technical idea of the present disclosure, and these simple modifications all belong to the protection scope of the present disclosure.
It should be noted that the various features described in the above embodiments may be combined in any suitable manner without departing from the scope of the invention. In order to avoid unnecessary repetition, various possible combinations will not be separately described in this disclosure.
In addition, any combination of various embodiments of the present disclosure may be made, and the same should be considered as the disclosure of the present disclosure, as long as it does not depart from the spirit of the present disclosure.

Claims (10)

1. A method of waking up a T-Box, applied to the T-Box, the method comprising:
sending UDP data to a TSP address server to enable the TSP address server to analyze the received UDP data to obtain an IP address and a port of a T-Box, and sending the IP address and the port of the T-Box to a TSP wake-up server;
receiving the IP address and the port of the TSP awakening server sent by the TSP address server, wherein the TSP address server receives UDP data sent by the TSP awakening server and analyzes the received UDP data to obtain the IP address and the port of the TSP awakening server;
before the T-Box enters a sleep state, sending a detection message to an IP address and a port of the TSP wake-up server so as to establish UDP link connection between the T-Box and the TSP wake-up server;
and when the T-Box is in the dormant state and receives awakening data sent by the TSP awakening server, awakening the T-Box, wherein when the TSP awakening server receives an awakening instruction aiming at the T-Box, the T-Box is sent to an IP address and a port of the T-Box.
2. The method of claim 1, further comprising:
sending the detection message to the TSP address server to enable the TSP address server to forward the detection message to the TSP wake-up server;
and when receiving a first confirmation message sent by the TSP awakening server in response to receiving the detection message, sending a second confirmation message to the TSP awakening server.
3. A method for waking up a T-Box, which is applied to a TSP address server, the method comprising:
analyzing UDP data sent by a T-Box to obtain an IP address and a port of the T-Box;
analyzing UDP data sent by the TSP awakening server to obtain an IP address and a port of the TSP awakening server;
sending the IP address and the port of the TSP wake-up server to the T-Box, sending the IP address and the port of the T-Box to the TSP wake-up server, so that the T-Box sends a detection message to the IP address and the port of the TSP wake-up server before entering a sleep state, and a UDP link connection is established between the T-Box and the TSP wake-up server, and when the TSP wake-up server receives a wake-up instruction aiming at the T-Box and determines that the T-Box is in the sleep state, the TSP wake-up server sends wake-up data to the IP address and the port of the T-Box to wake up the T-Box.
4. The method of claim 3, further comprising:
and forwarding the detection message sent by the T-Box to the TSP awakening server, so that the TSP awakening server sends a first confirmation message to the T-Box in response to receiving the detection message, and the T-Box sends a second confirmation message to the TSP awakening server in response to receiving the first confirmation message.
5. A method for waking up a T-Box, which is applied to a TSP wake-up server, and comprises the following steps:
sending UDP data to a TSP address server to enable the TSP address server to analyze the received UDP data to obtain an IP address and a port of the TSP awakening server, and sending the IP address and the port of the TSP awakening server to the T-Box;
receiving the IP address and the port of the T-Box sent by the TSP address server, wherein the TSP address server receives UDP data sent by the T-Box and analyzes the received UDP data to obtain the IP address and the port of the T-Box;
and when a wake-up instruction aiming at the T-Box is received and the T-Box is determined to be in a sleep state, sending wake-up data to an IP address and a port of the T-Box to wake up the T-Box, wherein before the T-Box enters the sleep state, the T-Box sends a detection message to the IP address and the port of the TSP wake-up server to enable the T-Box and the TSP wake-up server to establish a UDP link connection.
6. An apparatus for waking up a T-Box, wherein the apparatus is applied to the T-Box and comprises:
the first sending module is used for sending UDP data to a TSP address server so that the TSP address server can analyze the received UDP data to obtain an IP address and a port of a T-Box, and the IP address and the port of the T-Box are sent to the TSP awakening server;
the first receiving module is used for receiving the IP address and the port of the TSP awakening server sent by the TSP address server, wherein the TSP address server receives UDP data sent by the TSP awakening server and analyzes the received UDP data to obtain the IP address and the port of the TSP awakening server;
a second sending module, configured to send a probe message to an IP address and a port of the TSP wake-up server before the T-Box enters a sleep state, so that a UDP link connection is established between the T-Box and the TSP wake-up server;
and the awakening module is used for awakening the T-Box when the T-Box is in the dormant state and receives awakening data sent by the TSP awakening server, wherein the awakening data is sent to an IP address and a port of the T-Box when the TSP awakening server receives an awakening instruction aiming at the T-Box.
7. An apparatus for waking up a T-Box, applied to a TSP address server, the apparatus comprising:
the first analysis module is used for analyzing UDP data sent by the T-Box to obtain an IP address and a port of the T-Box;
the second analysis module is used for analyzing the UDP data sent by the TSP awakening server to obtain the IP address and the port of the TSP awakening server;
and a fifth sending module, configured to send the IP address and the port of the TSP wake-up server to the T-Box, and send the IP address and the port of the T-Box to the TSP wake-up server, so that the T-Box sends a probe message to the IP address and the port of the TSP wake-up server before entering a sleep state, so that a UDP link connection is established between the T-Box and the TSP wake-up server, and the TSP wake-up server sends wake-up data to the IP address and the port of the T-Box when receiving a wake-up instruction for the T-Box and determining that the T-Box is in the sleep state, so as to wake up the T-Box.
8. An apparatus for waking up a T-Box, wherein the apparatus is applied to a TSP wake-up server, and the apparatus comprises:
a seventh sending module, configured to send UDP data to a TSP address server, so that the TSP address server parses the received UDP data to obtain an IP address and a port of the TSP wake-up server, and sends the IP address and the port of the TSP wake-up server to the T-Box;
the second receiving module is used for receiving the IP address and the port of the T-Box sent by the TSP address server, wherein the TSP address server receives the UDP data sent by the T-Box and analyzes the received UDP data to obtain the IP address and the port of the T-Box;
and an eighth sending module, configured to send wakeup data to an IP address and a port of the T-Box to wake up the T-Box when receiving a wakeup instruction for the T-Box and determining that the T-Box is in a sleep state, where before entering the sleep state, the T-Box sends a probe message to the IP address and the port of the TSP wakeup server to establish a UDP link connection between the T-Box and the TSP wakeup server.
9. A T-Box comprising the apparatus of claim 6.
10. A server, characterized in that it comprises the apparatus of claim 7 or 8.
CN202011066113.3A 2020-09-30 2020-09-30 Method and device for awakening T-Box, T-Box and server Withdrawn CN112291749A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011066113.3A CN112291749A (en) 2020-09-30 2020-09-30 Method and device for awakening T-Box, T-Box and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011066113.3A CN112291749A (en) 2020-09-30 2020-09-30 Method and device for awakening T-Box, T-Box and server

Publications (1)

Publication Number Publication Date
CN112291749A true CN112291749A (en) 2021-01-29

Family

ID=74422064

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011066113.3A Withdrawn CN112291749A (en) 2020-09-30 2020-09-30 Method and device for awakening T-Box, T-Box and server

Country Status (1)

Country Link
CN (1) CN112291749A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114389888A (en) * 2022-01-20 2022-04-22 高新兴物联科技有限公司 Vehicle-mounted equipment, network awakening method and device thereof, and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938532A (en) * 2010-09-17 2011-01-05 北京神州泰岳软件股份有限公司 UDP-based method and system for penetrating through NAT equipment
US20170366978A1 (en) * 2016-06-21 2017-12-21 Qualcomm Incorporated Network Path Probing Using Available Network Connections
CN110049107A (en) * 2019-03-22 2019-07-23 钛马信息网络技术有限公司 A kind of net connection vehicle awakening method, device, equipment and medium
CN111049651A (en) * 2019-12-30 2020-04-21 上海博泰悦臻网络技术服务有限公司 Vehicle-mounted intelligent computing device, cloud server and awakening method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938532A (en) * 2010-09-17 2011-01-05 北京神州泰岳软件股份有限公司 UDP-based method and system for penetrating through NAT equipment
US20170366978A1 (en) * 2016-06-21 2017-12-21 Qualcomm Incorporated Network Path Probing Using Available Network Connections
CN110049107A (en) * 2019-03-22 2019-07-23 钛马信息网络技术有限公司 A kind of net connection vehicle awakening method, device, equipment and medium
CN111049651A (en) * 2019-12-30 2020-04-21 上海博泰悦臻网络技术服务有限公司 Vehicle-mounted intelligent computing device, cloud server and awakening method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
商光山等: "面向P2P通信的UDP Hole Punching技术研究与实现", 《计算机与信息技术》 *
夏宝华等: "UDP穿透NAT技术实现数据唤醒车联网T-Box设备的方案", 《电子技术与软件工程》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114389888A (en) * 2022-01-20 2022-04-22 高新兴物联科技有限公司 Vehicle-mounted equipment, network awakening method and device thereof, and storage medium
CN114389888B (en) * 2022-01-20 2024-03-08 高新兴物联科技股份有限公司 Vehicle-mounted equipment, network awakening method and device thereof and storage medium

Similar Documents

Publication Publication Date Title
EP3726806B1 (en) Method for remotely controlling vehicle on the basis of smart apparatus
CN108833122B (en) Wake-up method and device for vehicle-mounted communication controller and storage medium
CN108476060B (en) Method for establishing classic Bluetooth connection between dual-mode Bluetooth devices and dual-mode Bluetooth device
US9602300B2 (en) Smart device-based home network system and control method therefor
US9049553B2 (en) Apparatus and method for determining a wireless device's location after shutdown
KR101646379B1 (en) Communication device of vehicle
US7822438B2 (en) Apparatus and method for responding to unlicensed network failure
CN111083765A (en) Method for managing intelligent equipment, intelligent router and intelligent home system
CN109005096B (en) Application interaction method and device
CN109040295B (en) Method and device for determining abnormal disconnection, terminal and storage medium
CN113490218A (en) Pairing method, pairing device, Bluetooth remote controller, intelligent device and storage medium
WO2023279896A1 (en) Message processing method, electronic device, and storage medium
CN108781358A (en) A kind of method and relevant device managing the signing information collection in eUICC
CN111669494A (en) Network camera control method and network camera
CN112291749A (en) Method and device for awakening T-Box, T-Box and server
CN111107093B (en) Application login method, device, terminal and storage medium
CN105549836A (en) Method for processing messages on screen-lock interface of mobile electronic terminal and mobile electronic terminal
US20150229513A1 (en) Systems and methods for efficient remote security panel configuration and management
CN113709702A (en) Cloud communication method and system
CN113342370A (en) Configuration updating method and device, electronic equipment and storage medium
US20200036794A1 (en) Remote control method and apparatus for smart device and readable storage medium
CN111866617A (en) Terminal remote control method, parent terminal, child terminal, server and system
KR100712144B1 (en) Apparatus and method for connection management of security system
EP4258620A1 (en) Invoking service method, device, and computer readable storage medium
KR20150054359A (en) Remote control method for vehicle using telematics and smart device

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20210129

WW01 Invention patent application withdrawn after publication