CN111131349A - Method and device for providing private network service for client - Google Patents

Method and device for providing private network service for client Download PDF

Info

Publication number
CN111131349A
CN111131349A CN201811283842.7A CN201811283842A CN111131349A CN 111131349 A CN111131349 A CN 111131349A CN 201811283842 A CN201811283842 A CN 201811283842A CN 111131349 A CN111131349 A CN 111131349A
Authority
CN
China
Prior art keywords
party client
client
party
feedback signaling
socket connection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811283842.7A
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.)
TD Tech Chengdu Co Ltd
Chengdu TD Tech Ltd
Original Assignee
Chengdu TD Tech 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 Chengdu TD Tech Ltd filed Critical Chengdu TD Tech Ltd
Priority to CN201811283842.7A priority Critical patent/CN111131349A/en
Publication of CN111131349A publication Critical patent/CN111131349A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/133Protocols for remote procedure calls [RPC]
    • 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/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a method and a device for providing private network service for a client, wherein the method comprises the following steps: the vehicle-mounted terminal serves as a Socket server and is in Socket connection with a third-party client serving as a Socket client; and when a direct mode DMO talkback request initiated by the third-party client through the established Socket connection is received, data analysis is carried out, an Application Program Interface (API) is called to carry out direct service, and a feedback signaling is sent to the third-party client according to a processing result, so that the third-party client carries out User Interface (UI) display according to information carried by the feedback signaling. The method can improve the efficiency of providing the private network business service for the third-party client and reduce the resource consumption.

Description

