CN113556261B - Data communication method, device, electronic equipment and computer readable storage medium - Google Patents

Data communication method, device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN113556261B
CN113556261B CN202010340431.8A CN202010340431A CN113556261B CN 113556261 B CN113556261 B CN 113556261B CN 202010340431 A CN202010340431 A CN 202010340431A CN 113556261 B CN113556261 B CN 113556261B
Authority
CN
China
Prior art keywords
data communication
communication terminal
communication server
server
data
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.)
Active
Application number
CN202010340431.8A
Other languages
Chinese (zh)
Other versions
CN113556261A (en
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN202010340431.8A priority Critical patent/CN113556261B/en
Publication of CN113556261A publication Critical patent/CN113556261A/en
Application granted granted Critical
Publication of CN113556261B publication Critical patent/CN113556261B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • 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/10Protocols in which an application is distributed across nodes in the network
    • 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/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the disclosure discloses a data communication method, a device, an electronic device and a computer readable storage medium, wherein the method comprises the following steps: acquiring operation state information of a data communication server in response to receiving an operation state acquisition request sent by a communication terminal, and sending the operation state information to the communication terminal, wherein the operation state information comprises operation object type information of the data communication server; and responding to the received data communication parameter control request sent by the communication terminal, and controlling parameters of data communication between the data communication server and the communication terminal according to the data communication parameter control request. According to the technical scheme, the control of the data communication parameters between the data communication server and the communication terminal can be realized, so that the data transmission rate can be reduced when the corresponding application of the communication terminal does not have data interaction for a long time, and further the waste of data transmission and the increase of the data transmission cost are avoided.

Description

Data communication method, device, electronic equipment and computer readable storage medium
Technical Field
The embodiment of the disclosure relates to the technical field of data communication, in particular to a data communication method, a data communication device, electronic equipment and a computer readable storage medium.
Background
With the development of science and technology and data technology, the application of cloud container technology is also becoming wider and wider. The current An Zhuoyun container scheme is to run an android operating system and some applications in a remote server, and the remote server transmits rendering data required by the applications to corresponding communication terminals through a predetermined communication protocol to display on the communication terminals. In this scheme, the data transmission between the remote server and the communication terminal maintains a substantially fixed data transmission rate, such as 60fps (frames per second), but for some application, if the communication terminal does not interact with data for a long time, the data is still transmitted at the fixed data transmission rate, which results in a waste of data transmission and an increase in data transmission cost.
Disclosure of Invention
The embodiment of the disclosure provides a data communication method, a data communication device, electronic equipment and a computer readable storage medium.
In a first aspect, a data communication method is provided in an embodiment of the present disclosure.
Specifically, the data communication method includes:
acquiring operation state information of a data communication server in response to receiving an operation state acquisition request sent by a communication terminal, and sending the operation state information to the communication terminal, wherein the operation state information comprises operation object type information of the data communication server;
and responding to the received data communication parameter control request sent by the communication terminal, and controlling parameters of data communication between the data communication server and the communication terminal according to the data communication parameter control request.
With reference to the first aspect, in a first implementation manner of the embodiment of the present disclosure, the obtaining, in response to receiving an operation state obtaining request sent by a communication terminal, operation state information of the data communication server and sending the operation state information to the communication terminal is implemented as:
determining object identification information in operation in the data communication server in response to receiving an operation state acquisition request sent by a communication terminal;
searching in a preset operation object type storage table according to the object identification information to obtain type information of an operation object corresponding to the object identification information, wherein the preset operation object type storage table is pre-stored with the object identification information and the corresponding object type;
And transmitting the type information of the operation object to the communication terminal as the operation state information of the data communication server.
With reference to the first aspect and the first implementation manner of the first aspect, in a second implementation manner of the first aspect, embodiments of the present disclosure further include:
establishing a first channel between the data communication server and the communication terminal;
the transmitting of the type information of the operation object to the communication terminal as the operation state information of the data communication server is implemented as:
and sending the type information of the operation object to the communication terminal through the first channel as the operation state information of the data communication server.
With reference to the first aspect, the first implementation manner of the first aspect, and the second implementation manner of the first aspect, in a third implementation manner of the first aspect, the disclosure further includes:
establishing a second channel between the data communication server and the communication terminal;
the control of parameters of data communication between the data communication server and the communication terminal according to the data communication parameter control request is performed in response to receiving a data communication parameter control request sent by the communication terminal, and is implemented as:
And in response to receiving a data communication parameter control request sent by the communication terminal through the second channel, when the data communication parameter control request is to reduce the data communication rate, performing a reduction process on the data communication rate between the data communication server and the communication terminal, and when the data communication parameter control request is to increase the data communication rate, performing an increase process on the data communication rate between the data communication server and the communication terminal.
In a second aspect, a data communication method is provided in an embodiment of the present disclosure.
Specifically, the data communication method includes:
transmitting an operation state acquisition request to a data communication server, and receiving operation state information transmitted by the data communication server, wherein the operation state information comprises operation object type information of the data communication server;
when the operation object type of the data communication server is determined to be a preset type, acquiring the input state of the communication terminal in a preset time period;
and when the input state of the communication terminal meets the preset condition, sending a data communication parameter control request to the data communication server so that the data communication server controls parameters of data communication between the data communication server and the communication terminal according to the data communication parameter control request.
With reference to the second aspect, in a first implementation manner of the embodiment of the present disclosure, the sending an operation state acquisition request to the data communication server and receiving operation state information sent by the data communication server are implemented as:
transmitting an operation state acquisition request to a data communication server through a first channel established by the data communication server, and receiving operation state information transmitted by the data communication server through the first channel; and/or the number of the groups of groups,
the sending of the data communication parameter control request to the data communication server is implemented as:
and sending a data communication parameter control request to the data communication server through a second channel established by the data communication server.
With reference to the second aspect and the first implementation manner of the second aspect, in a second implementation manner of the second aspect, when determining that the type of the data communication server operation object is a preset type, the acquiring a communication terminal input state within a preset time period is implemented as follows:
when the operation object type of the data communication server is determined to be a preset type, starting a timer, and monitoring state information of the communication terminal input equipment to acquire the communication terminal input state in a preset time period.
With reference to the second aspect, the first implementation manner of the second aspect, and the second implementation manner of the second aspect, in a third implementation manner of the second aspect, the preset condition is that no communication terminal input event occurs within a preset period of time.
In a third aspect, embodiments of the present disclosure provide a data communication method.
Specifically, the data communication method includes:
the communication terminal sends an operation state acquisition request to the data communication server;
the data communication server responds to a received operation state acquisition request sent by a communication terminal, acquires operation state information of the data communication server and sends the operation state information to the communication terminal, wherein the operation state information comprises operation object type information of the data communication server;
the communication terminal receives the running state information sent by the data communication server, acquires the input state of the communication terminal in a preset time period when the running object type of the data communication server is determined to be a preset type, and sends a data communication parameter control request to the data communication server when the input state of the communication terminal meets preset conditions;
The data communication server responds to the received data communication parameter control request sent by the communication terminal, and controls parameters of data communication between the data communication server and the communication terminal according to the data communication parameter control request.
With reference to the third aspect, in a first implementation manner of the third aspect, the embodiment of the disclosure, in response to receiving an operation state acquisition request sent by a communication terminal, acquires operation state information of the data communication server, and sends the operation state information to the communication terminal, where the operation state information is implemented as:
the data communication server responds to a running state acquisition request sent by a communication terminal, determines running object identification information in the data communication server, searches in a preset running object type storage table according to the object identification information to obtain running object type information corresponding to the object identification information, wherein the preset running object type storage table is pre-stored with the object identification information and corresponding object types, and sends the running object type information as running state information of the data communication server to the communication terminal.
With reference to the third aspect and the first implementation manner of the third aspect, in a second implementation manner of the third aspect, the embodiment of the disclosure receives the operation state information sent by the data communication server, and when determining that the operation object type of the data communication server is a preset type, obtains an input state of the communication terminal in a preset time period, where the input state is implemented as follows:
the communication terminal receives the running state information sent by the data communication server through a first channel established by the data communication server;
when the operation object type of the data communication server is determined to be a preset type, starting a timer, and monitoring state information of the communication terminal input equipment to acquire the communication terminal input state in a preset time period.
With reference to the third aspect, the first implementation manner of the third aspect, and the second implementation manner of the third aspect, in a third implementation manner of the third aspect, the preset condition is that no communication terminal input event occurs within a preset period of time.
With reference to the third aspect, the first implementation manner of the third aspect, the second implementation manner of the third aspect, and the third implementation manner of the third aspect, in a fourth implementation manner of the third aspect, the disclosure further includes:
The data communication server establishes a first channel and a second channel between the data communication server and the communication terminal;
the data communication server transmitting the type information of the operation object as operation state information of the data communication server to the communication terminal, being implemented as:
the data communication server sends the type information of the operation object to the communication terminal through the first channel as the operation state information of the data communication server;
the data communication server, in response to receiving a data communication parameter control request sent by the communication terminal, controls parameters of data communication between the data communication server and the communication terminal according to the data communication parameter control request, and is implemented as follows:
the data communication server responds to the data communication parameter control request sent by the communication terminal through the second channel, when the data communication parameter control request is used for reducing the data communication rate, the data communication rate between the data communication server and the communication terminal is reduced, and when the data communication parameter control request is used for increasing the data communication rate, the data communication rate between the data communication server and the communication terminal is increased.
In a fourth aspect, a data communication apparatus is provided in an embodiment of the present disclosure.
Specifically, the data communication apparatus includes:
the first acquisition module is configured to acquire the operation state information of the data communication server in response to receiving an operation state acquisition request sent by the communication terminal and send the operation state information to the communication terminal, wherein the operation state information comprises operation object type information of the data communication server;
and the control module is configured to respond to the received data communication parameter control request sent by the communication terminal and control parameters of data communication between the data communication server and the communication terminal according to the data communication parameter control request.
With reference to the fourth aspect, in a first implementation manner of the embodiments of the present disclosure in the fourth aspect, the first obtaining module is configured to:
determining object identification information in operation in the data communication server in response to receiving an operation state acquisition request sent by a communication terminal;
searching in a preset operation object type storage table according to the object identification information to obtain type information of an operation object corresponding to the object identification information, wherein the preset operation object type storage table is pre-stored with the object identification information and the corresponding object type;
And transmitting the type information of the operation object to the communication terminal as the operation state information of the data communication server.
With reference to the fourth aspect and the first implementation manner of the fourth aspect, in a second implementation manner of the fourth aspect, the embodiment of the disclosure further includes:
a first establishing module configured to establish a first channel between the data communication server and the communication terminal;
the portion that transmits the type information of the operation object to the communication terminal as the operation state information of the data communication server is configured to:
and sending the type information of the operation object to the communication terminal through the first channel as the operation state information of the data communication server.
With reference to the fourth aspect, the first implementation manner of the fourth aspect, and the second implementation manner of the fourth aspect, in a third implementation manner of the fourth aspect, the disclosure further includes:
a second establishing module configured to establish a second channel between the data communication server and the communication terminal;
the control module is configured to:
and in response to receiving a data communication parameter control request sent by the communication terminal through the second channel, when the data communication parameter control request is to reduce the data communication rate, performing a reduction process on the data communication rate between the data communication server and the communication terminal, and when the data communication parameter control request is to increase the data communication rate, performing an increase process on the data communication rate between the data communication server and the communication terminal.
In a fifth aspect, a data communication apparatus is provided in an embodiment of the present disclosure.
Specifically, the data communication apparatus includes:
the first sending module is configured to send an operation state acquisition request to a data communication server and receive operation state information sent by the data communication server, wherein the operation state information comprises operation object type information of the data communication server;
the second acquisition module is configured to acquire the input state of the communication terminal in a preset time period when the operation object type of the data communication server is determined to be a preset type;
and the second sending module is configured to send a data communication parameter control request to the data communication server when the input state of the communication terminal meets preset conditions, so that the data communication server controls parameters of data communication between the data communication server and the communication terminal according to the data communication parameter control request.
With reference to the fifth aspect, in a first implementation manner of the embodiments of the present disclosure in the fifth aspect, the first sending module is configured to:
transmitting an operation state acquisition request to a data communication server through a first channel established by the data communication server, and receiving operation state information transmitted by the data communication server through the first channel; and/or the number of the groups of groups,
The sending of the data communication parameter control request to the data communication server is implemented as:
and sending a data communication parameter control request to the data communication server through a second channel established by the data communication server.
With reference to the fifth aspect and the first implementation manner of the fifth aspect, in a second implementation manner of the fifth aspect, the second obtaining module is configured to:
when the operation object type of the data communication server is determined to be a preset type, starting a timer, and monitoring state information of the communication terminal input equipment to acquire the communication terminal input state in a preset time period.
With reference to the fifth aspect, the first implementation manner of the fifth aspect, and the second implementation manner of the fifth aspect, in a third implementation manner of the fifth aspect, the preset condition is that no communication terminal input event occurs within a preset period of time.
In a sixth aspect, a data communication apparatus is provided in an embodiment of the present disclosure.
Specifically, the data communication apparatus includes:
the communication terminal is configured to send an operation state acquisition request to the data communication server, receive operation state information sent by the data communication server, acquire a communication terminal input state in a preset time period when determining that the operation object type of the data communication server is a preset type, and send a data communication parameter control request to the data communication server when the communication terminal input state meets preset conditions, wherein the operation state information comprises the operation object type information of the data communication server;
And the data communication server is configured to respond to the received operation state acquisition request sent by the communication terminal, acquire the operation state information of the data communication server, send the operation state information to the communication terminal, respond to the received data communication parameter control request sent by the communication terminal, and control the parameters of data communication between the data communication server and the communication terminal according to the data communication parameter control request.
With reference to the sixth aspect, in a first implementation manner of the embodiment of the present disclosure, in a first implementation manner of the sixth aspect, the data communication server, in response to receiving an operation state acquisition request sent by a communication terminal, acquires operation state information of the data communication server, and sends the operation state information to a portion of the communication terminal, where the portion is configured to:
the data communication server responds to a running state acquisition request sent by a communication terminal, determines running object identification information in the data communication server, searches in a preset running object type storage table according to the object identification information to obtain running object type information corresponding to the object identification information, wherein the preset running object type storage table is pre-stored with the object identification information and corresponding object types, and sends the running object type information as running state information of the data communication server to the communication terminal.
With reference to the sixth aspect and the first implementation manner of the sixth aspect, in a second implementation manner of the embodiment of the present disclosure, the communication terminal receives operation state information sent by the data communication server, and when determining that an operation object type of the data communication server is a preset type, obtains a portion of an input state of the communication terminal in a preset period of time, where the portion is configured to:
the communication terminal receives the running state information sent by the data communication server through a first channel established by the data communication server;
when the operation object type of the data communication server is determined to be a preset type, starting a timer, and monitoring state information of the communication terminal input equipment to acquire the communication terminal input state in a preset time period.
With reference to the sixth aspect, the first implementation manner of the sixth aspect, and the second implementation manner of the sixth aspect, in a third implementation manner of the sixth aspect, the preset condition is that no communication terminal input event occurs within a preset period of time.
With reference to the sixth aspect, the first implementation manner of the sixth aspect, the second implementation manner of the sixth aspect, and the third implementation manner of the sixth aspect, in a fourth implementation manner of the sixth aspect, the data communication server is further configured to:
Establishing a first channel and a second channel between the data communication server and the communication terminal;
the data communication server transmits the type information of the operation object as operation state information of the data communication server to a portion of the communication terminal configured to:
the data communication server sends the type information of the operation object to the communication terminal through the first channel as the operation state information of the data communication server;
the data communication server, in response to receiving a data communication parameter control request sent by the communication terminal, controls parameters of data communication between the data communication server and the communication terminal according to the data communication parameter control request, and is configured to:
the data communication server responds to the data communication parameter control request sent by the communication terminal through the second channel, when the data communication parameter control request is used for reducing the data communication rate, the data communication rate between the data communication server and the communication terminal is reduced, and when the data communication parameter control request is used for increasing the data communication rate, the data communication rate between the data communication server and the communication terminal is increased.
In a seventh aspect, an embodiment of the present disclosure provides an electronic device, including a memory for storing one or more computer instructions for supporting a data communication apparatus to perform the above-described data communication method, and a processor configured to execute the computer instructions stored in the memory. The data communication means may further comprise a communication interface for the data communication means to communicate with other devices or a communication network.
In an eighth aspect, embodiments of the present disclosure provide a computer-readable storage medium storing computer instructions for use by a data communication apparatus, comprising computer instructions for performing the above-described data communication method for use with the data communication apparatus.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
the technical scheme controls parameters of data communication between the data communication server and the communication terminal through detecting the operation states of the data communication server and the communication terminal. According to the technical scheme, the control of the data communication parameters between the data communication server and the communication terminal can be realized, so that the data transmission rate can be reduced when the corresponding application of the communication terminal does not have data interaction for a long time, and further the waste of data transmission and the increase of the data transmission cost are avoided.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of embodiments of the disclosure.
Drawings
Other features, objects and advantages of the embodiments of the present disclosure will become more apparent from the following detailed description of non-limiting embodiments, taken in conjunction with the accompanying drawings. In the drawings:
FIGS. 1-3 illustrate flowcharts of data communication methods according to various embodiments of the present disclosure;
FIG. 4 illustrates an overall flow diagram of a data communication method according to an embodiment of the present disclosure;
fig. 5 illustrates an application scenario diagram of a data communication method according to an embodiment of the present disclosure;
fig. 6-8 show block diagrams of a data communication device according to an embodiment of the present disclosure;
fig. 9 is a schematic diagram of a computer system suitable for use in implementing a data communication method according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, exemplary implementations of the embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily implement them. In addition, for the sake of clarity, portions irrelevant to description of the exemplary embodiments are omitted in the drawings.
In the presently disclosed embodiments, it is to be understood that the terms such as "comprises" or "comprising" and the like are intended to indicate the presence of features, numbers, steps, acts, components, portions, or combinations thereof disclosed in the present specification, and are not intended to exclude the possibility of one or more other features, numbers, steps, acts, components, portions, or combinations thereof being present or added.
In addition, it should be noted that, without conflict, the embodiments of the present disclosure and features of the embodiments may be combined with each other. Embodiments of the present disclosure will be described in detail below with reference to the attached drawings in conjunction with the embodiments.
The technical scheme provided by the embodiment of the disclosure controls parameters of data communication between a data communication server and a communication terminal through detecting the operation states of the data communication server and the communication terminal. According to the technical scheme, the control of the data communication parameters between the data communication server and the communication terminal can be realized, so that the data transmission rate can be reduced when the corresponding application of the communication terminal does not have data interaction for a long time, and further the waste of data transmission and the increase of the data transmission cost are avoided.
Fig. 1 shows a flowchart of a data communication method according to an embodiment of the present disclosure, which includes the following steps S101 to S102, as shown in fig. 1:
In step S101, in response to receiving an operation state acquisition request sent by a communication terminal, operation state information of a data communication server is acquired and sent to the communication terminal, where the operation state information includes operation object type information of the data communication server;
in step S102, in response to receiving an operation state acquisition request sent by a communication terminal, operation state information of the data communication server is acquired and sent to the communication terminal, where the operation state information includes operation object type information of the data communication server.
As mentioned above, with the development of science and technology and data technology, the application of cloud container technology is also becoming more and more widespread. The current An Zhuoyun container scheme is to run an android operating system and some applications in a remote server, and the remote server transmits rendering data required by the applications to corresponding communication terminals through a predetermined communication protocol to display on the communication terminals. In this scheme, the data transmission between the remote server and the communication terminal maintains a substantially fixed data transmission rate, such as 60fps (frames per second), but for some application, if the communication terminal does not interact with data for a long time, the data is still transmitted at the fixed data transmission rate, which results in a waste of data transmission and an increase in data transmission cost.
In view of the above, in this embodiment, a data communication method is proposed that controls parameters of data communication between a data communication server and a communication terminal by detecting operation states of the data communication server and the communication terminal. According to the technical scheme, the control of the data communication parameters between the data communication server and the communication terminal can be realized, so that the data transmission rate can be reduced when the corresponding application of the communication terminal does not have data interaction for a long time, and further the waste of data transmission and the increase of the data transmission cost are avoided.
In an embodiment of the present disclosure, the data communication method may be applied to a data communication server, such as a cloud game server, and for convenience of description, the embodiment will be explained and illustrated below by taking the data communication server as an example.
In an embodiment of the present disclosure, the data communication server refers to a remote server capable of performing remote communication with a communication terminal based on a predetermined communication protocol in a cloud container technical scheme, and is configured to run an operating system and an application, and send rendering data waiting for loading data required in the application to the communication terminal using the application rendering data through the predetermined communication protocol. Wherein the predetermined communication protocol may be, for example, a webtc protocol or the like.
In an embodiment of the disclosure, the communication terminal refers to a terminal capable of performing remote communication with the data communication server based on a predetermined communication protocol in a cloud container technical scheme, and receiving application rendering data from the data communication server and displaying the application rendering data through the predetermined communication protocol. The communication terminal can be a computer, a tablet computer, an intelligent mobile terminal and the like.
In an embodiment of the present disclosure, the operation state acquisition request refers to a request for acquiring current operation state information of the data communication server. The running state information may include type information of an object that the data communication server is running, and in an embodiment of the present disclosure, the object may refer to an application object, for example, a type of the object may be a video, a game, another type, or the like, and of course, the type of the object may be simply classified into a game class and a non-game class, considering that there is a high possibility that the game application does not have data interaction for a long time.
In an embodiment of the present disclosure, the data communication parameter control request refers to a request for controlling parameters of data communication between the data communication server and the communication terminal. The parameters of the data communication may be, for example, a rate, a code rate, etc. of the data communication.
In an embodiment of the present disclosure, the step S101, that is, the step of acquiring the operation state information of the data communication server and transmitting the operation state information to the communication terminal in response to receiving the operation state acquisition request sent by the communication terminal, may be implemented as follows:
determining object identification information in operation in the data communication server in response to receiving an operation state acquisition request sent by a communication terminal;
searching in a preset operation object type storage table according to the object identification information to obtain type information of an operation object corresponding to the object identification information, wherein the preset operation object type storage table is pre-stored with the object identification information and the corresponding object type;
and transmitting the type information of the operation object to the communication terminal as the operation state information of the data communication server.
In order to accurately obtain the type information of the currently running object in the data communication server, in this embodiment, after receiving the running state acquisition request sent by the communication terminal, the currently running object identification information in the data communication server is first determined, where the object identification information is used for uniquely identifying the object, such as object ID information, object name information, and the like; searching in a preset operation object type storage table according to the determined object identification information to obtain operation object type information corresponding to the object identification information, wherein the preset operation object type storage table is pre-generated and stores the object identification information, the corresponding object type and the mapping relation between the object identification information and the object type; and finally, the searched type information of the operation object is used as the operation state information of the data communication server to be sent to the communication terminal.
In an embodiment of the disclosure, the method further comprises the steps of:
establishing a first channel between the data communication server and the communication terminal;
the transmitting of the type information of the operation object to the communication terminal as the operation state information of the data communication server may be implemented as:
and sending the type information of the operation object to the communication terminal through the first channel as the operation state information of the data communication server.
In order to facilitate the transmission of the type information of the operation object, in this embodiment, the data communication server further establishes a first channel based on the predetermined communication protocol between the data communication server and the communication terminal to transmit the operation state information of the data communication server such as the type information of the operation object.
In an embodiment of the present disclosure, the operation state acquisition request may also be sent through the first channel, that is, the data communication server may receive the operation state acquisition request sent by the communication terminal through the first channel.
In an embodiment of the disclosure, the method further comprises the steps of:
Establishing a second channel between the data communication server and the communication terminal;
the controlling of parameters of data communication between the data communication server and the communication terminal according to the data communication parameter control request in response to receiving the data communication parameter control request sent by the communication terminal may be implemented as:
and in response to receiving a data communication parameter control request sent by the communication terminal through the second channel, when the data communication parameter control request is to reduce the data communication rate, performing a reduction process on the data communication rate between the data communication server and the communication terminal, and when the data communication parameter control request is to increase the data communication rate, performing an increase process on the data communication rate between the data communication server and the communication terminal.
To facilitate transmission of the data communication parameter control request, in this embodiment, the data communication server further establishes a second channel between the data communication server and the communication terminal based on the predetermined communication protocol, so as to transmit the data communication parameter control request sent by the communication terminal, so that the data communication server controls parameters of data communication between the data communication server and the communication terminal according to the data communication parameter control request, for example, if the content of the data communication parameter control request is to reduce the data communication rate, the data communication server performs a reduction process on the data communication rate between the data communication server and the communication terminal, for example, reduces the current data communication rate to 30fps; if the data communication parameter control request is to increase the data communication rate, the data communication server performs an increase process for the data communication rate between the data communication server and the communication terminal, for example, increasing the current data communication rate from 60fps to 90fps.
In another embodiment of the present disclosure, the content of the data communication parameter control request may be pre-agreed, for example, an agreement of "0" is "decreasing the data communication rate" and "1" is "increasing the data communication rate", where the data communication rate adjustment step is 30fps, and if the content of the received data communication parameter control request is "0", the data communication server performs a decreasing process on the data communication rate between the data communication server and the communication terminal, decreases the current data communication rate by 30fps, and if the content of the received data communication parameter control request is "1", the data communication server performs an increasing process on the data communication rate between the data communication server and the communication terminal, and increases the current data communication rate by 30fps, where the above-mentioned agreement content may be adjusted and set according to the needs of practical application. In addition, the communication terminal may further carry the data communication parameter target adjustment value in the data communication parameter control request, and the data communication server may perform targeted adjustment on the data communication parameter according to the data communication parameter target adjustment value after receiving the data communication parameter control request.
In an embodiment of the present disclosure, the data communication server further sets a data communication parameter control interface function to provide the communication terminal with the call through the second channel to transfer the data communication parameter control request.
In the above embodiment, when the data communication server receives an operation state acquisition request sent by a communication terminal, determining object identification information in operation in the data communication server; then searching in a preset operation object type storage table according to the object identification information to obtain operation object type information corresponding to the object identification information, and sending the operation object type information serving as operation state information of the data communication server to the communication terminal through a newly established first channel; and after the data communication server receives the data communication parameter control request sent by the communication terminal through the second channel, controlling parameters of data communication between the data communication server and the communication terminal according to the data communication parameter control request.
In an embodiment of the disclosure, the first channel is a data channel, the second channel is a control channel, and of course, the first channel and the second channel may also be interchanged, i.e. the first channel is a control channel, the second channel is a data channel, or the first channel and the second channel are both data channels or both control channels, that is, the first channel and the second channel may be the same or different, and a person skilled in the art may flexibly set according to needs of practical applications.
Fig. 2 shows a flowchart of a data communication method according to another embodiment of the present disclosure, which includes the following steps S201 to S203, as shown in fig. 2:
in step S201, an operation state acquisition request is sent to a data communication server, and operation state information sent by the data communication server is received, where the operation state information includes operation object type information of the data communication server;
in step S202, when determining that the type of the operation object of the data communication server is a preset type, acquiring an input state of the communication terminal in a preset time period;
in step S203, when the input state of the communication terminal satisfies a preset condition, a data communication parameter control request is sent to the data communication server, so that the data communication server controls parameters of data communication between the data communication server and the communication terminal according to the data communication parameter control request.
As mentioned above, with the development of science and technology and data technology, the application of cloud container technology is also becoming more and more widespread. The current An Zhuoyun container scheme is to run an android operating system and some applications in a remote server, and the remote server transmits rendering data required by the applications to corresponding communication terminals through a predetermined communication protocol to display on the communication terminals. In this scheme, the data transmission between the remote server and the communication terminal maintains a substantially fixed data transmission rate, such as 60fps, but for some applications, if the communication terminal does not interact with data for a long time, the data is still transmitted at the fixed data transmission rate, which results in a waste of data transmission and an increase in data transmission cost.
In view of the above, in this embodiment, a data communication method is proposed that controls parameters of data communication between a data communication server and a communication terminal by detecting operation states of the data communication server and the communication terminal. According to the technical scheme, the control of the data communication parameters between the data communication server and the communication terminal can be realized, so that the data transmission rate can be reduced when the corresponding application of the communication terminal does not have data interaction for a long time, and further the waste of data transmission and the increase of the data transmission cost are avoided.
In an embodiment of the present disclosure, the data communication method may be applied to a communication terminal, such as a game terminal, and for convenience of description, the embodiment will be explained and illustrated below by taking the communication terminal as an example.
The above mentioned types of the data communication server may be video, game, or both types of game and non-game, and in consideration of the situation that there is a high probability that the game application will not interact with data for a long time, the data communication rate between the data communication server and the communication terminal needs to be controlled, so in an embodiment of the present disclosure, the preset type may be set as a game type, for example.
In an embodiment of the present disclosure, the communication terminal input state refers to a state of an input device of the communication terminal, such as whether the communication terminal input device is in a busy state or an idle state, whether an input event occurs in a preset period of time, and so on. The input device of the communication terminal may be, for example, an input device such as a touch screen, a keyboard, or a mouse of the communication terminal.
In an embodiment of the present disclosure, the step S201, that is, the step of sending an operation state acquisition request to a data communication server and receiving operation state information sent by the data communication server, may be implemented as:
transmitting an operation state acquisition request to a data communication server through a first channel established by the data communication server, and receiving operation state information transmitted by the data communication server through the first channel; and/or the number of the groups of groups,
the step of sending a data communication parameter control request to the data communication server in the step S203 may be implemented as:
and sending a data communication parameter control request to the data communication server through a second channel established by the data communication server.
As mentioned above, in order to facilitate the transmission of the operation object type information, the data communication server also establishes a first channel and a second channel based on the predetermined communication protocol between the data communication server and the communication terminal, and thus, in this embodiment, the communication terminal can transmit an operation state acquisition request to the data communication server through the first channel established by the data communication server, and receive the operation state information transmitted by the data communication server, and transmit a data communication parameter control request to the data communication server through the second channel established by the data communication server.
In an embodiment of the present disclosure, the data communication server is further provided with a data communication parameter control interface function to provide the communication terminal with the data communication parameter control request transferred by calling through the second channel, so that the communication terminal can send the data communication parameter control request to the data communication server through the second channel by calling the data communication parameter control interface function.
In an embodiment of the present disclosure, the step S202, that is, the step of obtaining the input state of the communication terminal in the preset time period when determining that the operation object type of the data communication server is the preset type, may be implemented as:
When the operation object type of the data communication server is determined to be a preset type, starting a timer, and monitoring state information of the communication terminal input equipment to acquire the communication terminal input state in a preset time period.
As mentioned above, in consideration of the situation where there is a high probability that the game-like application does not have data interaction for a long time, it is necessary to control the data communication rate between the data communication server and the communication terminal, and therefore, the preset type may be set as a game type. Then, in this embodiment, when it is determined that the type of the data communication server operation object is a preset type, such as a game type, a timer is started, and state information of the communication terminal input device is monitored for a timing time of the timer to acquire an input state of the communication terminal for a preset period of time, where the timing time of the timer may be set to 5 seconds. For example, if the communication terminal input device is not monitored to generate a communication terminal input event within the timing time of the timer, the communication terminal input state may be considered to be in an idle state, and if the communication terminal input device is monitored to generate a communication terminal input event within the timing time of the timer, the communication terminal input state may be considered to be in a busy state.
As mentioned above, in consideration of the situation that there is a high probability that the game-type application does not have data interaction for a long time, it is necessary to control the data communication rate between the data communication server and the communication terminal, and thus, in an embodiment of the present disclosure, the preset condition may be set such that no communication terminal input event occurs for a preset period of time, that is, if the communication terminal does not have a communication terminal input event for the preset period of time, the data communication rate between the data communication server and the communication terminal may be controlled, for example, the data communication rate between the data communication server and the communication terminal may be reduced.
In the above embodiment, when the communication terminal sends an operation state acquisition request to the data communication server, the first channel established by the data communication server receives the operation state information sent by the data communication server, and determines that the operation object type of the data communication server is a preset type such as a game type, a timer is started, state information of a communication terminal input device is monitored to acquire a communication terminal input state in a preset time period, and when the communication terminal input state meets a preset condition, such as that a communication terminal input event does not occur in the preset time period, a data communication parameter control request is sent to the data communication server through the second channel established by the data communication server, so that the data communication server controls parameters of data communication between the data communication server and the communication terminal according to the data communication parameter control request.
The technical terms and features related to the embodiment shown in fig. 2 are the same as or similar to those mentioned in the embodiment shown in fig. 1, and the explanation and description of the technical terms and features related to the embodiment shown in fig. 2 may refer to the explanation of the embodiment shown in fig. 1 and described herein, which is not repeated.
Fig. 3 shows a flowchart of a data communication method according to still another embodiment of the present disclosure, which includes the following steps S301 to S304, as shown in fig. 3:
in step S301, the communication terminal transmits an operation state acquisition request to the data communication server;
in step S302, a data communication server obtains operation state information of the data communication server in response to receiving an operation state obtaining request sent by a communication terminal, and sends the operation state information to the communication terminal, where the operation state information includes operation object type information of the data communication server;
in step S303, the communication terminal receives the running state information sent by the data communication server, when determining that the type of the running object of the data communication server is a preset type, obtains an input state of the communication terminal in a preset time period, and when the input state of the communication terminal meets a preset condition, sends a data communication parameter control request to the data communication server;
In step S304, the data communication server controls parameters of data communication between the data communication server and the communication terminal according to the data communication parameter control request in response to receiving the data communication parameter control request transmitted by the communication terminal.
As mentioned above, with the development of science and technology and data technology, the application of cloud container technology is also becoming more and more widespread. The current An Zhuoyun container scheme is to run an android operating system and some applications in a remote server, and the remote server transmits rendering data required by the applications to corresponding communication terminals through a predetermined communication protocol to display on the communication terminals. In this scheme, the data transmission between the remote server and the communication terminal maintains a substantially fixed data transmission rate, such as 60fps, but for some applications, if the communication terminal does not interact with data for a long time, the data is still transmitted at the fixed data transmission rate, which results in a waste of data transmission and an increase in data transmission cost.
In view of the above, in this embodiment, a data communication method is proposed that controls parameters of data communication between a data communication server and a communication terminal by detecting operation states of the data communication server and the communication terminal. According to the technical scheme, the control of the data communication parameters between the data communication server and the communication terminal can be realized, so that the data transmission rate can be reduced when the corresponding application of the communication terminal does not have data interaction for a long time, and further the waste of data transmission and the increase of the data transmission cost are avoided.
In an embodiment of the present disclosure, the data communication method may be applied to a data communication system including a data communication server and a communication terminal, such as a game system, and for convenience of description, the embodiment will be explained and illustrated below by taking the data communication system as an example.
In an embodiment of the present disclosure, the step S302, that is, the step of the data communication server obtaining the operation state information of the data communication server and transmitting the operation state information to the communication terminal in response to receiving the operation state obtaining request sent by the communication terminal, may be implemented as follows:
the data communication server responds to a running state acquisition request sent by a communication terminal, determines running object identification information in the data communication server, searches in a preset running object type storage table according to the object identification information to obtain running object type information corresponding to the object identification information, wherein the preset running object type storage table is pre-stored with the object identification information and corresponding object types, and sends the running object type information as running state information of the data communication server to the communication terminal.
In an embodiment of the present disclosure, the step of obtaining, when the operation object type of the data communication server is determined to be a preset type, the input state of the communication terminal in the preset time period in the step S303 may be implemented as:
the communication terminal receives the running state information sent by the data communication server through a first channel established by the data communication server;
when the operation object type of the data communication server is determined to be a preset type, starting a timer, and monitoring state information of the communication terminal input equipment to acquire the communication terminal input state in a preset time period.
In an embodiment of the present disclosure, the preset condition is that no communication terminal input event occurs within a preset period of time.
In an embodiment of the disclosure, the method further comprises:
the data communication server establishes a first channel and a second channel between the data communication server and the communication terminal;
the step of the data communication server transmitting the type information of the operation object to the communication terminal as the operation state information of the data communication server may be implemented as:
The data communication server sends the type information of the operation object to the communication terminal through the first channel as the operation state information of the data communication server;
the step S304, that is, the step of the data communication server controlling the parameters of the data communication between the data communication server and the communication terminal according to the data communication parameter control request in response to receiving the data communication parameter control request sent by the communication terminal, may be implemented as follows:
the data communication server responds to the data communication parameter control request sent by the communication terminal through the second channel, when the data communication parameter control request is used for reducing the data communication rate, the data communication rate between the data communication server and the communication terminal is reduced, and when the data communication parameter control request is used for increasing the data communication rate, the data communication rate between the data communication server and the communication terminal is increased.
The technical terms and technical features related to the embodiment shown in fig. 3 and related to the embodiment shown in fig. 1-2 are the same as or similar to those mentioned in the embodiment shown in fig. 1-2, and the explanation and explanation of the technical terms and technical features related to the embodiment shown in fig. 3 and related to the embodiment will be referred to the explanation of the explanation shown in fig. 1-2 and related to the embodiment, and will not be repeated here.
Fig. 4 is a block diagram illustrating an overall flow of a data communication method according to an embodiment of the present disclosure, where, as shown in fig. 4, a communication terminal sends an operation state acquisition request to a data communication server through a first channel, and after the data communication server receives the operation state acquisition request, the data communication server sends acquired operation object type information of the data communication server to the communication terminal; if the communication terminal determines that the operation object type of the data communication server is the game type, acquiring the state of the communication terminal input device in a preset time period by means of a timer, and if the communication terminal input device does not generate a communication terminal input event in the preset time period, sending a data communication parameter control request to the data communication server by means of calling a data communication parameter control interface function through a second channel; the data communication server controls parameters of data communication between the data communication server and the communication terminal according to the content of the data communication parameter control request.
Fig. 5 shows an application scenario of a data communication method according to an embodiment of the present disclosure, as shown in fig. 5, in which a cloud game server and a plurality of game terminals: the cloud game server and the game terminal are provided with a control channel and a data channel, the control channel is used for transmitting control instructions between the cloud game server and the game terminal, and the data channel is used for transmitting transmission data between the cloud game server and the game terminal. Firstly, three game terminals all send running state acquisition requests to a cloud game server through a data channel, after the cloud game server receives the running state acquisition requests, the cloud game server sends the acquired game type information of the running state of the cloud game server to the game terminals, if the current running state of the game type is the game type, the game terminals start timers to acquire the state of the input equipment of the game terminals within each preset time period, such as 5 seconds, and control the data communication rate with the cloud game server according to the state of the input equipment of the game terminals. Taking the game terminal 1 as an example, if the current data communication rate is 60fps, the data communication rate adjustment step length is 30fps, and if no game terminal input event occurs to the input device of the game terminal 1 is detected within the first 5 seconds, the game terminal 1 calls the data communication parameter control interface function through the control channel to send a request for controlling the data communication rate to be reduced to 30fps to the cloud game server, if no game terminal input event occurs to the input device of the game terminal 1 is detected within the second 5 seconds, the game terminal 1 may not act, the current low-rate data transmission is maintained, and if no game terminal input event occurs to the input device of the game terminal 1 is detected within the third 5 seconds, the game terminal 1 sends a request for controlling the data communication rate to be increased to the cloud game server by calling the data communication parameter control interface function through the control channel, so that the cloud game server restores the current data communication rate from 30fps to 60fps.
The following are device embodiments of the present disclosure that may be used to perform method embodiments of the present disclosure.
Fig. 6 shows a block diagram of a data communication apparatus according to an embodiment of the present disclosure, which may be implemented as part or all of an electronic device by software, hardware, or a combination of both. As shown in fig. 6, the data communication apparatus includes:
a first obtaining module 601, configured to obtain and send operation state information of a data communication server to the communication terminal in response to receiving an operation state obtaining request sent by the communication terminal, where the operation state information includes operation object type information of the data communication server;
and a control module 602 configured to control parameters of data communication between the data communication server and the communication terminal according to the data communication parameter control request in response to receiving the data communication parameter control request sent by the communication terminal.
As mentioned above, with the development of science and technology and data technology, the application of cloud container technology is also becoming more and more widespread. The current An Zhuoyun container scheme is to run an android operating system and some applications in a remote server, and the remote server transmits rendering data required by the applications to corresponding communication terminals through a predetermined communication protocol to display on the communication terminals. In this scheme, the data transmission between the remote server and the communication terminal maintains a substantially fixed data transmission rate, such as 60fps, but for some applications, if the communication terminal does not interact with data for a long time, the data is still transmitted at the fixed data transmission rate, which results in a waste of data transmission and an increase in data transmission cost.
In view of the above, in this embodiment, a data communication apparatus is proposed that controls parameters of data communication between a data communication server and a communication terminal by detecting operation states of the data communication server and the communication terminal. According to the technical scheme, the control of the data communication parameters between the data communication server and the communication terminal can be realized, so that the data transmission rate can be reduced when the corresponding application of the communication terminal does not have data interaction for a long time, and further the waste of data transmission and the increase of the data transmission cost are avoided.
In an embodiment of the present disclosure, the data communication device may be implemented as a data communication server, such as a cloud game server, and for convenience of description, the embodiment will be explained and illustrated below by taking the data communication server as an example.
In an embodiment of the present disclosure, the data communication server refers to a remote server capable of performing remote communication with a communication terminal based on a predetermined communication protocol in a cloud container technical scheme, and is configured to run an operating system and an application, and send rendering data waiting for loading data required in the application to the communication terminal using the application rendering data through the predetermined communication protocol. Wherein the predetermined communication protocol may be, for example, a webtc protocol or the like.
In an embodiment of the disclosure, the communication terminal refers to a terminal capable of performing remote communication with the data communication server based on a predetermined communication protocol in a cloud container technical scheme, and receiving application rendering data from the data communication server and displaying the application rendering data through the predetermined communication protocol. The communication terminal can be a computer, a tablet computer, an intelligent mobile terminal and the like.
In an embodiment of the present disclosure, the operation state acquisition request refers to a request for acquiring current operation state information of the data communication server. The running state information may include type information of an object that the data communication server is running, and in an embodiment of the present disclosure, the object may refer to an application object, for example, a type of the object may be a video, a game, another type, or the like, and of course, the type of the object may be simply classified into a game class and a non-game class, considering that there is a high possibility that the game application does not have data interaction for a long time.
In an embodiment of the present disclosure, the data communication parameter control request refers to a request for controlling parameters of data communication between the data communication server and the communication terminal. The parameters of the data communication may be, for example, a rate, a code rate, etc. of the data communication.
In an embodiment of the present disclosure, the first obtaining module 601 is configured to:
determining object identification information in operation in the data communication server in response to receiving an operation state acquisition request sent by a communication terminal;
searching in a preset operation object type storage table according to the object identification information to obtain type information of an operation object corresponding to the object identification information, wherein the preset operation object type storage table is pre-stored with the object identification information and the corresponding object type;
and transmitting the type information of the operation object to the communication terminal as the operation state information of the data communication server.
In order to accurately obtain the type information of the currently running object in the data communication server, in this embodiment, after receiving the running state acquisition request sent by the communication terminal, the currently running object identification information in the data communication server is first determined, where the object identification information is used for uniquely identifying the object, such as object ID information, object name information, and the like; searching in a preset operation object type storage table according to the determined object identification information to obtain operation object type information corresponding to the object identification information, wherein the preset operation object type storage table is pre-generated and stores the object identification information, the corresponding object type and the mapping relation between the object identification information and the object type; and finally, the searched type information of the operation object is used as the operation state information of the data communication server to be sent to the communication terminal.
In an embodiment of the disclosure, the apparatus further comprises:
a first establishing module configured to establish a first channel between the data communication server and the communication terminal;
the portion that transmits the type information of the operation object to the communication terminal as the operation state information of the data communication server is configured to:
and sending the type information of the operation object to the communication terminal through the first channel as the operation state information of the data communication server.
In order to facilitate the transmission of the type information of the operation object, in this embodiment, the data communication server further establishes a first channel based on the predetermined communication protocol between the data communication server and the communication terminal to transmit the operation state information of the data communication server such as the type information of the operation object.
In an embodiment of the present disclosure, the operation state acquisition request may also be sent through the first channel, that is, the data communication server may receive the operation state acquisition request sent by the communication terminal through the first channel.
In an embodiment of the disclosure, the apparatus further comprises:
A second establishing module configured to establish a second channel between the data communication server and the communication terminal;
the control module 602 is configured to:
and in response to receiving a data communication parameter control request sent by the communication terminal through the second channel, when the data communication parameter control request is to reduce the data communication rate, performing a reduction process on the data communication rate between the data communication server and the communication terminal, and when the data communication parameter control request is to increase the data communication rate, performing an increase process on the data communication rate between the data communication server and the communication terminal.
To facilitate transmission of the data communication parameter control request, in this embodiment, the data communication server further establishes a second channel between the data communication server and the communication terminal based on the predetermined communication protocol, so as to transmit the data communication parameter control request sent by the communication terminal, so that the data communication server controls parameters of data communication between the data communication server and the communication terminal according to the data communication parameter control request, for example, if the content of the data communication parameter control request is to reduce the data communication rate, the data communication server performs a reduction process on the data communication rate between the data communication server and the communication terminal, for example, reduces the current data communication rate to 30fps; if the data communication parameter control request is to increase the data communication rate, the data communication server performs an increase process for the data communication rate between the data communication server and the communication terminal, for example, increasing the current data communication rate from 60fps to 90fps.
In another embodiment of the present disclosure, the content of the data communication parameter control request may be pre-agreed, for example, an agreement of "0" is "decreasing the data communication rate" and "1" is "increasing the data communication rate", where the data communication rate adjustment step is 30fps, and if the content of the received data communication parameter control request is "0", the data communication server performs a decreasing process on the data communication rate between the data communication server and the communication terminal, decreases the current data communication rate by 30fps, and if the content of the received data communication parameter control request is "1", the data communication server performs an increasing process on the data communication rate between the data communication server and the communication terminal, and increases the current data communication rate by 30fps, where the above-mentioned agreement content may be adjusted and set according to the needs of practical application. In addition, the communication terminal may further carry the data communication parameter target adjustment value in the data communication parameter control request, and the data communication server may perform targeted adjustment on the data communication parameter according to the data communication parameter target adjustment value after receiving the data communication parameter control request.
In an embodiment of the present disclosure, the data communication server further sets a data communication parameter control interface function to provide the communication terminal with the call through the second channel to transfer the data communication parameter control request.
In the above embodiment, when the data communication server receives an operation state acquisition request sent by a communication terminal, determining object identification information in operation in the data communication server; then searching in a preset operation object type storage table according to the object identification information to obtain operation object type information corresponding to the object identification information, and sending the operation object type information serving as operation state information of the data communication server to the communication terminal through a newly established first channel; and after the data communication server receives the data communication parameter control request sent by the communication terminal through the second channel, controlling parameters of data communication between the data communication server and the communication terminal according to the data communication parameter control request.
In an embodiment of the disclosure, the first channel is a data channel, the second channel is a control channel, and of course, the first channel and the second channel may also be interchanged, i.e. the first channel is a control channel, the second channel is a data channel, or the first channel and the second channel are both data channels or both control channels, that is, the first channel and the second channel may be the same or different, and a person skilled in the art may flexibly set according to needs of practical applications.
Fig. 7 shows a block diagram of a data communication apparatus according to an embodiment of the present disclosure, which may be implemented as part or all of an electronic device by software, hardware, or a combination of both. As shown in fig. 7, the data communication apparatus includes:
a first sending module 701 configured to send an operation state acquisition request to a data communication server, and receive operation state information sent by the data communication server, where the operation state information includes operation object type information of the data communication server;
a second obtaining module 702, configured to obtain an input state of the communication terminal in a preset time period when determining that the operation object type of the data communication server is a preset type;
a second transmitting module 703 configured to transmit a data communication parameter control request to the data communication server when the communication terminal input state satisfies a preset condition, so that the data communication server controls parameters of data communication between the data communication server and the communication terminal according to the data communication parameter control request.
As mentioned above, with the development of science and technology and data technology, the application of cloud container technology is also becoming more and more widespread. The current An Zhuoyun container scheme is to run an android operating system and some applications in a remote server, and the remote server transmits rendering data required by the applications to corresponding communication terminals through a predetermined communication protocol to display on the communication terminals. In this scheme, the data transmission between the remote server and the communication terminal maintains a substantially fixed data transmission rate, such as 60fps, but for some applications, if the communication terminal does not interact with data for a long time, the data is still transmitted at the fixed data transmission rate, which results in a waste of data transmission and an increase in data transmission cost.
In view of the above, in this embodiment, a data communication apparatus is proposed that controls parameters of data communication between a data communication server and a communication terminal by detecting operation states of the data communication server and the communication terminal. According to the technical scheme, the control of the data communication parameters between the data communication server and the communication terminal can be realized, so that the data transmission rate can be reduced when the corresponding application of the communication terminal does not have data interaction for a long time, and further the waste of data transmission and the increase of the data transmission cost are avoided.
In an embodiment of the present disclosure, the data communication device may be implemented as a communication terminal, such as a game terminal, and for convenience of description, the embodiment will be explained and illustrated below by taking the communication terminal as an example.
The above mentioned types of the data communication server may be video, game, or both types of game and non-game, and in consideration of the situation that there is a high probability that the game application will not interact with data for a long time, the data communication rate between the data communication server and the communication terminal needs to be controlled, so in an embodiment of the present disclosure, the preset type may be set as a game type, for example.
In an embodiment of the present disclosure, the communication terminal input state refers to a state of an input device of the communication terminal, such as whether the communication terminal input device is in a busy state or an idle state, whether an input event occurs in a preset period of time, and so on. The input device of the communication terminal may be, for example, an input device such as a touch screen, a keyboard, or a mouse of the communication terminal.
In an embodiment of the present disclosure, the first transmitting module 701 is configured to:
transmitting an operation state acquisition request to a data communication server through a first channel established by the data communication server, and receiving operation state information transmitted by the data communication server through the first channel; and/or the number of the groups of groups,
a portion of the second transmitting module 703 that transmits a data communication parameter control request to the data communication server is configured to:
and sending a data communication parameter control request to the data communication server through a second channel established by the data communication server.
As mentioned above, in order to facilitate the transmission of the operation object type information, the data communication server also establishes a first channel and a second channel based on the predetermined communication protocol between the data communication server and the communication terminal, and thus, in this embodiment, the communication terminal can transmit an operation state acquisition request to the data communication server through the first channel established by the data communication server, and receive the operation state information transmitted by the data communication server, and transmit a data communication parameter control request to the data communication server through the second channel established by the data communication server.
In an embodiment of the present disclosure, the data communication server is further provided with a data communication parameter control interface function to provide the communication terminal with the data communication parameter control request to be transferred by calling through the second channel, so that the second sending module 703 of the communication terminal may send the data communication parameter control request to the data communication server through the second channel by calling the data communication parameter control interface function.
In an embodiment of the present disclosure, the second obtaining module 702 may be configured to:
when the operation object type of the data communication server is determined to be a preset type, starting a timer, and monitoring state information of the communication terminal input equipment to acquire the communication terminal input state in a preset time period.
As mentioned above, in consideration of the situation where there is a high probability that the game-like application does not have data interaction for a long time, it is necessary to control the data communication rate between the data communication server and the communication terminal, and therefore, the preset type may be set as a game type. Then, in this embodiment, when it is determined that the type of the data communication server operation object is a preset type, such as a game type, a timer is started, and state information of the communication terminal input device is monitored for a timing time of the timer to acquire an input state of the communication terminal for a preset period of time, where the timing time of the timer may be set to 5 seconds. For example, if the communication terminal input device is not monitored to generate a communication terminal input event within the timing time of the timer, the communication terminal input state may be considered to be in an idle state, and if the communication terminal input device is monitored to generate a communication terminal input event within the timing time of the timer, the communication terminal input state may be considered to be in a busy state.
As mentioned above, in consideration of the situation that there is a high probability that the game-type application does not have data interaction for a long time, it is necessary to control the data communication rate between the data communication server and the communication terminal, and thus, in an embodiment of the present disclosure, the preset condition may be set such that no communication terminal input event occurs for a preset period of time, that is, if the communication terminal does not have a communication terminal input event for the preset period of time, the data communication rate between the data communication server and the communication terminal may be controlled, for example, the data communication rate between the data communication server and the communication terminal may be reduced.
In the above embodiment, when the communication terminal sends an operation state acquisition request to the data communication server, the first channel established by the data communication server receives the operation state information sent by the data communication server, and determines that the operation object type of the data communication server is a preset type such as a game type, a timer is started, state information of a communication terminal input device is monitored to acquire a communication terminal input state in a preset time period, and when the communication terminal input state meets a preset condition, such as that a communication terminal input event does not occur in the preset time period, a data communication parameter control request is sent to the data communication server through the second channel established by the data communication server, so that the data communication server controls parameters of data communication between the data communication server and the communication terminal according to the data communication parameter control request.
The technical terms and features related to the embodiment shown in fig. 7 are the same as or similar to those mentioned in the embodiment shown in fig. 6, and the explanation and description of the technical terms and features related to the embodiment shown in fig. 7 may refer to the explanation of the embodiment shown in fig. 6 and described herein, which is not repeated.
Fig. 8 shows a block diagram of a data communication apparatus according to an embodiment of the present disclosure, which may be implemented as part or all of an electronic device by software, hardware, or a combination of both. As shown in fig. 8, the data communication apparatus includes:
a communication terminal 801 configured to transmit an operation state acquisition request to a data communication server, receive operation state information transmitted by the data communication server, acquire a communication terminal input state in a preset time period when determining that an operation object type of the data communication server is a preset type, and transmit a data communication parameter control request to the data communication server when the communication terminal input state satisfies a preset condition, wherein the operation state information includes the operation object type information of the data communication server;
And a data communication server 802 configured to acquire and transmit operation state information of the data communication server to the communication terminal in response to receiving an operation state acquisition request transmitted by the communication terminal, and to control parameters of data communication between the data communication server and the communication terminal in accordance with the data communication parameter control request in response to receiving a data communication parameter control request transmitted by the communication terminal.
As mentioned above, with the development of science and technology and data technology, the application of cloud container technology is also becoming more and more widespread. The current An Zhuoyun container scheme is to run an android operating system and some applications in a remote server, and the remote server transmits rendering data required by the applications to corresponding communication terminals through a predetermined communication protocol to display on the communication terminals. In this scheme, the data transmission between the remote server and the communication terminal maintains a substantially fixed data transmission rate, such as 60fps, but for some applications, if the communication terminal does not interact with data for a long time, the data is still transmitted at the fixed data transmission rate, which results in a waste of data transmission and an increase in data transmission cost.
In view of the above, in this embodiment, a data communication apparatus is proposed that controls parameters of data communication between a data communication server and a communication terminal by detecting operation states of the data communication server and the communication terminal. According to the technical scheme, the control of the data communication parameters between the data communication server and the communication terminal can be realized, so that the data transmission rate can be reduced when the corresponding application of the communication terminal does not have data interaction for a long time, and further the waste of data transmission and the increase of the data transmission cost are avoided.
In an embodiment of the present disclosure, the data communication apparatus may be implemented as a data communication system including a data communication server and a communication terminal, such as a game system, and for convenience of description, the embodiment will be explained and illustrated below by taking the data communication system as an example.
In an embodiment of the present disclosure, the data communication server, in response to receiving an operation state acquisition request sent by a communication terminal, acquires operation state information of the data communication server and sends the operation state information to a portion of the communication terminal, and may be configured to:
The data communication server responds to a running state acquisition request sent by a communication terminal, determines running object identification information in the data communication server, searches in a preset running object type storage table according to the object identification information to obtain running object type information corresponding to the object identification information, wherein the preset running object type storage table is pre-stored with the object identification information and corresponding object types, and sends the running object type information as running state information of the data communication server to the communication terminal.
In an embodiment of the present disclosure, the communication terminal receives the operation state information sent by the data communication server, and when determining that the operation object type of the data communication server is a preset type, the portion for obtaining the input state of the communication terminal in the preset time period may be configured to:
the communication terminal receives the running state information sent by the data communication server through a first channel established by the data communication server;
when the operation object type of the data communication server is determined to be a preset type, starting a timer, and monitoring state information of the communication terminal input equipment to acquire the communication terminal input state in a preset time period.
In an embodiment of the present disclosure, the preset condition is that no communication terminal input event occurs within a preset period of time.
In an embodiment of the present disclosure, the data communication server is further configured to:
establishing a first channel and a second channel between the data communication server and the communication terminal;
the data communication server transmits the type information of the operation object as operation state information of the data communication server to a portion of the communication terminal configured to:
the data communication server sends the type information of the operation object to the communication terminal through the first channel as the operation state information of the data communication server;
the data communication server, in response to receiving a data communication parameter control request sent by the communication terminal, controls parameters of data communication between the data communication server and the communication terminal according to the data communication parameter control request, and is configured to:
the data communication server responds to the data communication parameter control request sent by the communication terminal through the second channel, when the data communication parameter control request is used for reducing the data communication rate, the data communication rate between the data communication server and the communication terminal is reduced, and when the data communication parameter control request is used for increasing the data communication rate, the data communication rate between the data communication server and the communication terminal is increased.
The technical terms and technical features related to the embodiment shown in fig. 8 and related to the embodiment shown in fig. 6 to 7 are the same as or similar to those mentioned in the embodiment shown in fig. 6 to 7, and the explanation and explanation of the technical terms and technical features related to the embodiment shown in fig. 8 and related to the embodiment will be referred to the explanation of the explanation shown in fig. 6 to 7 and related to the embodiment, and will not be repeated here.
The embodiment of the disclosure also discloses an electronic device, which comprises a memory and a processor; wherein,
the memory is used to store one or more computer instructions that are executed by the processor to perform any of the method steps described above.
Fig. 9 is a schematic diagram of a computer system suitable for use in implementing a data communication method according to an embodiment of the present disclosure.
As shown in fig. 9, the computer system 900 includes a processing unit 901 which can execute various processes in the above-described embodiments in accordance with a program stored in a Read Only Memory (ROM) 902 or a program loaded from a storage portion 908 into a Random Access Memory (RAM) 903. In the RAM903, various programs and data necessary for the operation of the system 900 are also stored. The processing unit 901, the ROM902, and the RAM903 are connected to each other by a bus 904. An input/output (I/O) interface 905 is also connected to the bus 904.
The following components are connected to the I/O interface 905: an input section 906 including a keyboard, a mouse, and the like; an output portion 907 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and a speaker; a storage portion 908 including a hard disk or the like; and a communication section 909 including a network interface card such as a LAN card, a modem, or the like. The communication section 909 performs communication processing via a network such as the internet. The drive 910 is also connected to the I/O interface 905 as needed. A removable medium 911 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is installed as needed on the drive 910 so that a computer program read out therefrom is installed into the storage section 908 as needed. The processing unit 901 may be implemented as a processing unit such as CPU, GPU, TPU, FPGA, NPU.
In particular, according to embodiments of the present disclosure, the methods described above may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program tangibly embodied on a medium readable thereby, the computer program comprising program code for performing the data communication method. In such an embodiment, the computer program may be downloaded and installed from the network through the communication section 909, and/or installed from the removable medium 911.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units or modules described in the embodiments of the present disclosure may be implemented by software, or may be implemented by hardware. The units or modules described may also be provided in a processor, the names of which in some cases do not constitute a limitation of the unit or module itself.
As another aspect, the embodiments of the present disclosure also provide a computer-readable storage medium, which may be a computer-readable storage medium included in the apparatus described in the above-described embodiment; or may be a computer-readable storage medium, alone, that is not assembled into a device. The computer-readable storage medium stores one or more programs for use by one or more processors in performing the methods described in the embodiments of the present disclosure.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above technical features, but encompasses other technical features formed by any combination of the above technical features or their equivalents without departing from the inventive concept. Such as the technical solution formed by mutually replacing the above-mentioned features and the technical features with similar functions (but not limited to) disclosed in the embodiments of the present disclosure.

Claims (24)

1. A method of data communication, comprising:
Acquiring operation state information of a data communication server in response to receiving an operation state acquisition request sent by a communication terminal, and sending the operation state information to the communication terminal, wherein the operation state information comprises operation object type information of the data communication server;
responding to a data communication parameter control request sent by the communication terminal, and controlling parameters of data communication between the data communication server and the communication terminal according to the data communication parameter control request; wherein the data communication parameter control request is sent when the input state of the communication terminal meets the preset condition; the communication terminal input state is acquired when the communication terminal determines that the type of the data communication server operation object is a preset type; the preset condition is that no communication terminal input event occurs in a preset time period; the control is to perform a lowering process for a data communication rate between the data communication server and the communication terminal.
2. The method according to claim 1, wherein the acquiring the operation state information of the data communication server in response to receiving the operation state acquisition request sent by the communication terminal and sending it to the communication terminal is implemented as:
Determining object identification information in operation in the data communication server in response to receiving an operation state acquisition request sent by a communication terminal;
searching in a preset operation object type storage table according to the object identification information to obtain type information of an operation object corresponding to the object identification information, wherein the preset operation object type storage table is pre-stored with the object identification information and the corresponding object type;
and transmitting the type information of the operation object to the communication terminal as the operation state information of the data communication server.
3. The method of claim 2, further comprising:
establishing a first channel between the data communication server and the communication terminal;
the transmitting of the type information of the operation object to the communication terminal as the operation state information of the data communication server is implemented as:
and sending the type information of the operation object to the communication terminal through the first channel as the operation state information of the data communication server.
4. A method according to any one of claims 1-3, further comprising:
establishing a second channel between the data communication server and the communication terminal;
The control of parameters of data communication between the data communication server and the communication terminal according to the data communication parameter control request is performed in response to receiving a data communication parameter control request sent by the communication terminal, and is implemented as:
and in response to receiving a data communication parameter control request sent by the communication terminal through the second channel, when the data communication parameter control request is to reduce the data communication rate, performing a reduction process on the data communication rate between the data communication server and the communication terminal, and when the data communication parameter control request is to increase the data communication rate, performing an increase process on the data communication rate between the data communication server and the communication terminal.
5. A method of data communication, comprising:
transmitting an operation state acquisition request to a data communication server, and receiving operation state information transmitted by the data communication server, wherein the operation state information comprises operation object type information of the data communication server;
when the operation object type of the data communication server is determined to be a preset type, acquiring the input state of the communication terminal in a preset time period;
When the input state of the communication terminal meets the preset condition, a data communication parameter control request is sent to the data communication server, so that the data communication server controls parameters of data communication between the data communication server and the communication terminal according to the data communication parameter control request; the preset condition is that no communication terminal input event occurs in a preset time period; the control is to perform a lowering process for a data communication rate between the data communication server and the communication terminal.
6. The method of claim 5, wherein the sending the operation state acquisition request to the data communication server and receiving the operation state information sent by the data communication server are implemented as:
transmitting an operation state acquisition request to a data communication server through a first channel established by the data communication server, and receiving operation state information transmitted by the data communication server through the first channel; and/or the number of the groups of groups,
the sending of the data communication parameter control request to the data communication server is implemented as:
and sending a data communication parameter control request to the data communication server through a second channel established by the data communication server.
7. The method according to claim 5 or 6, wherein when determining that the data communication server operation object type is a preset type, the acquiring the communication terminal input state in a preset period of time is implemented as:
when the operation object type of the data communication server is determined to be a preset type, starting a timer, and monitoring state information of the communication terminal input equipment to acquire the communication terminal input state in a preset time period.
8. A method of data communication, comprising:
the communication terminal sends an operation state acquisition request to the data communication server;
the data communication server responds to a received operation state acquisition request sent by a communication terminal, acquires operation state information of the data communication server and sends the operation state information to the communication terminal, wherein the operation state information comprises operation object type information of the data communication server;
the communication terminal receives the running state information sent by the data communication server, acquires the input state of the communication terminal in a preset time period when the running object type of the data communication server is determined to be a preset type, and sends a data communication parameter control request to the data communication server when the input state of the communication terminal meets preset conditions; the preset condition is that no communication terminal input event occurs in a preset time period;
The data communication server responds to the received data communication parameter control request sent by the communication terminal, and controls parameters of data communication between the data communication server and the communication terminal according to the data communication parameter control request; the control is to perform a lowering process for a data communication rate between the data communication server and the communication terminal.
9. The method of claim 8, the data communication server, in response to receiving an operation state acquisition request sent by a communication terminal, acquiring operation state information of the data communication server and sending it to the communication terminal, being implemented as:
the data communication server responds to a running state acquisition request sent by a communication terminal, determines running object identification information in the data communication server, searches in a preset running object type storage table according to the object identification information to obtain running object type information corresponding to the object identification information, wherein the preset running object type storage table is pre-stored with the object identification information and corresponding object types, and sends the running object type information as running state information of the data communication server to the communication terminal.
10. The method according to claim 8 or 9, wherein the communication terminal receives the operation state information sent by the data communication server, and when determining that the operation object type of the data communication server is a preset type, acquires the input state of the communication terminal in a preset period of time, which is implemented as follows:
the communication terminal receives the running state information sent by the data communication server through a first channel established by the data communication server;
when the operation object type of the data communication server is determined to be a preset type, starting a timer, and monitoring state information of the communication terminal input equipment to acquire the communication terminal input state in a preset time period.
11. The method of claim 9, further comprising:
the data communication server establishes a first channel and a second channel between the data communication server and the communication terminal;
the data communication server transmitting the type information of the operation object as operation state information of the data communication server to the communication terminal, being implemented as:
the data communication server sends the type information of the operation object to the communication terminal through the first channel as the operation state information of the data communication server;
The data communication server, in response to receiving a data communication parameter control request sent by the communication terminal, controls parameters of data communication between the data communication server and the communication terminal according to the data communication parameter control request, and is implemented as follows:
the data communication server responds to the data communication parameter control request sent by the communication terminal through the second channel, when the data communication parameter control request is used for reducing the data communication rate, the data communication rate between the data communication server and the communication terminal is reduced, and when the data communication parameter control request is used for increasing the data communication rate, the data communication rate between the data communication server and the communication terminal is increased.
12. A data communication apparatus comprising:
the first acquisition module is configured to acquire the operation state information of the data communication server in response to receiving an operation state acquisition request sent by the communication terminal and send the operation state information to the communication terminal, wherein the operation state information comprises operation object type information of the data communication server;
A control module configured to control parameters of data communication between the data communication server and the communication terminal according to a data communication parameter control request in response to receiving the data communication parameter control request transmitted by the communication terminal; wherein the data communication parameter control request is sent when the input state of the communication terminal meets the preset condition; the communication terminal input state is acquired when the communication terminal determines that the type of the data communication server operation object is a preset type; the preset condition is that no communication terminal input event occurs in a preset time period; the control is to perform a lowering process for a data communication rate between the data communication server and the communication terminal.
13. The apparatus of claim 12, the first acquisition module configured to:
determining object identification information in operation in the data communication server in response to receiving an operation state acquisition request sent by a communication terminal;
searching in a preset operation object type storage table according to the object identification information to obtain type information of an operation object corresponding to the object identification information, wherein the preset operation object type storage table is pre-stored with the object identification information and the corresponding object type;
And transmitting the type information of the operation object to the communication terminal as the operation state information of the data communication server.
14. The apparatus of claim 13, further comprising:
a first establishing module configured to establish a first channel between the data communication server and the communication terminal;
the portion that transmits the type information of the operation object to the communication terminal as the operation state information of the data communication server is configured to:
and sending the type information of the operation object to the communication terminal through the first channel as the operation state information of the data communication server.
15. The apparatus of any of claims 12-14, further comprising:
a second establishing module configured to establish a second channel between the data communication server and the communication terminal;
the control module is configured to:
and in response to receiving a data communication parameter control request sent by the communication terminal through the second channel, when the data communication parameter control request is to reduce the data communication rate, performing a reduction process on the data communication rate between the data communication server and the communication terminal, and when the data communication parameter control request is to increase the data communication rate, performing an increase process on the data communication rate between the data communication server and the communication terminal.
16. A data communication apparatus comprising:
the first sending module is configured to send an operation state acquisition request to a data communication server and receive operation state information sent by the data communication server, wherein the operation state information comprises operation object type information of the data communication server;
the second acquisition module is configured to acquire the input state of the communication terminal in a preset time period when the operation object type of the data communication server is determined to be a preset type;
a second transmission module configured to transmit a data communication parameter control request to the data communication server when the communication terminal input state satisfies a preset condition, so that the data communication server controls parameters of data communication between the data communication server and the communication terminal according to the data communication parameter control request; the preset condition is that no communication terminal input event occurs in a preset time period; the control is to perform a lowering process for a data communication rate between the data communication server and the communication terminal.
17. The apparatus of claim 16, the first transmission module configured to:
Transmitting an operation state acquisition request to a data communication server through a first channel established by the data communication server, and receiving operation state information transmitted by the data communication server through the first channel; and/or the number of the groups of groups,
the sending of the data communication parameter control request to the data communication server is implemented as:
and sending a data communication parameter control request to the data communication server through a second channel established by the data communication server.
18. The apparatus of claim 16 or 17, the second acquisition module configured to:
when the operation object type of the data communication server is determined to be a preset type, starting a timer, and monitoring state information of the communication terminal input equipment to acquire the communication terminal input state in a preset time period.
19. A data communication apparatus comprising:
the communication terminal is configured to send an operation state acquisition request to the data communication server, receive operation state information sent by the data communication server, acquire a communication terminal input state in a preset time period when determining that the operation object type of the data communication server is a preset type, and send a data communication parameter control request to the data communication server when the communication terminal input state meets preset conditions, wherein the operation state information comprises the operation object type information of the data communication server; the preset condition is that no communication terminal input event occurs in a preset time period;
A data communication server configured to acquire and transmit operation state information of the data communication server to the communication terminal in response to receiving an operation state acquisition request transmitted by the communication terminal, and to control parameters of data communication between the data communication server and the communication terminal in accordance with the data communication parameter control request in response to receiving a data communication parameter control request transmitted by the communication terminal; the control is to perform a lowering process for a data communication rate between the data communication server and the communication terminal.
20. The apparatus according to claim 19, the data communication server, in response to receiving an operation state acquisition request transmitted by a communication terminal, acquires operation state information of the data communication server and transmits it to a portion of the communication terminal configured to:
the data communication server responds to a running state acquisition request sent by a communication terminal, determines running object identification information in the data communication server, searches in a preset running object type storage table according to the object identification information to obtain running object type information corresponding to the object identification information, wherein the preset running object type storage table is pre-stored with the object identification information and corresponding object types, and sends the running object type information as running state information of the data communication server to the communication terminal.
21. The apparatus according to claim 19 or 20, wherein the communication terminal receives the operation state information transmitted by the data communication server, and when determining that the operation object type of the data communication server is a preset type, the portion for acquiring the input state of the communication terminal in the preset period is configured to:
the communication terminal receives the running state information sent by the data communication server through a first channel established by the data communication server;
when the operation object type of the data communication server is determined to be a preset type, starting a timer, and monitoring state information of the communication terminal input equipment to acquire the communication terminal input state in a preset time period.
22. The apparatus of claim 20, the data communication server further configured to:
establishing a first channel and a second channel between the data communication server and the communication terminal;
the data communication server transmits the type information of the operation object as operation state information of the data communication server to a portion of the communication terminal configured to:
the data communication server sends the type information of the operation object to the communication terminal through the first channel as the operation state information of the data communication server;
The data communication server, in response to receiving a data communication parameter control request sent by the communication terminal, controls parameters of data communication between the data communication server and the communication terminal according to the data communication parameter control request, and is configured to:
the data communication server responds to the data communication parameter control request sent by the communication terminal through the second channel, when the data communication parameter control request is used for reducing the data communication rate, the data communication rate between the data communication server and the communication terminal is reduced, and when the data communication parameter control request is used for increasing the data communication rate, the data communication rate between the data communication server and the communication terminal is increased.
23. An electronic device comprising a memory and a processor; wherein,
the memory is for storing one or more computer instructions, wherein the one or more computer instructions are executable by the processor to implement the method steps of any one of claims 1-11.
24. A computer readable storage medium having stored thereon computer instructions, which when executed by a processor, implement the method steps of any of claims 1-11.
CN202010340431.8A 2020-04-26 2020-04-26 Data communication method, device, electronic equipment and computer readable storage medium Active CN113556261B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010340431.8A CN113556261B (en) 2020-04-26 2020-04-26 Data communication method, device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010340431.8A CN113556261B (en) 2020-04-26 2020-04-26 Data communication method, device, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN113556261A CN113556261A (en) 2021-10-26
CN113556261B true CN113556261B (en) 2024-02-13

Family

ID=78129897

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010340431.8A Active CN113556261B (en) 2020-04-26 2020-04-26 Data communication method, device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113556261B (en)

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103338255A (en) * 2013-06-28 2013-10-02 腾讯科技(深圳)有限公司 Cross-terminal input method, device and system
CN103905836A (en) * 2012-12-27 2014-07-02 辉达公司 Network adaptive latency reduction through frame rate control
CN103916414A (en) * 2012-12-31 2014-07-09 华为技术有限公司 Transmission rate configuration method, terminal device, server and system
CN104202417A (en) * 2014-09-16 2014-12-10 腾讯科技(深圳)有限公司 Cloud computing based information processing method, client, cloud server and cloud computing based information processing system
CN104660717A (en) * 2015-03-16 2015-05-27 北京品驰医疗设备有限公司 Working method of remote monitoring system of implantable medical device
CN105468358A (en) * 2015-11-17 2016-04-06 腾讯科技(深圳)有限公司 Mobile game data processing method and device
CN106878114A (en) * 2015-12-11 2017-06-20 北京数码视讯科技股份有限公司 A kind of method of data transfer, server and terminal
CN107493331A (en) * 2017-08-16 2017-12-19 网宿科技股份有限公司 A kind of client access method, server and system
CN108079578A (en) * 2017-10-26 2018-05-29 咪咕互动娱乐有限公司 A kind of code rate adjustment method based on cloud game, device and storage medium
CN109304031A (en) * 2018-09-19 2019-02-05 电子科技大学 A kind of virtualization cloud game platform based on isomery intelligent terminal
CN109568947A (en) * 2018-11-29 2019-04-05 咪咕互动娱乐有限公司 A kind of cloud game control method, device, equipment and computer storage medium
CN109644454A (en) * 2018-11-27 2019-04-16 北京小米移动软件有限公司 Terminal wake-up control method, device and storage medium
CN109844717A (en) * 2016-08-14 2019-06-04 利维帕尔森有限公司 The system and method that real time remote for mobile applications controls
CN109906107A (en) * 2016-06-13 2019-06-18 索尼互动娱乐有限责任公司 Cloud game based on browser
CN110234023A (en) * 2019-02-22 2019-09-13 华为技术有限公司 A kind of method and apparatus handling video traffic
CN110433496A (en) * 2019-08-14 2019-11-12 咪咕互动娱乐有限公司 Cloud game resource allocation method, electronic equipment and storage medium
CN110572469A (en) * 2019-09-18 2019-12-13 北京视博云科技有限公司 Data transmission method, input device, cloud server and cloud game system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10523947B2 (en) * 2017-09-29 2019-12-31 Ati Technologies Ulc Server-based encoding of adjustable frame rate content

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905836A (en) * 2012-12-27 2014-07-02 辉达公司 Network adaptive latency reduction through frame rate control
CN103916414A (en) * 2012-12-31 2014-07-09 华为技术有限公司 Transmission rate configuration method, terminal device, server and system
CN103338255A (en) * 2013-06-28 2013-10-02 腾讯科技(深圳)有限公司 Cross-terminal input method, device and system
CN104202417A (en) * 2014-09-16 2014-12-10 腾讯科技(深圳)有限公司 Cloud computing based information processing method, client, cloud server and cloud computing based information processing system
CN104660717A (en) * 2015-03-16 2015-05-27 北京品驰医疗设备有限公司 Working method of remote monitoring system of implantable medical device
CN105468358A (en) * 2015-11-17 2016-04-06 腾讯科技(深圳)有限公司 Mobile game data processing method and device
CN106878114A (en) * 2015-12-11 2017-06-20 北京数码视讯科技股份有限公司 A kind of method of data transfer, server and terminal
CN109906107A (en) * 2016-06-13 2019-06-18 索尼互动娱乐有限责任公司 Cloud game based on browser
CN109844717A (en) * 2016-08-14 2019-06-04 利维帕尔森有限公司 The system and method that real time remote for mobile applications controls
CN107493331A (en) * 2017-08-16 2017-12-19 网宿科技股份有限公司 A kind of client access method, server and system
CN108079578A (en) * 2017-10-26 2018-05-29 咪咕互动娱乐有限公司 A kind of code rate adjustment method based on cloud game, device and storage medium
CN109304031A (en) * 2018-09-19 2019-02-05 电子科技大学 A kind of virtualization cloud game platform based on isomery intelligent terminal
CN109644454A (en) * 2018-11-27 2019-04-16 北京小米移动软件有限公司 Terminal wake-up control method, device and storage medium
CN109568947A (en) * 2018-11-29 2019-04-05 咪咕互动娱乐有限公司 A kind of cloud game control method, device, equipment and computer storage medium
CN110234023A (en) * 2019-02-22 2019-09-13 华为技术有限公司 A kind of method and apparatus handling video traffic
CN110433496A (en) * 2019-08-14 2019-11-12 咪咕互动娱乐有限公司 Cloud game resource allocation method, electronic equipment and storage medium
CN110572469A (en) * 2019-09-18 2019-12-13 北京视博云科技有限公司 Data transmission method, input device, cloud server and cloud game system

Also Published As

Publication number Publication date
CN113556261A (en) 2021-10-26

Similar Documents

Publication Publication Date Title
CN111381981B (en) Method, device, equipment and storage medium for pushing small program message
JP2009211343A (en) Server device and communication system
CN111212264B (en) Image processing method and device based on edge calculation and storage medium
CN106851799B (en) Method and device for sending heartbeat packet in long connection
CN110971757A (en) Method and device for adding WeChat friends from telephone application
CN112165413B (en) Equipment state reporting method and device and electronic device
CN111246228A (en) Method, device, medium and electronic equipment for updating gift resources of live broadcast room
CN113556261B (en) Data communication method, device, electronic equipment and computer readable storage medium
CN112911543B (en) Vehicle-mounted terminal and time synchronization method and storage medium thereof
CN111711791A (en) Data processing method and device
CN114884805B (en) Data transmission method, device, terminal and storage medium
CN112333849A (en) Equipment connection disconnection processing method and device, mobile terminal and storage medium
CN112860431B (en) Connection method, system, equipment and storage medium of micro service node
CN111479137B (en) Method and device for providing line address, server and storage medium
CN110324377B (en) Push interaction method and device, electronic equipment and medium
CN113542424A (en) Data processing method, device, equipment and computer program product
CN113094131A (en) Prompt resource display method, device, terminal, server and storage medium
CN115119058B (en) Method, device, equipment and storage medium for notifying multimedia resource task
CN106850307B (en) Attribute information processing method and device
CN113992516B (en) Firmware updating method and device of Internet of things equipment and Internet of things
US11882621B2 (en) Method and system for transmitting and receiving data using bluetooth low energy
CN114125026B (en) Communication method for advertising machine and advertising machine
CN115221443B (en) Information transmission method, device, system, electronic equipment and storage medium
CN112437150B (en) File transmission method and device and electronic equipment
CN116112640A (en) Information transmission method, device and system

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