CN113572797B - Data processing method, device and system and electronic equipment - Google Patents

Data processing method, device and system and electronic equipment Download PDF

Info

Publication number
CN113572797B
CN113572797B CN202010356791.7A CN202010356791A CN113572797B CN 113572797 B CN113572797 B CN 113572797B CN 202010356791 A CN202010356791 A CN 202010356791A CN 113572797 B CN113572797 B CN 113572797B
Authority
CN
China
Prior art keywords
data transmission
data
information
application
application 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
CN202010356791.7A
Other languages
Chinese (zh)
Other versions
CN113572797A (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 CN202010356791.7A priority Critical patent/CN113572797B/en
Publication of CN113572797A publication Critical patent/CN113572797A/en
Application granted granted Critical
Publication of CN113572797B publication Critical patent/CN113572797B/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
    • 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
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure provides a data processing method, a device, a system and electronic equipment, wherein the method comprises the following steps: monitoring data transmission information of an application data transmission channel for transmitting application data to a terminal device, and obtaining the data transmission information about the application data, wherein the data transmission information comprises update state information of the application data; sending the data transmission information to the terminal equipment to judge whether to stop data transmission; receiving a data transmission stopping instruction sent by the terminal equipment according to the data transmission information; and stopping transmitting the currently transferred application data to the terminal equipment through the application data transmission channel according to the data transmission stopping instruction.

Description

Data processing method, device and system and electronic equipment
Technical Field
Embodiments of the present disclosure relate to the field of data processing technologies, and more particularly, to a data processing method, a data processing apparatus, a data processing system, an electronic device, and a computer readable storage medium.
Background
At present, an android system and applications thereof can be run in a cloud server in a container mode, and rendering results of the android applications are transmitted to a client for displaying the rendering results through a web real-time communication (WebRealTime Communication, webRTC) protocol.
However, in the prior art, when the user triggers the application pause through the client, the android application in the cloud server stops generating new application data, however, because the android system in the android container stores the application data generated by the android application last time, the cloud server still continuously transmits the application data generated by the android application last time to the client, which not only wastes traffic, but also increases cost.
Disclosure of Invention
An object of the embodiment of the invention is to provide a new technical scheme for data processing.
According to a first aspect of the present description, there is provided an embodiment of a data processing method, the method comprising:
Monitoring data transmission information of an application data transmission channel for transmitting application data to a terminal device, and obtaining the data transmission information about the application data, wherein the data transmission information comprises update state information of the transmitted application data;
Sending the data transmission information to the terminal equipment to judge whether to stop data transmission;
receiving a data transmission stopping instruction sent by the terminal equipment according to the data transmission information;
And stopping transmitting the currently transferred application data to the terminal equipment through the application data transmission channel according to the data transmission stopping instruction.
Optionally, the data transmission information further includes application type information of the application data.
Optionally, the method further comprises:
determining a data object needing to obtain the update state information according to the application type information;
according to the determined data object, determining a data transmission channel required for transmitting the data transmission information;
the step of sending the data transmission information to the terminal equipment to judge whether to stop data transmission comprises the following steps:
and sending the data transmission information to the terminal equipment through the required data transmission channel to judge whether to stop data transmission.
Optionally, the determining, according to the determined data object, a data transmission channel required for sending the data transmission information includes:
and determining a data transmission channel required for transmitting the data transmission information according to the determined data object and the setting content provided by the terminal equipment, wherein the setting content reflects the channel identification of the data transmission channel for transmitting the update state information corresponding to the data object.
Optionally, the update status information includes first update status information and second update status information, wherein the first update status information reflects whether an image data stream in the application data has an update, and the second update status information reflects whether an audio data stream in the application data has an update.
Optionally, the data transmission information further includes application type information of the transferred application data;
the data transmission channels comprise a first data transmission channel corresponding to the application type information, a second data transmission channel corresponding to the first updating state information and a third data transmission channel corresponding to the second updating state information;
the sending the data transmission information to the terminal device includes:
Transmitting the application type information to the terminal equipment through a first data transmission channel corresponding to the application type information;
transmitting the first updated state information to the terminal equipment through a second data transmission channel corresponding to the first updated state information; and
And sending the second updated state information to the terminal equipment through a third data transmission channel corresponding to the first updated state information.
Optionally, the determining whether to stop the data transmission includes:
and determining to stop the application data transmission channel to stop the current data transmission under the condition that the data transmission information meets a set condition, wherein the set condition comprises: the update status information indicates that the application data is not data updated.
Optionally, the data transmission information further includes application type information of the application data, and the setting condition further includes: the application type information indicates that the application data is a video-type application.
Optionally, the data transmission information further includes application type information of the application data,
The obtaining data transmission information about the application data includes:
acquiring identification information of the application data;
acquiring mapping data representing a mapping relationship between the identification information and application type information of the application data;
and obtaining application type information about the application data according to the identification information and the mapping data.
Optionally, the method further comprises:
Providing an editing interface according to the operation of editing the mapping data;
Acquiring an application data item input through the editing interface; the application data items input through the editing interface comprise identification information of corresponding application data and application type information of the application data;
And updating the mapping data according to the application data items input through the editing interface.
Optionally, the data transmission information further includes application type information of the application data,
The obtaining data transmission information about the application data further includes:
Establishing webpage instant communication with the terminal equipment;
and responding to the operation of starting the application data triggered in the terminal equipment, and obtaining data transmission information about the application data.
Optionally, the monitoring transmits the application data transmission channel of the application data to the terminal device, obtains the data transmission information about the application data, and further includes:
Monitoring the image data stream information transmitted by the application data transmission channel in the current time period;
And under the condition that the image data stream information transmitted in the current time period is unchanged from the image data stream information transmitted in the previous time period, judging that the image data stream in the transmitted application data has no update.
Optionally, the monitoring transmits the application data transmission channel of the application data to the terminal device to obtain the data transmission information about the application data, and further includes;
monitoring audio data stream information transmitted by the application data transmission channel in a current time period;
and under the condition that the audio data stream information transmitted in the current time period is unchanged from the audio data stream information transmitted in the previous time period, judging that the audio data stream of the transferred application data has no update.
Optionally, the sending the data transmission information to the terminal device includes:
Judging whether the updated state information changes relative to the previous updated state information;
and sending the updated state information to the terminal equipment under the condition that the updated state information changes relative to the previous updated state information.
According to a second aspect of the present specification, there is also provided an embodiment of a data processing method implemented by a terminal device, the method comprising:
Receiving data transmission information sent by equipment for providing an application, wherein the data transmission information comprises update state information of application data transmitted to the terminal equipment;
judging whether an application data transmission channel of the equipment needs to be controlled to stop current data transmission according to the data transmission information;
and sending a corresponding data transmission stopping instruction to the equipment under the condition that the current data transmission needs to be stopped.
Optionally, the data transmission information includes update status information of the application data, the update status information including first update status information reflecting whether an image data stream in the application data has an update and second update status information reflecting whether an audio data stream in the application data has an update.
Optionally, the data transfer information includes updated status information of the application data,
The step of judging whether the data transmission channel of the equipment needs to be controlled to stop the current data transmission according to the data transmission information comprises the following steps:
And under the condition that the data transmission information meets a set condition, determining that the application data transmission channel needs to be controlled to stop the current data transmission, wherein the set condition comprises the following steps: the update status information indicates that the application data is not data updated.
Optionally, the data transmission information further includes application type information of the application data, and the setting condition further includes: the application type information indicates that the application data is a video-type application.
Optionally, the method further comprises:
acquiring setting contents of a data transmission channel for transmitting the data transmission information;
and providing the setting content for the equipment for transmitting the data transmission information.
According to a third aspect of the present description, there is also provided an embodiment of a data processing apparatus, the apparatus comprising:
the data monitoring module is used for monitoring an application data transmission channel for transmitting application data to the terminal equipment and obtaining data transmission information about the application data, wherein the data transmission information comprises update state information of the application data;
the data transmission module is used for sending the data transmission information to the terminal equipment to judge whether to stop data transmission or not;
the data receiving module is used for receiving a data transmission stopping instruction sent by the terminal equipment according to the data transmission information;
And the data stop transmission module is used for stopping the transmission of the currently transferred application data to the terminal equipment through the application data transmission channel according to the data stop transmission instruction.
According to a fourth aspect of the present specification, there is also provided an embodiment of an electronic device comprising a data processing apparatus as described in the above third aspect, or comprising:
a memory for storing executable commands;
A processor for executing the data processing method as described in the first or second aspect above under control of the executable command.
According to a fifth aspect of the present description there is also provided an embodiment of a data processing system, the system comprising:
A server comprising a memory and a processor, the memory of the server for storing executable commands; the processor of the server is configured to perform the data transmission method according to the first aspect above under the control of the executable command; and
The terminal equipment comprises a memory and a processor, wherein the memory of the terminal equipment is used for storing executable commands; the processor of the terminal device is configured to perform the data processing method according to the second aspect above under control of the executable command.
According to a sixth aspect of the present description, there is also provided an embodiment of a computer readable storage medium storing executable instructions which, when executed by a processor, perform a data processing method as described in the first or second aspect above.
In one embodiment, the server may monitor an application data transmission channel for transmitting application data to the terminal device, obtain update status information of the application data, and send the update status information to the terminal device to determine whether to stop data transmission, and then receive a data transmission stopping instruction sent by the terminal device according to the update status information, and further stop transmitting the currently transmitted application data to the terminal device through the data transmission channel according to the data transmission stopping instruction. The server can transmit the update state information of the transmitted application data to the terminal equipment, at the moment, if the server does not generate new application data, the terminal equipment judges that the data transmission needs to be stopped according to the update state information and sends a data transmission stopping instruction to the server, and the server stops transmitting the currently transmitted application data to the terminal equipment according to the data transmission stopping instruction, so that when the server does not have data update, the data transmission between the server and the terminal equipment can be stopped in time, invalid data transmission is not performed, data flow is saved, and equipment cost is reduced.
Other features of the present invention and its advantages will become apparent from the following detailed description of exemplary embodiments of the invention, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description, serve to explain the principles of the invention.
FIGS. 1a and 1b are application scenario diagrams useful in implementing a data processing method of one embodiment;
FIG. 2 is a functional block diagram of a hardware configuration that may be used to implement the data processing method of one embodiment;
FIG. 3 is a flow diagram of a data processing method that may be used to implement one embodiment;
FIG. 4 is a flow chart of a data processing method that may be used to implement another embodiment;
FIG. 5 is a flow chart of a data processing method that may be used to implement the third embodiment;
FIG. 6 is an interactive flow diagram that may be used to implement an example data processing method;
FIG. 7 is a functional block diagram of a data processing apparatus that may be used to implement one embodiment;
FIG. 8 is a functional block diagram of an electronic device that may be used to implement one embodiment;
FIG. 9 is a schematic diagram of a hardware architecture of a data processing system that may be used to implement one embodiment.
Detailed Description
Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless it is specifically stated otherwise.
The following description of at least one exemplary embodiment is merely exemplary in nature and is in no way intended to limit the invention, its application, or uses.
Techniques, methods, and apparatus known to one of ordinary skill in the relevant art may not be discussed in detail, but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any specific values should be construed as merely illustrative, and not a limitation. Thus, other examples of exemplary embodiments may have different values.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further discussion thereof is necessary in subsequent figures.
At present, an android application runs in a An Zhuoyun container in a cloud server, the android application is responsible for generating application data and transmitting the application data to an android system in a An Zhuoyun container, and the android system transmits the application data to a terminal device based on a WebRTC protocol. However, in the prior art, when the user triggers the application pause through the terminal device, the android application in the cloud server stops generating new application data, however, because the android system in the android container stores the application data generated by the android application last time, the cloud server still continuously transmits the application data generated by the android application last time to the terminal device, which not only wastes traffic, but also increases cost. Thus, the present embodiment provides a new processing method for data.
Taking the scenario that the Android application (Android Application) running in the Android system (Android OS) in the Android Zhuo Yun container in the server 1000 (Remote end of fig. 1 b) of fig. 1a as an Android video application as an example, according to the data processing method in this embodiment, the video application X in the server 1000 continuously generates a new image data stream and an audio data stream, and transmits the image data stream and the audio data stream to SurfaceFlinger and AudioFlinger in the Android system in the server 1000 through an Android channel (Android channel), and further transmits the image data stream to the terminal device 2000 (Local end as shown in fig. 1 b) through a first application data transmission channel (First Application data transmission channel) corresponding to SurfaceFlinger, and transmits the audio data stream to the terminal device 2000 through a second application data transmission channel (Second Application data transmission channel) corresponding to AudioFlinger, so as to play the video XXXX.
At this time, the user performs a touch operation on a playing page of the terminal device 2000, the terminal device 2000 transmits coordinate information of the touch operation to the android system in the server 1000 through WebRTC protocol, the android system finally transmits the coordinate information to the video application X through layer-by-layer processing, the video application X parses the coordinate information into a video pause event, where the generation of new image data stream and audio data stream is stopped, that is, the android channels pause data transmission, surfaceFlinger and AudioFlinger respectively store the last image data stream and audio data stream, the server 1000 transmits a first update status information (BufferContentFlag shown in fig. 1 b) indicating that the transmitted application data does not have an image data stream update through a second data transmission channel (Second data transmission channel) corresponding to SurfaceFlinger, and transmits a second update status information (AudioStreamFlag shown in fig. 1 b) indicating that the transmitted application data does not have an audio data stream update through a third data transmission channel (THIRD DATA transmission channel) corresponding to AudioFlinger to the terminal device 2000, the terminal device 2000 determines that the transmission of data needs to be stopped according to the update status information, and transmits a stop data transmission command (StopDataTransmit) to the server 1000 to stop data transmission to the terminal device 1000 through the second data transmission channel. Therefore, according to the data processing method of the present embodiment, when the server has no data update, the data transmission between the server 1000 and the terminal device 2000 can be stopped in time, so that invalid data transmission is not performed, data traffic is saved, and equipment cost is reduced.
< Hardware configuration >
FIG. 2 illustrates a schematic diagram of the composition of a data processing system that can be used to implement the data processing method of one embodiment.
As shown in fig. 2, the data processing system 100 of the present embodiment includes a server 1000, a terminal device 2000, and a network 3000.
The server 1000 may be, for example, a blade server, a rack server, or the like, and the server 1000 may be a server cluster deployed in the cloud, which is not limited herein.
As shown in fig. 2, the server 1000 may include a processor 1100, a memory 1200, an interface device 1300, a communication device 1400, a display device 1500, and an input device 1600. The processor 1100 may be, for example, a central processing unit CPU or the like. The memory 1200 includes, for example, ROM (read only memory), RAM (random access memory), nonvolatile memory such as a hard disk, and the like. The interface device 1300 includes, for example, a USB interface, a serial interface, and the like. The communication device 1400 can perform wired or wireless communication, for example. The display device 1500 is, for example, a liquid crystal display. The input device 1600 may include, for example, a touch screen, keyboard, etc.
In this embodiment, the memory 1200 of the server 1000 is used to store instructions for controlling the processor 1100 to operate to perform a data processing method. The skilled person can design instructions according to the solution disclosed in the present specification. How the instructions control the processor to operate is well known in the art and will not be described in detail here.
It will be appreciated by those skilled in the art that although a plurality of devices of the server 1000 are shown in fig. 2, the server 1000 of the present embodiment may refer to only some of the devices thereof, for example, only the processor 1100 and the memory 1200.
As shown in fig. 2, the terminal apparatus 2000 may include a processor 2100, a memory 2200, an interface device 2300, a communication device 2400, a display device 2500, an input device 2600, a speaker 2700, a microphone 2800, and so on. The processor 2100 is configured to execute program instructions that may take the form of instruction sets of architectures such as x86, arm, RISC, MIPS, SSE, etc. The memory 2200 includes, for example, ROM (read only memory), RAM (random access memory), nonvolatile memory such as a hard disk, and the like. The interface device 2300 includes, for example, a USB interface, a headphone interface, and the like. The communication device 2400 can perform wired or wireless communication, for example. The display device 2500 is, for example, a liquid crystal display, a touch display, or the like. The input device 2600 may include, for example, a touch screen, a keyboard, and the like. Speaker 2700 is used to output voice information. Microphone 2800 is used to collect voice information.
The terminal device 2000 may be any device that can support video playback, such as a smart phone, a portable computer, a desktop computer, a tablet computer, and the like.
In the present embodiment, the memory 2200 of the terminal device 2000 is configured to store instructions for controlling the processor 2100 to operate in support of implementing the data processing method according to any embodiment of the present specification. The skilled person can design instructions according to the solution disclosed in the present specification. How the instructions control the processor to operate is well known in the art and will not be described in detail here.
It should be understood by those skilled in the art that although a plurality of devices of the terminal apparatus 2000 are illustrated in fig. 2, the terminal apparatus 2000 of the embodiment of the present specification may relate to only some of the devices thereof, for example, only the processor 2100, the memory 2200, the display device 2500, the input device 2600, and the like.
The communication network 3000 may be a wireless network or a wired network, and may be a local area network or a wide area network. The terminal device 2000 may communicate with the server 1000 through a communication network 3000.
The video playback system 1000 shown in fig. 2 is merely illustrative and is in no way intended to limit the present description, its application, or uses. For example, although fig. 2 shows only one server 1000 and one terminal device 2000, it is not meant to limit the respective numbers, and a plurality of servers 1000 and/or a plurality of terminal devices 2000 may be included in the video playback system 1000.
< Method example 1>
Fig. 3 is a flow diagram of a data processing method according to one embodiment, which may be implemented by a server, such as the server 1000 shown in fig. 1a or fig. 2. As shown in fig. 3, the data processing method of the present embodiment may include the following steps S3100 to S3400:
in step S3100, data transmission information of an application data transmission channel that transmits application data to the terminal device 2000 is monitored.
In this embodiment, the application data transmission channel is used for transmitting application data, and the application data transmission channel may include a first application data transmission channel and a second application data transmission channel.
In this embodiment, the image data stream and the audio data stream included in the application data may be transferred through the application data transmission channel. For example, the image data in the transferred application data may be transmitted to the terminal device 2000 through a first application data transmission channel corresponding to SurfaceFlinger shown in fig. 1b, and the audio data in the transferred application data may be transmitted to the terminal device 2000 through a second application data transmission channel corresponding to AudioFlinger shown in fig. 1 b.
In this embodiment, the data transmission information of the application data may be transmitted through a data transmission channel, where the data transmission channel may include a first data transmission channel, a second data transmission channel, and a third data transmission channel.
In one example, the data transfer information may include updated status information of the transferred application data.
In this example, the update status information may include first update status information reflecting whether the image data stream in the transferred application data has an update and second update status information reflecting whether the audio data stream in the transferred application data has an update.
In this example, the first update status information of the transferred application data may be transmitted to the terminal device 2000 through a second data transmission channel corresponding to SurfaceFlinger shown in fig. 1b, and the second update status information may be transmitted to the terminal device 2000 through a third data transmission channel corresponding to AudioFlinger shown in fig. 1 b.
In this example, the step S3100 of monitoring the application data transmission channel for transmitting the application data to the terminal device 2000 may further include the following steps S3111 to S3112:
In step S3111, image data stream information transmitted by the application data transmission channel in the current time period is monitored.
In this step S3111, for example, the image stream information of the first application data transmission channel delivering the application data may be monitored.
In this step S3111, a time period timer may be added to SurfaceFlinger to detect whether the image data stream of the transferred application data has an update.
In step S3112, it is determined that the image data stream in the transferred application data has not been updated in the case where the image data stream information transferred in the current time period has not changed from the image data stream information transferred in the previous time period.
In this step S3112, for example, when the image data stream has an update, the first update status information State 1=true, and when the image data stream has no update, the first update status information State 1= flase may be used.
In this example, in step S3100, the monitoring of the application data transmission channel for transmitting the application data to the terminal device 2000 may further include the following steps S3121 to S3122:
in step S3121, audio data stream information transmitted by the data transmission channel in the current time period is monitored.
In this step S3121, for example, the audio stream information of the application data transferred by the second application data transmission channel may be monitored.
In this step S3121, a time period timer may be added to AudioFlinger to detect whether the audio data stream of the transferred application data has an update.
The time period timer for detecting whether the audio data stream of the transferred application data has an update and the time period timer for detecting whether the image data stream of the transferred application data has an update may be the same or different, and the present example is not limited herein.
In step S3122, in the case that the audio data stream information transmitted in the current time period is unchanged from the audio data stream information transmitted in the previous time period, it is determined that the audio data stream of the transferred application data has no update.
In this step S3122, for example, the second update status information State 2=true in the case where the audio data stream has an update, and the second update status information State 2= flase in the case where the audio data stream does not have an update may be mentioned.
In one example, the data transfer information may also include application type information for the transferred application data.
In this example, for example, the application type information of the transferred application data may be transmitted to the terminal device 2000 through the first data transmission channel (FIRST DATA transmission channel) corresponding to the application type (AppType) shown in fig. 1 b.
In this example, the obtaining the data transmission information of the application data in step S3100 may further include steps S3131 to S3132 as follows:
Step S3131, the identification information of the transferred application data is acquired.
The identification information is used for uniquely identifying the application data, and has uniqueness. The identification information may be a name of the application data, or may be another flag code having a mapping relation with the name.
Step S3132, mapping data representing a mapping relationship between the identification information and application type information of the transferred application data is acquired.
The mapping data may be a mapping table or a mapping function, which is not limited herein.
Step S3133, obtaining application type information for obtaining application data according to the identification information and the mapping data.
In this example, the obtaining the data transmission information of the application data in step S3100 may further include steps S3141 to S3142 as follows:
In step S3141, web instant communication with the terminal device 2000 is established.
In this step S3141, the server 1000 establishes web instant communication with the terminal device 2000 to transfer data with the terminal device 2000 via WebRTC protocol.
In step S3142, application type information of the application data is obtained in response to an operation of opening the transferred application data triggered in the terminal device 2000.
The operation of opening the transferred application data may be, for example, a touch operation or a click operation.
In step S3200, the data transmission information is sent to the terminal device 2000 to determine whether to stop data transmission.
In this embodiment, as can be seen from the above step S3100, the data transmission information may at least include application type information, first update status information and second update status information of the application data, and the data transmission channel may be used to transmit the corresponding data transmission information, where the data transmission channel may at least include a first data transmission channel corresponding to the application type information, a second data transmission channel corresponding to the first update status information, and a third data transmission channel corresponding to the second update status information. In this embodiment, the sending the data transmission information to the terminal device 2000 in the step S3200 may further include:
A. The application type information is transmitted to the terminal device 2000 through a first data transmission channel corresponding to the application type information.
The application type information may be transmitted to the terminal device 2000 through a first data transmission channel as shown in fig. 1b, for example.
B. the first update status information is transmitted to the terminal device 2000 through a second data transmission channel corresponding to the first update status information.
The first update status information may be transmitted to the terminal device 2000, for example, through a second data transmission channel as shown in fig. 1 b.
C. The second updated status information is transmitted to the terminal device 2000 through a third data transmission channel corresponding to the first updated status information.
The second update status information may be sent to the terminal device 2000, for example, through a third data transmission channel as shown in fig. 1 b.
In this embodiment, the step S3200 of sending the data transmission information to the terminal device 2000 to determine whether to stop data transmission may further include the following steps S3211 to S3212:
Step S3211 is executed to determine whether the updated status information changes from the previous updated status information.
In this step S3211, the server 1000 may transmit the update status information to the terminal apparatus 2000 only when the update status information changes.
In step S3212, when the update status information changes from the previous update status information, the update status information is transmitted to the terminal device 2000.
For example, the first update status information may be transmitted to the terminal device 2000 in a case where the first update status information State1 is changed from true to flase or from flase to true.
For another example, the second update status information may be sent to the terminal device 2000 when the second update status information State2 changes from true to flase or from flase to true.
In this embodiment, the step S3200 of sending the data transmission information to the terminal device 2000 to determine whether to stop data transmission may further include:
and under the condition that the data transmission information meets the set condition, determining that the application data transmission channel stops the current data transmission.
In one example, the data transfer information may include updated status information of the transferred application data. The setting condition includes update status information indicating that the transferred application data is not data-updated.
In this example, it may be that the first update status information reflects that the image data stream in the transferred application data has no update, i.e. State 1= flase, and the second update status information reflects that the audio data stream in the transferred application data has no update, i.e. State 2= flase, and it is determined that the application data transmission channel stops the current data transmission.
In one example, the data transmission information may further include application type information of the transferred application data, and the setting condition further includes application type information indicating that the transferred application data is a video-type application.
In this example, it may be determined that the application data transmission channel stops the current data transmission in the case where the application type information indicates that the transferred application data is a video-type application.
In one example, the data transfer information may also include update status information of the transferred application data and application type information of the transferred application data.
In this example, the first update status information may reflect that the image data stream in the transferred application data has no update, that is, state 1= flase, and the second update status information may reflect that the audio data stream in the transferred application data has no update, that is, state 2= flase, and the application type information is a video type application, and it is determined that the application data transmission channel stops the current data transmission.
In step S3300, the reception terminal device 2000 transmits a stop data transmission instruction according to the data transmission information.
In this embodiment, the data transmission stopping instruction may carry identification information of the application data to be stopped, so that the server 1000 stops transmitting the application data currently transmitted to the terminal device 2000 through the application data transmission channel according to the data transmission stopping instruction.
In step S3400, according to the stop data transmission instruction, transmission of the currently transferred application data to the terminal apparatus 2000 through the application data transmission channel is stopped.
In this embodiment, after receiving the instruction to stop data transmission, the server 1000 may stop transmitting the currently transferred application data to the terminal device 2000 through the application data transmission channel according to the instruction to stop data transmission.
In this embodiment, stopping the transmission of the currently transferred application data to the terminal device 2000 through the application data transmission channel according to the stop data transmission instruction in step S3400 may further include:
The web instant communication with the terminal device 2000 is disconnected to stop the application data transmission channel from transmitting the currently transferred application data to the terminal device 2000.
In this embodiment, after the server 1000 disconnects the web instant communication with the terminal device 2000, the server 1000 cannot transfer the application data to the terminal device 2000 through the application data transmission channel based on WebRTC protocol.
As can be seen from the above steps S3100 to S3400, the server 1000 can monitor the application data transmission channel for transmitting the application data to the terminal device 2000 to obtain updated status information of the application data, and send the updated status information to the terminal device to determine whether to stop data transmission, and then receive a data transmission stopping instruction sent by the terminal device 2000 according to the updated status information, and further stop transmitting the currently transmitted application data to the terminal device 2000 through the application data transmission channel according to the data transmission stopping instruction. Since the server 1000 can transmit the update status information of the transferred application data to the terminal device 2000, at this time, if the server 1000 does not generate new application data, the terminal device determines that data transmission needs to be stopped according to the update status information, and sends a data transmission stopping instruction to the server 1000, and the server 1000 stops transmitting the currently transferred application data to the terminal device 2000 according to the data transmission stopping instruction, thereby, when the server 1000 does not update data, data transmission between the server 1000 and the terminal device 2000 can be stopped in time, and further invalid data transmission is not performed, so that data traffic is saved, and equipment cost is reduced.
In one embodiment, the above data transmission information includes application type information of the application data, and the data transmission channel for transmitting the data transmission information of the application data may be specified by the user according to the application type information, so as to implement a customized design. In this embodiment, the data processing method further includes:
in step S3221, a data object for which update status information is required is determined according to the application type information.
For example, the application type information is a video class application, and the data objects include audio and images.
For another example, the application type information is an audio class application, and the data object includes audio.
Step S3222, according to the determined data object, determines the data transmission channel required for transmitting the data transmission information.
In step S3222, determining a data transmission channel required for transmitting data transmission information according to the determined data object may further include: the data transmission channel required for transmitting the data transmission information is determined according to the determined data object and the setting contents provided by the terminal device 2000.
The above setting contents reflect the channel identification of the data transmission channel for transmitting the update status information of the corresponding data object.
For example, the data object may comprise both audio and image, and the desired data transmission channel may comprise the second data transmission channel and the third data transmission channel shown in fig. 1 b.
For another example, where the data object is audio, the desired data transmission channel may comprise a third data transmission channel as shown in fig. 1 b.
In the present embodiment, the above step S3200 of sending the data transmission information to the terminal device 2000 to determine whether to stop the data transmission may further include: the data transmission information is sent to the terminal device 2000 through the required data transmission channel to make a judgment as to whether to stop data transmission.
For example, the data object includes both audio and image, and the data transmission information may be transmitted to the terminal device 2000 through the second data transmission channel and the third data transmission channel shown in fig. 1 b.
For another example, the data object is audio, and the data transmission information may be transmitted to the terminal device 2000 through the third data transmission channel shown in fig. 1b.
In one embodiment, a man-machine interface may be provided to support the user to operate on the mapping data in step S3132 above, and update the mapping data. In this embodiment, the method may further include the following steps S4100 to S4300:
In step S4100, an editing interface is provided according to the operation of editing the mapping data.
In this embodiment, the server 1000 may provide an editing interface in response to an operation of editing the mapping data.
The editing interface may include an editing portal, which may be an input box, a drop-down list, a voice input, etc., for example, an operator may input an application data item through the input box; for another example, the operator may select an application data item through a drop down list; for another example, the operator may enter the application data item in voice.
In step S4200, an application data item input through the editing interface is acquired.
The application data items input through the editing interface include identification information of the corresponding application data and application type information of the application data.
For example, the identification information of the input application data is an application name "application Y", and the application type information of the input application data is a "video class application".
For another example, the identification information of the input application data is an application name "application Z", and the application type information of the input application data is a "game-like application".
Step S4300 updates the mapping data according to the application data item input through the editing interface.
In this embodiment, the server 1000 adds and modifies the stored corresponding data according to the input application data item.
< Method example 2>
Fig. 5 is a flow diagram of a data processing method according to an embodiment, which may be implemented by a terminal device, for example, the terminal device 2000 shown in fig. 1a or fig. 2. As shown in fig. 5, the data processing method of the present embodiment may include the following steps S5100 to S5400:
in step S5100, data transmission information transmitted from a device that provides application data is received.
The device providing the application data may be a server, such as the servers shown in fig. 1a and 2.
In one example, the data transfer information may include update status information of the transferred application data, and in this example, the update status information may include first update status information reflecting whether the image data stream in the transferred application data has an update and second update status information reflecting whether the audio data stream in the transferred application data has an update.
In one example, the data transmission information further includes application type information of the transmitted application data, which in this example may include an audio class application and a video class application.
Step S5200, according to the data transmission information, determines whether the application data transmission channel of the control device is required to stop the current data transmission.
The application data transmission channel is used for transmitting application data, and the application data transmission channel can comprise a first application data transmission channel and a second application data transmission channel.
In this embodiment, the image data stream and the audio data stream included in the application data may be transferred through the application data transmission channel. For example, the image data in the transferred application data may be transmitted to the terminal device 2000 through a first application data transmission channel corresponding to SurfaceFlinger shown in fig. 1b, and the audio data in the transferred application data may be transmitted to the terminal device 2000 through a second application data transmission channel corresponding to AudioFlinger shown in fig. 1 b.
In this embodiment, the data transmission information may carry identification information of the application data, so that the terminal device 2000 may determine whether it is necessary to control the application data transmission channel to stop data transmission of the corresponding application data.
In this embodiment, in step S5200, determining whether to control the application data transmission channel to stop the current data transmission according to the data transmission information may further include:
and under the condition that the data transmission information meets the set condition, determining that an application data transmission channel of the control equipment is required to stop the current data transmission.
In one example, the data transfer information may include updated status information of the transferred application data. The setting condition includes update status information indicating that the transferred application data is not data-updated.
In this example, it may be that the first update State reflects that the image data stream in the transferred application data has no update, i.e. State 1= flase, and the second update State reflects that the audio data stream in the transferred application data has no update, i.e. State 2= flase, it is determined that the application data transmission channel needs to be controlled to stop the current data transmission.
In one example, the data transmission information may further include application type information of the transferred application data, and the setting condition further includes application type information indicating that the transferred application data is a video-type application.
In this example, in the case where the application type information indicates that the transferred application data is a video-type application, it may be determined that the application data transmission channel needs to be controlled to stop the current data transmission.
In one example, the data transfer information may also include update status information of the transferred application data and application type information of the transferred application data.
In this example, it may be that the first update State reflects that the image data stream in the transferred application data has no update, i.e. State 1= flase, and the second update State reflects that the audio data stream in the transferred application data has no update, i.e. State 2= flase, and the application type information is a video application, it is determined that the application data transmission channel needs to be controlled to stop the current data transmission.
In step S5300, when the current data transmission needs to be stopped, a corresponding data transmission stopping instruction is sent to the device.
In this embodiment, when the terminal device 2000 needs to stop the current data transmission, a corresponding data transmission stopping instruction is sent to the server 1000, so that the server 1000 stops transmitting the currently transferred application data to the terminal device 2000 through the application data transmission channel according to the data transmission stopping instruction.
As can be seen from the above steps S5100 to S5400, the terminal device 2000 determines whether to control the application data transmission channel to stop the current data transmission according to the received data transmission information of the application data, and sends a corresponding data transmission stopping instruction to the device for transmitting the application data to stop the current data transmission when the current data transmission needs to be stopped. Since the server 1000 transmits the update status information of the transferred application data to the terminal device 2000, at this time, if the server 1000 does not generate new application data, the terminal device 2000 determines that data transmission needs to be stopped according to the update status information, and sends a data transmission stopping instruction to the server 1000, and the server 1000 stops transmitting the currently transferred application data to the terminal device 2000 according to the data transmission stopping instruction, so that when the server 1000 does not update data, data transmission between the server 1000 and the terminal device 2000 can be stopped in time, and further invalid data transmission is not performed, thereby saving data traffic and reducing equipment cost.
In one embodiment, the user may specify a data transmission channel for transmitting data transmission information, and a customized design may be implemented. In this embodiment, the data processing method further includes:
step S5500, the setting contents of the data transmission channel for transmitting the data transmission information are acquired.
The setting content reflects a channel identification of a data transmission channel for transmitting the data transmission information.
Step S5600 provides the setting content to the transmitting device for transmission of the data transmission information.
< Example >
Fig. 6 shows an example data transmission method, as shown in fig. 1b and 6, in which the data transmission method may include the steps of:
in step S6210, the server 1000 establishes a web instant communication with the terminal device 2000 to obtain application type information of the transferred application data.
In step S6220, the server 1000 transmits application type information of the transferred application data through a data transmission channel leading to the terminal device 2000.
In this step S6220, the application type information of the transferred application data may be transmitted to the terminal device 2000 through the first data transmission channel corresponding to the AppType shown in fig. 1 b.
In step S6110, the user performs a touch operation with respect to the display interface of the terminal device 2000, and the terminal device 2000 parses the touch operation to obtain coordinate information and transmits the coordinate information to the server 1000.
In this step S6110, for example, the user performs a touch operation on the current display interface in the terminal device 2000, and the terminal device 2000 uses the touch operation as a touch event and transfers the coordinate information of the touch event to the android system of the server 1000 through WebRTC protocol.
In step S6230, the server 1000 monitors the first update state information and the second update state information of the application data transferred through the application data transmission channel leading to the terminal device 2000 based on the coordinate information.
In this step S6230, the first update status information reflects whether the image data stream in the transferred application data has an update or not, and the second update status information reflects whether the audio data stream in the transferred application data has an update or not.
In this step S6230, for example, after receiving the coordinate information, the server 1000 transfers the coordinate information to the video application X, and the video application X parses the coordinate information into a video pause event, where generation of new data, that is, the image data stream transmission and the audio data stream transmission are paused by the android channel, where the first update status information reflects that the image data stream of the transferred application data has no update, that is, state 1= flase, and the second update status information reflects that the audio data stream of the transferred application data has no update, that is, state 2= flase.
In step S6240, the first update status information and the second update status information are transmitted to the terminal device 2000.
In this step S6240, the first update status information of the transferred application data may be transmitted to the terminal device 2000 through the second data transmission channel corresponding to SurfaceFlinger shown in fig. 1b, and the second update status information may be transmitted to the terminal device 2000 through the third data transmission channel corresponding to AudioFlinger shown in fig. 1 b.
In step S6120, when the application type information is a video application, the terminal device 2000 indicates that the transferred application data does not have an image data stream update and the second update status information indicates that the transferred application data does not have an audio data stream update, which does require controlling the application data transmission channel to stop the current data transmission.
In step S6130, the terminal device 2000 transmits a stop data transmission instruction to the server 1000.
In step S6250, the server 1000 stops transmitting the currently transferred application data to the terminal device 2000 through the application data transmission channel in accordance with the stop data transmission instruction.
< Device example >
In this embodiment, there is also provided a data processing apparatus, as shown in fig. 7, which includes a data monitoring module 7100, a data transmission module 7200, a data receiving module 7300, and a data stop transmission module 7400.
The data monitoring module 7100 is configured to monitor a data transmission channel for transmitting application data to a terminal device, and obtain data transmission information about the application data, where the data transmission information includes update status information of the application data.
The data transmission module 7200 is configured to send the data transmission information to the terminal device to determine whether to stop data transmission.
The data receiving module 7300 is configured to receive a data transmission stopping instruction sent by the terminal device according to the data transmission information.
The data stop transmission module 7400 is configured to stop transmitting, according to the data stop transmission instruction, the currently transferred application data to the terminal device through the application data transmission channel.
In one embodiment, the data transmission information further includes application type information of the application data.
In one embodiment, the data transmission module 7200 is further configured to: determining a data object needing to obtain the update state information according to the application type information; according to the determined data object, determining a data transmission channel required for transmitting the data transmission information; and sending the data transmission information to the terminal equipment through the required data transmission channel to judge whether to stop data transmission.
In one embodiment, the data transmission module 7200 is further configured to: and determining a data transmission channel required for transmitting the data transmission information according to the determined data object and the setting content provided by the terminal equipment, wherein the setting content reflects the channel identification of the data transmission channel for transmitting the update state information corresponding to the data object.
In one embodiment, the update status information includes first update status information reflecting whether an image data stream in the application data has an update and second update status information reflecting whether an audio data stream in the application data has an update.
In one embodiment, the data transmission information further includes application type information of the transferred application data; the data transmission channels comprise a first data transmission channel corresponding to the application type information, a second data transmission channel corresponding to the first updating state information and a third data transmission channel corresponding to the second updating state information.
The data transmission module 7200 is specifically configured to: transmitting the application type information to the terminal equipment through a first data transmission channel corresponding to the application type information; transmitting the first updated state information to the terminal equipment through a second data transmission channel corresponding to the first updated state information; and transmitting the second updated state information to the terminal device through a third data transmission channel corresponding to the first updated state information.
In one embodiment, the data transmission module 7200 is configured to determine to stop the application data transmission channel to stop the current data transmission if the data transmission information meets a set condition, where the set condition includes: the update status information indicates that the application data is not data updated.
In one embodiment, the data transmission information further includes application type information of the application data, and the setting condition further includes: the application type information indicates that the application data is a video-type application.
In one embodiment, the data transmission information further includes application type information of the application data.
The data monitoring module 7100 is further configured to obtain identification information of the application data; acquiring mapping data representing a mapping relationship between the identification information and application type information of the transferred application data; and obtaining application type information about the application data according to the identification information and the mapping data.
In one embodiment, the data monitoring module 7100 is further configured to provide an editing interface according to an operation of editing the mapping data; acquiring an application data item input through the editing interface; the application data items input through the editing interface comprise identification information of corresponding application data and application type information of the application data; and updating the mapping data according to the application data items input through the editing interface.
In one embodiment, the data transmission information further includes application type information of the application data.
The data monitoring module 7100 is further configured to establish a web instant communication with the terminal device; and responding to the operation of starting the application data triggered in the terminal equipment, and obtaining data transmission information about the application data.
In one embodiment, the data monitoring module 7100 is further configured to monitor image data stream information transmitted by the application data transmission channel in a current time period; and under the condition that the image data stream information transmitted in the current time period is unchanged from the image data stream information transmitted in the previous time period, judging that the image data stream in the application data has no update.
In one embodiment, the data monitoring module 7100 is further configured to monitor audio data stream information transmitted by the application data transmission channel in a current time period; and under the condition that the audio data stream information transmitted in the current time period is unchanged from the audio data stream information transmitted in the previous time period, judging that the audio data stream of the application data has no update.
In one embodiment, the data transmission module 7200 is further configured to determine whether the update status information changes relative to the previous update status information; and sending the updated state information to the terminal equipment under the condition that the updated state information changes relative to the previous updated state information.
< Device example >
In this embodiment, there is also provided an electronic apparatus including the data processing device 7000 described in the device embodiment of the specification; or the electronic device is electronic device 8000 shown in fig. 8, comprising:
memory 8100 for storing executable commands.
Processor 8200 for executing the methods described in any of the method embodiments of the present specification under the control of executable commands stored in memory 8100.
The implementation subject of the electronic device according to the executed method embodiment may be a server or a terminal device.
< System example >
In this embodiment, there is also provided a data processing system 9000, as shown in fig. 9, including:
the server 9100 may be, for example, the server 1000 shown in fig. 1 or fig. 2.
The server 9100 includes a memory and a processor, the memory of the server 9100 for storing executable commands; the processor of the server 9100 is configured to perform the data processing method according to any embodiment of the present specification under control of an executable command.
In this embodiment, the data processing system 9000 further includes a terminal device 9200, and the terminal device 9200 may be the terminal device 2000 illustrated in fig. 1 or fig. 2.
The terminal device 9200 includes a memory and a processor, the memory of the terminal device 9200 for storing executable commands; the processor of the terminal device 9200 is configured to execute the data processing method according to any embodiment of the present specification under the control of the executable command.
< Computer-readable storage Medium embodiment >
This embodiment provides a computer readable storage medium having stored therein executable commands which, when executed by a processor, perform the method described in any of the method embodiments of the present invention.
The present invention may be a system, method, and/or computer program product. The computer program product may include a computer readable storage medium having computer readable program instructions embodied thereon for causing a processor to implement aspects of the present invention.
The computer readable storage medium may be a tangible device that can hold and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: portable computer disks, hard disks, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static Random Access Memory (SRAM), portable compact disk read-only memory (CD-ROM), digital Versatile Disks (DVD), memory sticks, floppy disks, mechanical coding devices, punch cards or in-groove structures such as punch cards or grooves having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media, as used herein, are not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., optical pulses through fiber optic cables), or electrical signals transmitted through wires.
The computer readable program instructions described herein may be downloaded from a computer readable storage medium to a respective computing/processing device or to an external computer or external storage device over a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmissions, wireless transmissions, routers, firewalls, switches, gateway computers and/or edge servers. The network interface card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium in the respective computing/processing device.
Computer program instructions for carrying out operations of the present invention may be assembly instructions, instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as SMALLTALK, C ++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer readable program instructions may be executed entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, aspects of the present invention are implemented by personalizing electronic circuitry, such as programmable logic circuitry, field Programmable Gate Arrays (FPGAs), or Programmable Logic Arrays (PLAs), with state information for computer readable program instructions, which can execute the computer readable program instructions.
Various aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable medium having the instructions stored therein includes an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
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 invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). 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. It is well known to those skilled in the art that implementation by hardware, implementation by software, and implementation by a combination of software and hardware are all equivalent.
The foregoing description of embodiments of the invention has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the various embodiments described. The terminology used herein was chosen in order to best explain the principles of the embodiments, the practical application, or the technical improvements in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the invention is defined by the appended claims.