Method and device for providing private network service for client
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for providing a private network service to a client.
Background
The vehicle-mounted terminal is front-end equipment of the vehicle monitoring and management system. With the wide application of the LTE private network frequency band in the fields of public safety, military, transportation, energy, and the like, secondary development on a vehicle-mounted terminal is expected.
At present, the secondary development of the vehicle-mounted terminal is to access some original basic functions of software according to a public Application Program Interface (API) provided in the SDK, and expand the basic functions according to the basic function combination to form more professional or new functions to meet special requirements of users. Both of these forms require the integration of the original software in its own software.
Still another secondary development is based on the EM350 chip, and the customer needs to complete the development of the whole hardware and AP software functions based on the card.
The scheme has the following advantages:
the customizability is strong: the client can develop specific software and hardware application development based on the application requirements of the client industry;
the expandability is strong: the client may reserve various types of interface applications for long-term development.
However, this solution also has the following major disadvantages:
high development cost and long cycle: the development cost of the complete machine with complete software and hardware is high, and the large-scale investment of hardware, the complete machine, the structure and software personnel in various fields needs to be finished. The project cost is high and the risk is large;
the key technical difficulties are many: the radio frequency performance of the whole machine, the audio performance improvement (cluster function), the power consumption optimization (handheld terminal), the video playing and transmission performance and the like are difficult.
Disclosure of Invention
In view of this, the present application provides a method and an apparatus for providing a private network service for a client, which can improve the efficiency of providing a private network service for a third-party client and reduce resource consumption.
In order to solve the technical problem, the technical scheme of the application is realized as follows:
a method of providing private network services to a client, the method comprising:
the vehicle-mounted terminal is used as a Socket server and is in Socket connection with a third-party client which is used as a Socket client;
and when a DMO (digital Mobile O) talkback request initiated by the third-party client through the established Socket connection is received, data analysis is carried out, an API (application program interface) is called to carry out a direct service, and a feedback signaling is sent to the third-party client according to a processing result, so that the third-party client carries out UI (user interface) display according to information carried by the feedback signaling.
A device for providing private network service for a client is applied to a vehicle-mounted terminal, and comprises: the system comprises a building unit, a receiving unit, a processing unit and a sending unit;
the establishing unit is used for performing Socket connection with a third-party client as a Socket client when the vehicle-mounted terminal where the establishing unit is located serves as a Socket server;
the receiving unit is used for receiving a request sent by a third-party client through Socket connection;
the processing unit is used for analyzing data and calling an API (application program interface) to perform a direct connection service when the receiving unit receives a DMO (digital mobile object) talkback request initiated by a third-party client through the established Socket connection;
and the sending unit is used for sending a feedback signaling to the third-party client according to the processing result of the processing unit, so that the third-party client performs UI display according to the information carried by the feedback signaling.
According to the technical scheme, the vehicle-mounted terminal serves as a Socket server side, the third-party client serves as a Socket client, and communication is carried out with the third-party client through Socket connection. The scheme can improve the efficiency of providing the private network business service for the third-party client and reduce the resource consumption.
Drawings
Fig. 1 is a schematic flowchart illustrating a process of providing a private network service for a client according to an embodiment of the present application;
fig. 2 is a schematic flow chart illustrating a second embodiment of the present invention for providing a private network service to a client;
fig. 3 is a schematic flow chart illustrating a third embodiment of the present invention for providing a private network service to a client;
fig. 4 is a schematic structural diagram of the device applied to the embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clearly apparent, the technical solutions of the present invention are described in detail below with reference to the accompanying drawings and examples.
The embodiment of the application provides a method for providing private network service for a client, wherein a vehicle-mounted terminal is used as a Socket server, a third-party client is used as a Socket client, and the third-party client is communicated with the third-party client through Socket connection. The scheme can improve the efficiency of providing the private network business service for the third-party client and reduce the resource consumption.
In the embodiment of the application, the vehicle-mounted terminal serves as a Socket server, the third-party client serves as a Socket client, and the vehicle-mounted terminal and the third-party client are communicated by establishing Socket connection and on the basis of completion of Socket connection establishment.
In the embodiment of the application, the Socket connection process is not particularly limited, and the Socket connection can be established.
In the embodiment of the present application, when Socket connection is established, connection may be performed by using a Transmission Control Protocol (TCP) protocol. Namely, when the vehicle-mounted terminal is in Socket connection with a third party, the vehicle-mounted terminal is connected by using a TCP protocol.
The module for realizing the functions can be regarded as a system service, can be automatically restarted after being recovered by the system, and can also be ensured to be restarted when an exception occurs.
The service provided for the third-party client in the embodiment of the application comprises the following steps: specific data services, and the playing and recording of audio.
Referring to table 1, table 1 shows the definition content of the DCI pin corresponding to the DVI port of the in-vehicle terminal.
Figure BDA0001848603150000041
TABLE 1
In the embodiment of the application, a DVI-I pin corresponding to an audio port in a table 1 is used for providing audio recording and playing services for a third-party client;
and a DVI-I pin corresponding to the network port in the table 1 is used for providing business service for the third-party client. The process of providing private network services for third party clients is described in detail below.
Example one
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a process of providing a private network service for a client according to a first embodiment of the present application. The method comprises the following specific steps:
step 101, when receiving a Direct Mode (DMO) talkback request initiated by a third-party client through an established Socket connection, a vehicle-mounted terminal performs data analysis and calls an Application Program Interface (API) to perform direct service.
And step 102, the vehicle-mounted terminal sends a feedback signaling to the third-party client according to the processing result, so that the third-party client performs User Interface (UI) display according to the information carried by the feedback signaling.
The processing result in this step is the result of calling the API to perform the pass-through service.
In this embodiment, AIDL and Listener are used for bidirectional interaction, and Socket is used to connect a direct service, i.e., a point call service, between the in-vehicle terminal and the third-party terminal in series.
Example two
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a process of providing a private network service for a client according to a second embodiment of the present application. The method comprises the following specific steps:
step 201, when the vehicle-mounted terminal receives a request of the cluster service initiated by the third-party client through the established Socket connection, the vehicle-mounted terminal performs data analysis and calls an API (application programming interface) to perform the cluster service.
Step 202, the vehicle-mounted terminal sends a feedback signaling to the third-party client according to the processing result, so that the third-party client performs UI display according to the information carried by the feedback signaling.
The processing result in this step is the result of calling the API to perform the cluster service.
In this embodiment, AIDL and Listener are used for bidirectional interaction, and Socket is used to connect the cluster service of the in-vehicle terminal and the third-party terminal in series, that is, the group call service.
EXAMPLE III
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating a process of providing a private network service for a client according to a third embodiment of the present application. The method comprises the following specific steps:
step 301, when receiving a request of a short message service initiated by a third-party client through an established Socket connection, the vehicle-mounted terminal performs data analysis and calls an API to perform the short message service.
And step 302, the vehicle-mounted terminal sends a feedback signaling to the third-party client according to the processing result, so that the third-party client performs UI display according to the information carried by the feedback signaling.
The processing result in this step is the result of calling the API to perform the short message service.
In this embodiment, AIDL and Listener are used for bidirectional interaction, and short message services of the vehicle-mounted terminal and the third-party terminal are connected in series through Socket.
And when the third-party client receives the feedback of the vehicle-mounted terminal, UI display is carried out on the feedback information according to the locally configured display strategy, which is not limited in the embodiment of the application.
Example four
The vehicle-mounted terminal is connected with the third-party terminal through the audio interface and plays and records audio for the third-party client.
Based on the same inventive concept, the embodiment of the application also provides a device for providing the private network service for the client, which is applied to the vehicle-mounted terminal. Referring to fig. 4, fig. 4 is a schematic structural diagram of the device applied to the embodiment of the present application. The device includes: a building unit 401, a receiving unit 402, a processing unit 403 and a sending unit 404;
the establishing unit 401 is used for performing Socket connection with a third-party client as a Socket client when the vehicle-mounted terminal where the establishing unit is located serves as a Socket server;
a receiving unit 402, configured to receive, through Socket connection, a request sent by a third-party client;
a processing unit 403, configured to, when the receiving unit 402 receives a DMO talkback request initiated by a third-party client through an established Socket connection, perform data analysis and call an API to perform a pass-through service;
a sending unit 404, configured to send a feedback signaling to the third-party client according to the processing result of the processing unit 403, so that the third-party client performs UI display according to information carried in the feedback signaling.
Preferably, the first and second liquid crystal films are made of a polymer,
the processing unit 403 is further configured to, when the receiving unit 402 receives a request of a cluster service initiated by the third-party client through the established Socket connection, perform data analysis and call an API to perform the cluster service, and trigger the sending unit 404 to send a feedback signaling to the third-party client according to a processing result, so that the third-party client performs UI display according to information carried by the feedback signaling.
Preferably, the first and second liquid crystal films are made of a polymer,
the processing unit 403 is further configured to, when the processing unit 403 receives a request of a short message service initiated by the third-party client through the established Socket connection, perform data analysis and call an API to perform the short message service, and trigger the sending unit 404 to send a feedback signaling to the third-party client according to a processing result, so that the third-party client performs UI display according to information carried by the feedback signaling.
Preferably, the first and second liquid crystal films are made of a polymer,
the establishing unit 401 is specifically configured to perform a Socket connection with a third party by using a TCP protocol.
Preferably, the first and second liquid crystal films are made of a polymer,
the establishing unit 401 is further configured to connect with a third party terminal through an audio interface, and play and record audio for a third party client
The units of the above embodiments may be integrated into one body, or may be separately deployed; may be combined into one unit or further divided into a plurality of sub-units.
In summary, the vehicle-mounted terminal serves as a Socket server, the third-party client serves as a Socket client, and communication is performed with the third-party client through Socket connection. The scheme can improve the efficiency of providing the private network service for the third-party client.
In the embodiment of the application, the audio playing and recording service is provided for the third-party client through the audio interface.
Through the method and the device, the third-party client only needs to send the specified data to inform the vehicle-mounted terminal to initiate a certain service, the vehicle-mounted terminal carries out service interaction in the LTE private network, the result is informed to the client, and the client analyzes the received specific data and displays the customized UI.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method for providing private network services to a client, the method comprising:
the vehicle-mounted terminal serves as a Socket server and is in Socket connection with a third-party client serving as a Socket client;
and when a direct mode DMO talkback request initiated by the third-party client through the established Socket connection is received, data analysis is carried out, an Application Program Interface (API) is called to carry out direct service, and a feedback signaling is sent to the third-party client according to a processing result, so that the third-party client carries out User Interface (UI) display according to information carried by the feedback signaling.
2. The method of claim 1, further comprising:
and when a request of the cluster service initiated by the third-party client through the established Socket connection is received, analyzing the data and calling the API to perform the cluster service, and sending a feedback signaling to the third-party client according to a processing result, so that the third-party client performs UI display according to information carried by the feedback signaling.
3. The method of claim 1, further comprising:
and when a request of the short message service initiated by the third-party client through the established Socket connection is received, analyzing the data and calling the API to perform the short message service, and sending a feedback signaling to the third-party client according to a processing result, so that the third-party client performs UI display according to the information carried by the feedback signaling.
4. The method of claim 1,
and when Socket connection is carried out with a third party, a Transmission Control Protocol (TCP) protocol is used for connection.
5. The method according to any one of claims 1-4, wherein the method further comprises:
and the audio interface is connected with a third-party terminal to play and record audio for a third-party client.
6. A device for providing private network service for a client is applied to a vehicle-mounted terminal, and is characterized by comprising: the system comprises a building unit, a receiving unit, a processing unit and a sending unit;
the establishing unit is used for performing Socket connection with a third-party client as a Socket client when the vehicle-mounted terminal where the establishing unit is located serves as a Socket server;
the receiving unit is used for receiving a request sent by a third-party client through Socket connection;
the processing unit is used for carrying out data analysis and calling an Application Program Interface (API) to carry out direct connection service when the receiving unit receives a direct connection mode DMO main talk request initiated by a third-party client through the established Socket connection;
and the sending unit is used for sending a feedback signaling to the third-party client according to the processing result of the processing unit, so that the third-party client performs UI display according to the information carried by the feedback signaling.
7. The apparatus of claim 6,
and the processing unit is further used for performing data analysis and calling API (application programming interface) to perform cluster service when the receiving unit receives a request of the cluster service initiated by the third-party client through the established Socket connection, and triggering the sending unit to send a feedback signaling to the third-party client according to a processing result, so that the third-party client performs UI (user interface) display according to information carried by the feedback signaling.
8. The apparatus of claim 6,
and the processing unit is further used for carrying out data analysis and calling API (application programming interface) to carry out short message service when the processing unit receives a request of the short message service initiated by the third-party client through the established Socket connection, and triggering the sending unit to send a feedback signaling to the third-party client according to a processing result, so that the third-party client carries out UI (user interface) display according to information carried by the feedback signaling.
9. The apparatus of claim 6,
the establishing unit is specifically configured to use a Transmission Control Protocol (TCP) protocol for connection when performing Socket connection with a third party.
10. The apparatus according to any one of claims 6 to 9,
the establishing unit is further used for being connected with a third party terminal through an audio interface and playing and recording audio for a third party client.
CN201811283842.7A 2018-10-31 2018-10-31 Method and device for providing private network service for client Pending CN111131349A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811283842.7A CN111131349A (en) 2018-10-31 2018-10-31 Method and device for providing private network service for client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811283842.7A CN111131349A (en) 2018-10-31 2018-10-31 Method and device for providing private network service for client

