Remote control method, device and equipment for unmanned vehicle and storage medium
By establishing a data connection channel and determining the network delay status in the unmanned vehicle remote control system, the control strategy is dynamically adjusted to solve the control delay and security issues caused by network jitter, and improve the security and user experience of unmanned vehicle control.
Patent Information
- Application Number
- CN202410621055.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-17
- Publication Date
- 2024-08-23
AI Technical Summary
Existing autonomous vehicle remote control technology fails to effectively consider network conditions, resulting in control delays, command information congestion and security issues when the network jitters, affecting user experience and overall performance.
By establishing a data connection channel between the mobile terminal and the vehicle terminal, data packets are periodically sent to determine the network delay status, and the vehicle control strategy is determined based on the delay status to optimize the remote control of unmanned vehicles.
It improves the safety and user experience of unmanned vehicle control by dynamically adjusting the control strategy to cope with network delays, reducing the impact of jitter on command issuance, and disconnecting in the case of severe delays to prevent potential dangers.
Smart Images

Figure CN118540358A
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of remote control technology, and in particular to a remote control method, device, equipment and storage medium for an unmanned vehicle. Background Art
[0002] At present, most unmanned vehicles can be controlled by mobile terminals. The mobile terminals connect to the wireless network of the unmanned vehicle and send control instructions to the unmanned vehicle to control the unmanned vehicle. In the prior art, when controlling unmanned vehicles through mobile terminals, the impact of network conditions is usually not considered. When the network jitters, the user experience will be significantly reduced, resulting in control delays, command information congestion, security issues, and overall performance degradation. Summary of the invention
[0003] Embodiments of the present invention provide a remote control method, device, equipment and storage medium for an unmanned vehicle, which can improve the safety of controlling the unmanned vehicle.
[0004] In a first aspect, an embodiment of the present invention provides a remote control method for an unmanned vehicle, the method being executed by a mobile terminal and comprising:
[0005] Connecting to a wireless network of the vehicle end, and establishing a data connection channel with the vehicle end based on the wireless network;
[0006] Receiving data packets periodically sent by the vehicle end through the data connection channel;
[0007] Determining a network delay state of the wireless network based on time information when the data packet is received;
[0008] A vehicle control strategy is determined based on the network delay state to control the unmanned vehicle based on the vehicle control strategy.
[0009] In a second aspect, an embodiment of the present invention further provides a remote control method for an unmanned vehicle, the method being executed by a vehicle end, comprising:
[0010] Establishing a data connection channel with a mobile terminal based on a wireless network;
[0011] Periodically sending data packets to the mobile terminal through the data connection channel, so that the mobile terminal determines the network delay state of the wireless network according to the received data packets, and determines the vehicle control strategy based on the network delay state;
[0012] Receive a control instruction sent by the mobile terminal through the vehicle control strategy to control the unmanned vehicle according to the control instruction.
[0013] In a third aspect, an embodiment of the present invention further provides a remote control device for an unmanned vehicle, wherein the device is arranged in a mobile terminal and comprises:
[0014] A data connection channel establishing module, used to connect to the wireless network of the vehicle end and establish a data connection channel with the vehicle end based on the wireless network;
[0015] A data packet receiving module, used for receiving data packets periodically sent by the vehicle end through the data connection channel;
[0016] A network delay state determination module, configured to determine a network delay state of the wireless network based on time information when the data packet is received;
[0017] A vehicle control strategy determination module is used to determine a vehicle control strategy based on the network delay state, so as to control the unmanned vehicle based on the vehicle control strategy.
[0018] In a fourth aspect, an embodiment of the present invention further provides a remote control device for an unmanned vehicle, the device being arranged at a vehicle end, comprising:
[0019] A data connection channel establishing module, used to establish a data connection channel with a mobile terminal based on a wireless network;
[0020] a data packet sending module, configured to periodically send data packets to the mobile terminal through the data connection channel, so that the mobile terminal determines a network delay state of the wireless network according to the received data packets, and determines a vehicle control strategy based on the network delay state;
[0021] The unmanned vehicle control module is used to receive the control instructions sent by the mobile terminal through the vehicle control strategy to control the unmanned vehicle according to the control instructions.
[0022] In a fifth aspect, an embodiment of the present invention further provides an electronic device, the electronic device comprising:
[0023] at least one processor; and
[0024] a memory communicatively connected to the at least one processor; wherein,
[0025] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the remote control method of the unmanned vehicle described in an embodiment of the present invention.
[0026] In a sixth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the remote control method of the unmanned vehicle described in the embodiment of the present invention when executed.
[0027] In a seventh aspect, an embodiment of the present invention further provides a computer program product, including a computer program, which, when executed by a processor, implements the remote control method of the unmanned vehicle as described in the embodiment of the present invention.
[0028] The embodiments of the present invention disclose a remote control method, device, equipment and storage medium for an unmanned vehicle. Connect to a wireless network on the vehicle side, and establish a data connection channel with the vehicle side based on the wireless network; receive data packets periodically sent by the vehicle side through the data connection channel; determine the network delay state of the wireless network based on the time information when the data packet is received; determine the vehicle control strategy based on the network delay state, so as to control the unmanned vehicle based on the vehicle control strategy. The remote control method for an unmanned vehicle provided by the embodiments of the present invention determines the vehicle control strategy through the network delay state, so as to control the unmanned vehicle based on the determined vehicle control strategy, which can improve the safety of the control of the unmanned vehicle and improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 is a flow chart of a remote control method for an unmanned vehicle in Embodiment 1 of the present invention;
[0030] Figure 2 is a flow chart of a remote control method for an unmanned vehicle in Embodiment 2 of the present invention;
[0031] Figure 3 It is a structural schematic diagram of a remote control device for an unmanned vehicle in Embodiment 3 of the present invention;
[0032] Figure 4 It is a structural schematic diagram of a remote control device for an unmanned vehicle in a fourth embodiment of the present invention;
[0033] Figure 5 It is a structural schematic diagram of an electronic device in Embodiment 5 of the present invention. DETAILED DESCRIPTION
[0034] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0035] Embodiment 1
[0036] Figure 1This is a flowchart of a remote control method for an unmanned vehicle provided in Embodiment 1 of the present invention. This embodiment is applicable to the case of remotely controlling an unmanned vehicle. The method can be executed by a remote control device for the unmanned vehicle. The device can be implemented in the form of software and / or hardware. Optionally, it can be implemented by an electronic device. In this embodiment, the electronic device can be a mobile terminal. Specifically, the following steps are included:
[0037] S110, connecting to the wireless network of the vehicle end, and establishing a data connection channel with the vehicle end based on the wireless network.
[0038] Among them, the wireless network (such as WiFi) can be provided by a wireless network device (such as a router) set up on the vehicle side, and the mobile terminal communicates data with the vehicle side by connecting to the vehicle's wireless network. The data connection channel can be a data channel capable of two-way communication, such as a websocket data channel. In this embodiment, the process of establishing a data connection channel between the mobile terminal and the vehicle side can be: the mobile terminal sends a connection request for the data channel to the vehicle side, and the vehicle side responds to the connection request, thereby establishing a data connection channel between the mobile terminal and the vehicle.
[0039] S120, receiving data packets periodically sent by the vehicle end through the data connection channel.
[0040] The period for the vehicle end to send a data packet to the mobile terminal can be preset, which is not limited here, for example, it can be: 50ms. In this embodiment, after the vehicle end and the mobile terminal establish a data connection channel, the vehicle end periodically sends a data packet to the mobile terminal through the data connection channel. There is no limitation on the content of the data packet, for example, it can be a number randomly generated by the vehicle end.
[0041] S130, determining a network delay state of the wireless network based on time information when the data packet is received.
[0042] Among them, the time information when the data packet is received can be understood as the timestamp when the mobile terminal receives the data packet sent by the vehicle end.
[0043] Specifically, the method of determining the network delay status of the wireless network based on the time information when the data packet is received can be: obtaining the time information when two adjacent data packets are received; determining the receiving time difference based on the time information when the two adjacent data packets are received; and determining the network delay status of the wireless network based on the receiving time difference.
[0044] The process of determining the receiving time difference based on the time information when two adjacent data packets are received may be: obtaining the time information when the data packet is received first as the first time information, and then obtaining the time information when the data packet is received later as the second time information; subtracting the first time information from the second time information to obtain the receiving time difference. Exemplarily, assuming that the first time information is T1 and the second time information is T2, the receiving time difference is T2-T1.
[0045] Among them, the network delay status includes low delay, medium delay, high delay and severe delay. Different network delay statuses correspond to different receiving time differences. The smaller the receiving time difference, the smaller the network delay, which is more conducive to data transmission; the larger the receiving time difference, the larger the network delay, which is more unfavorable to data transmission.
[0046] Specifically, the method for determining the network delay status of the wireless network based on the receiving time difference can be: if the receiving time difference is less than the first set threshold, the network delay status of the wireless network is low delay; if the receiving time difference is greater than or equal to the first set threshold and less than the second set threshold, the network delay status of the wireless network is medium delay; if the receiving time difference is greater than or equal to the second set threshold and less than the third set threshold, the network delay status of the wireless network is high delay; if the receiving time difference is greater than or equal to the third set threshold, the network delay status of the wireless network is severe delay.
[0047] Among them, the first set threshold, the second set threshold and the third set threshold increase in sequence. And the first set threshold, the second set threshold and the third set threshold are pre-set according to the period of sending data packets by the vehicle end. For example, assuming that the period of sending data packets by the vehicle end is 50ms, the first set threshold can be set to 200ms, the second set threshold to 500ms, and the third set threshold to 3000ms.
[0048] S140, determining a vehicle control strategy based on the network delay state, so as to control the unmanned vehicle based on the vehicle control strategy.
[0049] Among them, the vehicle control strategy can be understood as the strategy of the mobile terminal sending control instructions to the vehicle end, which may include whether to send control instructions to the vehicle end, the cycle of sending control instructions, and whether to exit the control interface.
[0050] Specifically, the method for determining the vehicle control strategy based on the network delay status can be: if the network delay status is low delay, then send control instructions to the vehicle end according to the first set period; if the network delay status is medium delay, then send control instructions to the vehicle end according to the second set period; if the network delay status is high delay, then stop sending control instructions to the vehicle end, lock the vehicle control interface, and generate a prompt message of abnormal network status; if the network delay status is severe delay, disconnect the wireless network connection and data connection channel with the vehicle end, and exit the vehicle control interface.
[0051] The second set period is greater than the first set period. The first set period may be a pre-set period for the mobile terminal to send a control instruction when there is no network delay or a low delay. The second set period may be pre-set or obtained by increasing the first set period. The control instruction may be generated by the mobile terminal by detecting a user's control operation on the vehicle control interface.
[0052] In this embodiment, when the mobile terminal sends a control instruction to the vehicle end, the latest generated control instruction is sent to the vehicle end. That is, when the time to send the control instruction is reached, the old instruction that has not been sent is discarded and the latest instruction is sent.
[0053] In this embodiment, when the network delay state is medium delay, control instructions are sent to the vehicle end according to the second set period, and the instruction sending period is extended. The time interval for sending control instructions to the unmanned vehicle can be appropriately extended to reduce the impact of network jitter on the issuance of instructions.
[0054] Among them, locking the vehicle control interface can be understood as making the vehicle control interface not respond to the user's control operation, that is, no new control instructions are generated.
[0055] Specifically, the method of locking the vehicle control interface and generating the prompt information of the abnormal network status may be: generating a mask layer on the vehicle control interface to isolate the user control operation, and generating the prompt information of the abnormal network status in the mask layer.
[0056] The mask is used to isolate the user's control operation, that is, interrupt the user's control operation, and generate a prompt message of abnormal network status in the mask to prompt the user to wait for the network to return to normal.
[0057] Specifically, when the network delay status is severe, the mobile terminal disconnects from the wireless network on the vehicle side, disconnects the data connection channel, stops issuing control instructions, and clears all control instructions to be issued. The mobile terminal exits the vehicle control interface and prompts the user that the network connection is disconnected and needs to be reconnected.
[0058] Optionally, after stopping sending control instructions to the vehicle end, locking the vehicle control interface and prompting the user that the network status is abnormal, the following steps are also included: if a set number of consecutive reception time differences are less than or equal to a first set threshold, the vehicle control interface is unlocked and control instructions are sent to the vehicle end according to the first set period.
[0059] The set number may be preset, for example, 5. Unlocking the vehicle control interface may be understood as: the vehicle control interface continues to respond to the user's control operation.
[0060] Optionally, the vehicle control interface may be unlocked by removing the mask that isolates the user's control operations, so that the user can resume operations on the vehicle control interface and thus control the unmanned vehicle.
[0061] In this embodiment, when a set number of consecutive reception time differences are less than or equal to a first set threshold, it indicates that the network has recovered to low latency. At this time, the vehicle control interface is unlocked to generate control instructions in response to the control operation triggered by the user, and the control instructions are sent to the vehicle end according to the first set period.
[0062] The technical solution of this embodiment is to connect to the wireless network of the vehicle side, and establish a data connection channel with the vehicle side based on the wireless network; receive data packets periodically sent by the vehicle side through the data connection channel; determine the network delay state of the wireless network based on the time information when the data packet is received; determine the vehicle control strategy based on the network delay state, so as to control the unmanned vehicle based on the vehicle control strategy. The remote control method of the unmanned vehicle provided by the embodiment of the present invention determines the vehicle control strategy through the network delay state, and controls the unmanned vehicle based on the determined vehicle control strategy, which can improve the safety of the control of the unmanned vehicle and improve the user experience.
[0063] Embodiment 2
[0064] Figure 2 This is a flow chart of a remote control method for an unmanned vehicle provided in the second embodiment of the present invention. Based on the above embodiment, this embodiment can be applied to the case of remotely controlling an unmanned vehicle. The method can be executed by a remote control device for the unmanned vehicle, which can be implemented in the form of software and / or hardware. Optionally, it can be implemented by an electronic device, which can be a vehicle end. Specifically, it includes the following steps:
[0065] S210: Establish a data connection channel with the mobile terminal based on a wireless network.
[0066] Among them, the wireless network (such as WiFi) can be provided by a wireless network device (such as a router) set up on the vehicle side, and the mobile terminal communicates data with the vehicle side by connecting to the vehicle's wireless network. The data connection channel can be a data channel capable of two-way communication, such as a websocket data channel. In this embodiment, the process of establishing a data connection channel between the mobile terminal and the vehicle side can be: the mobile terminal sends a connection request for the data channel to the vehicle side, and the vehicle side responds to the connection request, thereby establishing a data connection channel between the mobile terminal and the vehicle.
[0067] S220, periodically sending data packets to the mobile terminal through the data connection channel, so that the mobile terminal determines the network delay state of the wireless network according to the received data packets, and determines the vehicle control strategy based on the network delay state.
[0068] Among them, the period for the vehicle end to send data packets to the mobile terminal can be preset, which is not limited here, for example, it can be: 50ms. In this embodiment, after the vehicle end and the mobile terminal establish a data connection channel, the vehicle end periodically sends data packets to the mobile terminal through the data connection channel. There is no limitation on the content in the data packet, for example, it can be a number randomly generated by the vehicle end. The mobile terminal determines the network delay state of the wireless network based on the received data packet, and the process of determining the vehicle control strategy based on the network delay state can be referred to the above embodiment, which will not be repeated here.
[0069] S230, receiving a control instruction sent by the mobile terminal through the vehicle control strategy to control the unmanned vehicle according to the control instruction.
[0070] In this embodiment, after receiving the control instruction sent by the mobile terminal through the vehicle control strategy, the vehicle executes the control instruction to control the unmanned vehicle. For example, the control instruction may be a deceleration instruction, an acceleration instruction, a turning instruction, etc.
[0071] Optionally, a method of receiving a control instruction sent by a mobile terminal through a vehicle control strategy and controlling the unmanned vehicle according to the control instruction may be: if the control instruction sent by the mobile terminal is not received within a set time period, the unmanned vehicle is controlled to brake.
[0072] The set time may be preset. If the vehicle does not receive the control command sent by the mobile terminal within the set time, it indicates that the current network delay state is high delay or severe delay. In order to prevent danger, the vehicle brakes to wait for the control command of the mobile terminal.
[0073] The technical solution of this embodiment is to establish a data connection channel with the mobile terminal based on the wireless network; periodically send data packets to the mobile terminal through the data connection channel, so that the mobile terminal determines the network delay state of the wireless network according to the received data packets, and determines the vehicle control strategy based on the network delay state; receive the control instructions sent by the mobile terminal through the vehicle control strategy, and control the unmanned vehicle according to the control instructions. It can improve the safety of the unmanned vehicle control and improve the user experience
[0074] Embodiment 3
[0075] Figure 3 is a schematic diagram of the structure of a remote control device for an unmanned vehicle provided in Embodiment 3 of the present invention. The device is arranged in a mobile terminal, such as Figure 3 As shown, the device comprises:
[0076] A data connection channel establishing module 310 is used to connect to the wireless network of the vehicle end and establish a data connection channel with the vehicle end based on the wireless network;
[0077] The data packet receiving module 320 is used to receive data packets periodically sent by the vehicle end through the data connection channel;
[0078] A network delay state determination module 330, configured to determine a network delay state of the wireless network based on time information when a data packet is received;
[0079] The vehicle control strategy determination module 340 is used to determine the vehicle control strategy based on the network delay state, so as to control the unmanned vehicle based on the vehicle control strategy.
[0080] Optionally, the network delay state determination module 330 is further configured to:
[0081] Get the time information when two adjacent data packets are received;
[0082] Determine a receiving time difference based on time information when two adjacent data packets are received;
[0083] A network delay status of the wireless network is determined based on the received time difference.
[0084] Optionally, the network delay state determination module 330 is further configured to:
[0085] If the reception time difference is less than the first set threshold, the network delay state of the wireless network is low delay;
[0086] If the reception time difference is greater than or equal to the first set threshold and less than the second set threshold, the network delay state of the wireless network is medium delay;
[0087] If the reception time difference is greater than or equal to the second set threshold and less than the third set threshold, the network delay state of the wireless network is high delay;
[0088] If the reception time difference is greater than or equal to the third setting threshold, the network delay state of the wireless network is severe delay; wherein the first setting threshold, the second setting threshold and the third setting threshold increase in sequence.
[0089] Optionally, the vehicle control strategy determination module 340 is further configured to:
[0090] If the network delay state is low delay, a control instruction is sent to the vehicle end according to the first set period;
[0091] If the network delay state is medium delay, a control instruction is sent to the vehicle end according to a second set period; wherein the second set period is greater than the first set period;
[0092] If the network delay status is high, stop sending control commands to the vehicle, lock the vehicle control interface, and generate a prompt message indicating abnormal network status;
[0093] If the network delay status is severe, disconnect the wireless network connection and data connection channel with the vehicle, and exit the vehicle control interface.
[0094] Optionally, the vehicle control strategy determination module 340 is further configured to:
[0095] A mask is generated on the vehicle control interface to isolate the user's control operation, and a prompt message of abnormal network status is generated in the mask.
[0096] Optionally, it also includes: a vehicle control interface unlocking module, which is used to:
[0097] If a set number of consecutive reception time differences are less than or equal to a first set threshold, the vehicle control interface is unlocked and a control instruction is sent to the vehicle end according to the first set period.
[0098] Embodiment 4
[0099] Figure 4 A remote control device for an unmanned vehicle is provided in the fourth embodiment of the present invention. The device is arranged at the vehicle end. Figure 4 As shown, the device comprises:
[0100] A data connection channel establishing module 410 is used to establish a data connection channel with a mobile terminal based on a wireless network;
[0101] The data packet sending module 420 is used to periodically send data packets to the mobile terminal through the data connection channel, so that the mobile terminal determines the network delay state of the wireless network according to the received data packets, so as to determine the vehicle control strategy based on the network delay state;
[0102] The unmanned vehicle control module 430 is used to receive control instructions sent by the mobile terminal through the vehicle control strategy to control the unmanned vehicle according to the control instructions.
[0103] Optionally, the unmanned vehicle control module 430 is further used for:
[0104] If the control command sent by the mobile terminal is not received within the set time, the unmanned vehicle will be controlled to brake.
[0105] The above device can execute the methods provided by all the above embodiments of the present invention, and has the corresponding functional modules and beneficial effects of executing the above methods. For technical details not described in detail in this embodiment, please refer to the methods provided by all the above embodiments of the present invention.
[0106] Embodiment 5
[0107] Figure 5 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0108] like Figure 5 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0109] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0110] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a remote control method for an unmanned vehicle.
[0111] In some embodiments, the remote control method of the unmanned vehicle may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the remote control method of the unmanned vehicle described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the remote control method of the unmanned vehicle in any other appropriate manner (e.g., by means of firmware).
[0112] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0113] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0114] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0115] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0116] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0117] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0118] An embodiment of the present invention also provides a computer program product, including a computer program, which, when executed by a processor, implements the remote control method of an unmanned vehicle provided in any embodiment of the present application.
[0119] In the process of implementation, the computer program product can be written in one or more programming languages or a combination thereof to perform the computer program code of the present invention, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).
[0120] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0121] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A remote control method for an unmanned vehicle, characterized in that: The method is executed by a mobile terminal, comprising: Connecting to a wireless network of the vehicle end, and establishing a data connection channel with the vehicle end based on the wireless network; Receiving data packets periodically sent by the vehicle end through the data connection channel; Determining a network delay state of the wireless network based on time information when the data packet is received; A vehicle control strategy is determined based on the network delay state to control the unmanned vehicle based on the vehicle control strategy.
2. The method according to claim 1, characterized in that Determining a network delay state of the wireless network based on time information when the data packet is received includes: Get the time information when two adjacent data packets are received; Determine a receiving time difference based on time information when two adjacent data packets are received; A network delay status of the wireless network is determined based on the received time difference.
3. The method according to claim 2, characterized in that Determining a network delay state of the wireless network based on the receiving time difference includes: If the receiving time difference is less than a first set threshold, the network delay state of the wireless network is low delay; If the reception time difference is greater than or equal to the first set threshold and less than the second set threshold, the network delay state of the wireless network is medium delay; If the reception time difference is greater than or equal to the second set threshold and less than the third set threshold, the network delay state of the wireless network is high delay; If the receiving time difference is greater than or equal to the third set threshold, the network delay state of the wireless network is severe delay; wherein the first set threshold, the second set threshold and the third set threshold increase in sequence.
4. The method according to claim 3, characterized in that Determining a vehicle control strategy based on the network delay state includes: If the network delay state is low delay, sending a control instruction to the vehicle end according to a first set period; If the network delay state is a medium delay, a control instruction is sent to the vehicle end according to a second set period; wherein the second set period is greater than the first set period; If the network delay status is high, stop sending control commands to the vehicle, lock the vehicle control interface, and generate a prompt message indicating abnormal network status; If the network delay status is severe delay, the wireless network connection and data connection channel with the vehicle end are disconnected, and the vehicle control interface is exited.
5. The method according to claim 4, characterized in that Lock the vehicle control interface and generate prompt information of abnormal network status, including: A mask is generated on the vehicle control interface to isolate user control operations, and prompt information of abnormal network status is generated in the mask.
6. The method according to claim 4, characterized in that After stopping sending control commands to the vehicle, locking the vehicle control interface, and prompting the user that the network status is abnormal, it also includes: If a set number of consecutive reception time differences are less than or equal to the first set threshold, the vehicle control interface is unlocked and a control instruction is sent to the vehicle end according to the first set period.
7. A remote control method for an unmanned vehicle, characterized in that: The method is executed by the vehicle end and includes: Establishing a data connection channel with a mobile terminal based on a wireless network; Periodically sending data packets to the mobile terminal through the data connection channel, so that the mobile terminal determines the network delay state of the wireless network according to the received data packets, and determines the vehicle control strategy based on the network delay state; Receive a control instruction sent by the mobile terminal through the vehicle control strategy to control the unmanned vehicle according to the control instruction.
8. The method according to claim 7, characterized in that Receiving a control instruction sent by the mobile terminal through the vehicle control strategy to control the unmanned vehicle according to the control instruction, including: If the control instruction sent by the mobile terminal is not received within the set time, the unmanned vehicle is controlled to brake.
9. A remote control device for an unmanned vehicle, characterized in that: The device is arranged in a mobile terminal and includes: A data connection channel establishing module, used to connect to the wireless network of the vehicle end and establish a data connection channel with the vehicle end based on the wireless network; A data packet receiving module, used for receiving data packets periodically sent by the vehicle end through the data connection channel; A network delay state determination module, configured to determine a network delay state of the wireless network based on time information when the data packet is received; A vehicle control strategy determination module is used to determine a vehicle control strategy based on the network delay state, so as to control the unmanned vehicle based on the vehicle control strategy.
10. A remote control device for an unmanned vehicle, characterized in that: The device is arranged at the vehicle end and comprises: A data connection channel establishing module, used to establish a data connection channel with a mobile terminal based on a wireless network; a data packet sending module, configured to periodically send data packets to the mobile terminal through the data connection channel, so that the mobile terminal determines a network delay state of the wireless network according to the received data packets, and determines a vehicle control strategy based on the network delay state; The unmanned vehicle control module is used to receive the control instructions sent by the mobile terminal through the vehicle control strategy to control the unmanned vehicle according to the control instructions.
11. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the remote control method of the unmanned vehicle according to any one of claims 1-8.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the remote control method of an unmanned vehicle according to any one of claims 1 to 8 when executed.
