Unlock instant, AI-driven research and patent intelligence for your innovation.

A method for implementing synchronous communication between a user terminal and a vehicle terminal

A technology for user terminals and vehicle-mounted terminals, applied in the field of communications, can solve the problems that threads cannot be used by other programs, reduce server throughput, and reduce server throughput, so as to improve thread utilization and server throughput, improve user experience, The effect of shortening the processing time

Active Publication Date: 2022-01-14
北京首汽智行科技有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The existing technical solutions mainly block and wait for the thread requested by the user, and then wake up the thread to provide synchronous communication between the user and the vehicle when the message returned by the vehicle is received, but in order to ensure the throughput, this The solution needs to create a large number of threads, which leads to the following defects in the solution:
[0006] (1) Threads are a limited resource of the computer system. Blocked threads cannot be used by other programs, resulting in waste. Too many threads lead to frequent CPU core context switching, which reduces the efficiency of program processing business, thereby reducing the maximum throughput of the server. ;
[0007] (2) Although the stability of the server can be guaranteed by using a fixed thread pool, because the vehicle itself takes a long time to process instructions, the threads will be exhausted quickly and a large number of requests will be waiting, which greatly reduces the throughput of the server; The HTTP request has a timeout setting, and a long request response time is likely to produce wrong return results, which affects the user experience;
[0008] (3) In the microservice architecture, the blocking of waiting for the terminal response will also cause the blocking of the call chain, which will also cause the throughput of the server to drop. In addition, most microservice calls also have a timeout mechanism, which leads to an increase in the call failure rate, which in turn causes A vicious circle of unnecessary duplicate requests and increased server load

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method for implementing synchronous communication between a user terminal and a vehicle terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The present invention will be specifically introduced below in conjunction with the accompanying drawings and specific embodiments.

[0035] refer to figure 1 The method for implementing synchronous communication between a user terminal and a vehicle terminal provided in an embodiment of the present invention includes the following steps:

[0036] S101. The cloud server receives a user request instruction sent by a user terminal, and generates a service serial number according to a serial number generation algorithm.

[0037] Wherein, the user request instruction includes instructions for unlocking, closing, and honking the vehicle.

[0038] S102. The cloud server sends the user request instruction and the service serial number to the gateway.

[0039] S103. The gateway receives the user request instruction and the service serial number, returns a response result to the cloud server, and generates a terminal serial number according to a serial number generation algori...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The method for implementing synchronous communication between a user terminal and a vehicle-mounted terminal disclosed by the present invention relates to the field of communication technology. It eliminates blocking by setting inter-process serial numbers and callback function mechanisms, and ensures timely response by setting timeout and gateway response mechanisms, thereby improving thread utilization. and server throughput, which shortens the processing time of user request instructions and improves user experience.

Description

technical field [0001] The present invention relates to the technical field of communication, in particular to a method for realizing synchronous communication between a user terminal and a vehicle-mounted terminal. Background technique [0002] Car sharing enables cars to have a time-sharing rental function. Through Internet communication technology, users, vehicle operators and vehicles can automate and informatize car rental business through remote communication, and then carry out business efficiently, satisfying the needs of the majority of users for car rental. need. [0003] The vehicle communicates with the operator's cloud server through the vehicle-mounted terminal, which can realize remote vehicle control functions such as opening, locking, ignition, and flameout, and can conveniently and safely deliver the right to use the vehicle to the user. At the same time, the vehicle can also upload the vehicle status and alarm Information, surveillance video and other dat...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L67/025H04L67/10H04L67/12
CPCH04L67/025H04L67/10H04L67/12
Inventor 郭径遂
Owner 北京首汽智行科技有限公司