CN111565150A - Data transmission system and method - Google Patents
Data transmission system and method Download PDFInfo
- Publication number
- CN111565150A CN111565150A CN202010342301.8A CN202010342301A CN111565150A CN 111565150 A CN111565150 A CN 111565150A CN 202010342301 A CN202010342301 A CN 202010342301A CN 111565150 A CN111565150 A CN 111565150A
- Authority
- CN
- China
- Prior art keywords
- data
- input
- module
- routing
- client
- 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.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/302—Route determination based on requested QoS
- H04L45/306—Route determination based on the nature of the carried application
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/04—Protocols for data compression, e.g. ROHC
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a data transmission system and a method, wherein the data transmission system comprises a client and a routing end, the client is electrically connected with an input device and receives an input event from the input device, and the input device comprises a communication module which is in communication connection with the client and the routing end; the client comprises: a processing module; the first control module is used for interacting data with the routing terminal; a first driving module; the routing end comprises: the second control module is used for interacting control information with the first driving module; the second driving module is in communication connection with the input equipment and receives input events; the communication protocol stack is in communication connection with an external server to initiate data connection; when the input equipment generates an input event, sending input data to the client and the routing end, processing the input data by the client to form final data, sending the final data to the routing end, and forwarding the final data to an external server; the routing terminal forwards the input data to an external server. Therefore, the response of data reporting to the intelligent terminal is shortened, and the user experience is improved.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a data transmission system and method.
Background
With the popularization of the intelligent terminal, a user uses the intelligent terminal in many scenes, for example, uses the intelligent terminal to play a game application and the like. Especially, in order to increase game experience, besides the original intelligent terminal, many users also use external instruction input devices such as a handle, a writing pen, a digitizer, a touch pad and the like in a matched manner. After the data generated by the input equipment is sent to the intelligent terminal, the intelligent terminal needs to be processed through a plurality of links and then is forwarded to the routing equipment for final uploading processing, and therefore delay generated by the whole processing is large, and input instructions can generate a delay effect on the intelligent terminal. The method is not friendly to the application with high operation requirements of users, such as games, cloud games and the like, and the real-time property can greatly influence the performance.
Therefore, a new data transmission system and method are needed to shorten the time for uploading data to the server.
Disclosure of Invention
In order to overcome the technical defects, the invention aims to provide a data transmission system and a data transmission method, which can shorten the response of data to be reported to an intelligent terminal and improve the user experience.
The invention discloses a data transmission system, which comprises a client end and a routing end which are in communication connection, wherein the client end is electrically connected with an input device to receive input events from the input device,
the input device comprises a communication module which is respectively in communication connection with the client and the routing terminal;
the client comprises:
a processing module receiving an input event;
the first control module is in communication connection with the routing end to exchange data;
the first driving module is in communication connection with the routing end;
the routing end comprises:
the second control module is in communication connection with the first driving module and used for exchanging control information;
the second driving module is in communication connection with the communication module of the input device and receives input events;
the communication protocol stack is in communication connection with the second driving module and initiates data connection with an external server;
when the input device generates an input event, the input device respectively sends input data to the client and the routing end, the client processes the input data to form final data and then sends the final data to the routing end, and the routing end forwards the final data to an external server; the routing terminal forwards the input data to an external server.
Preferably, the routing terminal includes an operation module, the operation module is in communication connection with the communication module, and receives the input data and then compresses the input data to form compressed data.
Preferably, the interaction control information includes: activating the time reported by the data of the routing terminal, the address of an external server, a mechanism for encrypting or compressing input data, gesture recognition of input time and a screen interface.
Preferably, the operation module controls the second driving module to be activated or not;
the external server processes the final data and the input data simultaneously.
The invention also discloses a data transmission method, which comprises the following steps:
the input equipment generates an input event and sends input data corresponding to the input event to a client and a routing end which are in communication connection with the input equipment;
a first driving module of the client is in communication connection with the routing end to exchange data, processes input data to form final data and then sends the final data to the routing end;
a first control module of the client is in communication connection with a second control module of the routing end so as to exchange control information;
and the second driving module of the routing end is in communication connection with the communication module of the input equipment, receives the input data, and forwards the input data and the final data to an external server.
Preferably, the interaction control information includes: activating the time reported by the data of the routing terminal, the address of an external server, a mechanism for encrypting or compressing input data, gesture recognition of input time and a screen interface.
Preferably, the method further comprises the following steps:
and the operation module of the routing end is in communication connection with the communication module of the input equipment, and the input data is compressed to form compressed data after being received.
After the technical scheme is adopted, compared with the prior art, the method has the following beneficial effects:
1. by changing the reporting path of the data, the input event is directly connected to the routing end, so that the time consumption of data transmission is reduced;
2. after the computing resources of the cloud server process the input data of the input event, the response of reporting to the intelligent terminal is shortened, and the user experience is improved.
Drawings
FIG. 1 is a schematic diagram of a data transmission system according to a preferred embodiment of the present invention;
fig. 2 is a flow chart illustrating a data transmission method according to a preferred embodiment of the invention.
Detailed Description
The advantages of the invention are further illustrated in the following description of specific embodiments in conjunction with the accompanying drawings.
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
In the description of the present invention, it is to be understood that the terms "longitudinal", "lateral", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like, indicate orientations or positional relationships based on those shown in the drawings, and are used merely for convenience of description and for simplicity of description, and do not indicate or imply that the referenced devices or elements must have a particular orientation, be constructed in a particular orientation, and be operated, and thus, are not to be construed as limiting the present invention.
In the description of the present invention, unless otherwise specified and limited, it is to be noted that the terms "mounted," "connected," and "connected" are to be interpreted broadly, and may be, for example, a mechanical connection or an electrical connection, a communication between two elements, a direct connection, or an indirect connection via an intermediate medium, and specific meanings of the terms may be understood by those skilled in the art according to specific situations.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
Referring to fig. 1, a schematic structural diagram of a data transmission system according to a preferred embodiment of the present invention is shown, where the data transmission system includes a client, a routing end, and an input device, the client is electrically connected to the input device, such as a direct connection, a bluetooth connection, an infrared connection, and the like, the input device is operated by a user, such as pressing, touching, sliding the input device, and the like, an input operation is formed at the input device, and the input operation corresponds to an input event and is sent to the client. In order to realize faster response to the input event, the input device comprises a communication module which is in communication connection with the client and the routing terminal and can distribute the input event to the client and the routing terminal, namely, the input event is accessed to the client and simultaneously sent to the routing terminal.
For processing the input event, the client can comprise a processing module which identifies and processes the input event after receiving the input event. For example, the processing module may include an input hub, a framework layer, and an application layer, and a TCP/IP module to process the post-initiation data connection. In addition, the client also comprises a first driving module and a first control module, wherein the first control module is in communication connection with the routing end, and data interaction is carried out after a communication link between the routing end and the client is established; the first driving module is a module additionally arranged in the client and is in communication connection with the routing end, and for example, the first driving module can be a third driving module in the routing end; and on the route end side, the router comprises a second control module, a second driving module and a communication protocol stack. The second control module is in communication connection with the first control module, and interacts control information, wherein the control information can be time for activating data reporting of a routing terminal, an address of an external server (a server corresponding to the reporting can be selected), a mechanism for encrypting or compressing input data, gesture recognition of input time, a screen interface and the like. The second driver module is communicatively coupled to the communication module of the input device and also receives input events from the input device. When the input device generates an input event, the input device sends input data to the client and the routing terminal respectively, so that the input data is sent to the client for processing and is also directly sent to the routing terminal for processing by the routing terminal. The client processes the input data to form final data and sends the final data and the input data to the routing end, the routing end simultaneously receives the final data and the input data and sends the two types of data to an external server (synchronous or asynchronous), the server can simultaneously process the final data and the input data according to the real-time performance, and further processing of the input data by a user in the client is obtained through difference analysis between the two types of data. That is, if the input data is first sent to the external server, the external server may make a basic reply according to the input data and feed the basic reply back to the client, so as to reflect the initial interaction of the input data. After the final data is transmitted to the external server, the server can obtain the user expectation of the client according to the specific information of the final data, and make a high-order reply to the input data, such as a more detailed control.
In a preferred embodiment, the routing end comprises an operation module, the operation module is in communication connection with the communication module, and after receiving input data, the operation module can perform some data compression processing on the input data to reduce the data volume sent to the external server. The data transmission speed is further increased by the compressed data formed by the preprocessing.
Furthermore, the operation module can control whether the second driving module is activated or not, for example, in some scenes with low real-time requirement, the operation module can be controlled to close the second driving module, and the final data reported from the client to the external server is closed independently, so that the energy consumption of the routing terminal is saved.
Through the change of the configuration to the reporting path, the input event is directly connected to the routing end, data are directly forwarded to the cloud end based on the connection established by the routing end and the server, data processing is carried out through the powerful computing resources of the cloud end, the response of data reporting to a user is shortened, and the user experience is improved.
Referring to fig. 2, a flow chart of a data transmission method according to a preferred embodiment of the invention is shown, which includes the following steps:
s100: the input equipment generates an input event and sends input data corresponding to the input event to a client and a routing end which are in communication connection with the input equipment;
s200: a first driving module of the client is in communication connection with the routing end to exchange data, processes input data to form final data and then sends the final data to the routing end;
s300: a first control module of the client is in communication connection with a second control module of the routing end so as to exchange control information;
s400: and the second driving module of the routing end is in communication connection with the communication module of the input equipment, receives the input data, and forwards the input data and the final data to an external server.
Preferably, the interaction control information includes: activating the time reported by the data of the routing terminal, the address of an external server, a mechanism for encrypting or compressing input data, gesture recognition of input time and a screen interface.
Preferably, the method further comprises the following steps:
s500: and the operation module of the routing end is in communication connection with the communication module of the input equipment, and the input data is compressed to form compressed data after being received.
The client may be implemented in various forms. For example, the terminal described in the present invention may include a client such as a mobile phone, a smart phone, a notebook computer, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, etc., and a fixed terminal such as a digital TV, a desktop computer, etc. In the following, it is assumed that the terminal is a client. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
It should be noted that the embodiments of the present invention have been described in terms of preferred embodiments, and not by way of limitation, and that those skilled in the art can make modifications and variations of the embodiments described above without departing from the spirit of the invention.
Claims (7)
1. A data transmission system comprises a client end and a routing end which are in communication connection, wherein the client end is electrically connected with an input device to receive input events from the input device,
the input device comprises a communication module which is in communication connection with the client and the routing terminal respectively;
the client comprises:
a processing module that receives the input event;
the first control module is in communication connection with the routing end to exchange data;
the first driving module is in communication connection with the routing end;
the routing end comprises:
the second control module is in communication connection with the first control module and used for exchanging control information;
the second driving module is in communication connection with the communication module of the input device and receives the input event;
the communication protocol stack is in communication connection with the second driving module and initiates data connection with an external server;
when the input device generates the input event, the input device respectively sends input data to the client and the routing end, the client processes the input data to form final data and then sends the final data to the routing end, and the routing end forwards the final data to an external server; the routing terminal forwards the input data to the external server.
2. The data transmission system of claim 1,
the routing end comprises an operation module which is in communication connection with the communication module and compresses the input data to form compressed data after receiving the input data.
3. The data transmission system of claim 1,
the interaction control information includes: activating the time reported by the data of the routing terminal, the address of an external server, a mechanism for encrypting or compressing input data, gesture recognition of input time and a screen interface.
4. The data transmission system of claim 2,
the operation module controls whether the second driving module is activated or not;
the external server processes the final data and the input data simultaneously.
5. A data transmission method, comprising the steps of:
the input equipment generates the input event and sends input data corresponding to the input event to a client and a routing end which are in communication connection with the input equipment;
a first driving module of the client is in communication connection with the routing end to exchange data, processes input data to form final data and then sends the final data to the routing end;
a first control module of the client is in communication connection with a second control module of the routing end so as to exchange control information;
and the second driving module of the routing end is in communication connection with the communication module of the input equipment, receives the input data, and forwards the input data and the final data to an external server.
6. The data transmission method of claim 5,
the interaction control information includes: activating the time reported by the data of the routing terminal, the address of an external server, a mechanism for encrypting or compressing input data, gesture recognition of input time and a screen interface.
7. The data transmission method of claim 5, further comprising the steps of:
and the operation module of the routing end is in communication connection with the communication module of the input equipment, and the input data is compressed to form compressed data after being received.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010342301.8A CN111565150B (en) | 2020-04-27 | 2020-04-27 | Data transmission system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010342301.8A CN111565150B (en) | 2020-04-27 | 2020-04-27 | Data transmission system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111565150A true CN111565150A (en) | 2020-08-21 |
CN111565150B CN111565150B (en) | 2022-03-22 |
Family
ID=72074341
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010342301.8A Active CN111565150B (en) | 2020-04-27 | 2020-04-27 | Data transmission system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111565150B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110307546A1 (en) * | 2008-12-22 | 2011-12-15 | Massimo Iovene | Method and Device for Handling of Connections between a Client and a Server via a Communication Network |
CN106302366A (en) * | 2015-06-11 | 2017-01-04 | 阿里巴巴集团控股有限公司 | A kind of data transmission method, device and intelligent television system |
CN109126122A (en) * | 2017-06-16 | 2019-01-04 | 上海拆名晃信息科技有限公司 | A kind of cloud game network system realization for virtual reality |
CN110180166A (en) * | 2019-07-16 | 2019-08-30 | 南昌黑鲨科技有限公司 | Control system and method based on cloud game scene |
CN110227260A (en) * | 2019-08-07 | 2019-09-13 | 南昌黑鲨科技有限公司 | Cloud game accelerated method, device, readable storage medium storing program for executing and computer equipment |
CN110585699A (en) * | 2019-09-11 | 2019-12-20 | 腾讯科技(深圳)有限公司 | Control method, device and equipment of cloud game and storage medium |
-
2020
- 2020-04-27 CN CN202010342301.8A patent/CN111565150B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110307546A1 (en) * | 2008-12-22 | 2011-12-15 | Massimo Iovene | Method and Device for Handling of Connections between a Client and a Server via a Communication Network |
CN106302366A (en) * | 2015-06-11 | 2017-01-04 | 阿里巴巴集团控股有限公司 | A kind of data transmission method, device and intelligent television system |
CN109126122A (en) * | 2017-06-16 | 2019-01-04 | 上海拆名晃信息科技有限公司 | A kind of cloud game network system realization for virtual reality |
CN110180166A (en) * | 2019-07-16 | 2019-08-30 | 南昌黑鲨科技有限公司 | Control system and method based on cloud game scene |
CN110227260A (en) * | 2019-08-07 | 2019-09-13 | 南昌黑鲨科技有限公司 | Cloud game accelerated method, device, readable storage medium storing program for executing and computer equipment |
CN110585699A (en) * | 2019-09-11 | 2019-12-20 | 腾讯科技(深圳)有限公司 | Control method, device and equipment of cloud game and storage medium |
Non-Patent Citations (1)
Title |
---|
林立等: "《Gaming@Edge:基于边缘节点的低延迟云游戏系统》", 《计算机应用》 * |
Also Published As
Publication number | Publication date |
---|---|
CN111565150B (en) | 2022-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102968334B (en) | The user interface of adaptive remote desktop main frame | |
CN102340540B (en) | Wireless communication equipment and webpage sharing system and method based on wireless communication equipment | |
US8762544B2 (en) | Selectively communicating data of a peripheral device to plural sending computers | |
WO2022017107A1 (en) | Information processing method and apparatus, computer device and storage medium | |
CN102413150A (en) | Server and virtual desktop control method and virtual desktop control system | |
CN104035565A (en) | Input method, input device, auxiliary input method and auxiliary input system | |
US20130162523A1 (en) | Shared wireless computer user interface | |
CN102968190A (en) | Local input method mapping device and method based on remote application | |
CN104361049A (en) | Method and system for quickly expressing data of database | |
KR20120065217A (en) | Device for creating interactive electronic documents, system for creating interactive electronic documents therewith and control method thereof, and reader for interactive electronic documents, system for reading interactive electronic documents therewith, control method thereof | |
CN111565150B (en) | Data transmission system and method | |
CN114726906A (en) | Device interaction method and device, electronic device and storage medium | |
WO2014183439A1 (en) | Method, apparatus and system for switching function mode | |
CN112328356B (en) | Intercommunication method and device for Android and Windows, storage medium and computer equipment | |
CN105100881A (en) | Social network system based on set top box and use method thereof | |
US20140344423A1 (en) | Method, apparatus and system for switching function mode | |
CN110309462B (en) | Data display method and system | |
CN202261388U (en) | Remote gesture recognition and transmission realization system for touch panel mobile device with communication module | |
CN115017352B (en) | Mobile phone car machine interaction system based on image recognition | |
CN102647451A (en) | Automatic matching method and device for mobile terminal and cloud access | |
CN104378339B (en) | A kind of communication means and device using agency agreement | |
CN1521647A (en) | Method and device for wireless data transmission | |
CN102497386A (en) | Control system for mobile platform of quantum microscopic CT (computed tomography) instrument in cloud computing environment | |
CN103051679B (en) | Data transmission method and interface equipment, cloud optimal control equipment | |
CN100437439C (en) | Method for using mobile communication device as radio input apparatus |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20230206 Address after: 518055 1501, Building 1, Chongwen Park, Nanshan Zhiyuan, No. 3370, Liuxian Avenue, Fuguang Community, Taoyuan Street, Nanshan District, Shenzhen, Guangdong Province Patentee after: Shenzhen Grey Shark Technology Co.,Ltd. Address before: 201419 room 30469, building 14, No. 251, Liantang Road, Xinghuo Development Zone, Fengxian District, Shanghai Patentee before: Shanghai zhongchain Technology Co.,Ltd. |
|
TR01 | Transfer of patent right |