Claims (21)

1.A data processing method, comprising:
Monitoring an application data transmission channel for transmitting application data to terminal equipment to obtain data transmission information about the application data, wherein the data transmission information comprises update state information of the application data;
Sending the data transmission information to the terminal equipment to judge whether to stop data transmission;
receiving a data transmission stopping instruction sent by the terminal equipment according to the data transmission information;
According to the data transmission stopping instruction, stopping transmitting the currently transferred application data to the terminal equipment through the application data transmission channel;
Wherein, the judging whether to stop data transmission comprises: and determining to stop the application data transmission channel to stop the current data transmission under the condition that the data transmission information meets a set condition, wherein the set condition comprises: the update status information indicates that the application data is not data updated.
2. The method of claim 1, wherein the data transmission information further includes application type information of the application data.
3. The method of claim 2, wherein the method further comprises:
determining a data object needing to obtain the update state information according to the application type information;
according to the determined data object, determining a data transmission channel required for transmitting the data transmission information;
the step of sending the data transmission information to the terminal equipment to judge whether to stop data transmission comprises the following steps:
and sending the data transmission information to the terminal equipment through the required data transmission channel to judge whether to stop data transmission.
4. A method according to claim 3, wherein said determining a data transmission channel required for transmitting said data transmission information based on the determined data object comprises:
and determining a data transmission channel required for transmitting the data transmission information according to the determined data object and the setting content provided by the terminal equipment, wherein the setting content reflects the channel identification of the data transmission channel for transmitting the update state information corresponding to the data object.
5. The method of claim 1, wherein the update status information includes first update status information reflecting whether an image data stream in the application data has an update and second update status information reflecting whether an audio data stream in the application data has an update.
6. The method of claim 5, the data transmission information further comprising application type information of the transferred application data;
the data transmission channels comprise a first data transmission channel corresponding to the application type information, a second data transmission channel corresponding to the first updating state information and a third data transmission channel corresponding to the second updating state information;
the sending the data transmission information to the terminal device includes:
Transmitting the application type information to the terminal equipment through a first data transmission channel corresponding to the application type information;
transmitting the first updated state information to the terminal equipment through a second data transmission channel corresponding to the first updated state information; and
And sending the second updated state information to the terminal equipment through a third data transmission channel corresponding to the first updated state information.
7. The method of claim 1, wherein the data transmission information further includes application type information of the application data, and the setting condition further includes: the application type information indicates that the application data is a video-type application.
8. The method of claim 1, wherein the data transmission information further includes application type information of the application data,
The obtaining data transmission information about the application data includes:
acquiring identification information of the application data;
acquiring mapping data representing a mapping relationship between the identification information and application type information of the application data;
and obtaining application type information about the application data according to the identification information and the mapping data.
9. The method of claim 8, wherein the method further comprises:
Providing an editing interface according to the operation of editing the mapping data;
Acquiring an application data item input through the editing interface; the application data items input through the editing interface comprise identification information of corresponding application data and application type information of the application data;
And updating the mapping data according to the application data items input through the editing interface.
10. The method of claim 1, wherein the data transmission information further includes application type information of the application data,
The obtaining data transmission information about the application data further includes:
Establishing webpage instant communication with the terminal equipment;
and responding to the operation of starting the application data triggered in the terminal equipment, and obtaining data transmission information about the application data.
11. The method of claim 5, wherein the monitoring an application data transmission channel that delivers application data to a terminal device, obtaining data transmission information regarding the application data, comprises:
Monitoring the image data stream information transmitted by the application data transmission channel in the current time period;
And under the condition that the image data stream information transmitted in the current time period is unchanged from the image data stream information transmitted in the previous time period, judging that the image data stream in the application data has no update.
12. The method of claim 5, wherein the monitoring an application data transmission channel delivering application data to a terminal device, obtaining data transmission information about the application data, further comprises;
monitoring audio data stream information transmitted by the application data transmission channel in a current time period;
And under the condition that the audio data stream information transmitted in the current time period is unchanged from the audio data stream information transmitted in the previous time period, judging that the audio data stream of the application data has no update.
13. The method of claim 1, wherein the sending the data transmission information to a terminal device comprises:
Judging whether the updated state information changes relative to the previous updated state information;
and sending the updated state information to the terminal equipment under the condition that the updated state information changes relative to the previous updated state information.
14. A data processing method implemented by a terminal device, comprising:
Receiving data transmission information sent by equipment for providing application data, wherein the data transmission information comprises update state information of the application data transmitted to the terminal equipment;
judging whether an application data transmission channel of the equipment needs to be controlled to stop current data transmission according to the data transmission information;
under the condition that the current data transmission needs to be stopped, a corresponding data transmission stopping instruction is sent to the equipment;
Wherein, according to the data transmission information, determining whether the application data transmission channel of the device needs to be controlled to stop the current data transmission includes: and under the condition that the data transmission information meets the set condition, determining that the application data transmission channel needs to be controlled to stop the current data transmission, wherein the set condition comprises the following steps: the update status information indicates that the application data is not data updated.
15. The method of claim 14, wherein the data transmission information includes update status information of the application data, the update status information including first update status information reflecting whether an image data stream in the application data has an update and second update status information reflecting whether an audio data stream in the application data has an update.
16. The method of claim 14, wherein the data transmission information further includes application type information of the application data, and the setting condition further includes: the application type information indicates that the application data is a video-type application.
17. The method of any one of claims 14 to 16, the method further comprising:
acquiring setting contents of a data transmission channel for transmitting the data transmission information;
and providing the setting content for the equipment for transmitting the data transmission information.
18. A data processing apparatus comprising:
the data monitoring module is used for monitoring an application data transmission channel for transmitting application data to the terminal equipment and obtaining data transmission information about the application data, wherein the data transmission information comprises update state information of the application data;
the data transmission module is used for sending the data transmission information to the terminal equipment to judge whether to stop data transmission or not;
the data receiving module is used for receiving a data transmission stopping instruction sent by the terminal equipment according to the data transmission information;
the data stop transmission module is used for stopping transmitting the currently transferred application data to the terminal equipment through the application data transmission channel according to the data stop transmission instruction;
the data transmission module is configured to determine to stop the application data transmission channel to stop current data transmission when the data transmission information meets a set condition, where the set condition includes: the update status information indicates that the application data is not data updated.
19. An electronic device comprising the data processing apparatus of claim 18, or the electronic device comprising:
a memory for storing executable commands;
a processor for executing the data processing method according to any one of claims 1-17 under control of the executable command.
20. A data transmission system, comprising:
A server comprising a memory and a processor, the memory of the server for storing executable commands; a processor of the server for executing the data transmission method according to any one of claims 1-13 under control of the executable command; and
The terminal equipment comprises a memory and a processor, wherein the memory of the terminal equipment is used for storing executable commands; the processor of the terminal device being configured to perform the data transmission method according to any of claims 14-17 under control of the executable command.
21. A computer readable storage medium storing executable instructions which, when executed by a processor, perform the data transmission method of any one of claims 1-17.
CN202010356791.7A 2020-04-29 2020-04-29 Data processing method, device and system and electronic equipment Active CN113572797B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010356791.7A CN113572797B (en) 2020-04-29 2020-04-29 Data processing method, device and system and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010356791.7A CN113572797B (en) 2020-04-29 2020-04-29 Data processing method, device and system and electronic equipment