Publications (1)

Publication Number Publication Date
CN111131349A true CN111131349A (en) 2020-05-08

Family

ID=70485188

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811283842.7A Pending CN111131349A (en) 2018-10-31 2018-10-31 Method and device for providing private network service for client

Country Status (1)

Country Link
CN (1) CN111131349A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100321871A1 (en) * 2008-11-17 2010-12-23 Incase Designs Corp. Portable electronic device case with battery
CN102331261A (en) * 2011-07-15 2012-01-25 深圳市路畅科技有限公司 Method for setting destination on vehicle-mounted navigator
CN103595973A (en) * 2013-11-28 2014-02-19 惠州华阳通用电子有限公司 Real-time vehicle audio/video monitoring system and method
CN104269002A (en) * 2014-09-16 2015-01-07 江森 Safety order grabbing method and device for network taxi calling

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100321871A1 (en) * 2008-11-17 2010-12-23 Incase Designs Corp. Portable electronic device case with battery
CN102331261A (en) * 2011-07-15 2012-01-25 深圳市路畅科技有限公司 Method for setting destination on vehicle-mounted navigator
CN103595973A (en) * 2013-11-28 2014-02-19 惠州华阳通用电子有限公司 Real-time vehicle audio/video monitoring system and method
CN104269002A (en) * 2014-09-16 2015-01-07 江森 Safety order grabbing method and device for network taxi calling

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
刘爽等: "基于C/S结构的车辆监控系统设计与实现", 《计算机工程与设计》 *
王琦等: "地铁列车无线调度通信系统的仿真", 《铁路计算机应用》 *
赵太飞: "高速公路车辆智能安全预警系统", 《计算机系统应用》 *

Similar Documents

Publication Publication Date Title
CN102170679B (en) Multimachine Bluetooth group communication method based on Android system
US20080014938A1 (en) System and method for suspending a wireless call while performing another wireless communications session
CN105681568A (en) Mobile terminal and communication method thereof
CN103457642A (en) Method and device for obtaining information of intelligent terminal telephone book
US20210377898A1 (en) Terminal device locating method, terminal device, system and server
EP2851795A1 (en) Device and method of driving multi-pdp data communication for mobile broadband device
CN112398626A (en) Information transmission method, communication device and system
CN104469664A (en) Bluetooth device information processing method and device
CN103037371A (en) Method and system of mobile terminal communication management
CN106470199A (en) The processing method of speech data, device and intercom system
CN111131349A (en) Method and device for providing private network service for client
CN103945338A (en) Single call service establishing method
CN103888923A (en) Call proceeding method, system and device applied to virtual private mobile network
CN114025412B (en) Service access method, system, device and storage medium
CN102801877B (en) Interactive voice response (IVR)-free virtual switchboard service method and system
CN113301113B (en) Profile version determination method, system, electronic equipment and computer storage medium
CN111934741A (en) Communication monitoring system and method of back splint type satellite terminal in big data mode
CN109600237B (en) Multicast data processing method and device
CN107888482B (en) Instant messaging method and device
CN102404693A (en) Digital clustering system and using method thereof
CN107548025B (en) Position information sharing method and core network
CN107548016B (en) Management method, device and system of Bluetooth connection resources
EP3007472B1 (en) Service scheduling method, system, terminal and storage medium based on clustering system
CN116709582B (en) Method for assisting conversation and electronic equipment
WO2023045956A1 (en) Result transmission method and apparatus, communication device, and storage medium

Legal Events

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

Application publication date: 20200508

RJ01 Rejection of invention patent application after publication