Publications (2)

Publication Number Publication Date
CN113572797A CN113572797A (en) 2021-10-29
CN113572797B true CN113572797B (en) 2024-05-31

Family

ID=78158591

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010356791.7A Active CN113572797B (en) 2020-04-29 2020-04-29 Data processing method, device and system and electronic equipment

Country Status (1)

Country Link
CN (1) CN113572797B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102014162A (en) * 2010-11-30 2011-04-13 中国科学院软件研究所 Data transmission monitoring method in operation of distributed system
CN106383731A (en) * 2016-09-14 2017-02-08 广东欧珀移动通信有限公司 Data migration method and mobile terminal
WO2017092700A1 (en) * 2015-12-03 2017-06-08 国家新闻出版广电总局广播科学研究院 Condition receiving method and system for intelligent operating system
CN107015874A (en) * 2017-03-31 2017-08-04 广东欧珀移动通信有限公司 Data transfer control method, device and terminal
CN107454160A (en) * 2017-07-31 2017-12-08 广东欧珀移动通信有限公司 Information processing method, mobile terminal and computer-readable recording medium
CN109691170A (en) * 2017-12-28 2019-04-26 Oppo广东移动通信有限公司 Transmit the method and terminal device of data
CN109818856A (en) * 2019-03-07 2019-05-28 北京西米兄弟未来科技有限公司 A kind of multi-path data transmission method and device
CN110225106A (en) * 2019-06-04 2019-09-10 惠州Tcl移动通信有限公司 A kind of data transmission method, device and storage medium
CN110300143A (en) * 2018-03-23 2019-10-01 华为技术有限公司 Service switching processing method, Related product and computer storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8009557B2 (en) * 2006-04-27 2011-08-30 Jds Uniphase Corporation Communications system, apparatus for creating a sub-channel and method therefor
EP3272073A4 (en) * 2015-08-31 2018-11-14 Hewlett-Packard Enterprise Development LP Control channel usage monitoring in a software-defined network

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102014162A (en) * 2010-11-30 2011-04-13 中国科学院软件研究所 Data transmission monitoring method in operation of distributed system
WO2017092700A1 (en) * 2015-12-03 2017-06-08 国家新闻出版广电总局广播科学研究院 Condition receiving method and system for intelligent operating system
CN106383731A (en) * 2016-09-14 2017-02-08 广东欧珀移动通信有限公司 Data migration method and mobile terminal
CN107015874A (en) * 2017-03-31 2017-08-04 广东欧珀移动通信有限公司 Data transfer control method, device and terminal
CN107454160A (en) * 2017-07-31 2017-12-08 广东欧珀移动通信有限公司 Information processing method, mobile terminal and computer-readable recording medium
CN109691170A (en) * 2017-12-28 2019-04-26 Oppo广东移动通信有限公司 Transmit the method and terminal device of data
CN110300143A (en) * 2018-03-23 2019-10-01 华为技术有限公司 Service switching processing method, Related product and computer storage medium
CN109818856A (en) * 2019-03-07 2019-05-28 北京西米兄弟未来科技有限公司 A kind of multi-path data transmission method and device
CN110225106A (en) * 2019-06-04 2019-09-10 惠州Tcl移动通信有限公司 A kind of data transmission method, device and storage medium

Also Published As

Publication number Publication date
CN113572797A (en) 2021-10-29

Similar Documents

Publication Publication Date Title
CN108156205B (en) Message pushing method, client, server and programmable device
JP2018525751A (en) Interactive control method and apparatus for voice and video calls
CN113365106B (en) Multimedia resource generation method and device, electronic equipment and storage medium
CN111708557B (en) Method, device and storage medium for updating configuration file
CN106530096B (en) Emotion symbol processing method and device and electronic device
CN109857506B (en) Method and device for realizing guide information, electronic equipment and storage medium
CN110688169B (en) Application program acceleration method and device, storage medium and electronic equipment
CN108027725B (en) Method, device and equipment for guiding terminal equipment operation
US10135910B2 (en) Cross-platform document presentation
CN110262904B (en) Data acquisition method and device
CN108449255B (en) Comment interaction method and equipment, client device and electronic equipment
CN112926068A (en) Authority management method, management server, service server and readable storage medium
CN111309493A (en) Method and device for realizing communication among multiple pages and electronic equipment
CN106790683B (en) Network data display method and device based on mobile terminal
CN113572797B (en) Data processing method, device and system and electronic equipment
CN113407241A (en) Interactive configuration method, device and system and electronic equipment
CN112311818B (en) Method, device, terminal and storage medium for downloading applet data packet
CN111124874B (en) Method for debugging webpage, debugging server and main control equipment
CN112256370A (en) Information display method and device and electronic equipment
CN112995254B (en) Method, equipment, system, device and component for transmitting heartbeat information
CN111866278B (en) Electric quantity display method, device, equipment and storage medium of wireless earphone
CN115865852A (en) Instant messaging session information processing method and device and electronic equipment
CN112966201B (en) Object processing method, device, electronic equipment and storage medium
CN110858175A (en) Test control method, master control equipment, controlled equipment and test system
CN104468706A (en) Audio file transmission method and device

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